Daily bump.
[official-gcc.git] / Makefile.in
blobdc3b0c5569a879b89b532d0b2d4abf179e42050f
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 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # First, test for a proper version of make, but only where one is required.
25 @if gcc
26 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
27 $(error GNU make version 3.80 or newer is required.)
28 endif
29 @endif gcc
31 # -------------------------------
32 # Standard Autoconf-set variables
33 # -------------------------------
34 VPATH=@srcdir@
36 build_alias=@build_noncanonical@
37 build_vendor=@build_vendor@
38 build_os=@build_os@
39 build=@build@
40 host_alias=@host_noncanonical@
41 host_vendor=@host_vendor@
42 host_os=@host_os@
43 host=@host@
44 target_alias=@target_noncanonical@
45 target_vendor=@target_vendor@
46 target_os=@target_os@
47 target=@target@
49 program_transform_name = @program_transform_name@
51 prefix = @prefix@
52 exec_prefix = @exec_prefix@
54 srcdir = @srcdir@
56 bindir = @bindir@
57 sbindir = @sbindir@
58 libexecdir = @libexecdir@
59 datadir = @datadir@
60 sysconfdir = @sysconfdir@
61 sharedstatedir = @sharedstatedir@
62 localstatedir = @localstatedir@
63 libdir = @libdir@
64 includedir = @includedir@
65 oldincludedir = @oldincludedir@
66 infodir = @infodir@
67 datarootdir = @datarootdir@
68 docdir = @docdir@
69 pdfdir = @pdfdir@
70 htmldir = @htmldir@
71 mandir = @mandir@
72 man1dir = $(mandir)/man1
73 man2dir = $(mandir)/man2
74 man3dir = $(mandir)/man3
75 man4dir = $(mandir)/man4
76 man5dir = $(mandir)/man5
77 man6dir = $(mandir)/man6
78 man7dir = $(mandir)/man7
79 man8dir = $(mandir)/man8
80 man9dir = $(mandir)/man9
82 INSTALL = @INSTALL@
83 INSTALL_PROGRAM = @INSTALL_PROGRAM@
84 INSTALL_SCRIPT = @INSTALL_SCRIPT@
85 INSTALL_DATA = @INSTALL_DATA@
86 LN = @LN@
87 LN_S = @LN_S@
88 MAINT = @MAINT@
89 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
90 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
92 # -------------------------------------------------
93 # Miscellaneous non-standard autoconf-set variables
94 # -------------------------------------------------
96 # The gcc driver likes to know the arguments it was configured with.
97 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
99 tooldir = @tooldir@
100 build_tooldir = @build_tooldir@
102 GDB_NLM_DEPS =
104 # This is the name of the environment variable used for the path to
105 # the libraries.
106 RPATH_ENVVAR = @RPATH_ENVVAR@
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
117 # re-runs configure.
118 BASE_EXPORTS = \
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
128 BUILD_EXPORTS = \
129 $(BASE_EXPORTS) \
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
145 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # Host programs are put under this directory, which is . except if building
153 # with srcdir=..
154 HOST_SUBDIR = @host_subdir@
155 # This is the list of variables to export in the environment when
156 # configuring subdirectories for the host system. We need to pass
157 # some to the GCC configure because of its hybrid host/target nature.
158 HOST_EXPORTS = \
159 $(BASE_EXPORTS) \
160 CC="$(CC)"; export CC; \
161 CFLAGS="$(CFLAGS)"; export CFLAGS; \
162 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
163 CXX="$(CXX)"; export CXX; \
164 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
165 AR="$(AR)"; export AR; \
166 AS="$(AS)"; export AS; \
167 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
168 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
169 LD="$(LD)"; export LD; \
170 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
171 NM="$(NM)"; export NM; \
172 RANLIB="$(RANLIB)"; export RANLIB; \
173 WINDRES="$(WINDRES)"; export WINDRES; \
174 WINDMC="$(WINDMC)"; export WINDMC; \
175 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
176 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
177 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
178 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
179 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
180 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
181 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
182 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
183 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
184 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
185 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
186 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
187 @if gcc-bootstrap
188 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
189 @endif gcc-bootstrap
190 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
192 # Similar, for later GCC stages.
193 POSTSTAGE1_HOST_EXPORTS = \
194 $(HOST_EXPORTS) \
195 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
196 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
197 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
198 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
199 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
200 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
201 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
203 # Target libraries are put under this directory:
204 TARGET_SUBDIR = @target_subdir@
205 # This is set by the configure script to the arguments to use when configuring
206 # directories built for the target.
207 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
208 # This is the list of variables to export in the environment when
209 # configuring subdirectories for the host system.
210 BASE_TARGET_EXPORTS = \
211 $(BASE_EXPORTS) \
212 AR="$(AR_FOR_TARGET)"; export AR; \
213 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
214 CC="$(CC_FOR_TARGET)"; export CC; \
215 CFLAGS="$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
216 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
217 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
218 CXXFLAGS="$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
219 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
220 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
221 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
222 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
223 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
224 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
225 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
226 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
227 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
228 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
229 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
230 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
231 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
233 RAW_CXX_TARGET_EXPORTS = \
234 $(BASE_TARGET_EXPORTS) \
235 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
236 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
238 NORMAL_TARGET_EXPORTS = \
239 $(BASE_TARGET_EXPORTS) \
240 CXX="$(CXX_FOR_TARGET)"; export CXX;
242 # Where to find GMP
243 HOST_GMPLIBS = @gmplibs@
244 HOST_GMPINC = @gmpinc@
246 # ----------------------------------------------
247 # Programs producing files for the BUILD machine
248 # ----------------------------------------------
250 SHELL = @config_shell@
252 # pwd command to use. Allow user to override default by setting PWDCMD in
253 # the environment to account for automounters. The make variable must not
254 # be called PWDCMD, otherwise the value set here is passed to make
255 # subprocesses and overrides the setting from the user's environment.
256 # Don't use PWD since it is a common shell environment variable and we
257 # don't want to corrupt it.
258 PWD_COMMAND = $${PWDCMD-pwd}
260 # compilers to use to create programs which must be run in the build
261 # environment.
262 AR_FOR_BUILD = @AR_FOR_BUILD@
263 AS_FOR_BUILD = @AS_FOR_BUILD@
264 CC_FOR_BUILD = @CC_FOR_BUILD@
265 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
266 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
267 CXX_FOR_BUILD = @CXX_FOR_BUILD@
268 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
269 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
270 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
271 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
272 LD_FOR_BUILD = @LD_FOR_BUILD@
273 NM_FOR_BUILD = @NM_FOR_BUILD@
274 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
275 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
276 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
278 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
279 # here so that they can be overridden by Makefile fragments.
280 BUILD_PREFIX = @BUILD_PREFIX@
281 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
283 # Flags to pass to stage2 and later makes. They are defined
284 # here so that they can be overridden by Makefile fragments.
285 BOOT_CFLAGS= -g -O2
286 BOOT_LDFLAGS=
288 BISON = @BISON@
289 YACC = @YACC@
290 FLEX = @FLEX@
291 LEX = @LEX@
292 M4 = @M4@
293 MAKEINFO = @MAKEINFO@
294 EXPECT = @EXPECT@
295 RUNTEST = @RUNTEST@
297 # This just becomes part of the MAKEINFO definition passed down to
298 # sub-makes. It lets flags be given on the command line while still
299 # using the makeinfo from the object tree.
300 # (Default to avoid splitting info files by setting the threshold high.)
301 MAKEINFOFLAGS = --split-size=5000000
303 # ---------------------------------------------
304 # Programs producing files for the HOST machine
305 # ---------------------------------------------
307 AS = @AS@
308 AR = @AR@
309 AR_FLAGS = rc
310 CC = @CC@
311 CXX = @CXX@
312 DLLTOOL = @DLLTOOL@
313 LD = @LD@
314 LIPO = @LIPO@
315 NM = @NM@
316 OBJDUMP = @OBJDUMP@
317 RANLIB = @RANLIB@
318 STRIP = @STRIP@
319 WINDRES = @WINDRES@
320 WINDMC = @WINDMC@
322 GNATBIND = @GNATBIND@
323 GNATMAKE = @GNATMAKE@
325 CFLAGS = @CFLAGS@
326 LDFLAGS = @LDFLAGS@
327 LIBCFLAGS = $(CFLAGS)
328 CXXFLAGS = @CXXFLAGS@
329 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
331 # Only build the C compiler for stage1, because that is the only one that
332 # we can guarantee will build with the native compiler, and also it is the
333 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
334 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
335 # overrideable (for a bootstrap build stage1 also builds gcc.info).
337 STAGE1_CHECKING=@stage1_checking@
338 STAGE1_LANGUAGES=@stage1_languages@
340 STAGE1_CFLAGS=@stage1_cflags@
341 STAGE2_CFLAGS=$(BOOT_CFLAGS)
342 STAGE3_CFLAGS=$(BOOT_CFLAGS)
343 STAGE4_CFLAGS=$(BOOT_CFLAGS)
345 STAGE1_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
346 STAGE2_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
347 STAGE3_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
348 STAGE4_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
350 do-compare = @do_compare@
351 do-compare3 = $(do-compare)
352 do-compare-debug = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2
354 # -----------------------------------------------
355 # Programs producing files for the TARGET machine
356 # -----------------------------------------------
358 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
360 AR_FOR_TARGET=@AR_FOR_TARGET@
361 AS_FOR_TARGET=@AS_FOR_TARGET@
362 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
364 # If GCC_FOR_TARGET is not overriden on the command line, then this
365 # variable is passed down to the gcc Makefile, where it is used to
366 # build libgcc2.a. We define it here so that it can itself be
367 # overridden on the command line.
368 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
369 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
370 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
371 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
372 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
373 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
374 LD_FOR_TARGET=@LD_FOR_TARGET@
376 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
377 NM_FOR_TARGET=@NM_FOR_TARGET@
378 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
379 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
380 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
381 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
382 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
384 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
385 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
386 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
388 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
389 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
390 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
391 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
393 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
394 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
395 LDFLAGS_FOR_TARGET =
397 # ------------------------------------
398 # Miscellaneous targets and flag lists
399 # ------------------------------------
401 # The first rule in the file had better be this one. Don't put any above it.
402 # This lives here to allow makefile fragments to contain dependencies.
403 all:
405 #### host and target specific makefile fragments come in here.
406 @target_makefile_frag@
407 @alphaieee_frag@
408 @ospace_frag@
409 @host_makefile_frag@
412 # This is the list of directories that may be needed in RPATH_ENVVAR
413 # so that prorgams built for the target machine work.
414 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
416 @if target-libstdc++-v3
417 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
418 @endif target-libstdc++-v3
420 @if target-libmudflap
421 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
422 @endif target-libmudflap
424 @if target-libssp
425 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
426 @endif target-libssp
428 @if target-libgomp
429 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
430 @endif target-libgomp
434 # This is the list of directories that may be needed in RPATH_ENVVAR
435 # so that programs built for the host machine work.
436 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)
438 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
439 @if gcc
440 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
441 @endif gcc
444 @if bfd
445 HOST_LIB_PATH_bfd = \
446 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
447 @endif bfd
449 @if opcodes
450 HOST_LIB_PATH_opcodes = \
451 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
452 @endif opcodes
454 @if gmp
455 HOST_LIB_PATH_gmp = \
456 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
457 @endif gmp
459 @if mpfr
460 HOST_LIB_PATH_mpfr = \
461 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
462 @endif mpfr
465 # Flags to pass down to all sub-makes.
466 BASE_FLAGS_TO_PASS = \
467 "DESTDIR=$(DESTDIR)" \
468 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
469 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
470 "bindir=$(bindir)" \
471 "datadir=$(datadir)" \
472 "exec_prefix=$(exec_prefix)" \
473 "includedir=$(includedir)" \
474 "datarootdir=$(datarootdir)" \
475 "docdir=$(docdir)" \
476 "infodir=$(infodir)" \
477 "pdfdir=$(pdfdir)" \
478 "htmldir=$(htmldir)" \
479 "libdir=$(libdir)" \
480 "libexecdir=$(libexecdir)" \
481 "lispdir=$(lispdir)" \
482 "localstatedir=$(localstatedir)" \
483 "mandir=$(mandir)" \
484 "oldincludedir=$(oldincludedir)" \
485 "prefix=$(prefix)" \
486 "sbindir=$(sbindir)" \
487 "sharedstatedir=$(sharedstatedir)" \
488 "sysconfdir=$(sysconfdir)" \
489 "tooldir=$(tooldir)" \
490 "build_tooldir=$(build_tooldir)" \
491 "target_alias=$(target_alias)" \
492 "BISON=$(BISON)" \
493 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
494 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
495 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
496 "EXPECT=$(EXPECT)" \
497 "FLEX=$(FLEX)" \
498 "INSTALL=$(INSTALL)" \
499 "INSTALL_DATA=$(INSTALL_DATA)" \
500 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
501 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
502 "LEX=$(LEX)" \
503 "M4=$(M4)" \
504 "MAKE=$(MAKE)" \
505 "RUNTEST=$(RUNTEST)" \
506 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
507 "SHELL=$(SHELL)" \
508 "YACC=$(YACC)" \
509 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
510 "AR_FLAGS=$(AR_FLAGS)" \
511 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
512 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
513 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
514 "CFLAGS=$(CFLAGS)" \
515 "CXXFLAGS=$(CXXFLAGS)" \
516 "LDFLAGS=$(LDFLAGS)" \
517 "LIBCFLAGS=$(LIBCFLAGS)" \
518 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
519 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
520 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
521 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
522 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
523 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
524 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
525 "GNATBIND=$(GNATBIND)" \
526 "GNATMAKE=$(GNATMAKE)" \
527 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
528 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
529 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
530 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
531 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
532 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
533 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
534 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
535 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
536 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
537 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
538 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
539 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
540 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
541 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
542 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
543 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
544 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
545 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
546 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
547 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
548 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
549 "LEAN=$(LEAN)" \
550 "CONFIG_SHELL=$(SHELL)" \
551 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
553 # We leave this in just in case, but it is not needed anymore.
554 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
556 # Flags to pass down to most sub-makes, in which we're building with
557 # the host environment.
558 EXTRA_HOST_FLAGS = \
559 'AR=$(AR)' \
560 'AS=$(AS)' \
561 'CC=$(CC)' \
562 'CXX=$(CXX)' \
563 'DLLTOOL=$(DLLTOOL)' \
564 'LD=$(LD)' \
565 'LIPO=$(LIPO)' \
566 'NM=$(NM)' \
567 'OBJDUMP=$(OBJDUMP)' \
568 'RANLIB=$(RANLIB)' \
569 'STRIP=$(STRIP)' \
570 'WINDRES=$(WINDRES)' \
571 'WINDMC=$(WINDMC)'
573 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
575 # Flags that are concerned with the location of the X11 include files
576 # and library files
578 # NOTE: until the top-level is getting the values via autoconf, it only
579 # causes problems to have this top-level Makefile overriding the autoconf-set
580 # values in child directories. Only variables that don't conflict with
581 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
583 X11_FLAGS_TO_PASS = \
584 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
585 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
587 # Flags to pass to stage2 and later makes.
589 POSTSTAGE1_FLAGS_TO_PASS = \
590 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
591 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
592 LDFLAGS="$(BOOT_LDFLAGS)" \
593 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
595 # Flags to pass down to makes which are built with the target environment.
596 # The double $ decreases the length of the command line; those variables
597 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
598 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
599 # so we expand them here.
600 EXTRA_TARGET_FLAGS = \
601 'AR=$$(AR_FOR_TARGET)' \
602 'AS=$(COMPILER_AS_FOR_TARGET)' \
603 'CC=$$(CC_FOR_TARGET)' \
604 'CFLAGS=$$(CFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
605 'CXX=$$(CXX_FOR_TARGET)' \
606 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
607 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
608 'LD=$(COMPILER_LD_FOR_TARGET)' \
609 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
610 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
611 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)' \
612 'NM=$(COMPILER_NM_FOR_TARGET)' \
613 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
614 'RANLIB=$$(RANLIB_FOR_TARGET)' \
615 'WINDRES=$$(WINDRES_FOR_TARGET)' \
616 'WINDMC=$$(WINDMC_FOR_TARGET)'
618 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
620 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
621 # unfortunately needs the native compiler and the target ar and
622 # ranlib.
623 # If any variables are added here, they must be added to do-*, below.
624 # The BUILD_* variables are a special case, which are used for the gcc
625 # cross-building scheme.
626 EXTRA_GCC_FLAGS = \
627 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
628 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
629 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
630 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
631 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
632 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
634 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
636 .PHONY: configure-host
637 configure-host: \
638 maybe-configure-ash \
639 maybe-configure-autoconf \
640 maybe-configure-automake \
641 maybe-configure-bash \
642 maybe-configure-bfd \
643 maybe-configure-opcodes \
644 maybe-configure-binutils \
645 maybe-configure-bison \
646 maybe-configure-byacc \
647 maybe-configure-bzip2 \
648 maybe-configure-dejagnu \
649 maybe-configure-diff \
650 maybe-configure-dosutils \
651 maybe-configure-etc \
652 maybe-configure-fastjar \
653 maybe-configure-fileutils \
654 maybe-configure-findutils \
655 maybe-configure-find \
656 maybe-configure-fixincludes \
657 maybe-configure-flex \
658 maybe-configure-gas \
659 maybe-configure-gcc \
660 maybe-configure-gawk \
661 maybe-configure-gettext \
662 maybe-configure-gmp \
663 maybe-configure-mpfr \
664 maybe-configure-gnuserv \
665 maybe-configure-gold \
666 maybe-configure-gprof \
667 maybe-configure-gzip \
668 maybe-configure-hello \
669 maybe-configure-indent \
670 maybe-configure-intl \
671 maybe-configure-tcl \
672 maybe-configure-itcl \
673 maybe-configure-ld \
674 maybe-configure-libcpp \
675 maybe-configure-libdecnumber \
676 maybe-configure-libgui \
677 maybe-configure-libiberty \
678 maybe-configure-libtool \
679 maybe-configure-m4 \
680 maybe-configure-make \
681 maybe-configure-mmalloc \
682 maybe-configure-patch \
683 maybe-configure-perl \
684 maybe-configure-prms \
685 maybe-configure-rcs \
686 maybe-configure-readline \
687 maybe-configure-release \
688 maybe-configure-recode \
689 maybe-configure-sed \
690 maybe-configure-send-pr \
691 maybe-configure-shellutils \
692 maybe-configure-sid \
693 maybe-configure-sim \
694 maybe-configure-tar \
695 maybe-configure-texinfo \
696 maybe-configure-textutils \
697 maybe-configure-time \
698 maybe-configure-uudecode \
699 maybe-configure-wdiff \
700 maybe-configure-zip \
701 maybe-configure-zlib \
702 maybe-configure-gdb \
703 maybe-configure-expect \
704 maybe-configure-guile \
705 maybe-configure-tk \
706 maybe-configure-libtermcap \
707 maybe-configure-utils \
708 maybe-configure-gnattools
709 .PHONY: configure-target
710 configure-target: \
711 maybe-configure-target-libstdc++-v3 \
712 maybe-configure-target-libmudflap \
713 maybe-configure-target-libssp \
714 maybe-configure-target-newlib \
715 maybe-configure-target-libgcc \
716 maybe-configure-target-libgfortran \
717 maybe-configure-target-libobjc \
718 maybe-configure-target-libtermcap \
719 maybe-configure-target-winsup \
720 maybe-configure-target-libgloss \
721 maybe-configure-target-libiberty \
722 maybe-configure-target-gperf \
723 maybe-configure-target-examples \
724 maybe-configure-target-libffi \
725 maybe-configure-target-libjava \
726 maybe-configure-target-zlib \
727 maybe-configure-target-boehm-gc \
728 maybe-configure-target-qthreads \
729 maybe-configure-target-rda \
730 maybe-configure-target-libada \
731 maybe-configure-target-libgomp
733 # The target built for a native non-bootstrap build.
734 .PHONY: all
735 all:
736 @if gcc-bootstrap
737 [ -f stage_final ] || echo stage3 > stage_final
738 @r=`${PWD_COMMAND}`; export r; \
739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
740 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
741 @endif gcc-bootstrap
742 @: $(MAKE); $(unstage)
743 @r=`${PWD_COMMAND}`; export r; \
744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
745 if [ -f stage_last ]; then \
746 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
747 else \
748 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
751 .PHONY: all-build
753 all-build: maybe-all-build-libiberty
754 all-build: maybe-all-build-bison
755 all-build: maybe-all-build-byacc
756 all-build: maybe-all-build-flex
757 all-build: maybe-all-build-m4
758 all-build: maybe-all-build-texinfo
759 all-build: maybe-all-build-fixincludes
761 .PHONY: all-host
763 all-host: maybe-all-ash
764 all-host: maybe-all-autoconf
765 all-host: maybe-all-automake
766 all-host: maybe-all-bash
767 @if bfd-no-bootstrap
768 all-host: maybe-all-bfd
769 @endif bfd-no-bootstrap
770 @if opcodes-no-bootstrap
771 all-host: maybe-all-opcodes
772 @endif opcodes-no-bootstrap
773 @if binutils-no-bootstrap
774 all-host: maybe-all-binutils
775 @endif binutils-no-bootstrap
776 all-host: maybe-all-bison
777 all-host: maybe-all-byacc
778 all-host: maybe-all-bzip2
779 all-host: maybe-all-dejagnu
780 all-host: maybe-all-diff
781 all-host: maybe-all-dosutils
782 all-host: maybe-all-etc
783 all-host: maybe-all-fastjar
784 all-host: maybe-all-fileutils
785 all-host: maybe-all-findutils
786 all-host: maybe-all-find
787 all-host: maybe-all-fixincludes
788 all-host: maybe-all-flex
789 @if gas-no-bootstrap
790 all-host: maybe-all-gas
791 @endif gas-no-bootstrap
792 @if gcc-no-bootstrap
793 all-host: maybe-all-gcc
794 @endif gcc-no-bootstrap
795 all-host: maybe-all-gawk
796 all-host: maybe-all-gettext
797 @if gmp-no-bootstrap
798 all-host: maybe-all-gmp
799 @endif gmp-no-bootstrap
800 @if mpfr-no-bootstrap
801 all-host: maybe-all-mpfr
802 @endif mpfr-no-bootstrap
803 all-host: maybe-all-gnuserv
804 @if gold-no-bootstrap
805 all-host: maybe-all-gold
806 @endif gold-no-bootstrap
807 all-host: maybe-all-gprof
808 all-host: maybe-all-gzip
809 all-host: maybe-all-hello
810 all-host: maybe-all-indent
811 @if intl-no-bootstrap
812 all-host: maybe-all-intl
813 @endif intl-no-bootstrap
814 all-host: maybe-all-tcl
815 all-host: maybe-all-itcl
816 @if ld-no-bootstrap
817 all-host: maybe-all-ld
818 @endif ld-no-bootstrap
819 @if libcpp-no-bootstrap
820 all-host: maybe-all-libcpp
821 @endif libcpp-no-bootstrap
822 @if libdecnumber-no-bootstrap
823 all-host: maybe-all-libdecnumber
824 @endif libdecnumber-no-bootstrap
825 all-host: maybe-all-libgui
826 @if libiberty-no-bootstrap
827 all-host: maybe-all-libiberty
828 @endif libiberty-no-bootstrap
829 all-host: maybe-all-libtool
830 all-host: maybe-all-m4
831 all-host: maybe-all-make
832 all-host: maybe-all-mmalloc
833 all-host: maybe-all-patch
834 all-host: maybe-all-perl
835 all-host: maybe-all-prms
836 all-host: maybe-all-rcs
837 all-host: maybe-all-readline
838 all-host: maybe-all-release
839 all-host: maybe-all-recode
840 all-host: maybe-all-sed
841 all-host: maybe-all-send-pr
842 all-host: maybe-all-shellutils
843 all-host: maybe-all-sid
844 all-host: maybe-all-sim
845 all-host: maybe-all-tar
846 all-host: maybe-all-texinfo
847 all-host: maybe-all-textutils
848 all-host: maybe-all-time
849 all-host: maybe-all-uudecode
850 all-host: maybe-all-wdiff
851 all-host: maybe-all-zip
852 @if zlib-no-bootstrap
853 all-host: maybe-all-zlib
854 @endif zlib-no-bootstrap
855 all-host: maybe-all-gdb
856 all-host: maybe-all-expect
857 all-host: maybe-all-guile
858 all-host: maybe-all-tk
859 all-host: maybe-all-libtermcap
860 all-host: maybe-all-utils
861 all-host: maybe-all-gnattools
863 .PHONY: all-target
865 all-target: maybe-all-target-libstdc++-v3
866 all-target: maybe-all-target-libmudflap
867 all-target: maybe-all-target-libssp
868 all-target: maybe-all-target-newlib
869 @if target-libgcc-no-bootstrap
870 all-target: maybe-all-target-libgcc
871 @endif target-libgcc-no-bootstrap
872 all-target: maybe-all-target-libgfortran
873 all-target: maybe-all-target-libobjc
874 all-target: maybe-all-target-libtermcap
875 all-target: maybe-all-target-winsup
876 all-target: maybe-all-target-libgloss
877 all-target: maybe-all-target-libiberty
878 all-target: maybe-all-target-gperf
879 all-target: maybe-all-target-examples
880 all-target: maybe-all-target-libffi
881 all-target: maybe-all-target-libjava
882 all-target: maybe-all-target-zlib
883 all-target: maybe-all-target-boehm-gc
884 all-target: maybe-all-target-qthreads
885 all-target: maybe-all-target-rda
886 all-target: maybe-all-target-libada
887 all-target: maybe-all-target-libgomp
889 # Do a target for all the subdirectories. A ``make do-X'' will do a
890 # ``make X'' in all subdirectories (because, in general, there is a
891 # dependency (below) of X upon do-X, a ``make X'' will also do this,
892 # but it may do additional work as well).
894 .PHONY: do-info
895 do-info:
896 @: $(MAKE); $(unstage)
897 @r=`${PWD_COMMAND}`; export r; \
898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
899 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
900 info-target
903 .PHONY: info-host
905 info-host: maybe-info-ash
906 info-host: maybe-info-autoconf
907 info-host: maybe-info-automake
908 info-host: maybe-info-bash
909 info-host: maybe-info-bfd
910 info-host: maybe-info-opcodes
911 info-host: maybe-info-binutils
912 info-host: maybe-info-bison
913 info-host: maybe-info-byacc
914 info-host: maybe-info-bzip2
915 info-host: maybe-info-dejagnu
916 info-host: maybe-info-diff
917 info-host: maybe-info-dosutils
918 info-host: maybe-info-etc
919 info-host: maybe-info-fastjar
920 info-host: maybe-info-fileutils
921 info-host: maybe-info-findutils
922 info-host: maybe-info-find
923 info-host: maybe-info-fixincludes
924 info-host: maybe-info-flex
925 info-host: maybe-info-gas
926 info-host: maybe-info-gcc
927 info-host: maybe-info-gawk
928 info-host: maybe-info-gettext
929 info-host: maybe-info-gmp
930 info-host: maybe-info-mpfr
931 info-host: maybe-info-gnuserv
932 info-host: maybe-info-gold
933 info-host: maybe-info-gprof
934 info-host: maybe-info-gzip
935 info-host: maybe-info-hello
936 info-host: maybe-info-indent
937 info-host: maybe-info-intl
938 info-host: maybe-info-tcl
939 info-host: maybe-info-itcl
940 info-host: maybe-info-ld
941 info-host: maybe-info-libcpp
942 info-host: maybe-info-libdecnumber
943 info-host: maybe-info-libgui
944 info-host: maybe-info-libiberty
945 info-host: maybe-info-libtool
946 info-host: maybe-info-m4
947 info-host: maybe-info-make
948 info-host: maybe-info-mmalloc
949 info-host: maybe-info-patch
950 info-host: maybe-info-perl
951 info-host: maybe-info-prms
952 info-host: maybe-info-rcs
953 info-host: maybe-info-readline
954 info-host: maybe-info-release
955 info-host: maybe-info-recode
956 info-host: maybe-info-sed
957 info-host: maybe-info-send-pr
958 info-host: maybe-info-shellutils
959 info-host: maybe-info-sid
960 info-host: maybe-info-sim
961 info-host: maybe-info-tar
962 info-host: maybe-info-texinfo
963 info-host: maybe-info-textutils
964 info-host: maybe-info-time
965 info-host: maybe-info-uudecode
966 info-host: maybe-info-wdiff
967 info-host: maybe-info-zip
968 info-host: maybe-info-zlib
969 info-host: maybe-info-gdb
970 info-host: maybe-info-expect
971 info-host: maybe-info-guile
972 info-host: maybe-info-tk
973 info-host: maybe-info-libtermcap
974 info-host: maybe-info-utils
975 info-host: maybe-info-gnattools
977 .PHONY: info-target
979 info-target: maybe-info-target-libstdc++-v3
980 info-target: maybe-info-target-libmudflap
981 info-target: maybe-info-target-libssp
982 info-target: maybe-info-target-newlib
983 info-target: maybe-info-target-libgcc
984 info-target: maybe-info-target-libgfortran
985 info-target: maybe-info-target-libobjc
986 info-target: maybe-info-target-libtermcap
987 info-target: maybe-info-target-winsup
988 info-target: maybe-info-target-libgloss
989 info-target: maybe-info-target-libiberty
990 info-target: maybe-info-target-gperf
991 info-target: maybe-info-target-examples
992 info-target: maybe-info-target-libffi
993 info-target: maybe-info-target-libjava
994 info-target: maybe-info-target-zlib
995 info-target: maybe-info-target-boehm-gc
996 info-target: maybe-info-target-qthreads
997 info-target: maybe-info-target-rda
998 info-target: maybe-info-target-libada
999 info-target: maybe-info-target-libgomp
1001 .PHONY: do-dvi
1002 do-dvi:
1003 @: $(MAKE); $(unstage)
1004 @r=`${PWD_COMMAND}`; export r; \
1005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1006 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1007 dvi-target
1010 .PHONY: dvi-host
1012 dvi-host: maybe-dvi-ash
1013 dvi-host: maybe-dvi-autoconf
1014 dvi-host: maybe-dvi-automake
1015 dvi-host: maybe-dvi-bash
1016 dvi-host: maybe-dvi-bfd
1017 dvi-host: maybe-dvi-opcodes
1018 dvi-host: maybe-dvi-binutils
1019 dvi-host: maybe-dvi-bison
1020 dvi-host: maybe-dvi-byacc
1021 dvi-host: maybe-dvi-bzip2
1022 dvi-host: maybe-dvi-dejagnu
1023 dvi-host: maybe-dvi-diff
1024 dvi-host: maybe-dvi-dosutils
1025 dvi-host: maybe-dvi-etc
1026 dvi-host: maybe-dvi-fastjar
1027 dvi-host: maybe-dvi-fileutils
1028 dvi-host: maybe-dvi-findutils
1029 dvi-host: maybe-dvi-find
1030 dvi-host: maybe-dvi-fixincludes
1031 dvi-host: maybe-dvi-flex
1032 dvi-host: maybe-dvi-gas
1033 dvi-host: maybe-dvi-gcc
1034 dvi-host: maybe-dvi-gawk
1035 dvi-host: maybe-dvi-gettext
1036 dvi-host: maybe-dvi-gmp
1037 dvi-host: maybe-dvi-mpfr
1038 dvi-host: maybe-dvi-gnuserv
1039 dvi-host: maybe-dvi-gold
1040 dvi-host: maybe-dvi-gprof
1041 dvi-host: maybe-dvi-gzip
1042 dvi-host: maybe-dvi-hello
1043 dvi-host: maybe-dvi-indent
1044 dvi-host: maybe-dvi-intl
1045 dvi-host: maybe-dvi-tcl
1046 dvi-host: maybe-dvi-itcl
1047 dvi-host: maybe-dvi-ld
1048 dvi-host: maybe-dvi-libcpp
1049 dvi-host: maybe-dvi-libdecnumber
1050 dvi-host: maybe-dvi-libgui
1051 dvi-host: maybe-dvi-libiberty
1052 dvi-host: maybe-dvi-libtool
1053 dvi-host: maybe-dvi-m4
1054 dvi-host: maybe-dvi-make
1055 dvi-host: maybe-dvi-mmalloc
1056 dvi-host: maybe-dvi-patch
1057 dvi-host: maybe-dvi-perl
1058 dvi-host: maybe-dvi-prms
1059 dvi-host: maybe-dvi-rcs
1060 dvi-host: maybe-dvi-readline
1061 dvi-host: maybe-dvi-release
1062 dvi-host: maybe-dvi-recode
1063 dvi-host: maybe-dvi-sed
1064 dvi-host: maybe-dvi-send-pr
1065 dvi-host: maybe-dvi-shellutils
1066 dvi-host: maybe-dvi-sid
1067 dvi-host: maybe-dvi-sim
1068 dvi-host: maybe-dvi-tar
1069 dvi-host: maybe-dvi-texinfo
1070 dvi-host: maybe-dvi-textutils
1071 dvi-host: maybe-dvi-time
1072 dvi-host: maybe-dvi-uudecode
1073 dvi-host: maybe-dvi-wdiff
1074 dvi-host: maybe-dvi-zip
1075 dvi-host: maybe-dvi-zlib
1076 dvi-host: maybe-dvi-gdb
1077 dvi-host: maybe-dvi-expect
1078 dvi-host: maybe-dvi-guile
1079 dvi-host: maybe-dvi-tk
1080 dvi-host: maybe-dvi-libtermcap
1081 dvi-host: maybe-dvi-utils
1082 dvi-host: maybe-dvi-gnattools
1084 .PHONY: dvi-target
1086 dvi-target: maybe-dvi-target-libstdc++-v3
1087 dvi-target: maybe-dvi-target-libmudflap
1088 dvi-target: maybe-dvi-target-libssp
1089 dvi-target: maybe-dvi-target-newlib
1090 dvi-target: maybe-dvi-target-libgcc
1091 dvi-target: maybe-dvi-target-libgfortran
1092 dvi-target: maybe-dvi-target-libobjc
1093 dvi-target: maybe-dvi-target-libtermcap
1094 dvi-target: maybe-dvi-target-winsup
1095 dvi-target: maybe-dvi-target-libgloss
1096 dvi-target: maybe-dvi-target-libiberty
1097 dvi-target: maybe-dvi-target-gperf
1098 dvi-target: maybe-dvi-target-examples
1099 dvi-target: maybe-dvi-target-libffi
1100 dvi-target: maybe-dvi-target-libjava
1101 dvi-target: maybe-dvi-target-zlib
1102 dvi-target: maybe-dvi-target-boehm-gc
1103 dvi-target: maybe-dvi-target-qthreads
1104 dvi-target: maybe-dvi-target-rda
1105 dvi-target: maybe-dvi-target-libada
1106 dvi-target: maybe-dvi-target-libgomp
1108 .PHONY: do-pdf
1109 do-pdf:
1110 @: $(MAKE); $(unstage)
1111 @r=`${PWD_COMMAND}`; export r; \
1112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1113 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1114 pdf-target
1117 .PHONY: pdf-host
1119 pdf-host: maybe-pdf-ash
1120 pdf-host: maybe-pdf-autoconf
1121 pdf-host: maybe-pdf-automake
1122 pdf-host: maybe-pdf-bash
1123 pdf-host: maybe-pdf-bfd
1124 pdf-host: maybe-pdf-opcodes
1125 pdf-host: maybe-pdf-binutils
1126 pdf-host: maybe-pdf-bison
1127 pdf-host: maybe-pdf-byacc
1128 pdf-host: maybe-pdf-bzip2
1129 pdf-host: maybe-pdf-dejagnu
1130 pdf-host: maybe-pdf-diff
1131 pdf-host: maybe-pdf-dosutils
1132 pdf-host: maybe-pdf-etc
1133 pdf-host: maybe-pdf-fastjar
1134 pdf-host: maybe-pdf-fileutils
1135 pdf-host: maybe-pdf-findutils
1136 pdf-host: maybe-pdf-find
1137 pdf-host: maybe-pdf-fixincludes
1138 pdf-host: maybe-pdf-flex
1139 pdf-host: maybe-pdf-gas
1140 pdf-host: maybe-pdf-gcc
1141 pdf-host: maybe-pdf-gawk
1142 pdf-host: maybe-pdf-gettext
1143 pdf-host: maybe-pdf-gmp
1144 pdf-host: maybe-pdf-mpfr
1145 pdf-host: maybe-pdf-gnuserv
1146 pdf-host: maybe-pdf-gold
1147 pdf-host: maybe-pdf-gprof
1148 pdf-host: maybe-pdf-gzip
1149 pdf-host: maybe-pdf-hello
1150 pdf-host: maybe-pdf-indent
1151 pdf-host: maybe-pdf-intl
1152 pdf-host: maybe-pdf-tcl
1153 pdf-host: maybe-pdf-itcl
1154 pdf-host: maybe-pdf-ld
1155 pdf-host: maybe-pdf-libcpp
1156 pdf-host: maybe-pdf-libdecnumber
1157 pdf-host: maybe-pdf-libgui
1158 pdf-host: maybe-pdf-libiberty
1159 pdf-host: maybe-pdf-libtool
1160 pdf-host: maybe-pdf-m4
1161 pdf-host: maybe-pdf-make
1162 pdf-host: maybe-pdf-mmalloc
1163 pdf-host: maybe-pdf-patch
1164 pdf-host: maybe-pdf-perl
1165 pdf-host: maybe-pdf-prms
1166 pdf-host: maybe-pdf-rcs
1167 pdf-host: maybe-pdf-readline
1168 pdf-host: maybe-pdf-release
1169 pdf-host: maybe-pdf-recode
1170 pdf-host: maybe-pdf-sed
1171 pdf-host: maybe-pdf-send-pr
1172 pdf-host: maybe-pdf-shellutils
1173 pdf-host: maybe-pdf-sid
1174 pdf-host: maybe-pdf-sim
1175 pdf-host: maybe-pdf-tar
1176 pdf-host: maybe-pdf-texinfo
1177 pdf-host: maybe-pdf-textutils
1178 pdf-host: maybe-pdf-time
1179 pdf-host: maybe-pdf-uudecode
1180 pdf-host: maybe-pdf-wdiff
1181 pdf-host: maybe-pdf-zip
1182 pdf-host: maybe-pdf-zlib
1183 pdf-host: maybe-pdf-gdb
1184 pdf-host: maybe-pdf-expect
1185 pdf-host: maybe-pdf-guile
1186 pdf-host: maybe-pdf-tk
1187 pdf-host: maybe-pdf-libtermcap
1188 pdf-host: maybe-pdf-utils
1189 pdf-host: maybe-pdf-gnattools
1191 .PHONY: pdf-target
1193 pdf-target: maybe-pdf-target-libstdc++-v3
1194 pdf-target: maybe-pdf-target-libmudflap
1195 pdf-target: maybe-pdf-target-libssp
1196 pdf-target: maybe-pdf-target-newlib
1197 pdf-target: maybe-pdf-target-libgcc
1198 pdf-target: maybe-pdf-target-libgfortran
1199 pdf-target: maybe-pdf-target-libobjc
1200 pdf-target: maybe-pdf-target-libtermcap
1201 pdf-target: maybe-pdf-target-winsup
1202 pdf-target: maybe-pdf-target-libgloss
1203 pdf-target: maybe-pdf-target-libiberty
1204 pdf-target: maybe-pdf-target-gperf
1205 pdf-target: maybe-pdf-target-examples
1206 pdf-target: maybe-pdf-target-libffi
1207 pdf-target: maybe-pdf-target-libjava
1208 pdf-target: maybe-pdf-target-zlib
1209 pdf-target: maybe-pdf-target-boehm-gc
1210 pdf-target: maybe-pdf-target-qthreads
1211 pdf-target: maybe-pdf-target-rda
1212 pdf-target: maybe-pdf-target-libada
1213 pdf-target: maybe-pdf-target-libgomp
1215 .PHONY: do-html
1216 do-html:
1217 @: $(MAKE); $(unstage)
1218 @r=`${PWD_COMMAND}`; export r; \
1219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1220 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1221 html-target
1224 .PHONY: html-host
1226 html-host: maybe-html-ash
1227 html-host: maybe-html-autoconf
1228 html-host: maybe-html-automake
1229 html-host: maybe-html-bash
1230 html-host: maybe-html-bfd
1231 html-host: maybe-html-opcodes
1232 html-host: maybe-html-binutils
1233 html-host: maybe-html-bison
1234 html-host: maybe-html-byacc
1235 html-host: maybe-html-bzip2
1236 html-host: maybe-html-dejagnu
1237 html-host: maybe-html-diff
1238 html-host: maybe-html-dosutils
1239 html-host: maybe-html-etc
1240 html-host: maybe-html-fastjar
1241 html-host: maybe-html-fileutils
1242 html-host: maybe-html-findutils
1243 html-host: maybe-html-find
1244 html-host: maybe-html-fixincludes
1245 html-host: maybe-html-flex
1246 html-host: maybe-html-gas
1247 html-host: maybe-html-gcc
1248 html-host: maybe-html-gawk
1249 html-host: maybe-html-gettext
1250 html-host: maybe-html-gmp
1251 html-host: maybe-html-mpfr
1252 html-host: maybe-html-gnuserv
1253 html-host: maybe-html-gold
1254 html-host: maybe-html-gprof
1255 html-host: maybe-html-gzip
1256 html-host: maybe-html-hello
1257 html-host: maybe-html-indent
1258 html-host: maybe-html-intl
1259 html-host: maybe-html-tcl
1260 html-host: maybe-html-itcl
1261 html-host: maybe-html-ld
1262 html-host: maybe-html-libcpp
1263 html-host: maybe-html-libdecnumber
1264 html-host: maybe-html-libgui
1265 html-host: maybe-html-libiberty
1266 html-host: maybe-html-libtool
1267 html-host: maybe-html-m4
1268 html-host: maybe-html-make
1269 html-host: maybe-html-mmalloc
1270 html-host: maybe-html-patch
1271 html-host: maybe-html-perl
1272 html-host: maybe-html-prms
1273 html-host: maybe-html-rcs
1274 html-host: maybe-html-readline
1275 html-host: maybe-html-release
1276 html-host: maybe-html-recode
1277 html-host: maybe-html-sed
1278 html-host: maybe-html-send-pr
1279 html-host: maybe-html-shellutils
1280 html-host: maybe-html-sid
1281 html-host: maybe-html-sim
1282 html-host: maybe-html-tar
1283 html-host: maybe-html-texinfo
1284 html-host: maybe-html-textutils
1285 html-host: maybe-html-time
1286 html-host: maybe-html-uudecode
1287 html-host: maybe-html-wdiff
1288 html-host: maybe-html-zip
1289 html-host: maybe-html-zlib
1290 html-host: maybe-html-gdb
1291 html-host: maybe-html-expect
1292 html-host: maybe-html-guile
1293 html-host: maybe-html-tk
1294 html-host: maybe-html-libtermcap
1295 html-host: maybe-html-utils
1296 html-host: maybe-html-gnattools
1298 .PHONY: html-target
1300 html-target: maybe-html-target-libstdc++-v3
1301 html-target: maybe-html-target-libmudflap
1302 html-target: maybe-html-target-libssp
1303 html-target: maybe-html-target-newlib
1304 html-target: maybe-html-target-libgcc
1305 html-target: maybe-html-target-libgfortran
1306 html-target: maybe-html-target-libobjc
1307 html-target: maybe-html-target-libtermcap
1308 html-target: maybe-html-target-winsup
1309 html-target: maybe-html-target-libgloss
1310 html-target: maybe-html-target-libiberty
1311 html-target: maybe-html-target-gperf
1312 html-target: maybe-html-target-examples
1313 html-target: maybe-html-target-libffi
1314 html-target: maybe-html-target-libjava
1315 html-target: maybe-html-target-zlib
1316 html-target: maybe-html-target-boehm-gc
1317 html-target: maybe-html-target-qthreads
1318 html-target: maybe-html-target-rda
1319 html-target: maybe-html-target-libada
1320 html-target: maybe-html-target-libgomp
1322 .PHONY: do-TAGS
1323 do-TAGS:
1324 @: $(MAKE); $(unstage)
1325 @r=`${PWD_COMMAND}`; export r; \
1326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1327 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1328 TAGS-target
1331 .PHONY: TAGS-host
1333 TAGS-host: maybe-TAGS-ash
1334 TAGS-host: maybe-TAGS-autoconf
1335 TAGS-host: maybe-TAGS-automake
1336 TAGS-host: maybe-TAGS-bash
1337 TAGS-host: maybe-TAGS-bfd
1338 TAGS-host: maybe-TAGS-opcodes
1339 TAGS-host: maybe-TAGS-binutils
1340 TAGS-host: maybe-TAGS-bison
1341 TAGS-host: maybe-TAGS-byacc
1342 TAGS-host: maybe-TAGS-bzip2
1343 TAGS-host: maybe-TAGS-dejagnu
1344 TAGS-host: maybe-TAGS-diff
1345 TAGS-host: maybe-TAGS-dosutils
1346 TAGS-host: maybe-TAGS-etc
1347 TAGS-host: maybe-TAGS-fastjar
1348 TAGS-host: maybe-TAGS-fileutils
1349 TAGS-host: maybe-TAGS-findutils
1350 TAGS-host: maybe-TAGS-find
1351 TAGS-host: maybe-TAGS-fixincludes
1352 TAGS-host: maybe-TAGS-flex
1353 TAGS-host: maybe-TAGS-gas
1354 TAGS-host: maybe-TAGS-gcc
1355 TAGS-host: maybe-TAGS-gawk
1356 TAGS-host: maybe-TAGS-gettext
1357 TAGS-host: maybe-TAGS-gmp
1358 TAGS-host: maybe-TAGS-mpfr
1359 TAGS-host: maybe-TAGS-gnuserv
1360 TAGS-host: maybe-TAGS-gold
1361 TAGS-host: maybe-TAGS-gprof
1362 TAGS-host: maybe-TAGS-gzip
1363 TAGS-host: maybe-TAGS-hello
1364 TAGS-host: maybe-TAGS-indent
1365 TAGS-host: maybe-TAGS-intl
1366 TAGS-host: maybe-TAGS-tcl
1367 TAGS-host: maybe-TAGS-itcl
1368 TAGS-host: maybe-TAGS-ld
1369 TAGS-host: maybe-TAGS-libcpp
1370 TAGS-host: maybe-TAGS-libdecnumber
1371 TAGS-host: maybe-TAGS-libgui
1372 TAGS-host: maybe-TAGS-libiberty
1373 TAGS-host: maybe-TAGS-libtool
1374 TAGS-host: maybe-TAGS-m4
1375 TAGS-host: maybe-TAGS-make
1376 TAGS-host: maybe-TAGS-mmalloc
1377 TAGS-host: maybe-TAGS-patch
1378 TAGS-host: maybe-TAGS-perl
1379 TAGS-host: maybe-TAGS-prms
1380 TAGS-host: maybe-TAGS-rcs
1381 TAGS-host: maybe-TAGS-readline
1382 TAGS-host: maybe-TAGS-release
1383 TAGS-host: maybe-TAGS-recode
1384 TAGS-host: maybe-TAGS-sed
1385 TAGS-host: maybe-TAGS-send-pr
1386 TAGS-host: maybe-TAGS-shellutils
1387 TAGS-host: maybe-TAGS-sid
1388 TAGS-host: maybe-TAGS-sim
1389 TAGS-host: maybe-TAGS-tar
1390 TAGS-host: maybe-TAGS-texinfo
1391 TAGS-host: maybe-TAGS-textutils
1392 TAGS-host: maybe-TAGS-time
1393 TAGS-host: maybe-TAGS-uudecode
1394 TAGS-host: maybe-TAGS-wdiff
1395 TAGS-host: maybe-TAGS-zip
1396 TAGS-host: maybe-TAGS-zlib
1397 TAGS-host: maybe-TAGS-gdb
1398 TAGS-host: maybe-TAGS-expect
1399 TAGS-host: maybe-TAGS-guile
1400 TAGS-host: maybe-TAGS-tk
1401 TAGS-host: maybe-TAGS-libtermcap
1402 TAGS-host: maybe-TAGS-utils
1403 TAGS-host: maybe-TAGS-gnattools
1405 .PHONY: TAGS-target
1407 TAGS-target: maybe-TAGS-target-libstdc++-v3
1408 TAGS-target: maybe-TAGS-target-libmudflap
1409 TAGS-target: maybe-TAGS-target-libssp
1410 TAGS-target: maybe-TAGS-target-newlib
1411 TAGS-target: maybe-TAGS-target-libgcc
1412 TAGS-target: maybe-TAGS-target-libgfortran
1413 TAGS-target: maybe-TAGS-target-libobjc
1414 TAGS-target: maybe-TAGS-target-libtermcap
1415 TAGS-target: maybe-TAGS-target-winsup
1416 TAGS-target: maybe-TAGS-target-libgloss
1417 TAGS-target: maybe-TAGS-target-libiberty
1418 TAGS-target: maybe-TAGS-target-gperf
1419 TAGS-target: maybe-TAGS-target-examples
1420 TAGS-target: maybe-TAGS-target-libffi
1421 TAGS-target: maybe-TAGS-target-libjava
1422 TAGS-target: maybe-TAGS-target-zlib
1423 TAGS-target: maybe-TAGS-target-boehm-gc
1424 TAGS-target: maybe-TAGS-target-qthreads
1425 TAGS-target: maybe-TAGS-target-rda
1426 TAGS-target: maybe-TAGS-target-libada
1427 TAGS-target: maybe-TAGS-target-libgomp
1429 .PHONY: do-install-info
1430 do-install-info:
1431 @: $(MAKE); $(unstage)
1432 @r=`${PWD_COMMAND}`; export r; \
1433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1434 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1435 install-info-target
1438 .PHONY: install-info-host
1440 install-info-host: maybe-install-info-ash
1441 install-info-host: maybe-install-info-autoconf
1442 install-info-host: maybe-install-info-automake
1443 install-info-host: maybe-install-info-bash
1444 install-info-host: maybe-install-info-bfd
1445 install-info-host: maybe-install-info-opcodes
1446 install-info-host: maybe-install-info-binutils
1447 install-info-host: maybe-install-info-bison
1448 install-info-host: maybe-install-info-byacc
1449 install-info-host: maybe-install-info-bzip2
1450 install-info-host: maybe-install-info-dejagnu
1451 install-info-host: maybe-install-info-diff
1452 install-info-host: maybe-install-info-dosutils
1453 install-info-host: maybe-install-info-etc
1454 install-info-host: maybe-install-info-fastjar
1455 install-info-host: maybe-install-info-fileutils
1456 install-info-host: maybe-install-info-findutils
1457 install-info-host: maybe-install-info-find
1458 install-info-host: maybe-install-info-fixincludes
1459 install-info-host: maybe-install-info-flex
1460 install-info-host: maybe-install-info-gas
1461 install-info-host: maybe-install-info-gcc
1462 install-info-host: maybe-install-info-gawk
1463 install-info-host: maybe-install-info-gettext
1464 install-info-host: maybe-install-info-gmp
1465 install-info-host: maybe-install-info-mpfr
1466 install-info-host: maybe-install-info-gnuserv
1467 install-info-host: maybe-install-info-gold
1468 install-info-host: maybe-install-info-gprof
1469 install-info-host: maybe-install-info-gzip
1470 install-info-host: maybe-install-info-hello
1471 install-info-host: maybe-install-info-indent
1472 install-info-host: maybe-install-info-intl
1473 install-info-host: maybe-install-info-tcl
1474 install-info-host: maybe-install-info-itcl
1475 install-info-host: maybe-install-info-ld
1476 install-info-host: maybe-install-info-libcpp
1477 install-info-host: maybe-install-info-libdecnumber
1478 install-info-host: maybe-install-info-libgui
1479 install-info-host: maybe-install-info-libiberty
1480 install-info-host: maybe-install-info-libtool
1481 install-info-host: maybe-install-info-m4
1482 install-info-host: maybe-install-info-make
1483 install-info-host: maybe-install-info-mmalloc
1484 install-info-host: maybe-install-info-patch
1485 install-info-host: maybe-install-info-perl
1486 install-info-host: maybe-install-info-prms
1487 install-info-host: maybe-install-info-rcs
1488 install-info-host: maybe-install-info-readline
1489 install-info-host: maybe-install-info-release
1490 install-info-host: maybe-install-info-recode
1491 install-info-host: maybe-install-info-sed
1492 install-info-host: maybe-install-info-send-pr
1493 install-info-host: maybe-install-info-shellutils
1494 install-info-host: maybe-install-info-sid
1495 install-info-host: maybe-install-info-sim
1496 install-info-host: maybe-install-info-tar
1497 install-info-host: maybe-install-info-texinfo
1498 install-info-host: maybe-install-info-textutils
1499 install-info-host: maybe-install-info-time
1500 install-info-host: maybe-install-info-uudecode
1501 install-info-host: maybe-install-info-wdiff
1502 install-info-host: maybe-install-info-zip
1503 install-info-host: maybe-install-info-zlib
1504 install-info-host: maybe-install-info-gdb
1505 install-info-host: maybe-install-info-expect
1506 install-info-host: maybe-install-info-guile
1507 install-info-host: maybe-install-info-tk
1508 install-info-host: maybe-install-info-libtermcap
1509 install-info-host: maybe-install-info-utils
1510 install-info-host: maybe-install-info-gnattools
1512 .PHONY: install-info-target
1514 install-info-target: maybe-install-info-target-libstdc++-v3
1515 install-info-target: maybe-install-info-target-libmudflap
1516 install-info-target: maybe-install-info-target-libssp
1517 install-info-target: maybe-install-info-target-newlib
1518 install-info-target: maybe-install-info-target-libgcc
1519 install-info-target: maybe-install-info-target-libgfortran
1520 install-info-target: maybe-install-info-target-libobjc
1521 install-info-target: maybe-install-info-target-libtermcap
1522 install-info-target: maybe-install-info-target-winsup
1523 install-info-target: maybe-install-info-target-libgloss
1524 install-info-target: maybe-install-info-target-libiberty
1525 install-info-target: maybe-install-info-target-gperf
1526 install-info-target: maybe-install-info-target-examples
1527 install-info-target: maybe-install-info-target-libffi
1528 install-info-target: maybe-install-info-target-libjava
1529 install-info-target: maybe-install-info-target-zlib
1530 install-info-target: maybe-install-info-target-boehm-gc
1531 install-info-target: maybe-install-info-target-qthreads
1532 install-info-target: maybe-install-info-target-rda
1533 install-info-target: maybe-install-info-target-libada
1534 install-info-target: maybe-install-info-target-libgomp
1536 .PHONY: do-install-pdf
1537 do-install-pdf:
1538 @: $(MAKE); $(unstage)
1539 @r=`${PWD_COMMAND}`; export r; \
1540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1541 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1542 install-pdf-target
1545 .PHONY: install-pdf-host
1547 install-pdf-host: maybe-install-pdf-ash
1548 install-pdf-host: maybe-install-pdf-autoconf
1549 install-pdf-host: maybe-install-pdf-automake
1550 install-pdf-host: maybe-install-pdf-bash
1551 install-pdf-host: maybe-install-pdf-bfd
1552 install-pdf-host: maybe-install-pdf-opcodes
1553 install-pdf-host: maybe-install-pdf-binutils
1554 install-pdf-host: maybe-install-pdf-bison
1555 install-pdf-host: maybe-install-pdf-byacc
1556 install-pdf-host: maybe-install-pdf-bzip2
1557 install-pdf-host: maybe-install-pdf-dejagnu
1558 install-pdf-host: maybe-install-pdf-diff
1559 install-pdf-host: maybe-install-pdf-dosutils
1560 install-pdf-host: maybe-install-pdf-etc
1561 install-pdf-host: maybe-install-pdf-fastjar
1562 install-pdf-host: maybe-install-pdf-fileutils
1563 install-pdf-host: maybe-install-pdf-findutils
1564 install-pdf-host: maybe-install-pdf-find
1565 install-pdf-host: maybe-install-pdf-fixincludes
1566 install-pdf-host: maybe-install-pdf-flex
1567 install-pdf-host: maybe-install-pdf-gas
1568 install-pdf-host: maybe-install-pdf-gcc
1569 install-pdf-host: maybe-install-pdf-gawk
1570 install-pdf-host: maybe-install-pdf-gettext
1571 install-pdf-host: maybe-install-pdf-gmp
1572 install-pdf-host: maybe-install-pdf-mpfr
1573 install-pdf-host: maybe-install-pdf-gnuserv
1574 install-pdf-host: maybe-install-pdf-gold
1575 install-pdf-host: maybe-install-pdf-gprof
1576 install-pdf-host: maybe-install-pdf-gzip
1577 install-pdf-host: maybe-install-pdf-hello
1578 install-pdf-host: maybe-install-pdf-indent
1579 install-pdf-host: maybe-install-pdf-intl
1580 install-pdf-host: maybe-install-pdf-tcl
1581 install-pdf-host: maybe-install-pdf-itcl
1582 install-pdf-host: maybe-install-pdf-ld
1583 install-pdf-host: maybe-install-pdf-libcpp
1584 install-pdf-host: maybe-install-pdf-libdecnumber
1585 install-pdf-host: maybe-install-pdf-libgui
1586 install-pdf-host: maybe-install-pdf-libiberty
1587 install-pdf-host: maybe-install-pdf-libtool
1588 install-pdf-host: maybe-install-pdf-m4
1589 install-pdf-host: maybe-install-pdf-make
1590 install-pdf-host: maybe-install-pdf-mmalloc
1591 install-pdf-host: maybe-install-pdf-patch
1592 install-pdf-host: maybe-install-pdf-perl
1593 install-pdf-host: maybe-install-pdf-prms
1594 install-pdf-host: maybe-install-pdf-rcs
1595 install-pdf-host: maybe-install-pdf-readline
1596 install-pdf-host: maybe-install-pdf-release
1597 install-pdf-host: maybe-install-pdf-recode
1598 install-pdf-host: maybe-install-pdf-sed
1599 install-pdf-host: maybe-install-pdf-send-pr
1600 install-pdf-host: maybe-install-pdf-shellutils
1601 install-pdf-host: maybe-install-pdf-sid
1602 install-pdf-host: maybe-install-pdf-sim
1603 install-pdf-host: maybe-install-pdf-tar
1604 install-pdf-host: maybe-install-pdf-texinfo
1605 install-pdf-host: maybe-install-pdf-textutils
1606 install-pdf-host: maybe-install-pdf-time
1607 install-pdf-host: maybe-install-pdf-uudecode
1608 install-pdf-host: maybe-install-pdf-wdiff
1609 install-pdf-host: maybe-install-pdf-zip
1610 install-pdf-host: maybe-install-pdf-zlib
1611 install-pdf-host: maybe-install-pdf-gdb
1612 install-pdf-host: maybe-install-pdf-expect
1613 install-pdf-host: maybe-install-pdf-guile
1614 install-pdf-host: maybe-install-pdf-tk
1615 install-pdf-host: maybe-install-pdf-libtermcap
1616 install-pdf-host: maybe-install-pdf-utils
1617 install-pdf-host: maybe-install-pdf-gnattools
1619 .PHONY: install-pdf-target
1621 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1622 install-pdf-target: maybe-install-pdf-target-libmudflap
1623 install-pdf-target: maybe-install-pdf-target-libssp
1624 install-pdf-target: maybe-install-pdf-target-newlib
1625 install-pdf-target: maybe-install-pdf-target-libgcc
1626 install-pdf-target: maybe-install-pdf-target-libgfortran
1627 install-pdf-target: maybe-install-pdf-target-libobjc
1628 install-pdf-target: maybe-install-pdf-target-libtermcap
1629 install-pdf-target: maybe-install-pdf-target-winsup
1630 install-pdf-target: maybe-install-pdf-target-libgloss
1631 install-pdf-target: maybe-install-pdf-target-libiberty
1632 install-pdf-target: maybe-install-pdf-target-gperf
1633 install-pdf-target: maybe-install-pdf-target-examples
1634 install-pdf-target: maybe-install-pdf-target-libffi
1635 install-pdf-target: maybe-install-pdf-target-libjava
1636 install-pdf-target: maybe-install-pdf-target-zlib
1637 install-pdf-target: maybe-install-pdf-target-boehm-gc
1638 install-pdf-target: maybe-install-pdf-target-qthreads
1639 install-pdf-target: maybe-install-pdf-target-rda
1640 install-pdf-target: maybe-install-pdf-target-libada
1641 install-pdf-target: maybe-install-pdf-target-libgomp
1643 .PHONY: do-install-html
1644 do-install-html:
1645 @: $(MAKE); $(unstage)
1646 @r=`${PWD_COMMAND}`; export r; \
1647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1649 install-html-target
1652 .PHONY: install-html-host
1654 install-html-host: maybe-install-html-ash
1655 install-html-host: maybe-install-html-autoconf
1656 install-html-host: maybe-install-html-automake
1657 install-html-host: maybe-install-html-bash
1658 install-html-host: maybe-install-html-bfd
1659 install-html-host: maybe-install-html-opcodes
1660 install-html-host: maybe-install-html-binutils
1661 install-html-host: maybe-install-html-bison
1662 install-html-host: maybe-install-html-byacc
1663 install-html-host: maybe-install-html-bzip2
1664 install-html-host: maybe-install-html-dejagnu
1665 install-html-host: maybe-install-html-diff
1666 install-html-host: maybe-install-html-dosutils
1667 install-html-host: maybe-install-html-etc
1668 install-html-host: maybe-install-html-fastjar
1669 install-html-host: maybe-install-html-fileutils
1670 install-html-host: maybe-install-html-findutils
1671 install-html-host: maybe-install-html-find
1672 install-html-host: maybe-install-html-fixincludes
1673 install-html-host: maybe-install-html-flex
1674 install-html-host: maybe-install-html-gas
1675 install-html-host: maybe-install-html-gcc
1676 install-html-host: maybe-install-html-gawk
1677 install-html-host: maybe-install-html-gettext
1678 install-html-host: maybe-install-html-gmp
1679 install-html-host: maybe-install-html-mpfr
1680 install-html-host: maybe-install-html-gnuserv
1681 install-html-host: maybe-install-html-gold
1682 install-html-host: maybe-install-html-gprof
1683 install-html-host: maybe-install-html-gzip
1684 install-html-host: maybe-install-html-hello
1685 install-html-host: maybe-install-html-indent
1686 install-html-host: maybe-install-html-intl
1687 install-html-host: maybe-install-html-tcl
1688 install-html-host: maybe-install-html-itcl
1689 install-html-host: maybe-install-html-ld
1690 install-html-host: maybe-install-html-libcpp
1691 install-html-host: maybe-install-html-libdecnumber
1692 install-html-host: maybe-install-html-libgui
1693 install-html-host: maybe-install-html-libiberty
1694 install-html-host: maybe-install-html-libtool
1695 install-html-host: maybe-install-html-m4
1696 install-html-host: maybe-install-html-make
1697 install-html-host: maybe-install-html-mmalloc
1698 install-html-host: maybe-install-html-patch
1699 install-html-host: maybe-install-html-perl
1700 install-html-host: maybe-install-html-prms
1701 install-html-host: maybe-install-html-rcs
1702 install-html-host: maybe-install-html-readline
1703 install-html-host: maybe-install-html-release
1704 install-html-host: maybe-install-html-recode
1705 install-html-host: maybe-install-html-sed
1706 install-html-host: maybe-install-html-send-pr
1707 install-html-host: maybe-install-html-shellutils
1708 install-html-host: maybe-install-html-sid
1709 install-html-host: maybe-install-html-sim
1710 install-html-host: maybe-install-html-tar
1711 install-html-host: maybe-install-html-texinfo
1712 install-html-host: maybe-install-html-textutils
1713 install-html-host: maybe-install-html-time
1714 install-html-host: maybe-install-html-uudecode
1715 install-html-host: maybe-install-html-wdiff
1716 install-html-host: maybe-install-html-zip
1717 install-html-host: maybe-install-html-zlib
1718 install-html-host: maybe-install-html-gdb
1719 install-html-host: maybe-install-html-expect
1720 install-html-host: maybe-install-html-guile
1721 install-html-host: maybe-install-html-tk
1722 install-html-host: maybe-install-html-libtermcap
1723 install-html-host: maybe-install-html-utils
1724 install-html-host: maybe-install-html-gnattools
1726 .PHONY: install-html-target
1728 install-html-target: maybe-install-html-target-libstdc++-v3
1729 install-html-target: maybe-install-html-target-libmudflap
1730 install-html-target: maybe-install-html-target-libssp
1731 install-html-target: maybe-install-html-target-newlib
1732 install-html-target: maybe-install-html-target-libgcc
1733 install-html-target: maybe-install-html-target-libgfortran
1734 install-html-target: maybe-install-html-target-libobjc
1735 install-html-target: maybe-install-html-target-libtermcap
1736 install-html-target: maybe-install-html-target-winsup
1737 install-html-target: maybe-install-html-target-libgloss
1738 install-html-target: maybe-install-html-target-libiberty
1739 install-html-target: maybe-install-html-target-gperf
1740 install-html-target: maybe-install-html-target-examples
1741 install-html-target: maybe-install-html-target-libffi
1742 install-html-target: maybe-install-html-target-libjava
1743 install-html-target: maybe-install-html-target-zlib
1744 install-html-target: maybe-install-html-target-boehm-gc
1745 install-html-target: maybe-install-html-target-qthreads
1746 install-html-target: maybe-install-html-target-rda
1747 install-html-target: maybe-install-html-target-libada
1748 install-html-target: maybe-install-html-target-libgomp
1750 .PHONY: do-installcheck
1751 do-installcheck:
1752 @: $(MAKE); $(unstage)
1753 @r=`${PWD_COMMAND}`; export r; \
1754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1755 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1756 installcheck-target
1759 .PHONY: installcheck-host
1761 installcheck-host: maybe-installcheck-ash
1762 installcheck-host: maybe-installcheck-autoconf
1763 installcheck-host: maybe-installcheck-automake
1764 installcheck-host: maybe-installcheck-bash
1765 installcheck-host: maybe-installcheck-bfd
1766 installcheck-host: maybe-installcheck-opcodes
1767 installcheck-host: maybe-installcheck-binutils
1768 installcheck-host: maybe-installcheck-bison
1769 installcheck-host: maybe-installcheck-byacc
1770 installcheck-host: maybe-installcheck-bzip2
1771 installcheck-host: maybe-installcheck-dejagnu
1772 installcheck-host: maybe-installcheck-diff
1773 installcheck-host: maybe-installcheck-dosutils
1774 installcheck-host: maybe-installcheck-etc
1775 installcheck-host: maybe-installcheck-fastjar
1776 installcheck-host: maybe-installcheck-fileutils
1777 installcheck-host: maybe-installcheck-findutils
1778 installcheck-host: maybe-installcheck-find
1779 installcheck-host: maybe-installcheck-fixincludes
1780 installcheck-host: maybe-installcheck-flex
1781 installcheck-host: maybe-installcheck-gas
1782 installcheck-host: maybe-installcheck-gcc
1783 installcheck-host: maybe-installcheck-gawk
1784 installcheck-host: maybe-installcheck-gettext
1785 installcheck-host: maybe-installcheck-gmp
1786 installcheck-host: maybe-installcheck-mpfr
1787 installcheck-host: maybe-installcheck-gnuserv
1788 installcheck-host: maybe-installcheck-gold
1789 installcheck-host: maybe-installcheck-gprof
1790 installcheck-host: maybe-installcheck-gzip
1791 installcheck-host: maybe-installcheck-hello
1792 installcheck-host: maybe-installcheck-indent
1793 installcheck-host: maybe-installcheck-intl
1794 installcheck-host: maybe-installcheck-tcl
1795 installcheck-host: maybe-installcheck-itcl
1796 installcheck-host: maybe-installcheck-ld
1797 installcheck-host: maybe-installcheck-libcpp
1798 installcheck-host: maybe-installcheck-libdecnumber
1799 installcheck-host: maybe-installcheck-libgui
1800 installcheck-host: maybe-installcheck-libiberty
1801 installcheck-host: maybe-installcheck-libtool
1802 installcheck-host: maybe-installcheck-m4
1803 installcheck-host: maybe-installcheck-make
1804 installcheck-host: maybe-installcheck-mmalloc
1805 installcheck-host: maybe-installcheck-patch
1806 installcheck-host: maybe-installcheck-perl
1807 installcheck-host: maybe-installcheck-prms
1808 installcheck-host: maybe-installcheck-rcs
1809 installcheck-host: maybe-installcheck-readline
1810 installcheck-host: maybe-installcheck-release
1811 installcheck-host: maybe-installcheck-recode
1812 installcheck-host: maybe-installcheck-sed
1813 installcheck-host: maybe-installcheck-send-pr
1814 installcheck-host: maybe-installcheck-shellutils
1815 installcheck-host: maybe-installcheck-sid
1816 installcheck-host: maybe-installcheck-sim
1817 installcheck-host: maybe-installcheck-tar
1818 installcheck-host: maybe-installcheck-texinfo
1819 installcheck-host: maybe-installcheck-textutils
1820 installcheck-host: maybe-installcheck-time
1821 installcheck-host: maybe-installcheck-uudecode
1822 installcheck-host: maybe-installcheck-wdiff
1823 installcheck-host: maybe-installcheck-zip
1824 installcheck-host: maybe-installcheck-zlib
1825 installcheck-host: maybe-installcheck-gdb
1826 installcheck-host: maybe-installcheck-expect
1827 installcheck-host: maybe-installcheck-guile
1828 installcheck-host: maybe-installcheck-tk
1829 installcheck-host: maybe-installcheck-libtermcap
1830 installcheck-host: maybe-installcheck-utils
1831 installcheck-host: maybe-installcheck-gnattools
1833 .PHONY: installcheck-target
1835 installcheck-target: maybe-installcheck-target-libstdc++-v3
1836 installcheck-target: maybe-installcheck-target-libmudflap
1837 installcheck-target: maybe-installcheck-target-libssp
1838 installcheck-target: maybe-installcheck-target-newlib
1839 installcheck-target: maybe-installcheck-target-libgcc
1840 installcheck-target: maybe-installcheck-target-libgfortran
1841 installcheck-target: maybe-installcheck-target-libobjc
1842 installcheck-target: maybe-installcheck-target-libtermcap
1843 installcheck-target: maybe-installcheck-target-winsup
1844 installcheck-target: maybe-installcheck-target-libgloss
1845 installcheck-target: maybe-installcheck-target-libiberty
1846 installcheck-target: maybe-installcheck-target-gperf
1847 installcheck-target: maybe-installcheck-target-examples
1848 installcheck-target: maybe-installcheck-target-libffi
1849 installcheck-target: maybe-installcheck-target-libjava
1850 installcheck-target: maybe-installcheck-target-zlib
1851 installcheck-target: maybe-installcheck-target-boehm-gc
1852 installcheck-target: maybe-installcheck-target-qthreads
1853 installcheck-target: maybe-installcheck-target-rda
1854 installcheck-target: maybe-installcheck-target-libada
1855 installcheck-target: maybe-installcheck-target-libgomp
1857 .PHONY: do-mostlyclean
1858 do-mostlyclean:
1859 @: $(MAKE); $(unstage)
1860 @r=`${PWD_COMMAND}`; export r; \
1861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1862 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1863 mostlyclean-target
1866 .PHONY: mostlyclean-host
1868 mostlyclean-host: maybe-mostlyclean-ash
1869 mostlyclean-host: maybe-mostlyclean-autoconf
1870 mostlyclean-host: maybe-mostlyclean-automake
1871 mostlyclean-host: maybe-mostlyclean-bash
1872 mostlyclean-host: maybe-mostlyclean-bfd
1873 mostlyclean-host: maybe-mostlyclean-opcodes
1874 mostlyclean-host: maybe-mostlyclean-binutils
1875 mostlyclean-host: maybe-mostlyclean-bison
1876 mostlyclean-host: maybe-mostlyclean-byacc
1877 mostlyclean-host: maybe-mostlyclean-bzip2
1878 mostlyclean-host: maybe-mostlyclean-dejagnu
1879 mostlyclean-host: maybe-mostlyclean-diff
1880 mostlyclean-host: maybe-mostlyclean-dosutils
1881 mostlyclean-host: maybe-mostlyclean-etc
1882 mostlyclean-host: maybe-mostlyclean-fastjar
1883 mostlyclean-host: maybe-mostlyclean-fileutils
1884 mostlyclean-host: maybe-mostlyclean-findutils
1885 mostlyclean-host: maybe-mostlyclean-find
1886 mostlyclean-host: maybe-mostlyclean-fixincludes
1887 mostlyclean-host: maybe-mostlyclean-flex
1888 mostlyclean-host: maybe-mostlyclean-gas
1889 mostlyclean-host: maybe-mostlyclean-gcc
1890 mostlyclean-host: maybe-mostlyclean-gawk
1891 mostlyclean-host: maybe-mostlyclean-gettext
1892 mostlyclean-host: maybe-mostlyclean-gmp
1893 mostlyclean-host: maybe-mostlyclean-mpfr
1894 mostlyclean-host: maybe-mostlyclean-gnuserv
1895 mostlyclean-host: maybe-mostlyclean-gold
1896 mostlyclean-host: maybe-mostlyclean-gprof
1897 mostlyclean-host: maybe-mostlyclean-gzip
1898 mostlyclean-host: maybe-mostlyclean-hello
1899 mostlyclean-host: maybe-mostlyclean-indent
1900 mostlyclean-host: maybe-mostlyclean-intl
1901 mostlyclean-host: maybe-mostlyclean-tcl
1902 mostlyclean-host: maybe-mostlyclean-itcl
1903 mostlyclean-host: maybe-mostlyclean-ld
1904 mostlyclean-host: maybe-mostlyclean-libcpp
1905 mostlyclean-host: maybe-mostlyclean-libdecnumber
1906 mostlyclean-host: maybe-mostlyclean-libgui
1907 mostlyclean-host: maybe-mostlyclean-libiberty
1908 mostlyclean-host: maybe-mostlyclean-libtool
1909 mostlyclean-host: maybe-mostlyclean-m4
1910 mostlyclean-host: maybe-mostlyclean-make
1911 mostlyclean-host: maybe-mostlyclean-mmalloc
1912 mostlyclean-host: maybe-mostlyclean-patch
1913 mostlyclean-host: maybe-mostlyclean-perl
1914 mostlyclean-host: maybe-mostlyclean-prms
1915 mostlyclean-host: maybe-mostlyclean-rcs
1916 mostlyclean-host: maybe-mostlyclean-readline
1917 mostlyclean-host: maybe-mostlyclean-release
1918 mostlyclean-host: maybe-mostlyclean-recode
1919 mostlyclean-host: maybe-mostlyclean-sed
1920 mostlyclean-host: maybe-mostlyclean-send-pr
1921 mostlyclean-host: maybe-mostlyclean-shellutils
1922 mostlyclean-host: maybe-mostlyclean-sid
1923 mostlyclean-host: maybe-mostlyclean-sim
1924 mostlyclean-host: maybe-mostlyclean-tar
1925 mostlyclean-host: maybe-mostlyclean-texinfo
1926 mostlyclean-host: maybe-mostlyclean-textutils
1927 mostlyclean-host: maybe-mostlyclean-time
1928 mostlyclean-host: maybe-mostlyclean-uudecode
1929 mostlyclean-host: maybe-mostlyclean-wdiff
1930 mostlyclean-host: maybe-mostlyclean-zip
1931 mostlyclean-host: maybe-mostlyclean-zlib
1932 mostlyclean-host: maybe-mostlyclean-gdb
1933 mostlyclean-host: maybe-mostlyclean-expect
1934 mostlyclean-host: maybe-mostlyclean-guile
1935 mostlyclean-host: maybe-mostlyclean-tk
1936 mostlyclean-host: maybe-mostlyclean-libtermcap
1937 mostlyclean-host: maybe-mostlyclean-utils
1938 mostlyclean-host: maybe-mostlyclean-gnattools
1940 .PHONY: mostlyclean-target
1942 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1943 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1944 mostlyclean-target: maybe-mostlyclean-target-libssp
1945 mostlyclean-target: maybe-mostlyclean-target-newlib
1946 mostlyclean-target: maybe-mostlyclean-target-libgcc
1947 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1948 mostlyclean-target: maybe-mostlyclean-target-libobjc
1949 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1950 mostlyclean-target: maybe-mostlyclean-target-winsup
1951 mostlyclean-target: maybe-mostlyclean-target-libgloss
1952 mostlyclean-target: maybe-mostlyclean-target-libiberty
1953 mostlyclean-target: maybe-mostlyclean-target-gperf
1954 mostlyclean-target: maybe-mostlyclean-target-examples
1955 mostlyclean-target: maybe-mostlyclean-target-libffi
1956 mostlyclean-target: maybe-mostlyclean-target-libjava
1957 mostlyclean-target: maybe-mostlyclean-target-zlib
1958 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1959 mostlyclean-target: maybe-mostlyclean-target-qthreads
1960 mostlyclean-target: maybe-mostlyclean-target-rda
1961 mostlyclean-target: maybe-mostlyclean-target-libada
1962 mostlyclean-target: maybe-mostlyclean-target-libgomp
1964 .PHONY: do-clean
1965 do-clean:
1966 @: $(MAKE); $(unstage)
1967 @r=`${PWD_COMMAND}`; export r; \
1968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1969 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1970 clean-target
1973 .PHONY: clean-host
1975 clean-host: maybe-clean-ash
1976 clean-host: maybe-clean-autoconf
1977 clean-host: maybe-clean-automake
1978 clean-host: maybe-clean-bash
1979 clean-host: maybe-clean-bfd
1980 clean-host: maybe-clean-opcodes
1981 clean-host: maybe-clean-binutils
1982 clean-host: maybe-clean-bison
1983 clean-host: maybe-clean-byacc
1984 clean-host: maybe-clean-bzip2
1985 clean-host: maybe-clean-dejagnu
1986 clean-host: maybe-clean-diff
1987 clean-host: maybe-clean-dosutils
1988 clean-host: maybe-clean-etc
1989 clean-host: maybe-clean-fastjar
1990 clean-host: maybe-clean-fileutils
1991 clean-host: maybe-clean-findutils
1992 clean-host: maybe-clean-find
1993 clean-host: maybe-clean-fixincludes
1994 clean-host: maybe-clean-flex
1995 clean-host: maybe-clean-gas
1996 clean-host: maybe-clean-gcc
1997 clean-host: maybe-clean-gawk
1998 clean-host: maybe-clean-gettext
1999 clean-host: maybe-clean-gmp
2000 clean-host: maybe-clean-mpfr
2001 clean-host: maybe-clean-gnuserv
2002 clean-host: maybe-clean-gold
2003 clean-host: maybe-clean-gprof
2004 clean-host: maybe-clean-gzip
2005 clean-host: maybe-clean-hello
2006 clean-host: maybe-clean-indent
2007 clean-host: maybe-clean-intl
2008 clean-host: maybe-clean-tcl
2009 clean-host: maybe-clean-itcl
2010 clean-host: maybe-clean-ld
2011 clean-host: maybe-clean-libcpp
2012 clean-host: maybe-clean-libdecnumber
2013 clean-host: maybe-clean-libgui
2014 clean-host: maybe-clean-libiberty
2015 clean-host: maybe-clean-libtool
2016 clean-host: maybe-clean-m4
2017 clean-host: maybe-clean-make
2018 clean-host: maybe-clean-mmalloc
2019 clean-host: maybe-clean-patch
2020 clean-host: maybe-clean-perl
2021 clean-host: maybe-clean-prms
2022 clean-host: maybe-clean-rcs
2023 clean-host: maybe-clean-readline
2024 clean-host: maybe-clean-release
2025 clean-host: maybe-clean-recode
2026 clean-host: maybe-clean-sed
2027 clean-host: maybe-clean-send-pr
2028 clean-host: maybe-clean-shellutils
2029 clean-host: maybe-clean-sid
2030 clean-host: maybe-clean-sim
2031 clean-host: maybe-clean-tar
2032 clean-host: maybe-clean-texinfo
2033 clean-host: maybe-clean-textutils
2034 clean-host: maybe-clean-time
2035 clean-host: maybe-clean-uudecode
2036 clean-host: maybe-clean-wdiff
2037 clean-host: maybe-clean-zip
2038 clean-host: maybe-clean-zlib
2039 clean-host: maybe-clean-gdb
2040 clean-host: maybe-clean-expect
2041 clean-host: maybe-clean-guile
2042 clean-host: maybe-clean-tk
2043 clean-host: maybe-clean-libtermcap
2044 clean-host: maybe-clean-utils
2045 clean-host: maybe-clean-gnattools
2047 .PHONY: clean-target
2049 clean-target: maybe-clean-target-libstdc++-v3
2050 clean-target: maybe-clean-target-libmudflap
2051 clean-target: maybe-clean-target-libssp
2052 clean-target: maybe-clean-target-newlib
2053 clean-target: maybe-clean-target-libgcc
2054 clean-target: maybe-clean-target-libgfortran
2055 clean-target: maybe-clean-target-libobjc
2056 clean-target: maybe-clean-target-libtermcap
2057 clean-target: maybe-clean-target-winsup
2058 clean-target: maybe-clean-target-libgloss
2059 clean-target: maybe-clean-target-libiberty
2060 clean-target: maybe-clean-target-gperf
2061 clean-target: maybe-clean-target-examples
2062 clean-target: maybe-clean-target-libffi
2063 clean-target: maybe-clean-target-libjava
2064 clean-target: maybe-clean-target-zlib
2065 clean-target: maybe-clean-target-boehm-gc
2066 clean-target: maybe-clean-target-qthreads
2067 clean-target: maybe-clean-target-rda
2068 clean-target: maybe-clean-target-libada
2069 clean-target: maybe-clean-target-libgomp
2071 .PHONY: do-distclean
2072 do-distclean:
2073 @: $(MAKE); $(unstage)
2074 @r=`${PWD_COMMAND}`; export r; \
2075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2076 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2077 distclean-target
2080 .PHONY: distclean-host
2082 distclean-host: maybe-distclean-ash
2083 distclean-host: maybe-distclean-autoconf
2084 distclean-host: maybe-distclean-automake
2085 distclean-host: maybe-distclean-bash
2086 distclean-host: maybe-distclean-bfd
2087 distclean-host: maybe-distclean-opcodes
2088 distclean-host: maybe-distclean-binutils
2089 distclean-host: maybe-distclean-bison
2090 distclean-host: maybe-distclean-byacc
2091 distclean-host: maybe-distclean-bzip2
2092 distclean-host: maybe-distclean-dejagnu
2093 distclean-host: maybe-distclean-diff
2094 distclean-host: maybe-distclean-dosutils
2095 distclean-host: maybe-distclean-etc
2096 distclean-host: maybe-distclean-fastjar
2097 distclean-host: maybe-distclean-fileutils
2098 distclean-host: maybe-distclean-findutils
2099 distclean-host: maybe-distclean-find
2100 distclean-host: maybe-distclean-fixincludes
2101 distclean-host: maybe-distclean-flex
2102 distclean-host: maybe-distclean-gas
2103 distclean-host: maybe-distclean-gcc
2104 distclean-host: maybe-distclean-gawk
2105 distclean-host: maybe-distclean-gettext
2106 distclean-host: maybe-distclean-gmp
2107 distclean-host: maybe-distclean-mpfr
2108 distclean-host: maybe-distclean-gnuserv
2109 distclean-host: maybe-distclean-gold
2110 distclean-host: maybe-distclean-gprof
2111 distclean-host: maybe-distclean-gzip
2112 distclean-host: maybe-distclean-hello
2113 distclean-host: maybe-distclean-indent
2114 distclean-host: maybe-distclean-intl
2115 distclean-host: maybe-distclean-tcl
2116 distclean-host: maybe-distclean-itcl
2117 distclean-host: maybe-distclean-ld
2118 distclean-host: maybe-distclean-libcpp
2119 distclean-host: maybe-distclean-libdecnumber
2120 distclean-host: maybe-distclean-libgui
2121 distclean-host: maybe-distclean-libiberty
2122 distclean-host: maybe-distclean-libtool
2123 distclean-host: maybe-distclean-m4
2124 distclean-host: maybe-distclean-make
2125 distclean-host: maybe-distclean-mmalloc
2126 distclean-host: maybe-distclean-patch
2127 distclean-host: maybe-distclean-perl
2128 distclean-host: maybe-distclean-prms
2129 distclean-host: maybe-distclean-rcs
2130 distclean-host: maybe-distclean-readline
2131 distclean-host: maybe-distclean-release
2132 distclean-host: maybe-distclean-recode
2133 distclean-host: maybe-distclean-sed
2134 distclean-host: maybe-distclean-send-pr
2135 distclean-host: maybe-distclean-shellutils
2136 distclean-host: maybe-distclean-sid
2137 distclean-host: maybe-distclean-sim
2138 distclean-host: maybe-distclean-tar
2139 distclean-host: maybe-distclean-texinfo
2140 distclean-host: maybe-distclean-textutils
2141 distclean-host: maybe-distclean-time
2142 distclean-host: maybe-distclean-uudecode
2143 distclean-host: maybe-distclean-wdiff
2144 distclean-host: maybe-distclean-zip
2145 distclean-host: maybe-distclean-zlib
2146 distclean-host: maybe-distclean-gdb
2147 distclean-host: maybe-distclean-expect
2148 distclean-host: maybe-distclean-guile
2149 distclean-host: maybe-distclean-tk
2150 distclean-host: maybe-distclean-libtermcap
2151 distclean-host: maybe-distclean-utils
2152 distclean-host: maybe-distclean-gnattools
2154 .PHONY: distclean-target
2156 distclean-target: maybe-distclean-target-libstdc++-v3
2157 distclean-target: maybe-distclean-target-libmudflap
2158 distclean-target: maybe-distclean-target-libssp
2159 distclean-target: maybe-distclean-target-newlib
2160 distclean-target: maybe-distclean-target-libgcc
2161 distclean-target: maybe-distclean-target-libgfortran
2162 distclean-target: maybe-distclean-target-libobjc
2163 distclean-target: maybe-distclean-target-libtermcap
2164 distclean-target: maybe-distclean-target-winsup
2165 distclean-target: maybe-distclean-target-libgloss
2166 distclean-target: maybe-distclean-target-libiberty
2167 distclean-target: maybe-distclean-target-gperf
2168 distclean-target: maybe-distclean-target-examples
2169 distclean-target: maybe-distclean-target-libffi
2170 distclean-target: maybe-distclean-target-libjava
2171 distclean-target: maybe-distclean-target-zlib
2172 distclean-target: maybe-distclean-target-boehm-gc
2173 distclean-target: maybe-distclean-target-qthreads
2174 distclean-target: maybe-distclean-target-rda
2175 distclean-target: maybe-distclean-target-libada
2176 distclean-target: maybe-distclean-target-libgomp
2178 .PHONY: do-maintainer-clean
2179 do-maintainer-clean:
2180 @: $(MAKE); $(unstage)
2181 @r=`${PWD_COMMAND}`; export r; \
2182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2183 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2184 maintainer-clean-target
2187 .PHONY: maintainer-clean-host
2189 maintainer-clean-host: maybe-maintainer-clean-ash
2190 maintainer-clean-host: maybe-maintainer-clean-autoconf
2191 maintainer-clean-host: maybe-maintainer-clean-automake
2192 maintainer-clean-host: maybe-maintainer-clean-bash
2193 maintainer-clean-host: maybe-maintainer-clean-bfd
2194 maintainer-clean-host: maybe-maintainer-clean-opcodes
2195 maintainer-clean-host: maybe-maintainer-clean-binutils
2196 maintainer-clean-host: maybe-maintainer-clean-bison
2197 maintainer-clean-host: maybe-maintainer-clean-byacc
2198 maintainer-clean-host: maybe-maintainer-clean-bzip2
2199 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2200 maintainer-clean-host: maybe-maintainer-clean-diff
2201 maintainer-clean-host: maybe-maintainer-clean-dosutils
2202 maintainer-clean-host: maybe-maintainer-clean-etc
2203 maintainer-clean-host: maybe-maintainer-clean-fastjar
2204 maintainer-clean-host: maybe-maintainer-clean-fileutils
2205 maintainer-clean-host: maybe-maintainer-clean-findutils
2206 maintainer-clean-host: maybe-maintainer-clean-find
2207 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2208 maintainer-clean-host: maybe-maintainer-clean-flex
2209 maintainer-clean-host: maybe-maintainer-clean-gas
2210 maintainer-clean-host: maybe-maintainer-clean-gcc
2211 maintainer-clean-host: maybe-maintainer-clean-gawk
2212 maintainer-clean-host: maybe-maintainer-clean-gettext
2213 maintainer-clean-host: maybe-maintainer-clean-gmp
2214 maintainer-clean-host: maybe-maintainer-clean-mpfr
2215 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2216 maintainer-clean-host: maybe-maintainer-clean-gold
2217 maintainer-clean-host: maybe-maintainer-clean-gprof
2218 maintainer-clean-host: maybe-maintainer-clean-gzip
2219 maintainer-clean-host: maybe-maintainer-clean-hello
2220 maintainer-clean-host: maybe-maintainer-clean-indent
2221 maintainer-clean-host: maybe-maintainer-clean-intl
2222 maintainer-clean-host: maybe-maintainer-clean-tcl
2223 maintainer-clean-host: maybe-maintainer-clean-itcl
2224 maintainer-clean-host: maybe-maintainer-clean-ld
2225 maintainer-clean-host: maybe-maintainer-clean-libcpp
2226 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2227 maintainer-clean-host: maybe-maintainer-clean-libgui
2228 maintainer-clean-host: maybe-maintainer-clean-libiberty
2229 maintainer-clean-host: maybe-maintainer-clean-libtool
2230 maintainer-clean-host: maybe-maintainer-clean-m4
2231 maintainer-clean-host: maybe-maintainer-clean-make
2232 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2233 maintainer-clean-host: maybe-maintainer-clean-patch
2234 maintainer-clean-host: maybe-maintainer-clean-perl
2235 maintainer-clean-host: maybe-maintainer-clean-prms
2236 maintainer-clean-host: maybe-maintainer-clean-rcs
2237 maintainer-clean-host: maybe-maintainer-clean-readline
2238 maintainer-clean-host: maybe-maintainer-clean-release
2239 maintainer-clean-host: maybe-maintainer-clean-recode
2240 maintainer-clean-host: maybe-maintainer-clean-sed
2241 maintainer-clean-host: maybe-maintainer-clean-send-pr
2242 maintainer-clean-host: maybe-maintainer-clean-shellutils
2243 maintainer-clean-host: maybe-maintainer-clean-sid
2244 maintainer-clean-host: maybe-maintainer-clean-sim
2245 maintainer-clean-host: maybe-maintainer-clean-tar
2246 maintainer-clean-host: maybe-maintainer-clean-texinfo
2247 maintainer-clean-host: maybe-maintainer-clean-textutils
2248 maintainer-clean-host: maybe-maintainer-clean-time
2249 maintainer-clean-host: maybe-maintainer-clean-uudecode
2250 maintainer-clean-host: maybe-maintainer-clean-wdiff
2251 maintainer-clean-host: maybe-maintainer-clean-zip
2252 maintainer-clean-host: maybe-maintainer-clean-zlib
2253 maintainer-clean-host: maybe-maintainer-clean-gdb
2254 maintainer-clean-host: maybe-maintainer-clean-expect
2255 maintainer-clean-host: maybe-maintainer-clean-guile
2256 maintainer-clean-host: maybe-maintainer-clean-tk
2257 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2258 maintainer-clean-host: maybe-maintainer-clean-utils
2259 maintainer-clean-host: maybe-maintainer-clean-gnattools
2261 .PHONY: maintainer-clean-target
2263 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2264 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2265 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2266 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2267 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2268 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2269 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2270 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2271 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2272 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2273 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2274 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2275 maintainer-clean-target: maybe-maintainer-clean-target-examples
2276 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2277 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2278 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2279 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2280 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2281 maintainer-clean-target: maybe-maintainer-clean-target-rda
2282 maintainer-clean-target: maybe-maintainer-clean-target-libada
2283 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2286 # Here are the targets which correspond to the do-X targets.
2288 .PHONY: info installcheck dvi pdf html
2289 .PHONY: install-info install-pdf install-html
2290 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2291 .PHONY: local-clean local-distclean local-maintainer-clean
2292 info: do-info
2293 installcheck: do-installcheck
2294 dvi: do-dvi
2295 pdf: do-pdf
2296 html: do-html
2298 # Make sure makeinfo is built before we do a `make info', if we're
2299 # in fact building texinfo.
2300 do-info: maybe-all-texinfo
2302 install-info: do-install-info dir.info
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304 if [ -f dir.info ] ; then \
2305 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2306 else true ; fi
2308 install-pdf: do-install-pdf
2310 install-html: do-install-html
2312 local-clean:
2313 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2315 local-distclean:
2316 -rm -f Makefile config.status config.cache mh-frag mt-frag
2317 -rm -f maybedep.tmp serdep.tmp
2318 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2319 rm -rf $(TARGET_SUBDIR); \
2320 else true; fi
2321 -rm -rf $(BUILD_SUBDIR)
2322 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2323 rm -rf $(HOST_SUBDIR); \
2324 else true; fi
2325 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2326 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2327 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2328 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2329 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2331 local-maintainer-clean:
2332 @echo "This command is intended for maintainers to use;"
2333 @echo "it deletes files that may require special tools to rebuild."
2335 clean: do-clean local-clean
2336 mostlyclean: do-mostlyclean local-clean
2337 distclean: do-distclean local-clean local-distclean
2338 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2339 maintainer-clean: local-distclean
2340 realclean: maintainer-clean
2342 # Check target.
2344 .PHONY: check do-check
2345 check: do-check
2347 # Only include modules actually being configured and built.
2348 .PHONY: check-host
2349 check-host: \
2350 maybe-check-ash \
2351 maybe-check-autoconf \
2352 maybe-check-automake \
2353 maybe-check-bash \
2354 maybe-check-bfd \
2355 maybe-check-opcodes \
2356 maybe-check-binutils \
2357 maybe-check-bison \
2358 maybe-check-byacc \
2359 maybe-check-bzip2 \
2360 maybe-check-dejagnu \
2361 maybe-check-diff \
2362 maybe-check-dosutils \
2363 maybe-check-etc \
2364 maybe-check-fastjar \
2365 maybe-check-fileutils \
2366 maybe-check-findutils \
2367 maybe-check-find \
2368 maybe-check-fixincludes \
2369 maybe-check-flex \
2370 maybe-check-gas \
2371 maybe-check-gcc \
2372 maybe-check-gawk \
2373 maybe-check-gettext \
2374 maybe-check-gmp \
2375 maybe-check-mpfr \
2376 maybe-check-gnuserv \
2377 maybe-check-gold \
2378 maybe-check-gprof \
2379 maybe-check-gzip \
2380 maybe-check-hello \
2381 maybe-check-indent \
2382 maybe-check-intl \
2383 maybe-check-tcl \
2384 maybe-check-itcl \
2385 maybe-check-ld \
2386 maybe-check-libcpp \
2387 maybe-check-libdecnumber \
2388 maybe-check-libgui \
2389 maybe-check-libiberty \
2390 maybe-check-libtool \
2391 maybe-check-m4 \
2392 maybe-check-make \
2393 maybe-check-mmalloc \
2394 maybe-check-patch \
2395 maybe-check-perl \
2396 maybe-check-prms \
2397 maybe-check-rcs \
2398 maybe-check-readline \
2399 maybe-check-release \
2400 maybe-check-recode \
2401 maybe-check-sed \
2402 maybe-check-send-pr \
2403 maybe-check-shellutils \
2404 maybe-check-sid \
2405 maybe-check-sim \
2406 maybe-check-tar \
2407 maybe-check-texinfo \
2408 maybe-check-textutils \
2409 maybe-check-time \
2410 maybe-check-uudecode \
2411 maybe-check-wdiff \
2412 maybe-check-zip \
2413 maybe-check-zlib \
2414 maybe-check-gdb \
2415 maybe-check-expect \
2416 maybe-check-guile \
2417 maybe-check-tk \
2418 maybe-check-libtermcap \
2419 maybe-check-utils \
2420 maybe-check-gnattools
2422 .PHONY: check-target
2423 check-target: \
2424 maybe-check-target-libstdc++-v3 \
2425 maybe-check-target-libmudflap \
2426 maybe-check-target-libssp \
2427 maybe-check-target-newlib \
2428 maybe-check-target-libgcc \
2429 maybe-check-target-libgfortran \
2430 maybe-check-target-libobjc \
2431 maybe-check-target-libtermcap \
2432 maybe-check-target-winsup \
2433 maybe-check-target-libgloss \
2434 maybe-check-target-libiberty \
2435 maybe-check-target-gperf \
2436 maybe-check-target-examples \
2437 maybe-check-target-libffi \
2438 maybe-check-target-libjava \
2439 maybe-check-target-zlib \
2440 maybe-check-target-boehm-gc \
2441 maybe-check-target-qthreads \
2442 maybe-check-target-rda \
2443 maybe-check-target-libada \
2444 maybe-check-target-libgomp
2446 do-check:
2447 @: $(MAKE); $(unstage)
2448 @r=`${PWD_COMMAND}`; export r; \
2449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2452 # Automated reporting of test results.
2454 warning.log: build.log
2455 $(srcdir)/contrib/warn_summary build.log > $@
2457 mail-report.log:
2458 if test x'$(BOOT_CFLAGS)' != x''; then \
2459 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2460 fi; \
2461 $(srcdir)/contrib/test_summary -t >$@
2462 chmod +x $@
2463 echo If you really want to send e-mail, run ./$@ now
2465 mail-report-with-warnings.log: warning.log
2466 if test x'$(BOOT_CFLAGS)' != x''; then \
2467 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2468 fi; \
2469 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2470 chmod +x $@
2471 echo If you really want to send e-mail, run ./$@ now
2473 # Installation targets.
2475 .PHONY: install uninstall
2476 install:
2477 @: $(MAKE); $(unstage)
2478 @r=`${PWD_COMMAND}`; export r; \
2479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2480 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2482 .PHONY: install-host-nogcc
2483 install-host-nogcc: \
2484 maybe-install-ash \
2485 maybe-install-autoconf \
2486 maybe-install-automake \
2487 maybe-install-bash \
2488 maybe-install-bfd \
2489 maybe-install-opcodes \
2490 maybe-install-binutils \
2491 maybe-install-bison \
2492 maybe-install-byacc \
2493 maybe-install-bzip2 \
2494 maybe-install-dejagnu \
2495 maybe-install-diff \
2496 maybe-install-dosutils \
2497 maybe-install-etc \
2498 maybe-install-fastjar \
2499 maybe-install-fileutils \
2500 maybe-install-findutils \
2501 maybe-install-find \
2502 maybe-install-fixincludes \
2503 maybe-install-flex \
2504 maybe-install-gas \
2505 maybe-install-gawk \
2506 maybe-install-gettext \
2507 maybe-install-gmp \
2508 maybe-install-mpfr \
2509 maybe-install-gnuserv \
2510 maybe-install-gold \
2511 maybe-install-gprof \
2512 maybe-install-gzip \
2513 maybe-install-hello \
2514 maybe-install-indent \
2515 maybe-install-intl \
2516 maybe-install-tcl \
2517 maybe-install-itcl \
2518 maybe-install-ld \
2519 maybe-install-libcpp \
2520 maybe-install-libdecnumber \
2521 maybe-install-libgui \
2522 maybe-install-libiberty \
2523 maybe-install-libtool \
2524 maybe-install-m4 \
2525 maybe-install-make \
2526 maybe-install-mmalloc \
2527 maybe-install-patch \
2528 maybe-install-perl \
2529 maybe-install-prms \
2530 maybe-install-rcs \
2531 maybe-install-readline \
2532 maybe-install-release \
2533 maybe-install-recode \
2534 maybe-install-sed \
2535 maybe-install-send-pr \
2536 maybe-install-shellutils \
2537 maybe-install-sid \
2538 maybe-install-sim \
2539 maybe-install-tar \
2540 maybe-install-texinfo \
2541 maybe-install-textutils \
2542 maybe-install-time \
2543 maybe-install-uudecode \
2544 maybe-install-wdiff \
2545 maybe-install-zip \
2546 maybe-install-zlib \
2547 maybe-install-gdb \
2548 maybe-install-expect \
2549 maybe-install-guile \
2550 maybe-install-tk \
2551 maybe-install-libtermcap \
2552 maybe-install-utils \
2553 maybe-install-gnattools
2555 .PHONY: install-host
2556 install-host: \
2557 maybe-install-ash \
2558 maybe-install-autoconf \
2559 maybe-install-automake \
2560 maybe-install-bash \
2561 maybe-install-bfd \
2562 maybe-install-opcodes \
2563 maybe-install-binutils \
2564 maybe-install-bison \
2565 maybe-install-byacc \
2566 maybe-install-bzip2 \
2567 maybe-install-dejagnu \
2568 maybe-install-diff \
2569 maybe-install-dosutils \
2570 maybe-install-etc \
2571 maybe-install-fastjar \
2572 maybe-install-fileutils \
2573 maybe-install-findutils \
2574 maybe-install-find \
2575 maybe-install-fixincludes \
2576 maybe-install-flex \
2577 maybe-install-gas \
2578 maybe-install-gcc \
2579 maybe-install-gawk \
2580 maybe-install-gettext \
2581 maybe-install-gmp \
2582 maybe-install-mpfr \
2583 maybe-install-gnuserv \
2584 maybe-install-gold \
2585 maybe-install-gprof \
2586 maybe-install-gzip \
2587 maybe-install-hello \
2588 maybe-install-indent \
2589 maybe-install-intl \
2590 maybe-install-tcl \
2591 maybe-install-itcl \
2592 maybe-install-ld \
2593 maybe-install-libcpp \
2594 maybe-install-libdecnumber \
2595 maybe-install-libgui \
2596 maybe-install-libiberty \
2597 maybe-install-libtool \
2598 maybe-install-m4 \
2599 maybe-install-make \
2600 maybe-install-mmalloc \
2601 maybe-install-patch \
2602 maybe-install-perl \
2603 maybe-install-prms \
2604 maybe-install-rcs \
2605 maybe-install-readline \
2606 maybe-install-release \
2607 maybe-install-recode \
2608 maybe-install-sed \
2609 maybe-install-send-pr \
2610 maybe-install-shellutils \
2611 maybe-install-sid \
2612 maybe-install-sim \
2613 maybe-install-tar \
2614 maybe-install-texinfo \
2615 maybe-install-textutils \
2616 maybe-install-time \
2617 maybe-install-uudecode \
2618 maybe-install-wdiff \
2619 maybe-install-zip \
2620 maybe-install-zlib \
2621 maybe-install-gdb \
2622 maybe-install-expect \
2623 maybe-install-guile \
2624 maybe-install-tk \
2625 maybe-install-libtermcap \
2626 maybe-install-utils \
2627 maybe-install-gnattools
2629 .PHONY: install-target
2630 install-target: \
2631 maybe-install-target-libstdc++-v3 \
2632 maybe-install-target-libmudflap \
2633 maybe-install-target-libssp \
2634 maybe-install-target-newlib \
2635 maybe-install-target-libgcc \
2636 maybe-install-target-libgfortran \
2637 maybe-install-target-libobjc \
2638 maybe-install-target-libtermcap \
2639 maybe-install-target-winsup \
2640 maybe-install-target-libgloss \
2641 maybe-install-target-libiberty \
2642 maybe-install-target-gperf \
2643 maybe-install-target-examples \
2644 maybe-install-target-libffi \
2645 maybe-install-target-libjava \
2646 maybe-install-target-zlib \
2647 maybe-install-target-boehm-gc \
2648 maybe-install-target-qthreads \
2649 maybe-install-target-rda \
2650 maybe-install-target-libada \
2651 maybe-install-target-libgomp
2653 uninstall:
2654 @echo "the uninstall target is not supported in this tree"
2656 .PHONY: install.all
2657 install.all: install-no-fixedincludes
2658 @if [ -f ./gcc/Makefile ] ; then \
2659 r=`${PWD_COMMAND}` ; export r ; \
2660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2661 $(HOST_EXPORTS) \
2662 (cd ./gcc && \
2663 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2664 else \
2665 true ; \
2668 # install-no-fixedincludes is used because Cygnus can not distribute
2669 # the fixed header files.
2670 .PHONY: install-no-fixedincludes
2671 install-no-fixedincludes: installdirs install-host-nogcc \
2672 install-target gcc-no-fixedincludes
2674 ### other supporting targets
2676 MAKEDIRS= \
2677 $(DESTDIR)$(prefix) \
2678 $(DESTDIR)$(exec_prefix)
2679 .PHONY: installdirs
2680 installdirs: mkinstalldirs
2681 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2683 dir.info: do-install-info
2684 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2685 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2686 mv -f dir.info.new dir.info ; \
2687 else true ; \
2690 dist:
2691 @echo "Building a full distribution of this tree isn't done"
2692 @echo "via 'make dist'. Check out the etc/ subdirectory"
2694 etags tags: TAGS
2696 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2697 # ability to use several tags files at once, so there is probably no need
2698 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2699 # (if we felt like it) have this Makefile write a piece of elisp which
2700 # the user could load to tell emacs19 where all the TAGS files we just
2701 # built are.
2702 TAGS: do-TAGS
2704 # ------------------------------------
2705 # Macros for configure and all targets
2706 # ------------------------------------
2712 # --------------------------------------
2713 # Modules which run on the build machine
2714 # --------------------------------------
2717 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2718 maybe-configure-build-libiberty:
2719 @if gcc-bootstrap
2720 configure-build-libiberty: stage_current
2721 @endif gcc-bootstrap
2722 @if build-libiberty
2723 maybe-configure-build-libiberty: configure-build-libiberty
2724 configure-build-libiberty:
2725 @: $(MAKE); $(unstage)
2726 @r=`${PWD_COMMAND}`; export r; \
2727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2728 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2729 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2730 $(BUILD_EXPORTS) \
2731 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2732 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2733 case $(srcdir) in \
2734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2735 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2737 esac; \
2738 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2739 libsrcdir="$$s/libiberty"; \
2740 rm -f no-such-file || : ; \
2741 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2742 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2743 --target=${target_alias} $${srcdiroption} \
2744 || exit 1
2745 @endif build-libiberty
2751 .PHONY: all-build-libiberty maybe-all-build-libiberty
2752 maybe-all-build-libiberty:
2753 @if gcc-bootstrap
2754 all-build-libiberty: stage_current
2755 @endif gcc-bootstrap
2756 @if build-libiberty
2757 TARGET-build-libiberty=all
2758 maybe-all-build-libiberty: all-build-libiberty
2759 all-build-libiberty: configure-build-libiberty
2760 @: $(MAKE); $(unstage)
2761 @r=`${PWD_COMMAND}`; export r; \
2762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2763 $(BUILD_EXPORTS) \
2764 (cd $(BUILD_SUBDIR)/libiberty && \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) \
2766 $(TARGET-build-libiberty))
2767 @endif build-libiberty
2773 .PHONY: configure-build-bison maybe-configure-build-bison
2774 maybe-configure-build-bison:
2775 @if gcc-bootstrap
2776 configure-build-bison: stage_current
2777 @endif gcc-bootstrap
2778 @if build-bison
2779 maybe-configure-build-bison: configure-build-bison
2780 configure-build-bison:
2781 @: $(MAKE); $(unstage)
2782 @r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2784 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2785 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2786 $(BUILD_EXPORTS) \
2787 echo Configuring in $(BUILD_SUBDIR)/bison; \
2788 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2789 case $(srcdir) in \
2790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2791 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2793 esac; \
2794 srcdiroption="--srcdir=$${topdir}/bison"; \
2795 libsrcdir="$$s/bison"; \
2796 rm -f no-such-file || : ; \
2797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2798 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2799 --target=${target_alias} $${srcdiroption} \
2800 || exit 1
2801 @endif build-bison
2807 .PHONY: all-build-bison maybe-all-build-bison
2808 maybe-all-build-bison:
2809 @if gcc-bootstrap
2810 all-build-bison: stage_current
2811 @endif gcc-bootstrap
2812 @if build-bison
2813 TARGET-build-bison=all
2814 maybe-all-build-bison: all-build-bison
2815 all-build-bison: configure-build-bison
2816 @: $(MAKE); $(unstage)
2817 @r=`${PWD_COMMAND}`; export r; \
2818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2819 $(BUILD_EXPORTS) \
2820 (cd $(BUILD_SUBDIR)/bison && \
2821 $(MAKE) $(BASE_FLAGS_TO_PASS) \
2822 $(TARGET-build-bison))
2823 @endif build-bison
2829 .PHONY: configure-build-byacc maybe-configure-build-byacc
2830 maybe-configure-build-byacc:
2831 @if gcc-bootstrap
2832 configure-build-byacc: stage_current
2833 @endif gcc-bootstrap
2834 @if build-byacc
2835 maybe-configure-build-byacc: configure-build-byacc
2836 configure-build-byacc:
2837 @: $(MAKE); $(unstage)
2838 @r=`${PWD_COMMAND}`; export r; \
2839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2840 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2841 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2842 $(BUILD_EXPORTS) \
2843 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2844 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2845 case $(srcdir) in \
2846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2847 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2849 esac; \
2850 srcdiroption="--srcdir=$${topdir}/byacc"; \
2851 libsrcdir="$$s/byacc"; \
2852 rm -f no-such-file || : ; \
2853 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2854 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2855 --target=${target_alias} $${srcdiroption} \
2856 || exit 1
2857 @endif build-byacc
2863 .PHONY: all-build-byacc maybe-all-build-byacc
2864 maybe-all-build-byacc:
2865 @if gcc-bootstrap
2866 all-build-byacc: stage_current
2867 @endif gcc-bootstrap
2868 @if build-byacc
2869 TARGET-build-byacc=all
2870 maybe-all-build-byacc: all-build-byacc
2871 all-build-byacc: configure-build-byacc
2872 @: $(MAKE); $(unstage)
2873 @r=`${PWD_COMMAND}`; export r; \
2874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2875 $(BUILD_EXPORTS) \
2876 (cd $(BUILD_SUBDIR)/byacc && \
2877 $(MAKE) $(BASE_FLAGS_TO_PASS) \
2878 $(TARGET-build-byacc))
2879 @endif build-byacc
2885 .PHONY: configure-build-flex maybe-configure-build-flex
2886 maybe-configure-build-flex:
2887 @if gcc-bootstrap
2888 configure-build-flex: stage_current
2889 @endif gcc-bootstrap
2890 @if build-flex
2891 maybe-configure-build-flex: configure-build-flex
2892 configure-build-flex:
2893 @: $(MAKE); $(unstage)
2894 @r=`${PWD_COMMAND}`; export r; \
2895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2896 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2897 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2898 $(BUILD_EXPORTS) \
2899 echo Configuring in $(BUILD_SUBDIR)/flex; \
2900 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2901 case $(srcdir) in \
2902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2903 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2905 esac; \
2906 srcdiroption="--srcdir=$${topdir}/flex"; \
2907 libsrcdir="$$s/flex"; \
2908 rm -f no-such-file || : ; \
2909 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2910 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2911 --target=${target_alias} $${srcdiroption} \
2912 || exit 1
2913 @endif build-flex
2919 .PHONY: all-build-flex maybe-all-build-flex
2920 maybe-all-build-flex:
2921 @if gcc-bootstrap
2922 all-build-flex: stage_current
2923 @endif gcc-bootstrap
2924 @if build-flex
2925 TARGET-build-flex=all
2926 maybe-all-build-flex: all-build-flex
2927 all-build-flex: configure-build-flex
2928 @: $(MAKE); $(unstage)
2929 @r=`${PWD_COMMAND}`; export r; \
2930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2931 $(BUILD_EXPORTS) \
2932 (cd $(BUILD_SUBDIR)/flex && \
2933 $(MAKE) $(BASE_FLAGS_TO_PASS) \
2934 $(TARGET-build-flex))
2935 @endif build-flex
2941 .PHONY: configure-build-m4 maybe-configure-build-m4
2942 maybe-configure-build-m4:
2943 @if gcc-bootstrap
2944 configure-build-m4: stage_current
2945 @endif gcc-bootstrap
2946 @if build-m4
2947 maybe-configure-build-m4: configure-build-m4
2948 configure-build-m4:
2949 @: $(MAKE); $(unstage)
2950 @r=`${PWD_COMMAND}`; export r; \
2951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2952 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2953 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2954 $(BUILD_EXPORTS) \
2955 echo Configuring in $(BUILD_SUBDIR)/m4; \
2956 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2957 case $(srcdir) in \
2958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2959 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2961 esac; \
2962 srcdiroption="--srcdir=$${topdir}/m4"; \
2963 libsrcdir="$$s/m4"; \
2964 rm -f no-such-file || : ; \
2965 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2966 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2967 --target=${target_alias} $${srcdiroption} \
2968 || exit 1
2969 @endif build-m4
2975 .PHONY: all-build-m4 maybe-all-build-m4
2976 maybe-all-build-m4:
2977 @if gcc-bootstrap
2978 all-build-m4: stage_current
2979 @endif gcc-bootstrap
2980 @if build-m4
2981 TARGET-build-m4=all
2982 maybe-all-build-m4: all-build-m4
2983 all-build-m4: configure-build-m4
2984 @: $(MAKE); $(unstage)
2985 @r=`${PWD_COMMAND}`; export r; \
2986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2987 $(BUILD_EXPORTS) \
2988 (cd $(BUILD_SUBDIR)/m4 && \
2989 $(MAKE) $(BASE_FLAGS_TO_PASS) \
2990 $(TARGET-build-m4))
2991 @endif build-m4
2997 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2998 maybe-configure-build-texinfo:
2999 @if gcc-bootstrap
3000 configure-build-texinfo: stage_current
3001 @endif gcc-bootstrap
3002 @if build-texinfo
3003 maybe-configure-build-texinfo: configure-build-texinfo
3004 configure-build-texinfo:
3005 @: $(MAKE); $(unstage)
3006 @r=`${PWD_COMMAND}`; export r; \
3007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3008 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
3009 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
3010 $(BUILD_EXPORTS) \
3011 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
3012 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
3013 case $(srcdir) in \
3014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3015 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
3016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3017 esac; \
3018 srcdiroption="--srcdir=$${topdir}/texinfo"; \
3019 libsrcdir="$$s/texinfo"; \
3020 rm -f no-such-file || : ; \
3021 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3022 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3023 --target=${target_alias} $${srcdiroption} \
3024 || exit 1
3025 @endif build-texinfo
3031 .PHONY: all-build-texinfo maybe-all-build-texinfo
3032 maybe-all-build-texinfo:
3033 @if gcc-bootstrap
3034 all-build-texinfo: stage_current
3035 @endif gcc-bootstrap
3036 @if build-texinfo
3037 TARGET-build-texinfo=all
3038 maybe-all-build-texinfo: all-build-texinfo
3039 all-build-texinfo: configure-build-texinfo
3040 @: $(MAKE); $(unstage)
3041 @r=`${PWD_COMMAND}`; export r; \
3042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3043 $(BUILD_EXPORTS) \
3044 (cd $(BUILD_SUBDIR)/texinfo && \
3045 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3046 $(TARGET-build-texinfo))
3047 @endif build-texinfo
3053 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3054 maybe-configure-build-fixincludes:
3055 @if gcc-bootstrap
3056 configure-build-fixincludes: stage_current
3057 @endif gcc-bootstrap
3058 @if build-fixincludes
3059 maybe-configure-build-fixincludes: configure-build-fixincludes
3060 configure-build-fixincludes:
3061 @: $(MAKE); $(unstage)
3062 @r=`${PWD_COMMAND}`; export r; \
3063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3064 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3065 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3066 $(BUILD_EXPORTS) \
3067 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3068 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3069 case $(srcdir) in \
3070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3071 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3073 esac; \
3074 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3075 libsrcdir="$$s/fixincludes"; \
3076 rm -f no-such-file || : ; \
3077 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3078 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3079 --target=${target_alias} $${srcdiroption} \
3080 || exit 1
3081 @endif build-fixincludes
3087 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3088 maybe-all-build-fixincludes:
3089 @if gcc-bootstrap
3090 all-build-fixincludes: stage_current
3091 @endif gcc-bootstrap
3092 @if build-fixincludes
3093 TARGET-build-fixincludes=all
3094 maybe-all-build-fixincludes: all-build-fixincludes
3095 all-build-fixincludes: configure-build-fixincludes
3096 @: $(MAKE); $(unstage)
3097 @r=`${PWD_COMMAND}`; export r; \
3098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 $(BUILD_EXPORTS) \
3100 (cd $(BUILD_SUBDIR)/fixincludes && \
3101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3102 $(TARGET-build-fixincludes))
3103 @endif build-fixincludes
3109 # --------------------------------------
3110 # Modules which run on the host machine
3111 # --------------------------------------
3114 .PHONY: configure-ash maybe-configure-ash
3115 maybe-configure-ash:
3116 @if gcc-bootstrap
3117 configure-ash: stage_current
3118 @endif gcc-bootstrap
3119 @if ash
3120 maybe-configure-ash: configure-ash
3121 configure-ash:
3122 @: $(MAKE); $(unstage)
3123 @r=`${PWD_COMMAND}`; export r; \
3124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3125 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3127 $(HOST_EXPORTS) \
3128 echo Configuring in $(HOST_SUBDIR)/ash; \
3129 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3130 case $(srcdir) in \
3131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3132 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3134 esac; \
3135 srcdiroption="--srcdir=$${topdir}/ash"; \
3136 libsrcdir="$$s/ash"; \
3137 $(SHELL) $${libsrcdir}/configure \
3138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3139 --target=${target_alias} $${srcdiroption} \
3140 || exit 1
3141 @endif ash
3147 .PHONY: all-ash maybe-all-ash
3148 maybe-all-ash:
3149 @if gcc-bootstrap
3150 all-ash: stage_current
3151 @endif gcc-bootstrap
3152 @if ash
3153 TARGET-ash=all
3154 maybe-all-ash: all-ash
3155 all-ash: configure-ash
3156 @: $(MAKE); $(unstage)
3157 @r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159 $(HOST_EXPORTS) \
3160 (cd $(HOST_SUBDIR)/ash && \
3161 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3162 $(TARGET-ash))
3163 @endif ash
3168 .PHONY: check-ash maybe-check-ash
3169 maybe-check-ash:
3170 @if ash
3171 maybe-check-ash: check-ash
3173 check-ash:
3174 @: $(MAKE); $(unstage)
3175 @r=`${PWD_COMMAND}`; export r; \
3176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3177 $(HOST_EXPORTS) \
3178 (cd $(HOST_SUBDIR)/ash && \
3179 $(MAKE) $(FLAGS_TO_PASS) check)
3181 @endif ash
3183 .PHONY: install-ash maybe-install-ash
3184 maybe-install-ash:
3185 @if ash
3186 maybe-install-ash: install-ash
3188 install-ash: installdirs
3189 @: $(MAKE); $(unstage)
3190 @r=`${PWD_COMMAND}`; export r; \
3191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3192 $(HOST_EXPORTS) \
3193 (cd $(HOST_SUBDIR)/ash && \
3194 $(MAKE) $(FLAGS_TO_PASS) install)
3196 @endif ash
3198 # Other targets (info, dvi, pdf, etc.)
3200 .PHONY: maybe-info-ash info-ash
3201 maybe-info-ash:
3202 @if ash
3203 maybe-info-ash: info-ash
3205 info-ash: \
3206 configure-ash
3207 @: $(MAKE); $(unstage)
3208 @[ -f ./ash/Makefile ] || exit 0; \
3209 r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3211 $(HOST_EXPORTS) \
3212 for flag in $(EXTRA_HOST_FLAGS) ; do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3214 done; \
3215 echo "Doing info in ash" ; \
3216 (cd $(HOST_SUBDIR)/ash && \
3217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219 "RANLIB=$${RANLIB}" \
3220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3221 info) \
3222 || exit 1
3224 @endif ash
3226 .PHONY: maybe-dvi-ash dvi-ash
3227 maybe-dvi-ash:
3228 @if ash
3229 maybe-dvi-ash: dvi-ash
3231 dvi-ash: \
3232 configure-ash
3233 @: $(MAKE); $(unstage)
3234 @[ -f ./ash/Makefile ] || exit 0; \
3235 r=`${PWD_COMMAND}`; export r; \
3236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3237 $(HOST_EXPORTS) \
3238 for flag in $(EXTRA_HOST_FLAGS) ; do \
3239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3240 done; \
3241 echo "Doing dvi in ash" ; \
3242 (cd $(HOST_SUBDIR)/ash && \
3243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3245 "RANLIB=$${RANLIB}" \
3246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3247 dvi) \
3248 || exit 1
3250 @endif ash
3252 .PHONY: maybe-pdf-ash pdf-ash
3253 maybe-pdf-ash:
3254 @if ash
3255 maybe-pdf-ash: pdf-ash
3257 pdf-ash: \
3258 configure-ash
3259 @: $(MAKE); $(unstage)
3260 @[ -f ./ash/Makefile ] || exit 0; \
3261 r=`${PWD_COMMAND}`; export r; \
3262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3263 $(HOST_EXPORTS) \
3264 for flag in $(EXTRA_HOST_FLAGS) ; do \
3265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3266 done; \
3267 echo "Doing pdf in ash" ; \
3268 (cd $(HOST_SUBDIR)/ash && \
3269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3271 "RANLIB=$${RANLIB}" \
3272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3273 pdf) \
3274 || exit 1
3276 @endif ash
3278 .PHONY: maybe-html-ash html-ash
3279 maybe-html-ash:
3280 @if ash
3281 maybe-html-ash: html-ash
3283 html-ash: \
3284 configure-ash
3285 @: $(MAKE); $(unstage)
3286 @[ -f ./ash/Makefile ] || exit 0; \
3287 r=`${PWD_COMMAND}`; export r; \
3288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3289 $(HOST_EXPORTS) \
3290 for flag in $(EXTRA_HOST_FLAGS) ; do \
3291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3292 done; \
3293 echo "Doing html in ash" ; \
3294 (cd $(HOST_SUBDIR)/ash && \
3295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3297 "RANLIB=$${RANLIB}" \
3298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3299 html) \
3300 || exit 1
3302 @endif ash
3304 .PHONY: maybe-TAGS-ash TAGS-ash
3305 maybe-TAGS-ash:
3306 @if ash
3307 maybe-TAGS-ash: TAGS-ash
3309 TAGS-ash: \
3310 configure-ash
3311 @: $(MAKE); $(unstage)
3312 @[ -f ./ash/Makefile ] || exit 0; \
3313 r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315 $(HOST_EXPORTS) \
3316 for flag in $(EXTRA_HOST_FLAGS) ; do \
3317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3318 done; \
3319 echo "Doing TAGS in ash" ; \
3320 (cd $(HOST_SUBDIR)/ash && \
3321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3323 "RANLIB=$${RANLIB}" \
3324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3325 TAGS) \
3326 || exit 1
3328 @endif ash
3330 .PHONY: maybe-install-info-ash install-info-ash
3331 maybe-install-info-ash:
3332 @if ash
3333 maybe-install-info-ash: install-info-ash
3335 install-info-ash: \
3336 configure-ash \
3337 info-ash
3338 @: $(MAKE); $(unstage)
3339 @[ -f ./ash/Makefile ] || exit 0; \
3340 r=`${PWD_COMMAND}`; export r; \
3341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3342 $(HOST_EXPORTS) \
3343 for flag in $(EXTRA_HOST_FLAGS) ; do \
3344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3345 done; \
3346 echo "Doing install-info in ash" ; \
3347 (cd $(HOST_SUBDIR)/ash && \
3348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3350 "RANLIB=$${RANLIB}" \
3351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3352 install-info) \
3353 || exit 1
3355 @endif ash
3357 .PHONY: maybe-install-pdf-ash install-pdf-ash
3358 maybe-install-pdf-ash:
3359 @if ash
3360 maybe-install-pdf-ash: install-pdf-ash
3362 install-pdf-ash: \
3363 configure-ash \
3364 pdf-ash
3365 @: $(MAKE); $(unstage)
3366 @[ -f ./ash/Makefile ] || exit 0; \
3367 r=`${PWD_COMMAND}`; export r; \
3368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3369 $(HOST_EXPORTS) \
3370 for flag in $(EXTRA_HOST_FLAGS) ; do \
3371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3372 done; \
3373 echo "Doing install-pdf in ash" ; \
3374 (cd $(HOST_SUBDIR)/ash && \
3375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3377 "RANLIB=$${RANLIB}" \
3378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3379 install-pdf) \
3380 || exit 1
3382 @endif ash
3384 .PHONY: maybe-install-html-ash install-html-ash
3385 maybe-install-html-ash:
3386 @if ash
3387 maybe-install-html-ash: install-html-ash
3389 install-html-ash: \
3390 configure-ash \
3391 html-ash
3392 @: $(MAKE); $(unstage)
3393 @[ -f ./ash/Makefile ] || exit 0; \
3394 r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 $(HOST_EXPORTS) \
3397 for flag in $(EXTRA_HOST_FLAGS) ; do \
3398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3399 done; \
3400 echo "Doing install-html in ash" ; \
3401 (cd $(HOST_SUBDIR)/ash && \
3402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3404 "RANLIB=$${RANLIB}" \
3405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3406 install-html) \
3407 || exit 1
3409 @endif ash
3411 .PHONY: maybe-installcheck-ash installcheck-ash
3412 maybe-installcheck-ash:
3413 @if ash
3414 maybe-installcheck-ash: installcheck-ash
3416 installcheck-ash: \
3417 configure-ash
3418 @: $(MAKE); $(unstage)
3419 @[ -f ./ash/Makefile ] || exit 0; \
3420 r=`${PWD_COMMAND}`; export r; \
3421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3422 $(HOST_EXPORTS) \
3423 for flag in $(EXTRA_HOST_FLAGS) ; do \
3424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3425 done; \
3426 echo "Doing installcheck in ash" ; \
3427 (cd $(HOST_SUBDIR)/ash && \
3428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3430 "RANLIB=$${RANLIB}" \
3431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3432 installcheck) \
3433 || exit 1
3435 @endif ash
3437 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3438 maybe-mostlyclean-ash:
3439 @if ash
3440 maybe-mostlyclean-ash: mostlyclean-ash
3442 mostlyclean-ash:
3443 @: $(MAKE); $(unstage)
3444 @[ -f ./ash/Makefile ] || exit 0; \
3445 r=`${PWD_COMMAND}`; export r; \
3446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3447 $(HOST_EXPORTS) \
3448 for flag in $(EXTRA_HOST_FLAGS) ; do \
3449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3450 done; \
3451 echo "Doing mostlyclean in ash" ; \
3452 (cd $(HOST_SUBDIR)/ash && \
3453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3455 "RANLIB=$${RANLIB}" \
3456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3457 mostlyclean) \
3458 || exit 1
3460 @endif ash
3462 .PHONY: maybe-clean-ash clean-ash
3463 maybe-clean-ash:
3464 @if ash
3465 maybe-clean-ash: clean-ash
3467 clean-ash:
3468 @: $(MAKE); $(unstage)
3469 @[ -f ./ash/Makefile ] || exit 0; \
3470 r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3472 $(HOST_EXPORTS) \
3473 for flag in $(EXTRA_HOST_FLAGS) ; do \
3474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3475 done; \
3476 echo "Doing clean in ash" ; \
3477 (cd $(HOST_SUBDIR)/ash && \
3478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3480 "RANLIB=$${RANLIB}" \
3481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3482 clean) \
3483 || exit 1
3485 @endif ash
3487 .PHONY: maybe-distclean-ash distclean-ash
3488 maybe-distclean-ash:
3489 @if ash
3490 maybe-distclean-ash: distclean-ash
3492 distclean-ash:
3493 @: $(MAKE); $(unstage)
3494 @[ -f ./ash/Makefile ] || exit 0; \
3495 r=`${PWD_COMMAND}`; export r; \
3496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3497 $(HOST_EXPORTS) \
3498 for flag in $(EXTRA_HOST_FLAGS) ; do \
3499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3500 done; \
3501 echo "Doing distclean in ash" ; \
3502 (cd $(HOST_SUBDIR)/ash && \
3503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505 "RANLIB=$${RANLIB}" \
3506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3507 distclean) \
3508 || exit 1
3510 @endif ash
3512 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3513 maybe-maintainer-clean-ash:
3514 @if ash
3515 maybe-maintainer-clean-ash: maintainer-clean-ash
3517 maintainer-clean-ash:
3518 @: $(MAKE); $(unstage)
3519 @[ -f ./ash/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 $(HOST_EXPORTS) \
3523 for flag in $(EXTRA_HOST_FLAGS) ; do \
3524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3525 done; \
3526 echo "Doing maintainer-clean in ash" ; \
3527 (cd $(HOST_SUBDIR)/ash && \
3528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3530 "RANLIB=$${RANLIB}" \
3531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3532 maintainer-clean) \
3533 || exit 1
3535 @endif ash
3539 .PHONY: configure-autoconf maybe-configure-autoconf
3540 maybe-configure-autoconf:
3541 @if gcc-bootstrap
3542 configure-autoconf: stage_current
3543 @endif gcc-bootstrap
3544 @if autoconf
3545 maybe-configure-autoconf: configure-autoconf
3546 configure-autoconf:
3547 @: $(MAKE); $(unstage)
3548 @r=`${PWD_COMMAND}`; export r; \
3549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3552 $(HOST_EXPORTS) \
3553 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3554 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3555 case $(srcdir) in \
3556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3557 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3559 esac; \
3560 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3561 libsrcdir="$$s/autoconf"; \
3562 $(SHELL) $${libsrcdir}/configure \
3563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3564 --target=${target_alias} $${srcdiroption} \
3565 || exit 1
3566 @endif autoconf
3572 .PHONY: all-autoconf maybe-all-autoconf
3573 maybe-all-autoconf:
3574 @if gcc-bootstrap
3575 all-autoconf: stage_current
3576 @endif gcc-bootstrap
3577 @if autoconf
3578 TARGET-autoconf=all
3579 maybe-all-autoconf: all-autoconf
3580 all-autoconf: configure-autoconf
3581 @: $(MAKE); $(unstage)
3582 @r=`${PWD_COMMAND}`; export r; \
3583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3584 $(HOST_EXPORTS) \
3585 (cd $(HOST_SUBDIR)/autoconf && \
3586 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
3587 $(TARGET-autoconf))
3588 @endif autoconf
3593 .PHONY: check-autoconf maybe-check-autoconf
3594 maybe-check-autoconf:
3595 @if autoconf
3596 maybe-check-autoconf: check-autoconf
3598 check-autoconf:
3599 @: $(MAKE); $(unstage)
3600 @r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 $(HOST_EXPORTS) \
3603 (cd $(HOST_SUBDIR)/autoconf && \
3604 $(MAKE) $(FLAGS_TO_PASS) check)
3606 @endif autoconf
3608 .PHONY: install-autoconf maybe-install-autoconf
3609 maybe-install-autoconf:
3610 @if autoconf
3611 maybe-install-autoconf: install-autoconf
3613 install-autoconf: installdirs
3614 @: $(MAKE); $(unstage)
3615 @r=`${PWD_COMMAND}`; export r; \
3616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3617 $(HOST_EXPORTS) \
3618 (cd $(HOST_SUBDIR)/autoconf && \
3619 $(MAKE) $(FLAGS_TO_PASS) install)
3621 @endif autoconf
3623 # Other targets (info, dvi, pdf, etc.)
3625 .PHONY: maybe-info-autoconf info-autoconf
3626 maybe-info-autoconf:
3627 @if autoconf
3628 maybe-info-autoconf: info-autoconf
3630 info-autoconf: \
3631 configure-autoconf
3632 @: $(MAKE); $(unstage)
3633 @[ -f ./autoconf/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(HOST_EXPORTS) \
3637 for flag in $(EXTRA_HOST_FLAGS) ; do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3639 done; \
3640 echo "Doing info in autoconf" ; \
3641 (cd $(HOST_SUBDIR)/autoconf && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3646 info) \
3647 || exit 1
3649 @endif autoconf
3651 .PHONY: maybe-dvi-autoconf dvi-autoconf
3652 maybe-dvi-autoconf:
3653 @if autoconf
3654 maybe-dvi-autoconf: dvi-autoconf
3656 dvi-autoconf: \
3657 configure-autoconf
3658 @: $(MAKE); $(unstage)
3659 @[ -f ./autoconf/Makefile ] || exit 0; \
3660 r=`${PWD_COMMAND}`; export r; \
3661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3662 $(HOST_EXPORTS) \
3663 for flag in $(EXTRA_HOST_FLAGS) ; do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3665 done; \
3666 echo "Doing dvi in autoconf" ; \
3667 (cd $(HOST_SUBDIR)/autoconf && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3672 dvi) \
3673 || exit 1
3675 @endif autoconf
3677 .PHONY: maybe-pdf-autoconf pdf-autoconf
3678 maybe-pdf-autoconf:
3679 @if autoconf
3680 maybe-pdf-autoconf: pdf-autoconf
3682 pdf-autoconf: \
3683 configure-autoconf
3684 @: $(MAKE); $(unstage)
3685 @[ -f ./autoconf/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing pdf in autoconf" ; \
3693 (cd $(HOST_SUBDIR)/autoconf && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3698 pdf) \
3699 || exit 1
3701 @endif autoconf
3703 .PHONY: maybe-html-autoconf html-autoconf
3704 maybe-html-autoconf:
3705 @if autoconf
3706 maybe-html-autoconf: html-autoconf
3708 html-autoconf: \
3709 configure-autoconf
3710 @: $(MAKE); $(unstage)
3711 @[ -f ./autoconf/Makefile ] || exit 0; \
3712 r=`${PWD_COMMAND}`; export r; \
3713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714 $(HOST_EXPORTS) \
3715 for flag in $(EXTRA_HOST_FLAGS) ; do \
3716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717 done; \
3718 echo "Doing html in autoconf" ; \
3719 (cd $(HOST_SUBDIR)/autoconf && \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722 "RANLIB=$${RANLIB}" \
3723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3724 html) \
3725 || exit 1
3727 @endif autoconf
3729 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3730 maybe-TAGS-autoconf:
3731 @if autoconf
3732 maybe-TAGS-autoconf: TAGS-autoconf
3734 TAGS-autoconf: \
3735 configure-autoconf
3736 @: $(MAKE); $(unstage)
3737 @[ -f ./autoconf/Makefile ] || exit 0; \
3738 r=`${PWD_COMMAND}`; export r; \
3739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3740 $(HOST_EXPORTS) \
3741 for flag in $(EXTRA_HOST_FLAGS) ; do \
3742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3743 done; \
3744 echo "Doing TAGS in autoconf" ; \
3745 (cd $(HOST_SUBDIR)/autoconf && \
3746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3748 "RANLIB=$${RANLIB}" \
3749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3750 TAGS) \
3751 || exit 1
3753 @endif autoconf
3755 .PHONY: maybe-install-info-autoconf install-info-autoconf
3756 maybe-install-info-autoconf:
3757 @if autoconf
3758 maybe-install-info-autoconf: install-info-autoconf
3760 install-info-autoconf: \
3761 configure-autoconf \
3762 info-autoconf
3763 @: $(MAKE); $(unstage)
3764 @[ -f ./autoconf/Makefile ] || exit 0; \
3765 r=`${PWD_COMMAND}`; export r; \
3766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3767 $(HOST_EXPORTS) \
3768 for flag in $(EXTRA_HOST_FLAGS) ; do \
3769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3770 done; \
3771 echo "Doing install-info in autoconf" ; \
3772 (cd $(HOST_SUBDIR)/autoconf && \
3773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3775 "RANLIB=$${RANLIB}" \
3776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3777 install-info) \
3778 || exit 1
3780 @endif autoconf
3782 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
3783 maybe-install-pdf-autoconf:
3784 @if autoconf
3785 maybe-install-pdf-autoconf: install-pdf-autoconf
3787 install-pdf-autoconf: \
3788 configure-autoconf \
3789 pdf-autoconf
3790 @: $(MAKE); $(unstage)
3791 @[ -f ./autoconf/Makefile ] || exit 0; \
3792 r=`${PWD_COMMAND}`; export r; \
3793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3794 $(HOST_EXPORTS) \
3795 for flag in $(EXTRA_HOST_FLAGS) ; do \
3796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3797 done; \
3798 echo "Doing install-pdf in autoconf" ; \
3799 (cd $(HOST_SUBDIR)/autoconf && \
3800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3802 "RANLIB=$${RANLIB}" \
3803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3804 install-pdf) \
3805 || exit 1
3807 @endif autoconf
3809 .PHONY: maybe-install-html-autoconf install-html-autoconf
3810 maybe-install-html-autoconf:
3811 @if autoconf
3812 maybe-install-html-autoconf: install-html-autoconf
3814 install-html-autoconf: \
3815 configure-autoconf \
3816 html-autoconf
3817 @: $(MAKE); $(unstage)
3818 @[ -f ./autoconf/Makefile ] || exit 0; \
3819 r=`${PWD_COMMAND}`; export r; \
3820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3821 $(HOST_EXPORTS) \
3822 for flag in $(EXTRA_HOST_FLAGS) ; do \
3823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3824 done; \
3825 echo "Doing install-html in autoconf" ; \
3826 (cd $(HOST_SUBDIR)/autoconf && \
3827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3829 "RANLIB=$${RANLIB}" \
3830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3831 install-html) \
3832 || exit 1
3834 @endif autoconf
3836 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3837 maybe-installcheck-autoconf:
3838 @if autoconf
3839 maybe-installcheck-autoconf: installcheck-autoconf
3841 installcheck-autoconf: \
3842 configure-autoconf
3843 @: $(MAKE); $(unstage)
3844 @[ -f ./autoconf/Makefile ] || exit 0; \
3845 r=`${PWD_COMMAND}`; export r; \
3846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3847 $(HOST_EXPORTS) \
3848 for flag in $(EXTRA_HOST_FLAGS) ; do \
3849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3850 done; \
3851 echo "Doing installcheck in autoconf" ; \
3852 (cd $(HOST_SUBDIR)/autoconf && \
3853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3855 "RANLIB=$${RANLIB}" \
3856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3857 installcheck) \
3858 || exit 1
3860 @endif autoconf
3862 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3863 maybe-mostlyclean-autoconf:
3864 @if autoconf
3865 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3867 mostlyclean-autoconf:
3868 @: $(MAKE); $(unstage)
3869 @[ -f ./autoconf/Makefile ] || exit 0; \
3870 r=`${PWD_COMMAND}`; export r; \
3871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3872 $(HOST_EXPORTS) \
3873 for flag in $(EXTRA_HOST_FLAGS) ; do \
3874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3875 done; \
3876 echo "Doing mostlyclean in autoconf" ; \
3877 (cd $(HOST_SUBDIR)/autoconf && \
3878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3880 "RANLIB=$${RANLIB}" \
3881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3882 mostlyclean) \
3883 || exit 1
3885 @endif autoconf
3887 .PHONY: maybe-clean-autoconf clean-autoconf
3888 maybe-clean-autoconf:
3889 @if autoconf
3890 maybe-clean-autoconf: clean-autoconf
3892 clean-autoconf:
3893 @: $(MAKE); $(unstage)
3894 @[ -f ./autoconf/Makefile ] || exit 0; \
3895 r=`${PWD_COMMAND}`; export r; \
3896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3897 $(HOST_EXPORTS) \
3898 for flag in $(EXTRA_HOST_FLAGS) ; do \
3899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3900 done; \
3901 echo "Doing clean in autoconf" ; \
3902 (cd $(HOST_SUBDIR)/autoconf && \
3903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3905 "RANLIB=$${RANLIB}" \
3906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3907 clean) \
3908 || exit 1
3910 @endif autoconf
3912 .PHONY: maybe-distclean-autoconf distclean-autoconf
3913 maybe-distclean-autoconf:
3914 @if autoconf
3915 maybe-distclean-autoconf: distclean-autoconf
3917 distclean-autoconf:
3918 @: $(MAKE); $(unstage)
3919 @[ -f ./autoconf/Makefile ] || exit 0; \
3920 r=`${PWD_COMMAND}`; export r; \
3921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3922 $(HOST_EXPORTS) \
3923 for flag in $(EXTRA_HOST_FLAGS) ; do \
3924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3925 done; \
3926 echo "Doing distclean in autoconf" ; \
3927 (cd $(HOST_SUBDIR)/autoconf && \
3928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3930 "RANLIB=$${RANLIB}" \
3931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3932 distclean) \
3933 || exit 1
3935 @endif autoconf
3937 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3938 maybe-maintainer-clean-autoconf:
3939 @if autoconf
3940 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3942 maintainer-clean-autoconf:
3943 @: $(MAKE); $(unstage)
3944 @[ -f ./autoconf/Makefile ] || exit 0; \
3945 r=`${PWD_COMMAND}`; export r; \
3946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947 $(HOST_EXPORTS) \
3948 for flag in $(EXTRA_HOST_FLAGS) ; do \
3949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3950 done; \
3951 echo "Doing maintainer-clean in autoconf" ; \
3952 (cd $(HOST_SUBDIR)/autoconf && \
3953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3955 "RANLIB=$${RANLIB}" \
3956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3957 maintainer-clean) \
3958 || exit 1
3960 @endif autoconf
3964 .PHONY: configure-automake maybe-configure-automake
3965 maybe-configure-automake:
3966 @if gcc-bootstrap
3967 configure-automake: stage_current
3968 @endif gcc-bootstrap
3969 @if automake
3970 maybe-configure-automake: configure-automake
3971 configure-automake:
3972 @: $(MAKE); $(unstage)
3973 @r=`${PWD_COMMAND}`; export r; \
3974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3975 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3977 $(HOST_EXPORTS) \
3978 echo Configuring in $(HOST_SUBDIR)/automake; \
3979 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3980 case $(srcdir) in \
3981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3982 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3984 esac; \
3985 srcdiroption="--srcdir=$${topdir}/automake"; \
3986 libsrcdir="$$s/automake"; \
3987 $(SHELL) $${libsrcdir}/configure \
3988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3989 --target=${target_alias} $${srcdiroption} \
3990 || exit 1
3991 @endif automake
3997 .PHONY: all-automake maybe-all-automake
3998 maybe-all-automake:
3999 @if gcc-bootstrap
4000 all-automake: stage_current
4001 @endif gcc-bootstrap
4002 @if automake
4003 TARGET-automake=all
4004 maybe-all-automake: all-automake
4005 all-automake: configure-automake
4006 @: $(MAKE); $(unstage)
4007 @r=`${PWD_COMMAND}`; export r; \
4008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4009 $(HOST_EXPORTS) \
4010 (cd $(HOST_SUBDIR)/automake && \
4011 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4012 $(TARGET-automake))
4013 @endif automake
4018 .PHONY: check-automake maybe-check-automake
4019 maybe-check-automake:
4020 @if automake
4021 maybe-check-automake: check-automake
4023 check-automake:
4024 @: $(MAKE); $(unstage)
4025 @r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 $(HOST_EXPORTS) \
4028 (cd $(HOST_SUBDIR)/automake && \
4029 $(MAKE) $(FLAGS_TO_PASS) check)
4031 @endif automake
4033 .PHONY: install-automake maybe-install-automake
4034 maybe-install-automake:
4035 @if automake
4036 maybe-install-automake: install-automake
4038 install-automake: installdirs
4039 @: $(MAKE); $(unstage)
4040 @r=`${PWD_COMMAND}`; export r; \
4041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4042 $(HOST_EXPORTS) \
4043 (cd $(HOST_SUBDIR)/automake && \
4044 $(MAKE) $(FLAGS_TO_PASS) install)
4046 @endif automake
4048 # Other targets (info, dvi, pdf, etc.)
4050 .PHONY: maybe-info-automake info-automake
4051 maybe-info-automake:
4052 @if automake
4053 maybe-info-automake: info-automake
4055 info-automake: \
4056 configure-automake
4057 @: $(MAKE); $(unstage)
4058 @[ -f ./automake/Makefile ] || exit 0; \
4059 r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 $(HOST_EXPORTS) \
4062 for flag in $(EXTRA_HOST_FLAGS) ; do \
4063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4064 done; \
4065 echo "Doing info in automake" ; \
4066 (cd $(HOST_SUBDIR)/automake && \
4067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4069 "RANLIB=$${RANLIB}" \
4070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4071 info) \
4072 || exit 1
4074 @endif automake
4076 .PHONY: maybe-dvi-automake dvi-automake
4077 maybe-dvi-automake:
4078 @if automake
4079 maybe-dvi-automake: dvi-automake
4081 dvi-automake: \
4082 configure-automake
4083 @: $(MAKE); $(unstage)
4084 @[ -f ./automake/Makefile ] || exit 0; \
4085 r=`${PWD_COMMAND}`; export r; \
4086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4087 $(HOST_EXPORTS) \
4088 for flag in $(EXTRA_HOST_FLAGS) ; do \
4089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4090 done; \
4091 echo "Doing dvi in automake" ; \
4092 (cd $(HOST_SUBDIR)/automake && \
4093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4095 "RANLIB=$${RANLIB}" \
4096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4097 dvi) \
4098 || exit 1
4100 @endif automake
4102 .PHONY: maybe-pdf-automake pdf-automake
4103 maybe-pdf-automake:
4104 @if automake
4105 maybe-pdf-automake: pdf-automake
4107 pdf-automake: \
4108 configure-automake
4109 @: $(MAKE); $(unstage)
4110 @[ -f ./automake/Makefile ] || exit 0; \
4111 r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4113 $(HOST_EXPORTS) \
4114 for flag in $(EXTRA_HOST_FLAGS) ; do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4116 done; \
4117 echo "Doing pdf in automake" ; \
4118 (cd $(HOST_SUBDIR)/automake && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4123 pdf) \
4124 || exit 1
4126 @endif automake
4128 .PHONY: maybe-html-automake html-automake
4129 maybe-html-automake:
4130 @if automake
4131 maybe-html-automake: html-automake
4133 html-automake: \
4134 configure-automake
4135 @: $(MAKE); $(unstage)
4136 @[ -f ./automake/Makefile ] || exit 0; \
4137 r=`${PWD_COMMAND}`; export r; \
4138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4139 $(HOST_EXPORTS) \
4140 for flag in $(EXTRA_HOST_FLAGS) ; do \
4141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4142 done; \
4143 echo "Doing html in automake" ; \
4144 (cd $(HOST_SUBDIR)/automake && \
4145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4147 "RANLIB=$${RANLIB}" \
4148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4149 html) \
4150 || exit 1
4152 @endif automake
4154 .PHONY: maybe-TAGS-automake TAGS-automake
4155 maybe-TAGS-automake:
4156 @if automake
4157 maybe-TAGS-automake: TAGS-automake
4159 TAGS-automake: \
4160 configure-automake
4161 @: $(MAKE); $(unstage)
4162 @[ -f ./automake/Makefile ] || exit 0; \
4163 r=`${PWD_COMMAND}`; export r; \
4164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4165 $(HOST_EXPORTS) \
4166 for flag in $(EXTRA_HOST_FLAGS) ; do \
4167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4168 done; \
4169 echo "Doing TAGS in automake" ; \
4170 (cd $(HOST_SUBDIR)/automake && \
4171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4173 "RANLIB=$${RANLIB}" \
4174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4175 TAGS) \
4176 || exit 1
4178 @endif automake
4180 .PHONY: maybe-install-info-automake install-info-automake
4181 maybe-install-info-automake:
4182 @if automake
4183 maybe-install-info-automake: install-info-automake
4185 install-info-automake: \
4186 configure-automake \
4187 info-automake
4188 @: $(MAKE); $(unstage)
4189 @[ -f ./automake/Makefile ] || exit 0; \
4190 r=`${PWD_COMMAND}`; export r; \
4191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4192 $(HOST_EXPORTS) \
4193 for flag in $(EXTRA_HOST_FLAGS) ; do \
4194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4195 done; \
4196 echo "Doing install-info in automake" ; \
4197 (cd $(HOST_SUBDIR)/automake && \
4198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4200 "RANLIB=$${RANLIB}" \
4201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4202 install-info) \
4203 || exit 1
4205 @endif automake
4207 .PHONY: maybe-install-pdf-automake install-pdf-automake
4208 maybe-install-pdf-automake:
4209 @if automake
4210 maybe-install-pdf-automake: install-pdf-automake
4212 install-pdf-automake: \
4213 configure-automake \
4214 pdf-automake
4215 @: $(MAKE); $(unstage)
4216 @[ -f ./automake/Makefile ] || exit 0; \
4217 r=`${PWD_COMMAND}`; export r; \
4218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4219 $(HOST_EXPORTS) \
4220 for flag in $(EXTRA_HOST_FLAGS) ; do \
4221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4222 done; \
4223 echo "Doing install-pdf in automake" ; \
4224 (cd $(HOST_SUBDIR)/automake && \
4225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4227 "RANLIB=$${RANLIB}" \
4228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4229 install-pdf) \
4230 || exit 1
4232 @endif automake
4234 .PHONY: maybe-install-html-automake install-html-automake
4235 maybe-install-html-automake:
4236 @if automake
4237 maybe-install-html-automake: install-html-automake
4239 install-html-automake: \
4240 configure-automake \
4241 html-automake
4242 @: $(MAKE); $(unstage)
4243 @[ -f ./automake/Makefile ] || exit 0; \
4244 r=`${PWD_COMMAND}`; export r; \
4245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4246 $(HOST_EXPORTS) \
4247 for flag in $(EXTRA_HOST_FLAGS) ; do \
4248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4249 done; \
4250 echo "Doing install-html in automake" ; \
4251 (cd $(HOST_SUBDIR)/automake && \
4252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4254 "RANLIB=$${RANLIB}" \
4255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4256 install-html) \
4257 || exit 1
4259 @endif automake
4261 .PHONY: maybe-installcheck-automake installcheck-automake
4262 maybe-installcheck-automake:
4263 @if automake
4264 maybe-installcheck-automake: installcheck-automake
4266 installcheck-automake: \
4267 configure-automake
4268 @: $(MAKE); $(unstage)
4269 @[ -f ./automake/Makefile ] || exit 0; \
4270 r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 $(HOST_EXPORTS) \
4273 for flag in $(EXTRA_HOST_FLAGS) ; do \
4274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4275 done; \
4276 echo "Doing installcheck in automake" ; \
4277 (cd $(HOST_SUBDIR)/automake && \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4280 "RANLIB=$${RANLIB}" \
4281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4282 installcheck) \
4283 || exit 1
4285 @endif automake
4287 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4288 maybe-mostlyclean-automake:
4289 @if automake
4290 maybe-mostlyclean-automake: mostlyclean-automake
4292 mostlyclean-automake:
4293 @: $(MAKE); $(unstage)
4294 @[ -f ./automake/Makefile ] || exit 0; \
4295 r=`${PWD_COMMAND}`; export r; \
4296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4297 $(HOST_EXPORTS) \
4298 for flag in $(EXTRA_HOST_FLAGS) ; do \
4299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4300 done; \
4301 echo "Doing mostlyclean in automake" ; \
4302 (cd $(HOST_SUBDIR)/automake && \
4303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4305 "RANLIB=$${RANLIB}" \
4306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4307 mostlyclean) \
4308 || exit 1
4310 @endif automake
4312 .PHONY: maybe-clean-automake clean-automake
4313 maybe-clean-automake:
4314 @if automake
4315 maybe-clean-automake: clean-automake
4317 clean-automake:
4318 @: $(MAKE); $(unstage)
4319 @[ -f ./automake/Makefile ] || exit 0; \
4320 r=`${PWD_COMMAND}`; export r; \
4321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4322 $(HOST_EXPORTS) \
4323 for flag in $(EXTRA_HOST_FLAGS) ; do \
4324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4325 done; \
4326 echo "Doing clean in automake" ; \
4327 (cd $(HOST_SUBDIR)/automake && \
4328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4330 "RANLIB=$${RANLIB}" \
4331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4332 clean) \
4333 || exit 1
4335 @endif automake
4337 .PHONY: maybe-distclean-automake distclean-automake
4338 maybe-distclean-automake:
4339 @if automake
4340 maybe-distclean-automake: distclean-automake
4342 distclean-automake:
4343 @: $(MAKE); $(unstage)
4344 @[ -f ./automake/Makefile ] || exit 0; \
4345 r=`${PWD_COMMAND}`; export r; \
4346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4347 $(HOST_EXPORTS) \
4348 for flag in $(EXTRA_HOST_FLAGS) ; do \
4349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4350 done; \
4351 echo "Doing distclean in automake" ; \
4352 (cd $(HOST_SUBDIR)/automake && \
4353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4355 "RANLIB=$${RANLIB}" \
4356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4357 distclean) \
4358 || exit 1
4360 @endif automake
4362 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4363 maybe-maintainer-clean-automake:
4364 @if automake
4365 maybe-maintainer-clean-automake: maintainer-clean-automake
4367 maintainer-clean-automake:
4368 @: $(MAKE); $(unstage)
4369 @[ -f ./automake/Makefile ] || exit 0; \
4370 r=`${PWD_COMMAND}`; export r; \
4371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4372 $(HOST_EXPORTS) \
4373 for flag in $(EXTRA_HOST_FLAGS) ; do \
4374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4375 done; \
4376 echo "Doing maintainer-clean in automake" ; \
4377 (cd $(HOST_SUBDIR)/automake && \
4378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4380 "RANLIB=$${RANLIB}" \
4381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4382 maintainer-clean) \
4383 || exit 1
4385 @endif automake
4389 .PHONY: configure-bash maybe-configure-bash
4390 maybe-configure-bash:
4391 @if gcc-bootstrap
4392 configure-bash: stage_current
4393 @endif gcc-bootstrap
4394 @if bash
4395 maybe-configure-bash: configure-bash
4396 configure-bash:
4397 @: $(MAKE); $(unstage)
4398 @r=`${PWD_COMMAND}`; export r; \
4399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4400 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4402 $(HOST_EXPORTS) \
4403 echo Configuring in $(HOST_SUBDIR)/bash; \
4404 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4405 case $(srcdir) in \
4406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4407 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4409 esac; \
4410 srcdiroption="--srcdir=$${topdir}/bash"; \
4411 libsrcdir="$$s/bash"; \
4412 $(SHELL) $${libsrcdir}/configure \
4413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4414 --target=${target_alias} $${srcdiroption} \
4415 || exit 1
4416 @endif bash
4422 .PHONY: all-bash maybe-all-bash
4423 maybe-all-bash:
4424 @if gcc-bootstrap
4425 all-bash: stage_current
4426 @endif gcc-bootstrap
4427 @if bash
4428 TARGET-bash=all
4429 maybe-all-bash: all-bash
4430 all-bash: configure-bash
4431 @: $(MAKE); $(unstage)
4432 @r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4434 $(HOST_EXPORTS) \
4435 (cd $(HOST_SUBDIR)/bash && \
4436 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
4437 $(TARGET-bash))
4438 @endif bash
4443 .PHONY: check-bash maybe-check-bash
4444 maybe-check-bash:
4445 @if bash
4446 maybe-check-bash: check-bash
4448 check-bash:
4449 @: $(MAKE); $(unstage)
4450 @r=`${PWD_COMMAND}`; export r; \
4451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4452 $(HOST_EXPORTS) \
4453 (cd $(HOST_SUBDIR)/bash && \
4454 $(MAKE) $(FLAGS_TO_PASS) check)
4456 @endif bash
4458 .PHONY: install-bash maybe-install-bash
4459 maybe-install-bash:
4460 @if bash
4461 maybe-install-bash: install-bash
4463 install-bash: installdirs
4464 @: $(MAKE); $(unstage)
4465 @r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 $(HOST_EXPORTS) \
4468 (cd $(HOST_SUBDIR)/bash && \
4469 $(MAKE) $(FLAGS_TO_PASS) install)
4471 @endif bash
4473 # Other targets (info, dvi, pdf, etc.)
4475 .PHONY: maybe-info-bash info-bash
4476 maybe-info-bash:
4477 @if bash
4478 maybe-info-bash: info-bash
4480 info-bash: \
4481 configure-bash
4482 @: $(MAKE); $(unstage)
4483 @[ -f ./bash/Makefile ] || exit 0; \
4484 r=`${PWD_COMMAND}`; export r; \
4485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4486 $(HOST_EXPORTS) \
4487 for flag in $(EXTRA_HOST_FLAGS) ; do \
4488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4489 done; \
4490 echo "Doing info in bash" ; \
4491 (cd $(HOST_SUBDIR)/bash && \
4492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4494 "RANLIB=$${RANLIB}" \
4495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4496 info) \
4497 || exit 1
4499 @endif bash
4501 .PHONY: maybe-dvi-bash dvi-bash
4502 maybe-dvi-bash:
4503 @if bash
4504 maybe-dvi-bash: dvi-bash
4506 dvi-bash: \
4507 configure-bash
4508 @: $(MAKE); $(unstage)
4509 @[ -f ./bash/Makefile ] || exit 0; \
4510 r=`${PWD_COMMAND}`; export r; \
4511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4512 $(HOST_EXPORTS) \
4513 for flag in $(EXTRA_HOST_FLAGS) ; do \
4514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4515 done; \
4516 echo "Doing dvi in bash" ; \
4517 (cd $(HOST_SUBDIR)/bash && \
4518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4520 "RANLIB=$${RANLIB}" \
4521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4522 dvi) \
4523 || exit 1
4525 @endif bash
4527 .PHONY: maybe-pdf-bash pdf-bash
4528 maybe-pdf-bash:
4529 @if bash
4530 maybe-pdf-bash: pdf-bash
4532 pdf-bash: \
4533 configure-bash
4534 @: $(MAKE); $(unstage)
4535 @[ -f ./bash/Makefile ] || exit 0; \
4536 r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 $(HOST_EXPORTS) \
4539 for flag in $(EXTRA_HOST_FLAGS) ; do \
4540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4541 done; \
4542 echo "Doing pdf in bash" ; \
4543 (cd $(HOST_SUBDIR)/bash && \
4544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4546 "RANLIB=$${RANLIB}" \
4547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4548 pdf) \
4549 || exit 1
4551 @endif bash
4553 .PHONY: maybe-html-bash html-bash
4554 maybe-html-bash:
4555 @if bash
4556 maybe-html-bash: html-bash
4558 html-bash: \
4559 configure-bash
4560 @: $(MAKE); $(unstage)
4561 @[ -f ./bash/Makefile ] || exit 0; \
4562 r=`${PWD_COMMAND}`; export r; \
4563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4564 $(HOST_EXPORTS) \
4565 for flag in $(EXTRA_HOST_FLAGS) ; do \
4566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4567 done; \
4568 echo "Doing html in bash" ; \
4569 (cd $(HOST_SUBDIR)/bash && \
4570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4572 "RANLIB=$${RANLIB}" \
4573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4574 html) \
4575 || exit 1
4577 @endif bash
4579 .PHONY: maybe-TAGS-bash TAGS-bash
4580 maybe-TAGS-bash:
4581 @if bash
4582 maybe-TAGS-bash: TAGS-bash
4584 TAGS-bash: \
4585 configure-bash
4586 @: $(MAKE); $(unstage)
4587 @[ -f ./bash/Makefile ] || exit 0; \
4588 r=`${PWD_COMMAND}`; export r; \
4589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 $(HOST_EXPORTS) \
4591 for flag in $(EXTRA_HOST_FLAGS) ; do \
4592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 done; \
4594 echo "Doing TAGS in bash" ; \
4595 (cd $(HOST_SUBDIR)/bash && \
4596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4598 "RANLIB=$${RANLIB}" \
4599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4600 TAGS) \
4601 || exit 1
4603 @endif bash
4605 .PHONY: maybe-install-info-bash install-info-bash
4606 maybe-install-info-bash:
4607 @if bash
4608 maybe-install-info-bash: install-info-bash
4610 install-info-bash: \
4611 configure-bash \
4612 info-bash
4613 @: $(MAKE); $(unstage)
4614 @[ -f ./bash/Makefile ] || exit 0; \
4615 r=`${PWD_COMMAND}`; export r; \
4616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617 $(HOST_EXPORTS) \
4618 for flag in $(EXTRA_HOST_FLAGS) ; do \
4619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4620 done; \
4621 echo "Doing install-info in bash" ; \
4622 (cd $(HOST_SUBDIR)/bash && \
4623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4625 "RANLIB=$${RANLIB}" \
4626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4627 install-info) \
4628 || exit 1
4630 @endif bash
4632 .PHONY: maybe-install-pdf-bash install-pdf-bash
4633 maybe-install-pdf-bash:
4634 @if bash
4635 maybe-install-pdf-bash: install-pdf-bash
4637 install-pdf-bash: \
4638 configure-bash \
4639 pdf-bash
4640 @: $(MAKE); $(unstage)
4641 @[ -f ./bash/Makefile ] || exit 0; \
4642 r=`${PWD_COMMAND}`; export r; \
4643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4644 $(HOST_EXPORTS) \
4645 for flag in $(EXTRA_HOST_FLAGS) ; do \
4646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4647 done; \
4648 echo "Doing install-pdf in bash" ; \
4649 (cd $(HOST_SUBDIR)/bash && \
4650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4652 "RANLIB=$${RANLIB}" \
4653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4654 install-pdf) \
4655 || exit 1
4657 @endif bash
4659 .PHONY: maybe-install-html-bash install-html-bash
4660 maybe-install-html-bash:
4661 @if bash
4662 maybe-install-html-bash: install-html-bash
4664 install-html-bash: \
4665 configure-bash \
4666 html-bash
4667 @: $(MAKE); $(unstage)
4668 @[ -f ./bash/Makefile ] || exit 0; \
4669 r=`${PWD_COMMAND}`; export r; \
4670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4671 $(HOST_EXPORTS) \
4672 for flag in $(EXTRA_HOST_FLAGS) ; do \
4673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4674 done; \
4675 echo "Doing install-html in bash" ; \
4676 (cd $(HOST_SUBDIR)/bash && \
4677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4679 "RANLIB=$${RANLIB}" \
4680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4681 install-html) \
4682 || exit 1
4684 @endif bash
4686 .PHONY: maybe-installcheck-bash installcheck-bash
4687 maybe-installcheck-bash:
4688 @if bash
4689 maybe-installcheck-bash: installcheck-bash
4691 installcheck-bash: \
4692 configure-bash
4693 @: $(MAKE); $(unstage)
4694 @[ -f ./bash/Makefile ] || exit 0; \
4695 r=`${PWD_COMMAND}`; export r; \
4696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4697 $(HOST_EXPORTS) \
4698 for flag in $(EXTRA_HOST_FLAGS) ; do \
4699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4700 done; \
4701 echo "Doing installcheck in bash" ; \
4702 (cd $(HOST_SUBDIR)/bash && \
4703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4705 "RANLIB=$${RANLIB}" \
4706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4707 installcheck) \
4708 || exit 1
4710 @endif bash
4712 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4713 maybe-mostlyclean-bash:
4714 @if bash
4715 maybe-mostlyclean-bash: mostlyclean-bash
4717 mostlyclean-bash:
4718 @: $(MAKE); $(unstage)
4719 @[ -f ./bash/Makefile ] || exit 0; \
4720 r=`${PWD_COMMAND}`; export r; \
4721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4722 $(HOST_EXPORTS) \
4723 for flag in $(EXTRA_HOST_FLAGS) ; do \
4724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4725 done; \
4726 echo "Doing mostlyclean in bash" ; \
4727 (cd $(HOST_SUBDIR)/bash && \
4728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4730 "RANLIB=$${RANLIB}" \
4731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4732 mostlyclean) \
4733 || exit 1
4735 @endif bash
4737 .PHONY: maybe-clean-bash clean-bash
4738 maybe-clean-bash:
4739 @if bash
4740 maybe-clean-bash: clean-bash
4742 clean-bash:
4743 @: $(MAKE); $(unstage)
4744 @[ -f ./bash/Makefile ] || exit 0; \
4745 r=`${PWD_COMMAND}`; export r; \
4746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4747 $(HOST_EXPORTS) \
4748 for flag in $(EXTRA_HOST_FLAGS) ; do \
4749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4750 done; \
4751 echo "Doing clean in bash" ; \
4752 (cd $(HOST_SUBDIR)/bash && \
4753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4755 "RANLIB=$${RANLIB}" \
4756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4757 clean) \
4758 || exit 1
4760 @endif bash
4762 .PHONY: maybe-distclean-bash distclean-bash
4763 maybe-distclean-bash:
4764 @if bash
4765 maybe-distclean-bash: distclean-bash
4767 distclean-bash:
4768 @: $(MAKE); $(unstage)
4769 @[ -f ./bash/Makefile ] || exit 0; \
4770 r=`${PWD_COMMAND}`; export r; \
4771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4772 $(HOST_EXPORTS) \
4773 for flag in $(EXTRA_HOST_FLAGS) ; do \
4774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4775 done; \
4776 echo "Doing distclean in bash" ; \
4777 (cd $(HOST_SUBDIR)/bash && \
4778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4780 "RANLIB=$${RANLIB}" \
4781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4782 distclean) \
4783 || exit 1
4785 @endif bash
4787 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4788 maybe-maintainer-clean-bash:
4789 @if bash
4790 maybe-maintainer-clean-bash: maintainer-clean-bash
4792 maintainer-clean-bash:
4793 @: $(MAKE); $(unstage)
4794 @[ -f ./bash/Makefile ] || exit 0; \
4795 r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4797 $(HOST_EXPORTS) \
4798 for flag in $(EXTRA_HOST_FLAGS) ; do \
4799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4800 done; \
4801 echo "Doing maintainer-clean in bash" ; \
4802 (cd $(HOST_SUBDIR)/bash && \
4803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4805 "RANLIB=$${RANLIB}" \
4806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4807 maintainer-clean) \
4808 || exit 1
4810 @endif bash
4814 .PHONY: configure-bfd maybe-configure-bfd
4815 maybe-configure-bfd:
4816 @if gcc-bootstrap
4817 configure-bfd: stage_current
4818 @endif gcc-bootstrap
4819 @if bfd
4820 maybe-configure-bfd: configure-bfd
4821 configure-bfd:
4822 @r=`${PWD_COMMAND}`; export r; \
4823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4824 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4826 $(HOST_EXPORTS) \
4827 echo Configuring in $(HOST_SUBDIR)/bfd; \
4828 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4829 case $(srcdir) in \
4830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4831 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4833 esac; \
4834 srcdiroption="--srcdir=$${topdir}/bfd"; \
4835 libsrcdir="$$s/bfd"; \
4836 $(SHELL) $${libsrcdir}/configure \
4837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4838 --target=${target_alias} $${srcdiroption} \
4839 || exit 1
4840 @endif bfd
4844 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4845 maybe-configure-stage1-bfd:
4846 @if bfd-bootstrap
4847 maybe-configure-stage1-bfd: configure-stage1-bfd
4848 configure-stage1-bfd:
4849 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4851 @r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4853 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4854 $(HOST_EXPORTS) \
4855 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4856 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
4857 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4859 cd $(HOST_SUBDIR)/bfd || exit 1; \
4860 case $(srcdir) in \
4861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4862 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4864 esac; \
4865 srcdiroption="--srcdir=$${topdir}/bfd"; \
4866 libsrcdir="$$s/bfd"; \
4867 $(SHELL) $${libsrcdir}/configure \
4868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4869 --target=${target_alias} $${srcdiroption} \
4871 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4872 @endif bfd-bootstrap
4874 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4875 maybe-configure-stage2-bfd:
4876 @if bfd-bootstrap
4877 maybe-configure-stage2-bfd: configure-stage2-bfd
4878 configure-stage2-bfd:
4879 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4881 @r=`${PWD_COMMAND}`; export r; \
4882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4883 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4884 $(HOST_EXPORTS) \
4885 $(POSTSTAGE1_HOST_EXPORTS) \
4886 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4887 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
4888 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4890 cd $(HOST_SUBDIR)/bfd || exit 1; \
4891 case $(srcdir) in \
4892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4893 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4895 esac; \
4896 srcdiroption="--srcdir=$${topdir}/bfd"; \
4897 libsrcdir="$$s/bfd"; \
4898 $(SHELL) $${libsrcdir}/configure \
4899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4900 --target=${target_alias} $${srcdiroption} \
4901 --with-build-libsubdir=$(HOST_SUBDIR) \
4902 @stage2_werror_flag@
4903 @endif bfd-bootstrap
4905 .PHONY: configure-stageb2g0-bfd maybe-configure-stageb2g0-bfd
4906 maybe-configure-stageb2g0-bfd:
4907 @if bfd-bootstrap
4908 maybe-configure-stageb2g0-bfd: configure-stageb2g0-bfd
4909 configure-stageb2g0-bfd:
4910 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
4911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4912 @r=`${PWD_COMMAND}`; export r; \
4913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4914 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4915 $(HOST_EXPORTS) \
4916 $(POSTSTAGE1_HOST_EXPORTS) \
4917 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
4918 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
4919 echo Configuring stage b2g0 in $(HOST_SUBDIR)/bfd ; \
4920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4921 cd $(HOST_SUBDIR)/bfd || exit 1; \
4922 case $(srcdir) in \
4923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4924 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4926 esac; \
4927 srcdiroption="--srcdir=$${topdir}/bfd"; \
4928 libsrcdir="$$s/bfd"; \
4929 $(SHELL) $${libsrcdir}/configure \
4930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4931 --target=${target_alias} $${srcdiroption} \
4932 --with-build-libsubdir=$(HOST_SUBDIR) \
4933 @stage2_werror_flag@
4934 @endif bfd-bootstrap
4936 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4937 maybe-configure-stage3-bfd:
4938 @if bfd-bootstrap
4939 maybe-configure-stage3-bfd: configure-stage3-bfd
4940 configure-stage3-bfd:
4941 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4943 @r=`${PWD_COMMAND}`; export r; \
4944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4945 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4946 $(HOST_EXPORTS) \
4947 $(POSTSTAGE1_HOST_EXPORTS) \
4948 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4949 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
4950 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4952 cd $(HOST_SUBDIR)/bfd || exit 1; \
4953 case $(srcdir) in \
4954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4955 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4957 esac; \
4958 srcdiroption="--srcdir=$${topdir}/bfd"; \
4959 libsrcdir="$$s/bfd"; \
4960 $(SHELL) $${libsrcdir}/configure \
4961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4962 --target=${target_alias} $${srcdiroption} \
4963 --with-build-libsubdir=$(HOST_SUBDIR) \
4964 @stage2_werror_flag@
4965 @endif bfd-bootstrap
4967 .PHONY: configure-stageb3g2-bfd maybe-configure-stageb3g2-bfd
4968 maybe-configure-stageb3g2-bfd:
4969 @if bfd-bootstrap
4970 maybe-configure-stageb3g2-bfd: configure-stageb3g2-bfd
4971 configure-stageb3g2-bfd:
4972 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
4973 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4976 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4977 $(HOST_EXPORTS) \
4978 $(POSTSTAGE1_HOST_EXPORTS) \
4979 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
4980 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
4981 echo Configuring stage b3g2 in $(HOST_SUBDIR)/bfd ; \
4982 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4983 cd $(HOST_SUBDIR)/bfd || exit 1; \
4984 case $(srcdir) in \
4985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4986 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4988 esac; \
4989 srcdiroption="--srcdir=$${topdir}/bfd"; \
4990 libsrcdir="$$s/bfd"; \
4991 $(SHELL) $${libsrcdir}/configure \
4992 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4993 --target=${target_alias} $${srcdiroption} \
4994 --with-build-libsubdir=$(HOST_SUBDIR) \
4995 @stage2_werror_flag@
4996 @endif bfd-bootstrap
4998 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4999 maybe-configure-stage4-bfd:
5000 @if bfd-bootstrap
5001 maybe-configure-stage4-bfd: configure-stage4-bfd
5002 configure-stage4-bfd:
5003 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5005 @r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5008 $(HOST_EXPORTS) \
5009 $(POSTSTAGE1_HOST_EXPORTS) \
5010 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5011 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
5012 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
5013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5014 cd $(HOST_SUBDIR)/bfd || exit 1; \
5015 case $(srcdir) in \
5016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5017 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5019 esac; \
5020 srcdiroption="--srcdir=$${topdir}/bfd"; \
5021 libsrcdir="$$s/bfd"; \
5022 $(SHELL) $${libsrcdir}/configure \
5023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5024 --target=${target_alias} $${srcdiroption} \
5025 --with-build-libsubdir=$(HOST_SUBDIR) \
5026 @stage2_werror_flag@
5027 @endif bfd-bootstrap
5029 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
5030 maybe-configure-stageprofile-bfd:
5031 @if bfd-bootstrap
5032 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
5033 configure-stageprofile-bfd:
5034 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5036 @r=`${PWD_COMMAND}`; export r; \
5037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5038 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5039 $(HOST_EXPORTS) \
5040 $(POSTSTAGE1_HOST_EXPORTS) \
5041 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
5042 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
5043 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
5044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5045 cd $(HOST_SUBDIR)/bfd || exit 1; \
5046 case $(srcdir) in \
5047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5048 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5050 esac; \
5051 srcdiroption="--srcdir=$${topdir}/bfd"; \
5052 libsrcdir="$$s/bfd"; \
5053 $(SHELL) $${libsrcdir}/configure \
5054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5055 --target=${target_alias} $${srcdiroption} \
5056 --with-build-libsubdir=$(HOST_SUBDIR) \
5057 @stage2_werror_flag@
5058 @endif bfd-bootstrap
5060 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
5061 maybe-configure-stagefeedback-bfd:
5062 @if bfd-bootstrap
5063 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
5064 configure-stagefeedback-bfd:
5065 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5066 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
5067 @r=`${PWD_COMMAND}`; export r; \
5068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5069 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
5070 $(HOST_EXPORTS) \
5071 $(POSTSTAGE1_HOST_EXPORTS) \
5072 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
5073 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
5074 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
5075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
5076 cd $(HOST_SUBDIR)/bfd || exit 1; \
5077 case $(srcdir) in \
5078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5079 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
5080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5081 esac; \
5082 srcdiroption="--srcdir=$${topdir}/bfd"; \
5083 libsrcdir="$$s/bfd"; \
5084 $(SHELL) $${libsrcdir}/configure \
5085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5086 --target=${target_alias} $${srcdiroption} \
5087 --with-build-libsubdir=$(HOST_SUBDIR) \
5088 @stage2_werror_flag@
5089 @endif bfd-bootstrap
5095 .PHONY: all-bfd maybe-all-bfd
5096 maybe-all-bfd:
5097 @if gcc-bootstrap
5098 all-bfd: stage_current
5099 @endif gcc-bootstrap
5100 @if bfd
5101 TARGET-bfd=all
5102 maybe-all-bfd: all-bfd
5103 all-bfd: configure-bfd
5104 @r=`${PWD_COMMAND}`; export r; \
5105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5106 $(HOST_EXPORTS) \
5107 (cd $(HOST_SUBDIR)/bfd && \
5108 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
5109 $(TARGET-bfd))
5110 @endif bfd
5114 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
5115 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
5116 maybe-all-stage1-bfd:
5117 maybe-clean-stage1-bfd:
5118 @if bfd-bootstrap
5119 maybe-all-stage1-bfd: all-stage1-bfd
5120 all-stage1: all-stage1-bfd
5121 TARGET-stage1-bfd = $(TARGET-bfd)
5122 all-stage1-bfd: configure-stage1-bfd
5123 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5124 @r=`${PWD_COMMAND}`; export r; \
5125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5126 $(HOST_EXPORTS) \
5127 cd $(HOST_SUBDIR)/bfd && \
5128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5129 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
5130 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
5131 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
5132 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
5133 $(TARGET-stage1-bfd)
5135 maybe-clean-stage1-bfd: clean-stage1-bfd
5136 clean-stage1: clean-stage1-bfd
5137 clean-stage1-bfd:
5138 @if [ $(current_stage) = stage1 ]; then \
5139 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5140 else \
5141 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
5142 $(MAKE) stage1-start; \
5143 fi; \
5144 cd $(HOST_SUBDIR)/bfd && \
5145 $(MAKE) $(EXTRA_HOST_FLAGS) \
5146 clean
5147 @endif bfd-bootstrap
5150 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5151 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5152 maybe-all-stage2-bfd:
5153 maybe-clean-stage2-bfd:
5154 @if bfd-bootstrap
5155 maybe-all-stage2-bfd: all-stage2-bfd
5156 all-stage2: all-stage2-bfd
5157 TARGET-stage2-bfd = $(TARGET-bfd)
5158 all-stage2-bfd: configure-stage2-bfd
5159 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5160 @r=`${PWD_COMMAND}`; export r; \
5161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5162 $(HOST_EXPORTS) \
5163 $(POSTSTAGE1_HOST_EXPORTS) \
5164 cd $(HOST_SUBDIR)/bfd && \
5165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5166 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
5167 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
5168 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
5169 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5170 $(TARGET-stage2-bfd)
5172 maybe-clean-stage2-bfd: clean-stage2-bfd
5173 clean-stage2: clean-stage2-bfd
5174 clean-stage2-bfd:
5175 @if [ $(current_stage) = stage2 ]; then \
5176 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5177 else \
5178 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5179 $(MAKE) stage2-start; \
5180 fi; \
5181 cd $(HOST_SUBDIR)/bfd && \
5182 $(MAKE) $(EXTRA_HOST_FLAGS) \
5183 $(POSTSTAGE1_FLAGS_TO_PASS) \
5184 clean
5185 @endif bfd-bootstrap
5188 .PHONY: all-stageb2g0-bfd maybe-all-stageb2g0-bfd
5189 .PHONY: clean-stageb2g0-bfd maybe-clean-stageb2g0-bfd
5190 maybe-all-stageb2g0-bfd:
5191 maybe-clean-stageb2g0-bfd:
5192 @if bfd-bootstrap
5193 maybe-all-stageb2g0-bfd: all-stageb2g0-bfd
5194 all-stageb2g0: all-stageb2g0-bfd
5195 TARGET-stageb2g0-bfd = $(TARGET-bfd)
5196 all-stageb2g0-bfd: configure-stageb2g0-bfd
5197 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5198 @r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 $(POSTSTAGE1_HOST_EXPORTS) \
5202 cd $(HOST_SUBDIR)/bfd && \
5203 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5204 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
5205 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
5206 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
5207 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5208 $(TARGET-stageb2g0-bfd)
5210 maybe-clean-stageb2g0-bfd: clean-stageb2g0-bfd
5211 clean-stageb2g0: clean-stageb2g0-bfd
5212 clean-stageb2g0-bfd:
5213 @if [ $(current_stage) = stageb2g0 ]; then \
5214 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5215 else \
5216 [ -f $(HOST_SUBDIR)/stageb2g0-bfd/Makefile ] || exit 0; \
5217 $(MAKE) stageb2g0-start; \
5218 fi; \
5219 cd $(HOST_SUBDIR)/bfd && \
5220 $(MAKE) $(EXTRA_HOST_FLAGS) \
5221 $(POSTSTAGE1_FLAGS_TO_PASS) \
5222 clean
5223 @endif bfd-bootstrap
5226 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5227 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5228 maybe-all-stage3-bfd:
5229 maybe-clean-stage3-bfd:
5230 @if bfd-bootstrap
5231 maybe-all-stage3-bfd: all-stage3-bfd
5232 all-stage3: all-stage3-bfd
5233 TARGET-stage3-bfd = $(TARGET-bfd)
5234 all-stage3-bfd: configure-stage3-bfd
5235 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5236 @r=`${PWD_COMMAND}`; export r; \
5237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5238 $(HOST_EXPORTS) \
5239 $(POSTSTAGE1_HOST_EXPORTS) \
5240 cd $(HOST_SUBDIR)/bfd && \
5241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5242 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
5243 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
5244 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
5245 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5246 $(TARGET-stage3-bfd)
5248 maybe-clean-stage3-bfd: clean-stage3-bfd
5249 clean-stage3: clean-stage3-bfd
5250 clean-stage3-bfd:
5251 @if [ $(current_stage) = stage3 ]; then \
5252 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5253 else \
5254 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5255 $(MAKE) stage3-start; \
5256 fi; \
5257 cd $(HOST_SUBDIR)/bfd && \
5258 $(MAKE) $(EXTRA_HOST_FLAGS) \
5259 $(POSTSTAGE1_FLAGS_TO_PASS) \
5260 clean
5261 @endif bfd-bootstrap
5264 .PHONY: all-stageb3g2-bfd maybe-all-stageb3g2-bfd
5265 .PHONY: clean-stageb3g2-bfd maybe-clean-stageb3g2-bfd
5266 maybe-all-stageb3g2-bfd:
5267 maybe-clean-stageb3g2-bfd:
5268 @if bfd-bootstrap
5269 maybe-all-stageb3g2-bfd: all-stageb3g2-bfd
5270 all-stageb3g2: all-stageb3g2-bfd
5271 TARGET-stageb3g2-bfd = $(TARGET-bfd)
5272 all-stageb3g2-bfd: configure-stageb3g2-bfd
5273 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
5274 @r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(HOST_EXPORTS) \
5277 $(POSTSTAGE1_HOST_EXPORTS) \
5278 cd $(HOST_SUBDIR)/bfd && \
5279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5280 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
5281 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
5282 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
5283 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5284 $(TARGET-stageb3g2-bfd)
5286 maybe-clean-stageb3g2-bfd: clean-stageb3g2-bfd
5287 clean-stageb3g2: clean-stageb3g2-bfd
5288 clean-stageb3g2-bfd:
5289 @if [ $(current_stage) = stageb3g2 ]; then \
5290 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5291 else \
5292 [ -f $(HOST_SUBDIR)/stageb3g2-bfd/Makefile ] || exit 0; \
5293 $(MAKE) stageb3g2-start; \
5294 fi; \
5295 cd $(HOST_SUBDIR)/bfd && \
5296 $(MAKE) $(EXTRA_HOST_FLAGS) \
5297 $(POSTSTAGE1_FLAGS_TO_PASS) \
5298 clean
5299 @endif bfd-bootstrap
5302 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5303 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5304 maybe-all-stage4-bfd:
5305 maybe-clean-stage4-bfd:
5306 @if bfd-bootstrap
5307 maybe-all-stage4-bfd: all-stage4-bfd
5308 all-stage4: all-stage4-bfd
5309 TARGET-stage4-bfd = $(TARGET-bfd)
5310 all-stage4-bfd: configure-stage4-bfd
5311 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5312 @r=`${PWD_COMMAND}`; export r; \
5313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5314 $(HOST_EXPORTS) \
5315 $(POSTSTAGE1_HOST_EXPORTS) \
5316 cd $(HOST_SUBDIR)/bfd && \
5317 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5318 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
5319 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5320 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
5321 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5322 $(TARGET-stage4-bfd)
5324 maybe-clean-stage4-bfd: clean-stage4-bfd
5325 clean-stage4: clean-stage4-bfd
5326 clean-stage4-bfd:
5327 @if [ $(current_stage) = stage4 ]; then \
5328 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5329 else \
5330 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5331 $(MAKE) stage4-start; \
5332 fi; \
5333 cd $(HOST_SUBDIR)/bfd && \
5334 $(MAKE) $(EXTRA_HOST_FLAGS) \
5335 $(POSTSTAGE1_FLAGS_TO_PASS) \
5336 clean
5337 @endif bfd-bootstrap
5340 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5341 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5342 maybe-all-stageprofile-bfd:
5343 maybe-clean-stageprofile-bfd:
5344 @if bfd-bootstrap
5345 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5346 all-stageprofile: all-stageprofile-bfd
5347 TARGET-stageprofile-bfd = $(TARGET-bfd)
5348 all-stageprofile-bfd: configure-stageprofile-bfd
5349 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5350 @r=`${PWD_COMMAND}`; export r; \
5351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5352 $(HOST_EXPORTS) \
5353 $(POSTSTAGE1_HOST_EXPORTS) \
5354 cd $(HOST_SUBDIR)/bfd && \
5355 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5356 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
5357 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
5358 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
5359 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5360 $(TARGET-stageprofile-bfd)
5362 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5363 clean-stageprofile: clean-stageprofile-bfd
5364 clean-stageprofile-bfd:
5365 @if [ $(current_stage) = stageprofile ]; then \
5366 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5367 else \
5368 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5369 $(MAKE) stageprofile-start; \
5370 fi; \
5371 cd $(HOST_SUBDIR)/bfd && \
5372 $(MAKE) $(EXTRA_HOST_FLAGS) \
5373 $(POSTSTAGE1_FLAGS_TO_PASS) \
5374 clean
5375 @endif bfd-bootstrap
5378 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5379 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5380 maybe-all-stagefeedback-bfd:
5381 maybe-clean-stagefeedback-bfd:
5382 @if bfd-bootstrap
5383 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5384 all-stagefeedback: all-stagefeedback-bfd
5385 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5386 all-stagefeedback-bfd: configure-stagefeedback-bfd
5387 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5388 @r=`${PWD_COMMAND}`; export r; \
5389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5390 $(HOST_EXPORTS) \
5391 $(POSTSTAGE1_HOST_EXPORTS) \
5392 cd $(HOST_SUBDIR)/bfd && \
5393 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5394 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
5395 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
5396 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
5397 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5398 $(TARGET-stagefeedback-bfd)
5400 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5401 clean-stagefeedback: clean-stagefeedback-bfd
5402 clean-stagefeedback-bfd:
5403 @if [ $(current_stage) = stagefeedback ]; then \
5404 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5405 else \
5406 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5407 $(MAKE) stagefeedback-start; \
5408 fi; \
5409 cd $(HOST_SUBDIR)/bfd && \
5410 $(MAKE) $(EXTRA_HOST_FLAGS) \
5411 $(POSTSTAGE1_FLAGS_TO_PASS) \
5412 clean
5413 @endif bfd-bootstrap
5419 .PHONY: check-bfd maybe-check-bfd
5420 maybe-check-bfd:
5421 @if bfd
5422 maybe-check-bfd: check-bfd
5424 check-bfd:
5425 @: $(MAKE); $(unstage)
5426 @r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 $(HOST_EXPORTS) \
5429 (cd $(HOST_SUBDIR)/bfd && \
5430 $(MAKE) $(FLAGS_TO_PASS) check)
5432 @endif bfd
5434 .PHONY: install-bfd maybe-install-bfd
5435 maybe-install-bfd:
5436 @if bfd
5437 maybe-install-bfd: install-bfd
5439 install-bfd: installdirs
5440 @: $(MAKE); $(unstage)
5441 @r=`${PWD_COMMAND}`; export r; \
5442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5443 $(HOST_EXPORTS) \
5444 (cd $(HOST_SUBDIR)/bfd && \
5445 $(MAKE) $(FLAGS_TO_PASS) install)
5447 @endif bfd
5449 # Other targets (info, dvi, pdf, etc.)
5451 .PHONY: maybe-info-bfd info-bfd
5452 maybe-info-bfd:
5453 @if bfd
5454 maybe-info-bfd: info-bfd
5456 info-bfd: \
5457 configure-bfd
5458 @[ -f ./bfd/Makefile ] || exit 0; \
5459 r=`${PWD_COMMAND}`; export r; \
5460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5461 $(HOST_EXPORTS) \
5462 for flag in $(EXTRA_HOST_FLAGS) ; do \
5463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5464 done; \
5465 echo "Doing info in bfd" ; \
5466 (cd $(HOST_SUBDIR)/bfd && \
5467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5469 "RANLIB=$${RANLIB}" \
5470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5471 info) \
5472 || exit 1
5474 @endif bfd
5476 .PHONY: maybe-dvi-bfd dvi-bfd
5477 maybe-dvi-bfd:
5478 @if bfd
5479 maybe-dvi-bfd: dvi-bfd
5481 dvi-bfd: \
5482 configure-bfd
5483 @[ -f ./bfd/Makefile ] || exit 0; \
5484 r=`${PWD_COMMAND}`; export r; \
5485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5486 $(HOST_EXPORTS) \
5487 for flag in $(EXTRA_HOST_FLAGS) ; do \
5488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5489 done; \
5490 echo "Doing dvi in bfd" ; \
5491 (cd $(HOST_SUBDIR)/bfd && \
5492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5494 "RANLIB=$${RANLIB}" \
5495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5496 dvi) \
5497 || exit 1
5499 @endif bfd
5501 .PHONY: maybe-pdf-bfd pdf-bfd
5502 maybe-pdf-bfd:
5503 @if bfd
5504 maybe-pdf-bfd: pdf-bfd
5506 pdf-bfd: \
5507 configure-bfd
5508 @[ -f ./bfd/Makefile ] || exit 0; \
5509 r=`${PWD_COMMAND}`; export r; \
5510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5511 $(HOST_EXPORTS) \
5512 for flag in $(EXTRA_HOST_FLAGS) ; do \
5513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5514 done; \
5515 echo "Doing pdf in bfd" ; \
5516 (cd $(HOST_SUBDIR)/bfd && \
5517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5519 "RANLIB=$${RANLIB}" \
5520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5521 pdf) \
5522 || exit 1
5524 @endif bfd
5526 .PHONY: maybe-html-bfd html-bfd
5527 maybe-html-bfd:
5528 @if bfd
5529 maybe-html-bfd: html-bfd
5531 html-bfd: \
5532 configure-bfd
5533 @[ -f ./bfd/Makefile ] || exit 0; \
5534 r=`${PWD_COMMAND}`; export r; \
5535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5536 $(HOST_EXPORTS) \
5537 for flag in $(EXTRA_HOST_FLAGS) ; do \
5538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5539 done; \
5540 echo "Doing html in bfd" ; \
5541 (cd $(HOST_SUBDIR)/bfd && \
5542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5544 "RANLIB=$${RANLIB}" \
5545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5546 html) \
5547 || exit 1
5549 @endif bfd
5551 .PHONY: maybe-TAGS-bfd TAGS-bfd
5552 maybe-TAGS-bfd:
5553 @if bfd
5554 maybe-TAGS-bfd: TAGS-bfd
5556 TAGS-bfd: \
5557 configure-bfd
5558 @[ -f ./bfd/Makefile ] || exit 0; \
5559 r=`${PWD_COMMAND}`; export r; \
5560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5561 $(HOST_EXPORTS) \
5562 for flag in $(EXTRA_HOST_FLAGS) ; do \
5563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5564 done; \
5565 echo "Doing TAGS in bfd" ; \
5566 (cd $(HOST_SUBDIR)/bfd && \
5567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5569 "RANLIB=$${RANLIB}" \
5570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5571 TAGS) \
5572 || exit 1
5574 @endif bfd
5576 .PHONY: maybe-install-info-bfd install-info-bfd
5577 maybe-install-info-bfd:
5578 @if bfd
5579 maybe-install-info-bfd: install-info-bfd
5581 install-info-bfd: \
5582 configure-bfd \
5583 info-bfd
5584 @[ -f ./bfd/Makefile ] || exit 0; \
5585 r=`${PWD_COMMAND}`; export r; \
5586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5587 $(HOST_EXPORTS) \
5588 for flag in $(EXTRA_HOST_FLAGS) ; do \
5589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5590 done; \
5591 echo "Doing install-info in bfd" ; \
5592 (cd $(HOST_SUBDIR)/bfd && \
5593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5595 "RANLIB=$${RANLIB}" \
5596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5597 install-info) \
5598 || exit 1
5600 @endif bfd
5602 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
5603 maybe-install-pdf-bfd:
5604 @if bfd
5605 maybe-install-pdf-bfd: install-pdf-bfd
5607 install-pdf-bfd: \
5608 configure-bfd \
5609 pdf-bfd
5610 @[ -f ./bfd/Makefile ] || exit 0; \
5611 r=`${PWD_COMMAND}`; export r; \
5612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5613 $(HOST_EXPORTS) \
5614 for flag in $(EXTRA_HOST_FLAGS) ; do \
5615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5616 done; \
5617 echo "Doing install-pdf in bfd" ; \
5618 (cd $(HOST_SUBDIR)/bfd && \
5619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5621 "RANLIB=$${RANLIB}" \
5622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5623 install-pdf) \
5624 || exit 1
5626 @endif bfd
5628 .PHONY: maybe-install-html-bfd install-html-bfd
5629 maybe-install-html-bfd:
5630 @if bfd
5631 maybe-install-html-bfd: install-html-bfd
5633 install-html-bfd: \
5634 configure-bfd \
5635 html-bfd
5636 @[ -f ./bfd/Makefile ] || exit 0; \
5637 r=`${PWD_COMMAND}`; export r; \
5638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5639 $(HOST_EXPORTS) \
5640 for flag in $(EXTRA_HOST_FLAGS) ; do \
5641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5642 done; \
5643 echo "Doing install-html in bfd" ; \
5644 (cd $(HOST_SUBDIR)/bfd && \
5645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5647 "RANLIB=$${RANLIB}" \
5648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5649 install-html) \
5650 || exit 1
5652 @endif bfd
5654 .PHONY: maybe-installcheck-bfd installcheck-bfd
5655 maybe-installcheck-bfd:
5656 @if bfd
5657 maybe-installcheck-bfd: installcheck-bfd
5659 installcheck-bfd: \
5660 configure-bfd
5661 @[ -f ./bfd/Makefile ] || exit 0; \
5662 r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664 $(HOST_EXPORTS) \
5665 for flag in $(EXTRA_HOST_FLAGS) ; do \
5666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5667 done; \
5668 echo "Doing installcheck in bfd" ; \
5669 (cd $(HOST_SUBDIR)/bfd && \
5670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672 "RANLIB=$${RANLIB}" \
5673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5674 installcheck) \
5675 || exit 1
5677 @endif bfd
5679 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5680 maybe-mostlyclean-bfd:
5681 @if bfd
5682 maybe-mostlyclean-bfd: mostlyclean-bfd
5684 mostlyclean-bfd:
5685 @[ -f ./bfd/Makefile ] || exit 0; \
5686 r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 $(HOST_EXPORTS) \
5689 for flag in $(EXTRA_HOST_FLAGS) ; do \
5690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5691 done; \
5692 echo "Doing mostlyclean in bfd" ; \
5693 (cd $(HOST_SUBDIR)/bfd && \
5694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5696 "RANLIB=$${RANLIB}" \
5697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5698 mostlyclean) \
5699 || exit 1
5701 @endif bfd
5703 .PHONY: maybe-clean-bfd clean-bfd
5704 maybe-clean-bfd:
5705 @if bfd
5706 maybe-clean-bfd: clean-bfd
5708 clean-bfd:
5709 @[ -f ./bfd/Makefile ] || exit 0; \
5710 r=`${PWD_COMMAND}`; export r; \
5711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5712 $(HOST_EXPORTS) \
5713 for flag in $(EXTRA_HOST_FLAGS) ; do \
5714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5715 done; \
5716 echo "Doing clean in bfd" ; \
5717 (cd $(HOST_SUBDIR)/bfd && \
5718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5720 "RANLIB=$${RANLIB}" \
5721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5722 clean) \
5723 || exit 1
5725 @endif bfd
5727 .PHONY: maybe-distclean-bfd distclean-bfd
5728 maybe-distclean-bfd:
5729 @if bfd
5730 maybe-distclean-bfd: distclean-bfd
5732 distclean-bfd:
5733 @[ -f ./bfd/Makefile ] || exit 0; \
5734 r=`${PWD_COMMAND}`; export r; \
5735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5736 $(HOST_EXPORTS) \
5737 for flag in $(EXTRA_HOST_FLAGS) ; do \
5738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5739 done; \
5740 echo "Doing distclean in bfd" ; \
5741 (cd $(HOST_SUBDIR)/bfd && \
5742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5744 "RANLIB=$${RANLIB}" \
5745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5746 distclean) \
5747 || exit 1
5749 @endif bfd
5751 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5752 maybe-maintainer-clean-bfd:
5753 @if bfd
5754 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5756 maintainer-clean-bfd:
5757 @[ -f ./bfd/Makefile ] || exit 0; \
5758 r=`${PWD_COMMAND}`; export r; \
5759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5760 $(HOST_EXPORTS) \
5761 for flag in $(EXTRA_HOST_FLAGS) ; do \
5762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5763 done; \
5764 echo "Doing maintainer-clean in bfd" ; \
5765 (cd $(HOST_SUBDIR)/bfd && \
5766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5768 "RANLIB=$${RANLIB}" \
5769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5770 maintainer-clean) \
5771 || exit 1
5773 @endif bfd
5777 .PHONY: configure-opcodes maybe-configure-opcodes
5778 maybe-configure-opcodes:
5779 @if gcc-bootstrap
5780 configure-opcodes: stage_current
5781 @endif gcc-bootstrap
5782 @if opcodes
5783 maybe-configure-opcodes: configure-opcodes
5784 configure-opcodes:
5785 @r=`${PWD_COMMAND}`; export r; \
5786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5787 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5789 $(HOST_EXPORTS) \
5790 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5791 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5792 case $(srcdir) in \
5793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5794 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5796 esac; \
5797 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5798 libsrcdir="$$s/opcodes"; \
5799 $(SHELL) $${libsrcdir}/configure \
5800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5801 --target=${target_alias} $${srcdiroption} \
5802 || exit 1
5803 @endif opcodes
5807 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5808 maybe-configure-stage1-opcodes:
5809 @if opcodes-bootstrap
5810 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5811 configure-stage1-opcodes:
5812 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5814 @r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5816 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5817 $(HOST_EXPORTS) \
5818 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
5819 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
5820 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5822 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5823 case $(srcdir) in \
5824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5825 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5827 esac; \
5828 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5829 libsrcdir="$$s/opcodes"; \
5830 $(SHELL) $${libsrcdir}/configure \
5831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5832 --target=${target_alias} $${srcdiroption} \
5834 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5835 @endif opcodes-bootstrap
5837 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5838 maybe-configure-stage2-opcodes:
5839 @if opcodes-bootstrap
5840 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5841 configure-stage2-opcodes:
5842 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5843 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5844 @r=`${PWD_COMMAND}`; export r; \
5845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5846 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5847 $(HOST_EXPORTS) \
5848 $(POSTSTAGE1_HOST_EXPORTS) \
5849 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
5850 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
5851 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5853 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5854 case $(srcdir) in \
5855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5856 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5858 esac; \
5859 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5860 libsrcdir="$$s/opcodes"; \
5861 $(SHELL) $${libsrcdir}/configure \
5862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5863 --target=${target_alias} $${srcdiroption} \
5864 --with-build-libsubdir=$(HOST_SUBDIR) \
5865 @stage2_werror_flag@
5866 @endif opcodes-bootstrap
5868 .PHONY: configure-stageb2g0-opcodes maybe-configure-stageb2g0-opcodes
5869 maybe-configure-stageb2g0-opcodes:
5870 @if opcodes-bootstrap
5871 maybe-configure-stageb2g0-opcodes: configure-stageb2g0-opcodes
5872 configure-stageb2g0-opcodes:
5873 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
5874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5875 @r=`${PWD_COMMAND}`; export r; \
5876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5877 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5878 $(HOST_EXPORTS) \
5879 $(POSTSTAGE1_HOST_EXPORTS) \
5880 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
5881 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
5882 echo Configuring stage b2g0 in $(HOST_SUBDIR)/opcodes ; \
5883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5884 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5885 case $(srcdir) in \
5886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5887 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5889 esac; \
5890 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5891 libsrcdir="$$s/opcodes"; \
5892 $(SHELL) $${libsrcdir}/configure \
5893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5894 --target=${target_alias} $${srcdiroption} \
5895 --with-build-libsubdir=$(HOST_SUBDIR) \
5896 @stage2_werror_flag@
5897 @endif opcodes-bootstrap
5899 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5900 maybe-configure-stage3-opcodes:
5901 @if opcodes-bootstrap
5902 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5903 configure-stage3-opcodes:
5904 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5906 @r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5909 $(HOST_EXPORTS) \
5910 $(POSTSTAGE1_HOST_EXPORTS) \
5911 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
5912 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
5913 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5914 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5915 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5916 case $(srcdir) in \
5917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5918 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5920 esac; \
5921 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5922 libsrcdir="$$s/opcodes"; \
5923 $(SHELL) $${libsrcdir}/configure \
5924 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5925 --target=${target_alias} $${srcdiroption} \
5926 --with-build-libsubdir=$(HOST_SUBDIR) \
5927 @stage2_werror_flag@
5928 @endif opcodes-bootstrap
5930 .PHONY: configure-stageb3g2-opcodes maybe-configure-stageb3g2-opcodes
5931 maybe-configure-stageb3g2-opcodes:
5932 @if opcodes-bootstrap
5933 maybe-configure-stageb3g2-opcodes: configure-stageb3g2-opcodes
5934 configure-stageb3g2-opcodes:
5935 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
5936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5937 @r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5940 $(HOST_EXPORTS) \
5941 $(POSTSTAGE1_HOST_EXPORTS) \
5942 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
5943 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
5944 echo Configuring stage b3g2 in $(HOST_SUBDIR)/opcodes ; \
5945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5946 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5947 case $(srcdir) in \
5948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5949 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5951 esac; \
5952 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5953 libsrcdir="$$s/opcodes"; \
5954 $(SHELL) $${libsrcdir}/configure \
5955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5956 --target=${target_alias} $${srcdiroption} \
5957 --with-build-libsubdir=$(HOST_SUBDIR) \
5958 @stage2_werror_flag@
5959 @endif opcodes-bootstrap
5961 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5962 maybe-configure-stage4-opcodes:
5963 @if opcodes-bootstrap
5964 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5965 configure-stage4-opcodes:
5966 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5967 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5968 @r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5970 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5971 $(HOST_EXPORTS) \
5972 $(POSTSTAGE1_HOST_EXPORTS) \
5973 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5974 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
5975 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5977 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5978 case $(srcdir) in \
5979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5980 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5982 esac; \
5983 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5984 libsrcdir="$$s/opcodes"; \
5985 $(SHELL) $${libsrcdir}/configure \
5986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5987 --target=${target_alias} $${srcdiroption} \
5988 --with-build-libsubdir=$(HOST_SUBDIR) \
5989 @stage2_werror_flag@
5990 @endif opcodes-bootstrap
5992 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5993 maybe-configure-stageprofile-opcodes:
5994 @if opcodes-bootstrap
5995 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5996 configure-stageprofile-opcodes:
5997 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5998 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5999 @r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6001 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6002 $(HOST_EXPORTS) \
6003 $(POSTSTAGE1_HOST_EXPORTS) \
6004 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
6005 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
6006 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
6007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6008 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6009 case $(srcdir) in \
6010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6011 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6013 esac; \
6014 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6015 libsrcdir="$$s/opcodes"; \
6016 $(SHELL) $${libsrcdir}/configure \
6017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6018 --target=${target_alias} $${srcdiroption} \
6019 --with-build-libsubdir=$(HOST_SUBDIR) \
6020 @stage2_werror_flag@
6021 @endif opcodes-bootstrap
6023 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
6024 maybe-configure-stagefeedback-opcodes:
6025 @if opcodes-bootstrap
6026 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
6027 configure-stagefeedback-opcodes:
6028 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
6030 @r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
6033 $(HOST_EXPORTS) \
6034 $(POSTSTAGE1_HOST_EXPORTS) \
6035 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
6036 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
6037 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
6038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
6039 cd $(HOST_SUBDIR)/opcodes || exit 1; \
6040 case $(srcdir) in \
6041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6042 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
6043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6044 esac; \
6045 srcdiroption="--srcdir=$${topdir}/opcodes"; \
6046 libsrcdir="$$s/opcodes"; \
6047 $(SHELL) $${libsrcdir}/configure \
6048 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6049 --target=${target_alias} $${srcdiroption} \
6050 --with-build-libsubdir=$(HOST_SUBDIR) \
6051 @stage2_werror_flag@
6052 @endif opcodes-bootstrap
6058 .PHONY: all-opcodes maybe-all-opcodes
6059 maybe-all-opcodes:
6060 @if gcc-bootstrap
6061 all-opcodes: stage_current
6062 @endif gcc-bootstrap
6063 @if opcodes
6064 TARGET-opcodes=all
6065 maybe-all-opcodes: all-opcodes
6066 all-opcodes: configure-opcodes
6067 @r=`${PWD_COMMAND}`; export r; \
6068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069 $(HOST_EXPORTS) \
6070 (cd $(HOST_SUBDIR)/opcodes && \
6071 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
6072 $(TARGET-opcodes))
6073 @endif opcodes
6077 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
6078 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
6079 maybe-all-stage1-opcodes:
6080 maybe-clean-stage1-opcodes:
6081 @if opcodes-bootstrap
6082 maybe-all-stage1-opcodes: all-stage1-opcodes
6083 all-stage1: all-stage1-opcodes
6084 TARGET-stage1-opcodes = $(TARGET-opcodes)
6085 all-stage1-opcodes: configure-stage1-opcodes
6086 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6087 @r=`${PWD_COMMAND}`; export r; \
6088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6089 $(HOST_EXPORTS) \
6090 cd $(HOST_SUBDIR)/opcodes && \
6091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6092 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
6093 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
6094 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
6095 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
6096 $(TARGET-stage1-opcodes)
6098 maybe-clean-stage1-opcodes: clean-stage1-opcodes
6099 clean-stage1: clean-stage1-opcodes
6100 clean-stage1-opcodes:
6101 @if [ $(current_stage) = stage1 ]; then \
6102 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6103 else \
6104 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
6105 $(MAKE) stage1-start; \
6106 fi; \
6107 cd $(HOST_SUBDIR)/opcodes && \
6108 $(MAKE) $(EXTRA_HOST_FLAGS) \
6109 clean
6110 @endif opcodes-bootstrap
6113 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
6114 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
6115 maybe-all-stage2-opcodes:
6116 maybe-clean-stage2-opcodes:
6117 @if opcodes-bootstrap
6118 maybe-all-stage2-opcodes: all-stage2-opcodes
6119 all-stage2: all-stage2-opcodes
6120 TARGET-stage2-opcodes = $(TARGET-opcodes)
6121 all-stage2-opcodes: configure-stage2-opcodes
6122 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6123 @r=`${PWD_COMMAND}`; export r; \
6124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125 $(HOST_EXPORTS) \
6126 $(POSTSTAGE1_HOST_EXPORTS) \
6127 cd $(HOST_SUBDIR)/opcodes && \
6128 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6129 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
6130 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
6131 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
6132 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6133 $(TARGET-stage2-opcodes)
6135 maybe-clean-stage2-opcodes: clean-stage2-opcodes
6136 clean-stage2: clean-stage2-opcodes
6137 clean-stage2-opcodes:
6138 @if [ $(current_stage) = stage2 ]; then \
6139 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6140 else \
6141 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
6142 $(MAKE) stage2-start; \
6143 fi; \
6144 cd $(HOST_SUBDIR)/opcodes && \
6145 $(MAKE) $(EXTRA_HOST_FLAGS) \
6146 $(POSTSTAGE1_FLAGS_TO_PASS) \
6147 clean
6148 @endif opcodes-bootstrap
6151 .PHONY: all-stageb2g0-opcodes maybe-all-stageb2g0-opcodes
6152 .PHONY: clean-stageb2g0-opcodes maybe-clean-stageb2g0-opcodes
6153 maybe-all-stageb2g0-opcodes:
6154 maybe-clean-stageb2g0-opcodes:
6155 @if opcodes-bootstrap
6156 maybe-all-stageb2g0-opcodes: all-stageb2g0-opcodes
6157 all-stageb2g0: all-stageb2g0-opcodes
6158 TARGET-stageb2g0-opcodes = $(TARGET-opcodes)
6159 all-stageb2g0-opcodes: configure-stageb2g0-opcodes
6160 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
6161 @r=`${PWD_COMMAND}`; export r; \
6162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6163 $(HOST_EXPORTS) \
6164 $(POSTSTAGE1_HOST_EXPORTS) \
6165 cd $(HOST_SUBDIR)/opcodes && \
6166 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6167 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
6168 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
6169 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
6170 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6171 $(TARGET-stageb2g0-opcodes)
6173 maybe-clean-stageb2g0-opcodes: clean-stageb2g0-opcodes
6174 clean-stageb2g0: clean-stageb2g0-opcodes
6175 clean-stageb2g0-opcodes:
6176 @if [ $(current_stage) = stageb2g0 ]; then \
6177 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6178 else \
6179 [ -f $(HOST_SUBDIR)/stageb2g0-opcodes/Makefile ] || exit 0; \
6180 $(MAKE) stageb2g0-start; \
6181 fi; \
6182 cd $(HOST_SUBDIR)/opcodes && \
6183 $(MAKE) $(EXTRA_HOST_FLAGS) \
6184 $(POSTSTAGE1_FLAGS_TO_PASS) \
6185 clean
6186 @endif opcodes-bootstrap
6189 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
6190 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
6191 maybe-all-stage3-opcodes:
6192 maybe-clean-stage3-opcodes:
6193 @if opcodes-bootstrap
6194 maybe-all-stage3-opcodes: all-stage3-opcodes
6195 all-stage3: all-stage3-opcodes
6196 TARGET-stage3-opcodes = $(TARGET-opcodes)
6197 all-stage3-opcodes: configure-stage3-opcodes
6198 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6199 @r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(HOST_EXPORTS) \
6202 $(POSTSTAGE1_HOST_EXPORTS) \
6203 cd $(HOST_SUBDIR)/opcodes && \
6204 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6205 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
6206 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
6207 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
6208 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6209 $(TARGET-stage3-opcodes)
6211 maybe-clean-stage3-opcodes: clean-stage3-opcodes
6212 clean-stage3: clean-stage3-opcodes
6213 clean-stage3-opcodes:
6214 @if [ $(current_stage) = stage3 ]; then \
6215 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6216 else \
6217 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
6218 $(MAKE) stage3-start; \
6219 fi; \
6220 cd $(HOST_SUBDIR)/opcodes && \
6221 $(MAKE) $(EXTRA_HOST_FLAGS) \
6222 $(POSTSTAGE1_FLAGS_TO_PASS) \
6223 clean
6224 @endif opcodes-bootstrap
6227 .PHONY: all-stageb3g2-opcodes maybe-all-stageb3g2-opcodes
6228 .PHONY: clean-stageb3g2-opcodes maybe-clean-stageb3g2-opcodes
6229 maybe-all-stageb3g2-opcodes:
6230 maybe-clean-stageb3g2-opcodes:
6231 @if opcodes-bootstrap
6232 maybe-all-stageb3g2-opcodes: all-stageb3g2-opcodes
6233 all-stageb3g2: all-stageb3g2-opcodes
6234 TARGET-stageb3g2-opcodes = $(TARGET-opcodes)
6235 all-stageb3g2-opcodes: configure-stageb3g2-opcodes
6236 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6237 @r=`${PWD_COMMAND}`; export r; \
6238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6239 $(HOST_EXPORTS) \
6240 $(POSTSTAGE1_HOST_EXPORTS) \
6241 cd $(HOST_SUBDIR)/opcodes && \
6242 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6243 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
6244 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
6245 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
6246 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6247 $(TARGET-stageb3g2-opcodes)
6249 maybe-clean-stageb3g2-opcodes: clean-stageb3g2-opcodes
6250 clean-stageb3g2: clean-stageb3g2-opcodes
6251 clean-stageb3g2-opcodes:
6252 @if [ $(current_stage) = stageb3g2 ]; then \
6253 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6254 else \
6255 [ -f $(HOST_SUBDIR)/stageb3g2-opcodes/Makefile ] || exit 0; \
6256 $(MAKE) stageb3g2-start; \
6257 fi; \
6258 cd $(HOST_SUBDIR)/opcodes && \
6259 $(MAKE) $(EXTRA_HOST_FLAGS) \
6260 $(POSTSTAGE1_FLAGS_TO_PASS) \
6261 clean
6262 @endif opcodes-bootstrap
6265 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
6266 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
6267 maybe-all-stage4-opcodes:
6268 maybe-clean-stage4-opcodes:
6269 @if opcodes-bootstrap
6270 maybe-all-stage4-opcodes: all-stage4-opcodes
6271 all-stage4: all-stage4-opcodes
6272 TARGET-stage4-opcodes = $(TARGET-opcodes)
6273 all-stage4-opcodes: configure-stage4-opcodes
6274 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6275 @r=`${PWD_COMMAND}`; export r; \
6276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6277 $(HOST_EXPORTS) \
6278 $(POSTSTAGE1_HOST_EXPORTS) \
6279 cd $(HOST_SUBDIR)/opcodes && \
6280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6281 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
6282 LIBCFLAGS="$(STAGE4_CFLAGS)" \
6283 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
6284 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6285 $(TARGET-stage4-opcodes)
6287 maybe-clean-stage4-opcodes: clean-stage4-opcodes
6288 clean-stage4: clean-stage4-opcodes
6289 clean-stage4-opcodes:
6290 @if [ $(current_stage) = stage4 ]; then \
6291 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6292 else \
6293 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
6294 $(MAKE) stage4-start; \
6295 fi; \
6296 cd $(HOST_SUBDIR)/opcodes && \
6297 $(MAKE) $(EXTRA_HOST_FLAGS) \
6298 $(POSTSTAGE1_FLAGS_TO_PASS) \
6299 clean
6300 @endif opcodes-bootstrap
6303 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
6304 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
6305 maybe-all-stageprofile-opcodes:
6306 maybe-clean-stageprofile-opcodes:
6307 @if opcodes-bootstrap
6308 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
6309 all-stageprofile: all-stageprofile-opcodes
6310 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
6311 all-stageprofile-opcodes: configure-stageprofile-opcodes
6312 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6313 @r=`${PWD_COMMAND}`; export r; \
6314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6315 $(HOST_EXPORTS) \
6316 $(POSTSTAGE1_HOST_EXPORTS) \
6317 cd $(HOST_SUBDIR)/opcodes && \
6318 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6319 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
6320 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
6321 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
6322 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6323 $(TARGET-stageprofile-opcodes)
6325 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
6326 clean-stageprofile: clean-stageprofile-opcodes
6327 clean-stageprofile-opcodes:
6328 @if [ $(current_stage) = stageprofile ]; then \
6329 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6330 else \
6331 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
6332 $(MAKE) stageprofile-start; \
6333 fi; \
6334 cd $(HOST_SUBDIR)/opcodes && \
6335 $(MAKE) $(EXTRA_HOST_FLAGS) \
6336 $(POSTSTAGE1_FLAGS_TO_PASS) \
6337 clean
6338 @endif opcodes-bootstrap
6341 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
6342 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
6343 maybe-all-stagefeedback-opcodes:
6344 maybe-clean-stagefeedback-opcodes:
6345 @if opcodes-bootstrap
6346 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
6347 all-stagefeedback: all-stagefeedback-opcodes
6348 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
6349 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
6350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6351 @r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(HOST_EXPORTS) \
6354 $(POSTSTAGE1_HOST_EXPORTS) \
6355 cd $(HOST_SUBDIR)/opcodes && \
6356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
6357 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
6358 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
6359 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
6360 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6361 $(TARGET-stagefeedback-opcodes)
6363 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
6364 clean-stagefeedback: clean-stagefeedback-opcodes
6365 clean-stagefeedback-opcodes:
6366 @if [ $(current_stage) = stagefeedback ]; then \
6367 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
6368 else \
6369 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
6370 $(MAKE) stagefeedback-start; \
6371 fi; \
6372 cd $(HOST_SUBDIR)/opcodes && \
6373 $(MAKE) $(EXTRA_HOST_FLAGS) \
6374 $(POSTSTAGE1_FLAGS_TO_PASS) \
6375 clean
6376 @endif opcodes-bootstrap
6382 .PHONY: check-opcodes maybe-check-opcodes
6383 maybe-check-opcodes:
6384 @if opcodes
6385 maybe-check-opcodes: check-opcodes
6387 check-opcodes:
6388 @: $(MAKE); $(unstage)
6389 @r=`${PWD_COMMAND}`; export r; \
6390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391 $(HOST_EXPORTS) \
6392 (cd $(HOST_SUBDIR)/opcodes && \
6393 $(MAKE) $(FLAGS_TO_PASS) check)
6395 @endif opcodes
6397 .PHONY: install-opcodes maybe-install-opcodes
6398 maybe-install-opcodes:
6399 @if opcodes
6400 maybe-install-opcodes: install-opcodes
6402 install-opcodes: installdirs
6403 @: $(MAKE); $(unstage)
6404 @r=`${PWD_COMMAND}`; export r; \
6405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6406 $(HOST_EXPORTS) \
6407 (cd $(HOST_SUBDIR)/opcodes && \
6408 $(MAKE) $(FLAGS_TO_PASS) install)
6410 @endif opcodes
6412 # Other targets (info, dvi, pdf, etc.)
6414 .PHONY: maybe-info-opcodes info-opcodes
6415 maybe-info-opcodes:
6416 @if opcodes
6417 maybe-info-opcodes: info-opcodes
6419 info-opcodes: \
6420 configure-opcodes
6421 @[ -f ./opcodes/Makefile ] || exit 0; \
6422 r=`${PWD_COMMAND}`; export r; \
6423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6424 $(HOST_EXPORTS) \
6425 for flag in $(EXTRA_HOST_FLAGS) ; do \
6426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6427 done; \
6428 echo "Doing info in opcodes" ; \
6429 (cd $(HOST_SUBDIR)/opcodes && \
6430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6432 "RANLIB=$${RANLIB}" \
6433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6434 info) \
6435 || exit 1
6437 @endif opcodes
6439 .PHONY: maybe-dvi-opcodes dvi-opcodes
6440 maybe-dvi-opcodes:
6441 @if opcodes
6442 maybe-dvi-opcodes: dvi-opcodes
6444 dvi-opcodes: \
6445 configure-opcodes
6446 @[ -f ./opcodes/Makefile ] || exit 0; \
6447 r=`${PWD_COMMAND}`; export r; \
6448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6449 $(HOST_EXPORTS) \
6450 for flag in $(EXTRA_HOST_FLAGS) ; do \
6451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6452 done; \
6453 echo "Doing dvi in opcodes" ; \
6454 (cd $(HOST_SUBDIR)/opcodes && \
6455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6457 "RANLIB=$${RANLIB}" \
6458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6459 dvi) \
6460 || exit 1
6462 @endif opcodes
6464 .PHONY: maybe-pdf-opcodes pdf-opcodes
6465 maybe-pdf-opcodes:
6466 @if opcodes
6467 maybe-pdf-opcodes: pdf-opcodes
6469 pdf-opcodes: \
6470 configure-opcodes
6471 @[ -f ./opcodes/Makefile ] || exit 0; \
6472 r=`${PWD_COMMAND}`; export r; \
6473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 $(HOST_EXPORTS) \
6475 for flag in $(EXTRA_HOST_FLAGS) ; do \
6476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6477 done; \
6478 echo "Doing pdf in opcodes" ; \
6479 (cd $(HOST_SUBDIR)/opcodes && \
6480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6482 "RANLIB=$${RANLIB}" \
6483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6484 pdf) \
6485 || exit 1
6487 @endif opcodes
6489 .PHONY: maybe-html-opcodes html-opcodes
6490 maybe-html-opcodes:
6491 @if opcodes
6492 maybe-html-opcodes: html-opcodes
6494 html-opcodes: \
6495 configure-opcodes
6496 @[ -f ./opcodes/Makefile ] || exit 0; \
6497 r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 $(HOST_EXPORTS) \
6500 for flag in $(EXTRA_HOST_FLAGS) ; do \
6501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6502 done; \
6503 echo "Doing html in opcodes" ; \
6504 (cd $(HOST_SUBDIR)/opcodes && \
6505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6507 "RANLIB=$${RANLIB}" \
6508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6509 html) \
6510 || exit 1
6512 @endif opcodes
6514 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6515 maybe-TAGS-opcodes:
6516 @if opcodes
6517 maybe-TAGS-opcodes: TAGS-opcodes
6519 TAGS-opcodes: \
6520 configure-opcodes
6521 @[ -f ./opcodes/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527 done; \
6528 echo "Doing TAGS in opcodes" ; \
6529 (cd $(HOST_SUBDIR)/opcodes && \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6534 TAGS) \
6535 || exit 1
6537 @endif opcodes
6539 .PHONY: maybe-install-info-opcodes install-info-opcodes
6540 maybe-install-info-opcodes:
6541 @if opcodes
6542 maybe-install-info-opcodes: install-info-opcodes
6544 install-info-opcodes: \
6545 configure-opcodes \
6546 info-opcodes
6547 @[ -f ./opcodes/Makefile ] || exit 0; \
6548 r=`${PWD_COMMAND}`; export r; \
6549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6550 $(HOST_EXPORTS) \
6551 for flag in $(EXTRA_HOST_FLAGS) ; do \
6552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6553 done; \
6554 echo "Doing install-info in opcodes" ; \
6555 (cd $(HOST_SUBDIR)/opcodes && \
6556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558 "RANLIB=$${RANLIB}" \
6559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6560 install-info) \
6561 || exit 1
6563 @endif opcodes
6565 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6566 maybe-install-pdf-opcodes:
6567 @if opcodes
6568 maybe-install-pdf-opcodes: install-pdf-opcodes
6570 install-pdf-opcodes: \
6571 configure-opcodes \
6572 pdf-opcodes
6573 @[ -f ./opcodes/Makefile ] || exit 0; \
6574 r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(HOST_EXPORTS) \
6577 for flag in $(EXTRA_HOST_FLAGS) ; do \
6578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6579 done; \
6580 echo "Doing install-pdf in opcodes" ; \
6581 (cd $(HOST_SUBDIR)/opcodes && \
6582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6584 "RANLIB=$${RANLIB}" \
6585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6586 install-pdf) \
6587 || exit 1
6589 @endif opcodes
6591 .PHONY: maybe-install-html-opcodes install-html-opcodes
6592 maybe-install-html-opcodes:
6593 @if opcodes
6594 maybe-install-html-opcodes: install-html-opcodes
6596 install-html-opcodes: \
6597 configure-opcodes \
6598 html-opcodes
6599 @[ -f ./opcodes/Makefile ] || exit 0; \
6600 r=`${PWD_COMMAND}`; export r; \
6601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6602 $(HOST_EXPORTS) \
6603 for flag in $(EXTRA_HOST_FLAGS) ; do \
6604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6605 done; \
6606 echo "Doing install-html in opcodes" ; \
6607 (cd $(HOST_SUBDIR)/opcodes && \
6608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6610 "RANLIB=$${RANLIB}" \
6611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6612 install-html) \
6613 || exit 1
6615 @endif opcodes
6617 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
6618 maybe-installcheck-opcodes:
6619 @if opcodes
6620 maybe-installcheck-opcodes: installcheck-opcodes
6622 installcheck-opcodes: \
6623 configure-opcodes
6624 @[ -f ./opcodes/Makefile ] || exit 0; \
6625 r=`${PWD_COMMAND}`; export r; \
6626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6627 $(HOST_EXPORTS) \
6628 for flag in $(EXTRA_HOST_FLAGS) ; do \
6629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6630 done; \
6631 echo "Doing installcheck in opcodes" ; \
6632 (cd $(HOST_SUBDIR)/opcodes && \
6633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6635 "RANLIB=$${RANLIB}" \
6636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6637 installcheck) \
6638 || exit 1
6640 @endif opcodes
6642 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
6643 maybe-mostlyclean-opcodes:
6644 @if opcodes
6645 maybe-mostlyclean-opcodes: mostlyclean-opcodes
6647 mostlyclean-opcodes:
6648 @[ -f ./opcodes/Makefile ] || exit 0; \
6649 r=`${PWD_COMMAND}`; export r; \
6650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6651 $(HOST_EXPORTS) \
6652 for flag in $(EXTRA_HOST_FLAGS) ; do \
6653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6654 done; \
6655 echo "Doing mostlyclean in opcodes" ; \
6656 (cd $(HOST_SUBDIR)/opcodes && \
6657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6659 "RANLIB=$${RANLIB}" \
6660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6661 mostlyclean) \
6662 || exit 1
6664 @endif opcodes
6666 .PHONY: maybe-clean-opcodes clean-opcodes
6667 maybe-clean-opcodes:
6668 @if opcodes
6669 maybe-clean-opcodes: clean-opcodes
6671 clean-opcodes:
6672 @[ -f ./opcodes/Makefile ] || exit 0; \
6673 r=`${PWD_COMMAND}`; export r; \
6674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 $(HOST_EXPORTS) \
6676 for flag in $(EXTRA_HOST_FLAGS) ; do \
6677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6678 done; \
6679 echo "Doing clean in opcodes" ; \
6680 (cd $(HOST_SUBDIR)/opcodes && \
6681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6683 "RANLIB=$${RANLIB}" \
6684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6685 clean) \
6686 || exit 1
6688 @endif opcodes
6690 .PHONY: maybe-distclean-opcodes distclean-opcodes
6691 maybe-distclean-opcodes:
6692 @if opcodes
6693 maybe-distclean-opcodes: distclean-opcodes
6695 distclean-opcodes:
6696 @[ -f ./opcodes/Makefile ] || exit 0; \
6697 r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699 $(HOST_EXPORTS) \
6700 for flag in $(EXTRA_HOST_FLAGS) ; do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 done; \
6703 echo "Doing distclean in opcodes" ; \
6704 (cd $(HOST_SUBDIR)/opcodes && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6709 distclean) \
6710 || exit 1
6712 @endif opcodes
6714 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6715 maybe-maintainer-clean-opcodes:
6716 @if opcodes
6717 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6719 maintainer-clean-opcodes:
6720 @[ -f ./opcodes/Makefile ] || exit 0; \
6721 r=`${PWD_COMMAND}`; export r; \
6722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6723 $(HOST_EXPORTS) \
6724 for flag in $(EXTRA_HOST_FLAGS) ; do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6726 done; \
6727 echo "Doing maintainer-clean in opcodes" ; \
6728 (cd $(HOST_SUBDIR)/opcodes && \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6733 maintainer-clean) \
6734 || exit 1
6736 @endif opcodes
6740 .PHONY: configure-binutils maybe-configure-binutils
6741 maybe-configure-binutils:
6742 @if gcc-bootstrap
6743 configure-binutils: stage_current
6744 @endif gcc-bootstrap
6745 @if binutils
6746 maybe-configure-binutils: configure-binutils
6747 configure-binutils:
6748 @r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6752 $(HOST_EXPORTS) \
6753 echo Configuring in $(HOST_SUBDIR)/binutils; \
6754 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6755 case $(srcdir) in \
6756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6757 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6759 esac; \
6760 srcdiroption="--srcdir=$${topdir}/binutils"; \
6761 libsrcdir="$$s/binutils"; \
6762 $(SHELL) $${libsrcdir}/configure \
6763 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6764 --target=${target_alias} $${srcdiroption} \
6765 || exit 1
6766 @endif binutils
6770 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6771 maybe-configure-stage1-binutils:
6772 @if binutils-bootstrap
6773 maybe-configure-stage1-binutils: configure-stage1-binutils
6774 configure-stage1-binutils:
6775 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6777 @r=`${PWD_COMMAND}`; export r; \
6778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6779 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6780 $(HOST_EXPORTS) \
6781 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
6782 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
6783 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6785 cd $(HOST_SUBDIR)/binutils || exit 1; \
6786 case $(srcdir) in \
6787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6788 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6790 esac; \
6791 srcdiroption="--srcdir=$${topdir}/binutils"; \
6792 libsrcdir="$$s/binutils"; \
6793 $(SHELL) $${libsrcdir}/configure \
6794 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6795 --target=${target_alias} $${srcdiroption} \
6797 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6798 @endif binutils-bootstrap
6800 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6801 maybe-configure-stage2-binutils:
6802 @if binutils-bootstrap
6803 maybe-configure-stage2-binutils: configure-stage2-binutils
6804 configure-stage2-binutils:
6805 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6806 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6807 @r=`${PWD_COMMAND}`; export r; \
6808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6809 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6810 $(HOST_EXPORTS) \
6811 $(POSTSTAGE1_HOST_EXPORTS) \
6812 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
6813 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
6814 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6816 cd $(HOST_SUBDIR)/binutils || exit 1; \
6817 case $(srcdir) in \
6818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6819 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6821 esac; \
6822 srcdiroption="--srcdir=$${topdir}/binutils"; \
6823 libsrcdir="$$s/binutils"; \
6824 $(SHELL) $${libsrcdir}/configure \
6825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6826 --target=${target_alias} $${srcdiroption} \
6827 --with-build-libsubdir=$(HOST_SUBDIR) \
6828 @stage2_werror_flag@
6829 @endif binutils-bootstrap
6831 .PHONY: configure-stageb2g0-binutils maybe-configure-stageb2g0-binutils
6832 maybe-configure-stageb2g0-binutils:
6833 @if binutils-bootstrap
6834 maybe-configure-stageb2g0-binutils: configure-stageb2g0-binutils
6835 configure-stageb2g0-binutils:
6836 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
6837 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6838 @r=`${PWD_COMMAND}`; export r; \
6839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6840 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6841 $(HOST_EXPORTS) \
6842 $(POSTSTAGE1_HOST_EXPORTS) \
6843 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
6844 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
6845 echo Configuring stage b2g0 in $(HOST_SUBDIR)/binutils ; \
6846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6847 cd $(HOST_SUBDIR)/binutils || exit 1; \
6848 case $(srcdir) in \
6849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6850 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6852 esac; \
6853 srcdiroption="--srcdir=$${topdir}/binutils"; \
6854 libsrcdir="$$s/binutils"; \
6855 $(SHELL) $${libsrcdir}/configure \
6856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6857 --target=${target_alias} $${srcdiroption} \
6858 --with-build-libsubdir=$(HOST_SUBDIR) \
6859 @stage2_werror_flag@
6860 @endif binutils-bootstrap
6862 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6863 maybe-configure-stage3-binutils:
6864 @if binutils-bootstrap
6865 maybe-configure-stage3-binutils: configure-stage3-binutils
6866 configure-stage3-binutils:
6867 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6868 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6869 @r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6872 $(HOST_EXPORTS) \
6873 $(POSTSTAGE1_HOST_EXPORTS) \
6874 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
6875 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
6876 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6877 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6878 cd $(HOST_SUBDIR)/binutils || exit 1; \
6879 case $(srcdir) in \
6880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6881 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6883 esac; \
6884 srcdiroption="--srcdir=$${topdir}/binutils"; \
6885 libsrcdir="$$s/binutils"; \
6886 $(SHELL) $${libsrcdir}/configure \
6887 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6888 --target=${target_alias} $${srcdiroption} \
6889 --with-build-libsubdir=$(HOST_SUBDIR) \
6890 @stage2_werror_flag@
6891 @endif binutils-bootstrap
6893 .PHONY: configure-stageb3g2-binutils maybe-configure-stageb3g2-binutils
6894 maybe-configure-stageb3g2-binutils:
6895 @if binutils-bootstrap
6896 maybe-configure-stageb3g2-binutils: configure-stageb3g2-binutils
6897 configure-stageb3g2-binutils:
6898 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
6899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6900 @r=`${PWD_COMMAND}`; export r; \
6901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6902 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6903 $(HOST_EXPORTS) \
6904 $(POSTSTAGE1_HOST_EXPORTS) \
6905 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
6906 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
6907 echo Configuring stage b3g2 in $(HOST_SUBDIR)/binutils ; \
6908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6909 cd $(HOST_SUBDIR)/binutils || exit 1; \
6910 case $(srcdir) in \
6911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6912 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6914 esac; \
6915 srcdiroption="--srcdir=$${topdir}/binutils"; \
6916 libsrcdir="$$s/binutils"; \
6917 $(SHELL) $${libsrcdir}/configure \
6918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6919 --target=${target_alias} $${srcdiroption} \
6920 --with-build-libsubdir=$(HOST_SUBDIR) \
6921 @stage2_werror_flag@
6922 @endif binutils-bootstrap
6924 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6925 maybe-configure-stage4-binutils:
6926 @if binutils-bootstrap
6927 maybe-configure-stage4-binutils: configure-stage4-binutils
6928 configure-stage4-binutils:
6929 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6931 @r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6934 $(HOST_EXPORTS) \
6935 $(POSTSTAGE1_HOST_EXPORTS) \
6936 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
6937 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
6938 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6940 cd $(HOST_SUBDIR)/binutils || exit 1; \
6941 case $(srcdir) in \
6942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6943 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6945 esac; \
6946 srcdiroption="--srcdir=$${topdir}/binutils"; \
6947 libsrcdir="$$s/binutils"; \
6948 $(SHELL) $${libsrcdir}/configure \
6949 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6950 --target=${target_alias} $${srcdiroption} \
6951 --with-build-libsubdir=$(HOST_SUBDIR) \
6952 @stage2_werror_flag@
6953 @endif binutils-bootstrap
6955 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6956 maybe-configure-stageprofile-binutils:
6957 @if binutils-bootstrap
6958 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6959 configure-stageprofile-binutils:
6960 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6961 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6962 @r=`${PWD_COMMAND}`; export r; \
6963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6965 $(HOST_EXPORTS) \
6966 $(POSTSTAGE1_HOST_EXPORTS) \
6967 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
6968 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
6969 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6970 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6971 cd $(HOST_SUBDIR)/binutils || exit 1; \
6972 case $(srcdir) in \
6973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6974 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6976 esac; \
6977 srcdiroption="--srcdir=$${topdir}/binutils"; \
6978 libsrcdir="$$s/binutils"; \
6979 $(SHELL) $${libsrcdir}/configure \
6980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6981 --target=${target_alias} $${srcdiroption} \
6982 --with-build-libsubdir=$(HOST_SUBDIR) \
6983 @stage2_werror_flag@
6984 @endif binutils-bootstrap
6986 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6987 maybe-configure-stagefeedback-binutils:
6988 @if binutils-bootstrap
6989 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6990 configure-stagefeedback-binutils:
6991 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6992 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6993 @r=`${PWD_COMMAND}`; export r; \
6994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6995 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6996 $(HOST_EXPORTS) \
6997 $(POSTSTAGE1_HOST_EXPORTS) \
6998 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
6999 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
7000 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
7001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
7002 cd $(HOST_SUBDIR)/binutils || exit 1; \
7003 case $(srcdir) in \
7004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7005 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
7006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7007 esac; \
7008 srcdiroption="--srcdir=$${topdir}/binutils"; \
7009 libsrcdir="$$s/binutils"; \
7010 $(SHELL) $${libsrcdir}/configure \
7011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7012 --target=${target_alias} $${srcdiroption} \
7013 --with-build-libsubdir=$(HOST_SUBDIR) \
7014 @stage2_werror_flag@
7015 @endif binutils-bootstrap
7021 .PHONY: all-binutils maybe-all-binutils
7022 maybe-all-binutils:
7023 @if gcc-bootstrap
7024 all-binutils: stage_current
7025 @endif gcc-bootstrap
7026 @if binutils
7027 TARGET-binutils=all
7028 maybe-all-binutils: all-binutils
7029 all-binutils: configure-binutils
7030 @r=`${PWD_COMMAND}`; export r; \
7031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 $(HOST_EXPORTS) \
7033 (cd $(HOST_SUBDIR)/binutils && \
7034 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7035 $(TARGET-binutils))
7036 @endif binutils
7040 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
7041 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
7042 maybe-all-stage1-binutils:
7043 maybe-clean-stage1-binutils:
7044 @if binutils-bootstrap
7045 maybe-all-stage1-binutils: all-stage1-binutils
7046 all-stage1: all-stage1-binutils
7047 TARGET-stage1-binutils = $(TARGET-binutils)
7048 all-stage1-binutils: configure-stage1-binutils
7049 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7050 @r=`${PWD_COMMAND}`; export r; \
7051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7052 $(HOST_EXPORTS) \
7053 cd $(HOST_SUBDIR)/binutils && \
7054 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7055 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
7056 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
7057 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
7058 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
7059 $(TARGET-stage1-binutils)
7061 maybe-clean-stage1-binutils: clean-stage1-binutils
7062 clean-stage1: clean-stage1-binutils
7063 clean-stage1-binutils:
7064 @if [ $(current_stage) = stage1 ]; then \
7065 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7066 else \
7067 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
7068 $(MAKE) stage1-start; \
7069 fi; \
7070 cd $(HOST_SUBDIR)/binutils && \
7071 $(MAKE) $(EXTRA_HOST_FLAGS) \
7072 clean
7073 @endif binutils-bootstrap
7076 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
7077 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
7078 maybe-all-stage2-binutils:
7079 maybe-clean-stage2-binutils:
7080 @if binutils-bootstrap
7081 maybe-all-stage2-binutils: all-stage2-binutils
7082 all-stage2: all-stage2-binutils
7083 TARGET-stage2-binutils = $(TARGET-binutils)
7084 all-stage2-binutils: configure-stage2-binutils
7085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7086 @r=`${PWD_COMMAND}`; export r; \
7087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7088 $(HOST_EXPORTS) \
7089 $(POSTSTAGE1_HOST_EXPORTS) \
7090 cd $(HOST_SUBDIR)/binutils && \
7091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7092 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
7093 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
7094 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
7095 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7096 $(TARGET-stage2-binutils)
7098 maybe-clean-stage2-binutils: clean-stage2-binutils
7099 clean-stage2: clean-stage2-binutils
7100 clean-stage2-binutils:
7101 @if [ $(current_stage) = stage2 ]; then \
7102 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7103 else \
7104 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
7105 $(MAKE) stage2-start; \
7106 fi; \
7107 cd $(HOST_SUBDIR)/binutils && \
7108 $(MAKE) $(EXTRA_HOST_FLAGS) \
7109 $(POSTSTAGE1_FLAGS_TO_PASS) \
7110 clean
7111 @endif binutils-bootstrap
7114 .PHONY: all-stageb2g0-binutils maybe-all-stageb2g0-binutils
7115 .PHONY: clean-stageb2g0-binutils maybe-clean-stageb2g0-binutils
7116 maybe-all-stageb2g0-binutils:
7117 maybe-clean-stageb2g0-binutils:
7118 @if binutils-bootstrap
7119 maybe-all-stageb2g0-binutils: all-stageb2g0-binutils
7120 all-stageb2g0: all-stageb2g0-binutils
7121 TARGET-stageb2g0-binutils = $(TARGET-binutils)
7122 all-stageb2g0-binutils: configure-stageb2g0-binutils
7123 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
7124 @r=`${PWD_COMMAND}`; export r; \
7125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 $(HOST_EXPORTS) \
7127 $(POSTSTAGE1_HOST_EXPORTS) \
7128 cd $(HOST_SUBDIR)/binutils && \
7129 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7130 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
7131 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
7132 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
7133 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7134 $(TARGET-stageb2g0-binutils)
7136 maybe-clean-stageb2g0-binutils: clean-stageb2g0-binutils
7137 clean-stageb2g0: clean-stageb2g0-binutils
7138 clean-stageb2g0-binutils:
7139 @if [ $(current_stage) = stageb2g0 ]; then \
7140 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7141 else \
7142 [ -f $(HOST_SUBDIR)/stageb2g0-binutils/Makefile ] || exit 0; \
7143 $(MAKE) stageb2g0-start; \
7144 fi; \
7145 cd $(HOST_SUBDIR)/binutils && \
7146 $(MAKE) $(EXTRA_HOST_FLAGS) \
7147 $(POSTSTAGE1_FLAGS_TO_PASS) \
7148 clean
7149 @endif binutils-bootstrap
7152 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
7153 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
7154 maybe-all-stage3-binutils:
7155 maybe-clean-stage3-binutils:
7156 @if binutils-bootstrap
7157 maybe-all-stage3-binutils: all-stage3-binutils
7158 all-stage3: all-stage3-binutils
7159 TARGET-stage3-binutils = $(TARGET-binutils)
7160 all-stage3-binutils: configure-stage3-binutils
7161 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7162 @r=`${PWD_COMMAND}`; export r; \
7163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7164 $(HOST_EXPORTS) \
7165 $(POSTSTAGE1_HOST_EXPORTS) \
7166 cd $(HOST_SUBDIR)/binutils && \
7167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7168 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
7169 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
7170 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
7171 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7172 $(TARGET-stage3-binutils)
7174 maybe-clean-stage3-binutils: clean-stage3-binutils
7175 clean-stage3: clean-stage3-binutils
7176 clean-stage3-binutils:
7177 @if [ $(current_stage) = stage3 ]; then \
7178 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7179 else \
7180 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
7181 $(MAKE) stage3-start; \
7182 fi; \
7183 cd $(HOST_SUBDIR)/binutils && \
7184 $(MAKE) $(EXTRA_HOST_FLAGS) \
7185 $(POSTSTAGE1_FLAGS_TO_PASS) \
7186 clean
7187 @endif binutils-bootstrap
7190 .PHONY: all-stageb3g2-binutils maybe-all-stageb3g2-binutils
7191 .PHONY: clean-stageb3g2-binutils maybe-clean-stageb3g2-binutils
7192 maybe-all-stageb3g2-binutils:
7193 maybe-clean-stageb3g2-binutils:
7194 @if binutils-bootstrap
7195 maybe-all-stageb3g2-binutils: all-stageb3g2-binutils
7196 all-stageb3g2: all-stageb3g2-binutils
7197 TARGET-stageb3g2-binutils = $(TARGET-binutils)
7198 all-stageb3g2-binutils: configure-stageb3g2-binutils
7199 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
7200 @r=`${PWD_COMMAND}`; export r; \
7201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7202 $(HOST_EXPORTS) \
7203 $(POSTSTAGE1_HOST_EXPORTS) \
7204 cd $(HOST_SUBDIR)/binutils && \
7205 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7206 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
7207 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
7208 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
7209 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7210 $(TARGET-stageb3g2-binutils)
7212 maybe-clean-stageb3g2-binutils: clean-stageb3g2-binutils
7213 clean-stageb3g2: clean-stageb3g2-binutils
7214 clean-stageb3g2-binutils:
7215 @if [ $(current_stage) = stageb3g2 ]; then \
7216 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7217 else \
7218 [ -f $(HOST_SUBDIR)/stageb3g2-binutils/Makefile ] || exit 0; \
7219 $(MAKE) stageb3g2-start; \
7220 fi; \
7221 cd $(HOST_SUBDIR)/binutils && \
7222 $(MAKE) $(EXTRA_HOST_FLAGS) \
7223 $(POSTSTAGE1_FLAGS_TO_PASS) \
7224 clean
7225 @endif binutils-bootstrap
7228 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
7229 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
7230 maybe-all-stage4-binutils:
7231 maybe-clean-stage4-binutils:
7232 @if binutils-bootstrap
7233 maybe-all-stage4-binutils: all-stage4-binutils
7234 all-stage4: all-stage4-binutils
7235 TARGET-stage4-binutils = $(TARGET-binutils)
7236 all-stage4-binutils: configure-stage4-binutils
7237 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7238 @r=`${PWD_COMMAND}`; export r; \
7239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7240 $(HOST_EXPORTS) \
7241 $(POSTSTAGE1_HOST_EXPORTS) \
7242 cd $(HOST_SUBDIR)/binutils && \
7243 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7244 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
7245 LIBCFLAGS="$(STAGE4_CFLAGS)" \
7246 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
7247 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7248 $(TARGET-stage4-binutils)
7250 maybe-clean-stage4-binutils: clean-stage4-binutils
7251 clean-stage4: clean-stage4-binutils
7252 clean-stage4-binutils:
7253 @if [ $(current_stage) = stage4 ]; then \
7254 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7255 else \
7256 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
7257 $(MAKE) stage4-start; \
7258 fi; \
7259 cd $(HOST_SUBDIR)/binutils && \
7260 $(MAKE) $(EXTRA_HOST_FLAGS) \
7261 $(POSTSTAGE1_FLAGS_TO_PASS) \
7262 clean
7263 @endif binutils-bootstrap
7266 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
7267 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
7268 maybe-all-stageprofile-binutils:
7269 maybe-clean-stageprofile-binutils:
7270 @if binutils-bootstrap
7271 maybe-all-stageprofile-binutils: all-stageprofile-binutils
7272 all-stageprofile: all-stageprofile-binutils
7273 TARGET-stageprofile-binutils = $(TARGET-binutils)
7274 all-stageprofile-binutils: configure-stageprofile-binutils
7275 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7276 @r=`${PWD_COMMAND}`; export r; \
7277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7278 $(HOST_EXPORTS) \
7279 $(POSTSTAGE1_HOST_EXPORTS) \
7280 cd $(HOST_SUBDIR)/binutils && \
7281 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7282 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
7283 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
7284 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
7285 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7286 $(TARGET-stageprofile-binutils)
7288 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
7289 clean-stageprofile: clean-stageprofile-binutils
7290 clean-stageprofile-binutils:
7291 @if [ $(current_stage) = stageprofile ]; then \
7292 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7293 else \
7294 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
7295 $(MAKE) stageprofile-start; \
7296 fi; \
7297 cd $(HOST_SUBDIR)/binutils && \
7298 $(MAKE) $(EXTRA_HOST_FLAGS) \
7299 $(POSTSTAGE1_FLAGS_TO_PASS) \
7300 clean
7301 @endif binutils-bootstrap
7304 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
7305 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
7306 maybe-all-stagefeedback-binutils:
7307 maybe-clean-stagefeedback-binutils:
7308 @if binutils-bootstrap
7309 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
7310 all-stagefeedback: all-stagefeedback-binutils
7311 TARGET-stagefeedback-binutils = $(TARGET-binutils)
7312 all-stagefeedback-binutils: configure-stagefeedback-binutils
7313 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
7314 @r=`${PWD_COMMAND}`; export r; \
7315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7316 $(HOST_EXPORTS) \
7317 $(POSTSTAGE1_HOST_EXPORTS) \
7318 cd $(HOST_SUBDIR)/binutils && \
7319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
7320 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
7321 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
7322 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
7323 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
7324 $(TARGET-stagefeedback-binutils)
7326 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
7327 clean-stagefeedback: clean-stagefeedback-binutils
7328 clean-stagefeedback-binutils:
7329 @if [ $(current_stage) = stagefeedback ]; then \
7330 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
7331 else \
7332 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
7333 $(MAKE) stagefeedback-start; \
7334 fi; \
7335 cd $(HOST_SUBDIR)/binutils && \
7336 $(MAKE) $(EXTRA_HOST_FLAGS) \
7337 $(POSTSTAGE1_FLAGS_TO_PASS) \
7338 clean
7339 @endif binutils-bootstrap
7345 .PHONY: check-binutils maybe-check-binutils
7346 maybe-check-binutils:
7347 @if binutils
7348 maybe-check-binutils: check-binutils
7350 check-binutils:
7351 @: $(MAKE); $(unstage)
7352 @r=`${PWD_COMMAND}`; export r; \
7353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7354 $(HOST_EXPORTS) \
7355 (cd $(HOST_SUBDIR)/binutils && \
7356 $(MAKE) $(FLAGS_TO_PASS) check)
7358 @endif binutils
7360 .PHONY: install-binutils maybe-install-binutils
7361 maybe-install-binutils:
7362 @if binutils
7363 maybe-install-binutils: install-binutils
7365 install-binutils: installdirs
7366 @: $(MAKE); $(unstage)
7367 @r=`${PWD_COMMAND}`; export r; \
7368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7369 $(HOST_EXPORTS) \
7370 (cd $(HOST_SUBDIR)/binutils && \
7371 $(MAKE) $(FLAGS_TO_PASS) install)
7373 @endif binutils
7375 # Other targets (info, dvi, pdf, etc.)
7377 .PHONY: maybe-info-binutils info-binutils
7378 maybe-info-binutils:
7379 @if binutils
7380 maybe-info-binutils: info-binutils
7382 info-binutils: \
7383 configure-binutils
7384 @[ -f ./binutils/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing info in binutils" ; \
7392 (cd $(HOST_SUBDIR)/binutils && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7397 info) \
7398 || exit 1
7400 @endif binutils
7402 .PHONY: maybe-dvi-binutils dvi-binutils
7403 maybe-dvi-binutils:
7404 @if binutils
7405 maybe-dvi-binutils: dvi-binutils
7407 dvi-binutils: \
7408 configure-binutils
7409 @[ -f ./binutils/Makefile ] || exit 0; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(HOST_EXPORTS) \
7413 for flag in $(EXTRA_HOST_FLAGS) ; do \
7414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7415 done; \
7416 echo "Doing dvi in binutils" ; \
7417 (cd $(HOST_SUBDIR)/binutils && \
7418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7420 "RANLIB=$${RANLIB}" \
7421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7422 dvi) \
7423 || exit 1
7425 @endif binutils
7427 .PHONY: maybe-pdf-binutils pdf-binutils
7428 maybe-pdf-binutils:
7429 @if binutils
7430 maybe-pdf-binutils: pdf-binutils
7432 pdf-binutils: \
7433 configure-binutils
7434 @[ -f ./binutils/Makefile ] || exit 0; \
7435 r=`${PWD_COMMAND}`; export r; \
7436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7437 $(HOST_EXPORTS) \
7438 for flag in $(EXTRA_HOST_FLAGS) ; do \
7439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7440 done; \
7441 echo "Doing pdf in binutils" ; \
7442 (cd $(HOST_SUBDIR)/binutils && \
7443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7445 "RANLIB=$${RANLIB}" \
7446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7447 pdf) \
7448 || exit 1
7450 @endif binutils
7452 .PHONY: maybe-html-binutils html-binutils
7453 maybe-html-binutils:
7454 @if binutils
7455 maybe-html-binutils: html-binutils
7457 html-binutils: \
7458 configure-binutils
7459 @[ -f ./binutils/Makefile ] || exit 0; \
7460 r=`${PWD_COMMAND}`; export r; \
7461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7462 $(HOST_EXPORTS) \
7463 for flag in $(EXTRA_HOST_FLAGS) ; do \
7464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7465 done; \
7466 echo "Doing html in binutils" ; \
7467 (cd $(HOST_SUBDIR)/binutils && \
7468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7470 "RANLIB=$${RANLIB}" \
7471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7472 html) \
7473 || exit 1
7475 @endif binutils
7477 .PHONY: maybe-TAGS-binutils TAGS-binutils
7478 maybe-TAGS-binutils:
7479 @if binutils
7480 maybe-TAGS-binutils: TAGS-binutils
7482 TAGS-binutils: \
7483 configure-binutils
7484 @[ -f ./binutils/Makefile ] || exit 0; \
7485 r=`${PWD_COMMAND}`; export r; \
7486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7487 $(HOST_EXPORTS) \
7488 for flag in $(EXTRA_HOST_FLAGS) ; do \
7489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7490 done; \
7491 echo "Doing TAGS in binutils" ; \
7492 (cd $(HOST_SUBDIR)/binutils && \
7493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7495 "RANLIB=$${RANLIB}" \
7496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7497 TAGS) \
7498 || exit 1
7500 @endif binutils
7502 .PHONY: maybe-install-info-binutils install-info-binutils
7503 maybe-install-info-binutils:
7504 @if binutils
7505 maybe-install-info-binutils: install-info-binutils
7507 install-info-binutils: \
7508 configure-binutils \
7509 info-binutils
7510 @[ -f ./binutils/Makefile ] || exit 0; \
7511 r=`${PWD_COMMAND}`; export r; \
7512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7513 $(HOST_EXPORTS) \
7514 for flag in $(EXTRA_HOST_FLAGS) ; do \
7515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7516 done; \
7517 echo "Doing install-info in binutils" ; \
7518 (cd $(HOST_SUBDIR)/binutils && \
7519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7521 "RANLIB=$${RANLIB}" \
7522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7523 install-info) \
7524 || exit 1
7526 @endif binutils
7528 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
7529 maybe-install-pdf-binutils:
7530 @if binutils
7531 maybe-install-pdf-binutils: install-pdf-binutils
7533 install-pdf-binutils: \
7534 configure-binutils \
7535 pdf-binutils
7536 @[ -f ./binutils/Makefile ] || exit 0; \
7537 r=`${PWD_COMMAND}`; export r; \
7538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7539 $(HOST_EXPORTS) \
7540 for flag in $(EXTRA_HOST_FLAGS) ; do \
7541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 done; \
7543 echo "Doing install-pdf in binutils" ; \
7544 (cd $(HOST_SUBDIR)/binutils && \
7545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7547 "RANLIB=$${RANLIB}" \
7548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7549 install-pdf) \
7550 || exit 1
7552 @endif binutils
7554 .PHONY: maybe-install-html-binutils install-html-binutils
7555 maybe-install-html-binutils:
7556 @if binutils
7557 maybe-install-html-binutils: install-html-binutils
7559 install-html-binutils: \
7560 configure-binutils \
7561 html-binutils
7562 @[ -f ./binutils/Makefile ] || exit 0; \
7563 r=`${PWD_COMMAND}`; export r; \
7564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7565 $(HOST_EXPORTS) \
7566 for flag in $(EXTRA_HOST_FLAGS) ; do \
7567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7568 done; \
7569 echo "Doing install-html in binutils" ; \
7570 (cd $(HOST_SUBDIR)/binutils && \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7573 "RANLIB=$${RANLIB}" \
7574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7575 install-html) \
7576 || exit 1
7578 @endif binutils
7580 .PHONY: maybe-installcheck-binutils installcheck-binutils
7581 maybe-installcheck-binutils:
7582 @if binutils
7583 maybe-installcheck-binutils: installcheck-binutils
7585 installcheck-binutils: \
7586 configure-binutils
7587 @[ -f ./binutils/Makefile ] || exit 0; \
7588 r=`${PWD_COMMAND}`; export r; \
7589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7590 $(HOST_EXPORTS) \
7591 for flag in $(EXTRA_HOST_FLAGS) ; do \
7592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7593 done; \
7594 echo "Doing installcheck in binutils" ; \
7595 (cd $(HOST_SUBDIR)/binutils && \
7596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7598 "RANLIB=$${RANLIB}" \
7599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7600 installcheck) \
7601 || exit 1
7603 @endif binutils
7605 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7606 maybe-mostlyclean-binutils:
7607 @if binutils
7608 maybe-mostlyclean-binutils: mostlyclean-binutils
7610 mostlyclean-binutils:
7611 @[ -f ./binutils/Makefile ] || exit 0; \
7612 r=`${PWD_COMMAND}`; export r; \
7613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7614 $(HOST_EXPORTS) \
7615 for flag in $(EXTRA_HOST_FLAGS) ; do \
7616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7617 done; \
7618 echo "Doing mostlyclean in binutils" ; \
7619 (cd $(HOST_SUBDIR)/binutils && \
7620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7622 "RANLIB=$${RANLIB}" \
7623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7624 mostlyclean) \
7625 || exit 1
7627 @endif binutils
7629 .PHONY: maybe-clean-binutils clean-binutils
7630 maybe-clean-binutils:
7631 @if binutils
7632 maybe-clean-binutils: clean-binutils
7634 clean-binutils:
7635 @[ -f ./binutils/Makefile ] || exit 0; \
7636 r=`${PWD_COMMAND}`; export r; \
7637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7638 $(HOST_EXPORTS) \
7639 for flag in $(EXTRA_HOST_FLAGS) ; do \
7640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7641 done; \
7642 echo "Doing clean in binutils" ; \
7643 (cd $(HOST_SUBDIR)/binutils && \
7644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7646 "RANLIB=$${RANLIB}" \
7647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7648 clean) \
7649 || exit 1
7651 @endif binutils
7653 .PHONY: maybe-distclean-binutils distclean-binutils
7654 maybe-distclean-binutils:
7655 @if binutils
7656 maybe-distclean-binutils: distclean-binutils
7658 distclean-binutils:
7659 @[ -f ./binutils/Makefile ] || exit 0; \
7660 r=`${PWD_COMMAND}`; export r; \
7661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7662 $(HOST_EXPORTS) \
7663 for flag in $(EXTRA_HOST_FLAGS) ; do \
7664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7665 done; \
7666 echo "Doing distclean in binutils" ; \
7667 (cd $(HOST_SUBDIR)/binutils && \
7668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7670 "RANLIB=$${RANLIB}" \
7671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7672 distclean) \
7673 || exit 1
7675 @endif binutils
7677 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
7678 maybe-maintainer-clean-binutils:
7679 @if binutils
7680 maybe-maintainer-clean-binutils: maintainer-clean-binutils
7682 maintainer-clean-binutils:
7683 @[ -f ./binutils/Makefile ] || exit 0; \
7684 r=`${PWD_COMMAND}`; export r; \
7685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7686 $(HOST_EXPORTS) \
7687 for flag in $(EXTRA_HOST_FLAGS) ; do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 done; \
7690 echo "Doing maintainer-clean in binutils" ; \
7691 (cd $(HOST_SUBDIR)/binutils && \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7696 maintainer-clean) \
7697 || exit 1
7699 @endif binutils
7703 .PHONY: configure-bison maybe-configure-bison
7704 maybe-configure-bison:
7705 @if gcc-bootstrap
7706 configure-bison: stage_current
7707 @endif gcc-bootstrap
7708 @if bison
7709 maybe-configure-bison: configure-bison
7710 configure-bison:
7711 @: $(MAKE); $(unstage)
7712 @r=`${PWD_COMMAND}`; export r; \
7713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7714 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
7715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
7716 $(HOST_EXPORTS) \
7717 echo Configuring in $(HOST_SUBDIR)/bison; \
7718 cd "$(HOST_SUBDIR)/bison" || exit 1; \
7719 case $(srcdir) in \
7720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7721 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
7722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7723 esac; \
7724 srcdiroption="--srcdir=$${topdir}/bison"; \
7725 libsrcdir="$$s/bison"; \
7726 $(SHELL) $${libsrcdir}/configure \
7727 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7728 --target=${target_alias} $${srcdiroption} \
7729 || exit 1
7730 @endif bison
7736 .PHONY: all-bison maybe-all-bison
7737 maybe-all-bison:
7738 @if gcc-bootstrap
7739 all-bison: stage_current
7740 @endif gcc-bootstrap
7741 @if bison
7742 TARGET-bison=all
7743 maybe-all-bison: all-bison
7744 all-bison: configure-bison
7745 @: $(MAKE); $(unstage)
7746 @r=`${PWD_COMMAND}`; export r; \
7747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7748 $(HOST_EXPORTS) \
7749 (cd $(HOST_SUBDIR)/bison && \
7750 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
7751 $(TARGET-bison))
7752 @endif bison
7757 .PHONY: check-bison maybe-check-bison
7758 maybe-check-bison:
7759 @if bison
7760 maybe-check-bison: check-bison
7762 # This module is only tested in a native toolchain.
7763 check-bison:
7764 @: $(MAKE); $(unstage)
7765 @if [ '$(host)' = '$(target)' ] ; then \
7766 r=`${PWD_COMMAND}`; export r; \
7767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7768 $(HOST_EXPORTS) \
7769 (cd $(HOST_SUBDIR)/bison && \
7770 $(MAKE) $(FLAGS_TO_PASS) check); \
7773 @endif bison
7775 .PHONY: install-bison maybe-install-bison
7776 maybe-install-bison:
7777 @if bison
7778 maybe-install-bison: install-bison
7780 install-bison: installdirs
7781 @: $(MAKE); $(unstage)
7782 @r=`${PWD_COMMAND}`; export r; \
7783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7784 $(HOST_EXPORTS) \
7785 (cd $(HOST_SUBDIR)/bison && \
7786 $(MAKE) $(FLAGS_TO_PASS) install)
7788 @endif bison
7790 # Other targets (info, dvi, pdf, etc.)
7792 .PHONY: maybe-info-bison info-bison
7793 maybe-info-bison:
7794 @if bison
7795 maybe-info-bison: info-bison
7797 info-bison: \
7798 configure-bison
7799 @: $(MAKE); $(unstage)
7800 @[ -f ./bison/Makefile ] || exit 0; \
7801 r=`${PWD_COMMAND}`; export r; \
7802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7803 $(HOST_EXPORTS) \
7804 for flag in $(EXTRA_HOST_FLAGS) ; do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 done; \
7807 echo "Doing info in bison" ; \
7808 (cd $(HOST_SUBDIR)/bison && \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7813 info) \
7814 || exit 1
7816 @endif bison
7818 .PHONY: maybe-dvi-bison dvi-bison
7819 maybe-dvi-bison:
7820 @if bison
7821 maybe-dvi-bison: dvi-bison
7823 dvi-bison: \
7824 configure-bison
7825 @: $(MAKE); $(unstage)
7826 @[ -f ./bison/Makefile ] || exit 0; \
7827 r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 $(HOST_EXPORTS) \
7830 for flag in $(EXTRA_HOST_FLAGS) ; do \
7831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7832 done; \
7833 echo "Doing dvi in bison" ; \
7834 (cd $(HOST_SUBDIR)/bison && \
7835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7837 "RANLIB=$${RANLIB}" \
7838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7839 dvi) \
7840 || exit 1
7842 @endif bison
7844 .PHONY: maybe-pdf-bison pdf-bison
7845 maybe-pdf-bison:
7846 @if bison
7847 maybe-pdf-bison: pdf-bison
7849 pdf-bison: \
7850 configure-bison
7851 @: $(MAKE); $(unstage)
7852 @[ -f ./bison/Makefile ] || exit 0; \
7853 r=`${PWD_COMMAND}`; export r; \
7854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7855 $(HOST_EXPORTS) \
7856 for flag in $(EXTRA_HOST_FLAGS) ; do \
7857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7858 done; \
7859 echo "Doing pdf in bison" ; \
7860 (cd $(HOST_SUBDIR)/bison && \
7861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7863 "RANLIB=$${RANLIB}" \
7864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7865 pdf) \
7866 || exit 1
7868 @endif bison
7870 .PHONY: maybe-html-bison html-bison
7871 maybe-html-bison:
7872 @if bison
7873 maybe-html-bison: html-bison
7875 html-bison: \
7876 configure-bison
7877 @: $(MAKE); $(unstage)
7878 @[ -f ./bison/Makefile ] || exit 0; \
7879 r=`${PWD_COMMAND}`; export r; \
7880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7881 $(HOST_EXPORTS) \
7882 for flag in $(EXTRA_HOST_FLAGS) ; do \
7883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7884 done; \
7885 echo "Doing html in bison" ; \
7886 (cd $(HOST_SUBDIR)/bison && \
7887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7889 "RANLIB=$${RANLIB}" \
7890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7891 html) \
7892 || exit 1
7894 @endif bison
7896 .PHONY: maybe-TAGS-bison TAGS-bison
7897 maybe-TAGS-bison:
7898 @if bison
7899 maybe-TAGS-bison: TAGS-bison
7901 TAGS-bison: \
7902 configure-bison
7903 @: $(MAKE); $(unstage)
7904 @[ -f ./bison/Makefile ] || exit 0; \
7905 r=`${PWD_COMMAND}`; export r; \
7906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7907 $(HOST_EXPORTS) \
7908 for flag in $(EXTRA_HOST_FLAGS) ; do \
7909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7910 done; \
7911 echo "Doing TAGS in bison" ; \
7912 (cd $(HOST_SUBDIR)/bison && \
7913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7915 "RANLIB=$${RANLIB}" \
7916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7917 TAGS) \
7918 || exit 1
7920 @endif bison
7922 .PHONY: maybe-install-info-bison install-info-bison
7923 maybe-install-info-bison:
7924 @if bison
7925 maybe-install-info-bison: install-info-bison
7927 install-info-bison: \
7928 configure-bison \
7929 info-bison
7930 @: $(MAKE); $(unstage)
7931 @[ -f ./bison/Makefile ] || exit 0; \
7932 r=`${PWD_COMMAND}`; export r; \
7933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7934 $(HOST_EXPORTS) \
7935 for flag in $(EXTRA_HOST_FLAGS) ; do \
7936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7937 done; \
7938 echo "Doing install-info in bison" ; \
7939 (cd $(HOST_SUBDIR)/bison && \
7940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7942 "RANLIB=$${RANLIB}" \
7943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7944 install-info) \
7945 || exit 1
7947 @endif bison
7949 .PHONY: maybe-install-pdf-bison install-pdf-bison
7950 maybe-install-pdf-bison:
7951 @if bison
7952 maybe-install-pdf-bison: install-pdf-bison
7954 install-pdf-bison: \
7955 configure-bison \
7956 pdf-bison
7957 @: $(MAKE); $(unstage)
7958 @[ -f ./bison/Makefile ] || exit 0; \
7959 r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(HOST_EXPORTS) \
7962 for flag in $(EXTRA_HOST_FLAGS) ; do \
7963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7964 done; \
7965 echo "Doing install-pdf in bison" ; \
7966 (cd $(HOST_SUBDIR)/bison && \
7967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7969 "RANLIB=$${RANLIB}" \
7970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7971 install-pdf) \
7972 || exit 1
7974 @endif bison
7976 .PHONY: maybe-install-html-bison install-html-bison
7977 maybe-install-html-bison:
7978 @if bison
7979 maybe-install-html-bison: install-html-bison
7981 install-html-bison: \
7982 configure-bison \
7983 html-bison
7984 @: $(MAKE); $(unstage)
7985 @[ -f ./bison/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing install-html in bison" ; \
7993 (cd $(HOST_SUBDIR)/bison && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7998 install-html) \
7999 || exit 1
8001 @endif bison
8003 .PHONY: maybe-installcheck-bison installcheck-bison
8004 maybe-installcheck-bison:
8005 @if bison
8006 maybe-installcheck-bison: installcheck-bison
8008 installcheck-bison: \
8009 configure-bison
8010 @: $(MAKE); $(unstage)
8011 @[ -f ./bison/Makefile ] || exit 0; \
8012 r=`${PWD_COMMAND}`; export r; \
8013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8014 $(HOST_EXPORTS) \
8015 for flag in $(EXTRA_HOST_FLAGS) ; do \
8016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 done; \
8018 echo "Doing installcheck in bison" ; \
8019 (cd $(HOST_SUBDIR)/bison && \
8020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8022 "RANLIB=$${RANLIB}" \
8023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8024 installcheck) \
8025 || exit 1
8027 @endif bison
8029 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
8030 maybe-mostlyclean-bison:
8031 @if bison
8032 maybe-mostlyclean-bison: mostlyclean-bison
8034 mostlyclean-bison:
8035 @: $(MAKE); $(unstage)
8036 @[ -f ./bison/Makefile ] || exit 0; \
8037 r=`${PWD_COMMAND}`; export r; \
8038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8039 $(HOST_EXPORTS) \
8040 for flag in $(EXTRA_HOST_FLAGS) ; do \
8041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8042 done; \
8043 echo "Doing mostlyclean in bison" ; \
8044 (cd $(HOST_SUBDIR)/bison && \
8045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8047 "RANLIB=$${RANLIB}" \
8048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8049 mostlyclean) \
8050 || exit 1
8052 @endif bison
8054 .PHONY: maybe-clean-bison clean-bison
8055 maybe-clean-bison:
8056 @if bison
8057 maybe-clean-bison: clean-bison
8059 clean-bison:
8060 @: $(MAKE); $(unstage)
8061 @[ -f ./bison/Makefile ] || exit 0; \
8062 r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064 $(HOST_EXPORTS) \
8065 for flag in $(EXTRA_HOST_FLAGS) ; do \
8066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8067 done; \
8068 echo "Doing clean in bison" ; \
8069 (cd $(HOST_SUBDIR)/bison && \
8070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8072 "RANLIB=$${RANLIB}" \
8073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8074 clean) \
8075 || exit 1
8077 @endif bison
8079 .PHONY: maybe-distclean-bison distclean-bison
8080 maybe-distclean-bison:
8081 @if bison
8082 maybe-distclean-bison: distclean-bison
8084 distclean-bison:
8085 @: $(MAKE); $(unstage)
8086 @[ -f ./bison/Makefile ] || exit 0; \
8087 r=`${PWD_COMMAND}`; export r; \
8088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089 $(HOST_EXPORTS) \
8090 for flag in $(EXTRA_HOST_FLAGS) ; do \
8091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8092 done; \
8093 echo "Doing distclean in bison" ; \
8094 (cd $(HOST_SUBDIR)/bison && \
8095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8097 "RANLIB=$${RANLIB}" \
8098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8099 distclean) \
8100 || exit 1
8102 @endif bison
8104 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
8105 maybe-maintainer-clean-bison:
8106 @if bison
8107 maybe-maintainer-clean-bison: maintainer-clean-bison
8109 maintainer-clean-bison:
8110 @: $(MAKE); $(unstage)
8111 @[ -f ./bison/Makefile ] || exit 0; \
8112 r=`${PWD_COMMAND}`; export r; \
8113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8114 $(HOST_EXPORTS) \
8115 for flag in $(EXTRA_HOST_FLAGS) ; do \
8116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8117 done; \
8118 echo "Doing maintainer-clean in bison" ; \
8119 (cd $(HOST_SUBDIR)/bison && \
8120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8122 "RANLIB=$${RANLIB}" \
8123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8124 maintainer-clean) \
8125 || exit 1
8127 @endif bison
8131 .PHONY: configure-byacc maybe-configure-byacc
8132 maybe-configure-byacc:
8133 @if gcc-bootstrap
8134 configure-byacc: stage_current
8135 @endif gcc-bootstrap
8136 @if byacc
8137 maybe-configure-byacc: configure-byacc
8138 configure-byacc:
8139 @: $(MAKE); $(unstage)
8140 @r=`${PWD_COMMAND}`; export r; \
8141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8142 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
8143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
8144 $(HOST_EXPORTS) \
8145 echo Configuring in $(HOST_SUBDIR)/byacc; \
8146 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
8147 case $(srcdir) in \
8148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8149 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
8150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8151 esac; \
8152 srcdiroption="--srcdir=$${topdir}/byacc"; \
8153 libsrcdir="$$s/byacc"; \
8154 $(SHELL) $${libsrcdir}/configure \
8155 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8156 --target=${target_alias} $${srcdiroption} \
8157 || exit 1
8158 @endif byacc
8164 .PHONY: all-byacc maybe-all-byacc
8165 maybe-all-byacc:
8166 @if gcc-bootstrap
8167 all-byacc: stage_current
8168 @endif gcc-bootstrap
8169 @if byacc
8170 TARGET-byacc=all
8171 maybe-all-byacc: all-byacc
8172 all-byacc: configure-byacc
8173 @: $(MAKE); $(unstage)
8174 @r=`${PWD_COMMAND}`; export r; \
8175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8176 $(HOST_EXPORTS) \
8177 (cd $(HOST_SUBDIR)/byacc && \
8178 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8179 $(TARGET-byacc))
8180 @endif byacc
8185 .PHONY: check-byacc maybe-check-byacc
8186 maybe-check-byacc:
8187 @if byacc
8188 maybe-check-byacc: check-byacc
8190 # This module is only tested in a native toolchain.
8191 check-byacc:
8192 @: $(MAKE); $(unstage)
8193 @if [ '$(host)' = '$(target)' ] ; then \
8194 r=`${PWD_COMMAND}`; export r; \
8195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 $(HOST_EXPORTS) \
8197 (cd $(HOST_SUBDIR)/byacc && \
8198 $(MAKE) $(FLAGS_TO_PASS) check); \
8201 @endif byacc
8203 .PHONY: install-byacc maybe-install-byacc
8204 maybe-install-byacc:
8205 @if byacc
8206 maybe-install-byacc: install-byacc
8208 install-byacc: installdirs
8209 @: $(MAKE); $(unstage)
8210 @r=`${PWD_COMMAND}`; export r; \
8211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8212 $(HOST_EXPORTS) \
8213 (cd $(HOST_SUBDIR)/byacc && \
8214 $(MAKE) $(FLAGS_TO_PASS) install)
8216 @endif byacc
8218 # Other targets (info, dvi, pdf, etc.)
8220 .PHONY: maybe-info-byacc info-byacc
8221 maybe-info-byacc:
8222 @if byacc
8223 maybe-info-byacc: info-byacc
8225 info-byacc: \
8226 configure-byacc
8227 @: $(MAKE); $(unstage)
8228 @[ -f ./byacc/Makefile ] || exit 0; \
8229 r=`${PWD_COMMAND}`; export r; \
8230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8231 $(HOST_EXPORTS) \
8232 for flag in $(EXTRA_HOST_FLAGS) ; do \
8233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8234 done; \
8235 echo "Doing info in byacc" ; \
8236 (cd $(HOST_SUBDIR)/byacc && \
8237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8239 "RANLIB=$${RANLIB}" \
8240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8241 info) \
8242 || exit 1
8244 @endif byacc
8246 .PHONY: maybe-dvi-byacc dvi-byacc
8247 maybe-dvi-byacc:
8248 @if byacc
8249 maybe-dvi-byacc: dvi-byacc
8251 dvi-byacc: \
8252 configure-byacc
8253 @: $(MAKE); $(unstage)
8254 @[ -f ./byacc/Makefile ] || exit 0; \
8255 r=`${PWD_COMMAND}`; export r; \
8256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8257 $(HOST_EXPORTS) \
8258 for flag in $(EXTRA_HOST_FLAGS) ; do \
8259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8260 done; \
8261 echo "Doing dvi in byacc" ; \
8262 (cd $(HOST_SUBDIR)/byacc && \
8263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8265 "RANLIB=$${RANLIB}" \
8266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8267 dvi) \
8268 || exit 1
8270 @endif byacc
8272 .PHONY: maybe-pdf-byacc pdf-byacc
8273 maybe-pdf-byacc:
8274 @if byacc
8275 maybe-pdf-byacc: pdf-byacc
8277 pdf-byacc: \
8278 configure-byacc
8279 @: $(MAKE); $(unstage)
8280 @[ -f ./byacc/Makefile ] || exit 0; \
8281 r=`${PWD_COMMAND}`; export r; \
8282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 $(HOST_EXPORTS) \
8284 for flag in $(EXTRA_HOST_FLAGS) ; do \
8285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8286 done; \
8287 echo "Doing pdf in byacc" ; \
8288 (cd $(HOST_SUBDIR)/byacc && \
8289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8291 "RANLIB=$${RANLIB}" \
8292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8293 pdf) \
8294 || exit 1
8296 @endif byacc
8298 .PHONY: maybe-html-byacc html-byacc
8299 maybe-html-byacc:
8300 @if byacc
8301 maybe-html-byacc: html-byacc
8303 html-byacc: \
8304 configure-byacc
8305 @: $(MAKE); $(unstage)
8306 @[ -f ./byacc/Makefile ] || exit 0; \
8307 r=`${PWD_COMMAND}`; export r; \
8308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8309 $(HOST_EXPORTS) \
8310 for flag in $(EXTRA_HOST_FLAGS) ; do \
8311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8312 done; \
8313 echo "Doing html in byacc" ; \
8314 (cd $(HOST_SUBDIR)/byacc && \
8315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8317 "RANLIB=$${RANLIB}" \
8318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8319 html) \
8320 || exit 1
8322 @endif byacc
8324 .PHONY: maybe-TAGS-byacc TAGS-byacc
8325 maybe-TAGS-byacc:
8326 @if byacc
8327 maybe-TAGS-byacc: TAGS-byacc
8329 TAGS-byacc: \
8330 configure-byacc
8331 @: $(MAKE); $(unstage)
8332 @[ -f ./byacc/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8335 $(HOST_EXPORTS) \
8336 for flag in $(EXTRA_HOST_FLAGS) ; do \
8337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8338 done; \
8339 echo "Doing TAGS in byacc" ; \
8340 (cd $(HOST_SUBDIR)/byacc && \
8341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8343 "RANLIB=$${RANLIB}" \
8344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8345 TAGS) \
8346 || exit 1
8348 @endif byacc
8350 .PHONY: maybe-install-info-byacc install-info-byacc
8351 maybe-install-info-byacc:
8352 @if byacc
8353 maybe-install-info-byacc: install-info-byacc
8355 install-info-byacc: \
8356 configure-byacc \
8357 info-byacc
8358 @: $(MAKE); $(unstage)
8359 @[ -f ./byacc/Makefile ] || exit 0; \
8360 r=`${PWD_COMMAND}`; export r; \
8361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8362 $(HOST_EXPORTS) \
8363 for flag in $(EXTRA_HOST_FLAGS) ; do \
8364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8365 done; \
8366 echo "Doing install-info in byacc" ; \
8367 (cd $(HOST_SUBDIR)/byacc && \
8368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8370 "RANLIB=$${RANLIB}" \
8371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8372 install-info) \
8373 || exit 1
8375 @endif byacc
8377 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
8378 maybe-install-pdf-byacc:
8379 @if byacc
8380 maybe-install-pdf-byacc: install-pdf-byacc
8382 install-pdf-byacc: \
8383 configure-byacc \
8384 pdf-byacc
8385 @: $(MAKE); $(unstage)
8386 @[ -f ./byacc/Makefile ] || exit 0; \
8387 r=`${PWD_COMMAND}`; export r; \
8388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8389 $(HOST_EXPORTS) \
8390 for flag in $(EXTRA_HOST_FLAGS) ; do \
8391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392 done; \
8393 echo "Doing install-pdf in byacc" ; \
8394 (cd $(HOST_SUBDIR)/byacc && \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397 "RANLIB=$${RANLIB}" \
8398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8399 install-pdf) \
8400 || exit 1
8402 @endif byacc
8404 .PHONY: maybe-install-html-byacc install-html-byacc
8405 maybe-install-html-byacc:
8406 @if byacc
8407 maybe-install-html-byacc: install-html-byacc
8409 install-html-byacc: \
8410 configure-byacc \
8411 html-byacc
8412 @: $(MAKE); $(unstage)
8413 @[ -f ./byacc/Makefile ] || exit 0; \
8414 r=`${PWD_COMMAND}`; export r; \
8415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 $(HOST_EXPORTS) \
8417 for flag in $(EXTRA_HOST_FLAGS) ; do \
8418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8419 done; \
8420 echo "Doing install-html in byacc" ; \
8421 (cd $(HOST_SUBDIR)/byacc && \
8422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8424 "RANLIB=$${RANLIB}" \
8425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8426 install-html) \
8427 || exit 1
8429 @endif byacc
8431 .PHONY: maybe-installcheck-byacc installcheck-byacc
8432 maybe-installcheck-byacc:
8433 @if byacc
8434 maybe-installcheck-byacc: installcheck-byacc
8436 installcheck-byacc: \
8437 configure-byacc
8438 @: $(MAKE); $(unstage)
8439 @[ -f ./byacc/Makefile ] || exit 0; \
8440 r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 for flag in $(EXTRA_HOST_FLAGS) ; do \
8444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 done; \
8446 echo "Doing installcheck in byacc" ; \
8447 (cd $(HOST_SUBDIR)/byacc && \
8448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8450 "RANLIB=$${RANLIB}" \
8451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8452 installcheck) \
8453 || exit 1
8455 @endif byacc
8457 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
8458 maybe-mostlyclean-byacc:
8459 @if byacc
8460 maybe-mostlyclean-byacc: mostlyclean-byacc
8462 mostlyclean-byacc:
8463 @: $(MAKE); $(unstage)
8464 @[ -f ./byacc/Makefile ] || exit 0; \
8465 r=`${PWD_COMMAND}`; export r; \
8466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8467 $(HOST_EXPORTS) \
8468 for flag in $(EXTRA_HOST_FLAGS) ; do \
8469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8470 done; \
8471 echo "Doing mostlyclean in byacc" ; \
8472 (cd $(HOST_SUBDIR)/byacc && \
8473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8475 "RANLIB=$${RANLIB}" \
8476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8477 mostlyclean) \
8478 || exit 1
8480 @endif byacc
8482 .PHONY: maybe-clean-byacc clean-byacc
8483 maybe-clean-byacc:
8484 @if byacc
8485 maybe-clean-byacc: clean-byacc
8487 clean-byacc:
8488 @: $(MAKE); $(unstage)
8489 @[ -f ./byacc/Makefile ] || exit 0; \
8490 r=`${PWD_COMMAND}`; export r; \
8491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8492 $(HOST_EXPORTS) \
8493 for flag in $(EXTRA_HOST_FLAGS) ; do \
8494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8495 done; \
8496 echo "Doing clean in byacc" ; \
8497 (cd $(HOST_SUBDIR)/byacc && \
8498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8500 "RANLIB=$${RANLIB}" \
8501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8502 clean) \
8503 || exit 1
8505 @endif byacc
8507 .PHONY: maybe-distclean-byacc distclean-byacc
8508 maybe-distclean-byacc:
8509 @if byacc
8510 maybe-distclean-byacc: distclean-byacc
8512 distclean-byacc:
8513 @: $(MAKE); $(unstage)
8514 @[ -f ./byacc/Makefile ] || exit 0; \
8515 r=`${PWD_COMMAND}`; export r; \
8516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8517 $(HOST_EXPORTS) \
8518 for flag in $(EXTRA_HOST_FLAGS) ; do \
8519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8520 done; \
8521 echo "Doing distclean in byacc" ; \
8522 (cd $(HOST_SUBDIR)/byacc && \
8523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8525 "RANLIB=$${RANLIB}" \
8526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8527 distclean) \
8528 || exit 1
8530 @endif byacc
8532 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
8533 maybe-maintainer-clean-byacc:
8534 @if byacc
8535 maybe-maintainer-clean-byacc: maintainer-clean-byacc
8537 maintainer-clean-byacc:
8538 @: $(MAKE); $(unstage)
8539 @[ -f ./byacc/Makefile ] || exit 0; \
8540 r=`${PWD_COMMAND}`; export r; \
8541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8542 $(HOST_EXPORTS) \
8543 for flag in $(EXTRA_HOST_FLAGS) ; do \
8544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8545 done; \
8546 echo "Doing maintainer-clean in byacc" ; \
8547 (cd $(HOST_SUBDIR)/byacc && \
8548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8550 "RANLIB=$${RANLIB}" \
8551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8552 maintainer-clean) \
8553 || exit 1
8555 @endif byacc
8559 .PHONY: configure-bzip2 maybe-configure-bzip2
8560 maybe-configure-bzip2:
8561 @if gcc-bootstrap
8562 configure-bzip2: stage_current
8563 @endif gcc-bootstrap
8564 @if bzip2
8565 maybe-configure-bzip2: configure-bzip2
8566 configure-bzip2:
8567 @: $(MAKE); $(unstage)
8568 @r=`${PWD_COMMAND}`; export r; \
8569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8570 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
8571 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
8572 $(HOST_EXPORTS) \
8573 echo Configuring in $(HOST_SUBDIR)/bzip2; \
8574 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
8575 case $(srcdir) in \
8576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8577 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
8578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8579 esac; \
8580 srcdiroption="--srcdir=$${topdir}/bzip2"; \
8581 libsrcdir="$$s/bzip2"; \
8582 $(SHELL) $${libsrcdir}/configure \
8583 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8584 --target=${target_alias} $${srcdiroption} \
8585 || exit 1
8586 @endif bzip2
8592 .PHONY: all-bzip2 maybe-all-bzip2
8593 maybe-all-bzip2:
8594 @if gcc-bootstrap
8595 all-bzip2: stage_current
8596 @endif gcc-bootstrap
8597 @if bzip2
8598 TARGET-bzip2=all
8599 maybe-all-bzip2: all-bzip2
8600 all-bzip2: configure-bzip2
8601 @: $(MAKE); $(unstage)
8602 @r=`${PWD_COMMAND}`; export r; \
8603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8604 $(HOST_EXPORTS) \
8605 (cd $(HOST_SUBDIR)/bzip2 && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
8607 $(TARGET-bzip2))
8608 @endif bzip2
8613 .PHONY: check-bzip2 maybe-check-bzip2
8614 maybe-check-bzip2:
8615 @if bzip2
8616 maybe-check-bzip2: check-bzip2
8618 check-bzip2:
8619 @: $(MAKE); $(unstage)
8620 @r=`${PWD_COMMAND}`; export r; \
8621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8622 $(HOST_EXPORTS) \
8623 (cd $(HOST_SUBDIR)/bzip2 && \
8624 $(MAKE) $(FLAGS_TO_PASS) check)
8626 @endif bzip2
8628 .PHONY: install-bzip2 maybe-install-bzip2
8629 maybe-install-bzip2:
8630 @if bzip2
8631 maybe-install-bzip2: install-bzip2
8633 install-bzip2: installdirs
8634 @: $(MAKE); $(unstage)
8635 @r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8637 $(HOST_EXPORTS) \
8638 (cd $(HOST_SUBDIR)/bzip2 && \
8639 $(MAKE) $(FLAGS_TO_PASS) install)
8641 @endif bzip2
8643 # Other targets (info, dvi, pdf, etc.)
8645 .PHONY: maybe-info-bzip2 info-bzip2
8646 maybe-info-bzip2:
8647 @if bzip2
8648 maybe-info-bzip2: info-bzip2
8650 info-bzip2: \
8651 configure-bzip2
8652 @: $(MAKE); $(unstage)
8653 @[ -f ./bzip2/Makefile ] || exit 0; \
8654 r=`${PWD_COMMAND}`; export r; \
8655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8656 $(HOST_EXPORTS) \
8657 for flag in $(EXTRA_HOST_FLAGS) ; do \
8658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8659 done; \
8660 echo "Doing info in bzip2" ; \
8661 (cd $(HOST_SUBDIR)/bzip2 && \
8662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8664 "RANLIB=$${RANLIB}" \
8665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8666 info) \
8667 || exit 1
8669 @endif bzip2
8671 .PHONY: maybe-dvi-bzip2 dvi-bzip2
8672 maybe-dvi-bzip2:
8673 @if bzip2
8674 maybe-dvi-bzip2: dvi-bzip2
8676 dvi-bzip2: \
8677 configure-bzip2
8678 @: $(MAKE); $(unstage)
8679 @[ -f ./bzip2/Makefile ] || exit 0; \
8680 r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 $(HOST_EXPORTS) \
8683 for flag in $(EXTRA_HOST_FLAGS) ; do \
8684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8685 done; \
8686 echo "Doing dvi in bzip2" ; \
8687 (cd $(HOST_SUBDIR)/bzip2 && \
8688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8690 "RANLIB=$${RANLIB}" \
8691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8692 dvi) \
8693 || exit 1
8695 @endif bzip2
8697 .PHONY: maybe-pdf-bzip2 pdf-bzip2
8698 maybe-pdf-bzip2:
8699 @if bzip2
8700 maybe-pdf-bzip2: pdf-bzip2
8702 pdf-bzip2: \
8703 configure-bzip2
8704 @: $(MAKE); $(unstage)
8705 @[ -f ./bzip2/Makefile ] || exit 0; \
8706 r=`${PWD_COMMAND}`; export r; \
8707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8708 $(HOST_EXPORTS) \
8709 for flag in $(EXTRA_HOST_FLAGS) ; do \
8710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8711 done; \
8712 echo "Doing pdf in bzip2" ; \
8713 (cd $(HOST_SUBDIR)/bzip2 && \
8714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8716 "RANLIB=$${RANLIB}" \
8717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8718 pdf) \
8719 || exit 1
8721 @endif bzip2
8723 .PHONY: maybe-html-bzip2 html-bzip2
8724 maybe-html-bzip2:
8725 @if bzip2
8726 maybe-html-bzip2: html-bzip2
8728 html-bzip2: \
8729 configure-bzip2
8730 @: $(MAKE); $(unstage)
8731 @[ -f ./bzip2/Makefile ] || exit 0; \
8732 r=`${PWD_COMMAND}`; export r; \
8733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8734 $(HOST_EXPORTS) \
8735 for flag in $(EXTRA_HOST_FLAGS) ; do \
8736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8737 done; \
8738 echo "Doing html in bzip2" ; \
8739 (cd $(HOST_SUBDIR)/bzip2 && \
8740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8742 "RANLIB=$${RANLIB}" \
8743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8744 html) \
8745 || exit 1
8747 @endif bzip2
8749 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
8750 maybe-TAGS-bzip2:
8751 @if bzip2
8752 maybe-TAGS-bzip2: TAGS-bzip2
8754 TAGS-bzip2: \
8755 configure-bzip2
8756 @: $(MAKE); $(unstage)
8757 @[ -f ./bzip2/Makefile ] || exit 0; \
8758 r=`${PWD_COMMAND}`; export r; \
8759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8760 $(HOST_EXPORTS) \
8761 for flag in $(EXTRA_HOST_FLAGS) ; do \
8762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8763 done; \
8764 echo "Doing TAGS in bzip2" ; \
8765 (cd $(HOST_SUBDIR)/bzip2 && \
8766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8768 "RANLIB=$${RANLIB}" \
8769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8770 TAGS) \
8771 || exit 1
8773 @endif bzip2
8775 .PHONY: maybe-install-info-bzip2 install-info-bzip2
8776 maybe-install-info-bzip2:
8777 @if bzip2
8778 maybe-install-info-bzip2: install-info-bzip2
8780 install-info-bzip2: \
8781 configure-bzip2 \
8782 info-bzip2
8783 @: $(MAKE); $(unstage)
8784 @[ -f ./bzip2/Makefile ] || exit 0; \
8785 r=`${PWD_COMMAND}`; export r; \
8786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787 $(HOST_EXPORTS) \
8788 for flag in $(EXTRA_HOST_FLAGS) ; do \
8789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8790 done; \
8791 echo "Doing install-info in bzip2" ; \
8792 (cd $(HOST_SUBDIR)/bzip2 && \
8793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8795 "RANLIB=$${RANLIB}" \
8796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8797 install-info) \
8798 || exit 1
8800 @endif bzip2
8802 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
8803 maybe-install-pdf-bzip2:
8804 @if bzip2
8805 maybe-install-pdf-bzip2: install-pdf-bzip2
8807 install-pdf-bzip2: \
8808 configure-bzip2 \
8809 pdf-bzip2
8810 @: $(MAKE); $(unstage)
8811 @[ -f ./bzip2/Makefile ] || exit 0; \
8812 r=`${PWD_COMMAND}`; export r; \
8813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8814 $(HOST_EXPORTS) \
8815 for flag in $(EXTRA_HOST_FLAGS) ; do \
8816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8817 done; \
8818 echo "Doing install-pdf in bzip2" ; \
8819 (cd $(HOST_SUBDIR)/bzip2 && \
8820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8822 "RANLIB=$${RANLIB}" \
8823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8824 install-pdf) \
8825 || exit 1
8827 @endif bzip2
8829 .PHONY: maybe-install-html-bzip2 install-html-bzip2
8830 maybe-install-html-bzip2:
8831 @if bzip2
8832 maybe-install-html-bzip2: install-html-bzip2
8834 install-html-bzip2: \
8835 configure-bzip2 \
8836 html-bzip2
8837 @: $(MAKE); $(unstage)
8838 @[ -f ./bzip2/Makefile ] || exit 0; \
8839 r=`${PWD_COMMAND}`; export r; \
8840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8841 $(HOST_EXPORTS) \
8842 for flag in $(EXTRA_HOST_FLAGS) ; do \
8843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8844 done; \
8845 echo "Doing install-html in bzip2" ; \
8846 (cd $(HOST_SUBDIR)/bzip2 && \
8847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8849 "RANLIB=$${RANLIB}" \
8850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8851 install-html) \
8852 || exit 1
8854 @endif bzip2
8856 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8857 maybe-installcheck-bzip2:
8858 @if bzip2
8859 maybe-installcheck-bzip2: installcheck-bzip2
8861 installcheck-bzip2: \
8862 configure-bzip2
8863 @: $(MAKE); $(unstage)
8864 @[ -f ./bzip2/Makefile ] || exit 0; \
8865 r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(HOST_EXPORTS) \
8868 for flag in $(EXTRA_HOST_FLAGS) ; do \
8869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8870 done; \
8871 echo "Doing installcheck in bzip2" ; \
8872 (cd $(HOST_SUBDIR)/bzip2 && \
8873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8875 "RANLIB=$${RANLIB}" \
8876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8877 installcheck) \
8878 || exit 1
8880 @endif bzip2
8882 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
8883 maybe-mostlyclean-bzip2:
8884 @if bzip2
8885 maybe-mostlyclean-bzip2: mostlyclean-bzip2
8887 mostlyclean-bzip2:
8888 @: $(MAKE); $(unstage)
8889 @[ -f ./bzip2/Makefile ] || exit 0; \
8890 r=`${PWD_COMMAND}`; export r; \
8891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8892 $(HOST_EXPORTS) \
8893 for flag in $(EXTRA_HOST_FLAGS) ; do \
8894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8895 done; \
8896 echo "Doing mostlyclean in bzip2" ; \
8897 (cd $(HOST_SUBDIR)/bzip2 && \
8898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8900 "RANLIB=$${RANLIB}" \
8901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8902 mostlyclean) \
8903 || exit 1
8905 @endif bzip2
8907 .PHONY: maybe-clean-bzip2 clean-bzip2
8908 maybe-clean-bzip2:
8909 @if bzip2
8910 maybe-clean-bzip2: clean-bzip2
8912 clean-bzip2:
8913 @: $(MAKE); $(unstage)
8914 @[ -f ./bzip2/Makefile ] || exit 0; \
8915 r=`${PWD_COMMAND}`; export r; \
8916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8917 $(HOST_EXPORTS) \
8918 for flag in $(EXTRA_HOST_FLAGS) ; do \
8919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8920 done; \
8921 echo "Doing clean in bzip2" ; \
8922 (cd $(HOST_SUBDIR)/bzip2 && \
8923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8925 "RANLIB=$${RANLIB}" \
8926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8927 clean) \
8928 || exit 1
8930 @endif bzip2
8932 .PHONY: maybe-distclean-bzip2 distclean-bzip2
8933 maybe-distclean-bzip2:
8934 @if bzip2
8935 maybe-distclean-bzip2: distclean-bzip2
8937 distclean-bzip2:
8938 @: $(MAKE); $(unstage)
8939 @[ -f ./bzip2/Makefile ] || exit 0; \
8940 r=`${PWD_COMMAND}`; export r; \
8941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8942 $(HOST_EXPORTS) \
8943 for flag in $(EXTRA_HOST_FLAGS) ; do \
8944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8945 done; \
8946 echo "Doing distclean in bzip2" ; \
8947 (cd $(HOST_SUBDIR)/bzip2 && \
8948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8950 "RANLIB=$${RANLIB}" \
8951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8952 distclean) \
8953 || exit 1
8955 @endif bzip2
8957 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
8958 maybe-maintainer-clean-bzip2:
8959 @if bzip2
8960 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
8962 maintainer-clean-bzip2:
8963 @: $(MAKE); $(unstage)
8964 @[ -f ./bzip2/Makefile ] || exit 0; \
8965 r=`${PWD_COMMAND}`; export r; \
8966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8967 $(HOST_EXPORTS) \
8968 for flag in $(EXTRA_HOST_FLAGS) ; do \
8969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8970 done; \
8971 echo "Doing maintainer-clean in bzip2" ; \
8972 (cd $(HOST_SUBDIR)/bzip2 && \
8973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8975 "RANLIB=$${RANLIB}" \
8976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8977 maintainer-clean) \
8978 || exit 1
8980 @endif bzip2
8984 .PHONY: configure-dejagnu maybe-configure-dejagnu
8985 maybe-configure-dejagnu:
8986 @if gcc-bootstrap
8987 configure-dejagnu: stage_current
8988 @endif gcc-bootstrap
8989 @if dejagnu
8990 maybe-configure-dejagnu: configure-dejagnu
8991 configure-dejagnu:
8992 @: $(MAKE); $(unstage)
8993 @r=`${PWD_COMMAND}`; export r; \
8994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8995 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
8996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
8997 $(HOST_EXPORTS) \
8998 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
8999 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
9000 case $(srcdir) in \
9001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9002 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
9003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9004 esac; \
9005 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
9006 libsrcdir="$$s/dejagnu"; \
9007 $(SHELL) $${libsrcdir}/configure \
9008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9009 --target=${target_alias} $${srcdiroption} \
9010 || exit 1
9011 @endif dejagnu
9017 .PHONY: all-dejagnu maybe-all-dejagnu
9018 maybe-all-dejagnu:
9019 @if gcc-bootstrap
9020 all-dejagnu: stage_current
9021 @endif gcc-bootstrap
9022 @if dejagnu
9023 TARGET-dejagnu=all
9024 maybe-all-dejagnu: all-dejagnu
9025 all-dejagnu: configure-dejagnu
9026 @: $(MAKE); $(unstage)
9027 @r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029 $(HOST_EXPORTS) \
9030 (cd $(HOST_SUBDIR)/dejagnu && \
9031 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9032 $(TARGET-dejagnu))
9033 @endif dejagnu
9038 .PHONY: check-dejagnu maybe-check-dejagnu
9039 maybe-check-dejagnu:
9040 @if dejagnu
9041 maybe-check-dejagnu: check-dejagnu
9043 check-dejagnu:
9044 @: $(MAKE); $(unstage)
9045 @r=`${PWD_COMMAND}`; export r; \
9046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9047 $(HOST_EXPORTS) \
9048 (cd $(HOST_SUBDIR)/dejagnu && \
9049 $(MAKE) $(FLAGS_TO_PASS) check)
9051 @endif dejagnu
9053 .PHONY: install-dejagnu maybe-install-dejagnu
9054 maybe-install-dejagnu:
9055 @if dejagnu
9056 maybe-install-dejagnu: install-dejagnu
9058 install-dejagnu: installdirs
9059 @: $(MAKE); $(unstage)
9060 @r=`${PWD_COMMAND}`; export r; \
9061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9062 $(HOST_EXPORTS) \
9063 (cd $(HOST_SUBDIR)/dejagnu && \
9064 $(MAKE) $(FLAGS_TO_PASS) install)
9066 @endif dejagnu
9068 # Other targets (info, dvi, pdf, etc.)
9070 .PHONY: maybe-info-dejagnu info-dejagnu
9071 maybe-info-dejagnu:
9072 @if dejagnu
9073 maybe-info-dejagnu: info-dejagnu
9075 info-dejagnu: \
9076 configure-dejagnu
9077 @: $(MAKE); $(unstage)
9078 @[ -f ./dejagnu/Makefile ] || exit 0; \
9079 r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9081 $(HOST_EXPORTS) \
9082 for flag in $(EXTRA_HOST_FLAGS) ; do \
9083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9084 done; \
9085 echo "Doing info in dejagnu" ; \
9086 (cd $(HOST_SUBDIR)/dejagnu && \
9087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9089 "RANLIB=$${RANLIB}" \
9090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9091 info) \
9092 || exit 1
9094 @endif dejagnu
9096 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
9097 maybe-dvi-dejagnu:
9098 @if dejagnu
9099 maybe-dvi-dejagnu: dvi-dejagnu
9101 dvi-dejagnu: \
9102 configure-dejagnu
9103 @: $(MAKE); $(unstage)
9104 @[ -f ./dejagnu/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(HOST_EXPORTS) \
9108 for flag in $(EXTRA_HOST_FLAGS) ; do \
9109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9110 done; \
9111 echo "Doing dvi in dejagnu" ; \
9112 (cd $(HOST_SUBDIR)/dejagnu && \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9115 "RANLIB=$${RANLIB}" \
9116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9117 dvi) \
9118 || exit 1
9120 @endif dejagnu
9122 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
9123 maybe-pdf-dejagnu:
9124 @if dejagnu
9125 maybe-pdf-dejagnu: pdf-dejagnu
9127 pdf-dejagnu: \
9128 configure-dejagnu
9129 @: $(MAKE); $(unstage)
9130 @[ -f ./dejagnu/Makefile ] || exit 0; \
9131 r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 $(HOST_EXPORTS) \
9134 for flag in $(EXTRA_HOST_FLAGS) ; do \
9135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9136 done; \
9137 echo "Doing pdf in dejagnu" ; \
9138 (cd $(HOST_SUBDIR)/dejagnu && \
9139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9141 "RANLIB=$${RANLIB}" \
9142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9143 pdf) \
9144 || exit 1
9146 @endif dejagnu
9148 .PHONY: maybe-html-dejagnu html-dejagnu
9149 maybe-html-dejagnu:
9150 @if dejagnu
9151 maybe-html-dejagnu: html-dejagnu
9153 html-dejagnu: \
9154 configure-dejagnu
9155 @: $(MAKE); $(unstage)
9156 @[ -f ./dejagnu/Makefile ] || exit 0; \
9157 r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 for flag in $(EXTRA_HOST_FLAGS) ; do \
9161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9162 done; \
9163 echo "Doing html in dejagnu" ; \
9164 (cd $(HOST_SUBDIR)/dejagnu && \
9165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9167 "RANLIB=$${RANLIB}" \
9168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9169 html) \
9170 || exit 1
9172 @endif dejagnu
9174 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
9175 maybe-TAGS-dejagnu:
9176 @if dejagnu
9177 maybe-TAGS-dejagnu: TAGS-dejagnu
9179 TAGS-dejagnu: \
9180 configure-dejagnu
9181 @: $(MAKE); $(unstage)
9182 @[ -f ./dejagnu/Makefile ] || exit 0; \
9183 r=`${PWD_COMMAND}`; export r; \
9184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9185 $(HOST_EXPORTS) \
9186 for flag in $(EXTRA_HOST_FLAGS) ; do \
9187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9188 done; \
9189 echo "Doing TAGS in dejagnu" ; \
9190 (cd $(HOST_SUBDIR)/dejagnu && \
9191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9193 "RANLIB=$${RANLIB}" \
9194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9195 TAGS) \
9196 || exit 1
9198 @endif dejagnu
9200 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
9201 maybe-install-info-dejagnu:
9202 @if dejagnu
9203 maybe-install-info-dejagnu: install-info-dejagnu
9205 install-info-dejagnu: \
9206 configure-dejagnu \
9207 info-dejagnu
9208 @: $(MAKE); $(unstage)
9209 @[ -f ./dejagnu/Makefile ] || exit 0; \
9210 r=`${PWD_COMMAND}`; export r; \
9211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 $(HOST_EXPORTS) \
9213 for flag in $(EXTRA_HOST_FLAGS) ; do \
9214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9215 done; \
9216 echo "Doing install-info in dejagnu" ; \
9217 (cd $(HOST_SUBDIR)/dejagnu && \
9218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9220 "RANLIB=$${RANLIB}" \
9221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9222 install-info) \
9223 || exit 1
9225 @endif dejagnu
9227 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
9228 maybe-install-pdf-dejagnu:
9229 @if dejagnu
9230 maybe-install-pdf-dejagnu: install-pdf-dejagnu
9232 install-pdf-dejagnu: \
9233 configure-dejagnu \
9234 pdf-dejagnu
9235 @: $(MAKE); $(unstage)
9236 @[ -f ./dejagnu/Makefile ] || exit 0; \
9237 r=`${PWD_COMMAND}`; export r; \
9238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 $(HOST_EXPORTS) \
9240 for flag in $(EXTRA_HOST_FLAGS) ; do \
9241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9242 done; \
9243 echo "Doing install-pdf in dejagnu" ; \
9244 (cd $(HOST_SUBDIR)/dejagnu && \
9245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9247 "RANLIB=$${RANLIB}" \
9248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9249 install-pdf) \
9250 || exit 1
9252 @endif dejagnu
9254 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
9255 maybe-install-html-dejagnu:
9256 @if dejagnu
9257 maybe-install-html-dejagnu: install-html-dejagnu
9259 install-html-dejagnu: \
9260 configure-dejagnu \
9261 html-dejagnu
9262 @: $(MAKE); $(unstage)
9263 @[ -f ./dejagnu/Makefile ] || exit 0; \
9264 r=`${PWD_COMMAND}`; export r; \
9265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9266 $(HOST_EXPORTS) \
9267 for flag in $(EXTRA_HOST_FLAGS) ; do \
9268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9269 done; \
9270 echo "Doing install-html in dejagnu" ; \
9271 (cd $(HOST_SUBDIR)/dejagnu && \
9272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9274 "RANLIB=$${RANLIB}" \
9275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9276 install-html) \
9277 || exit 1
9279 @endif dejagnu
9281 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
9282 maybe-installcheck-dejagnu:
9283 @if dejagnu
9284 maybe-installcheck-dejagnu: installcheck-dejagnu
9286 installcheck-dejagnu: \
9287 configure-dejagnu
9288 @: $(MAKE); $(unstage)
9289 @[ -f ./dejagnu/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9292 $(HOST_EXPORTS) \
9293 for flag in $(EXTRA_HOST_FLAGS) ; do \
9294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9295 done; \
9296 echo "Doing installcheck in dejagnu" ; \
9297 (cd $(HOST_SUBDIR)/dejagnu && \
9298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9300 "RANLIB=$${RANLIB}" \
9301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9302 installcheck) \
9303 || exit 1
9305 @endif dejagnu
9307 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
9308 maybe-mostlyclean-dejagnu:
9309 @if dejagnu
9310 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
9312 mostlyclean-dejagnu:
9313 @: $(MAKE); $(unstage)
9314 @[ -f ./dejagnu/Makefile ] || exit 0; \
9315 r=`${PWD_COMMAND}`; export r; \
9316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9317 $(HOST_EXPORTS) \
9318 for flag in $(EXTRA_HOST_FLAGS) ; do \
9319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9320 done; \
9321 echo "Doing mostlyclean in dejagnu" ; \
9322 (cd $(HOST_SUBDIR)/dejagnu && \
9323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9325 "RANLIB=$${RANLIB}" \
9326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9327 mostlyclean) \
9328 || exit 1
9330 @endif dejagnu
9332 .PHONY: maybe-clean-dejagnu clean-dejagnu
9333 maybe-clean-dejagnu:
9334 @if dejagnu
9335 maybe-clean-dejagnu: clean-dejagnu
9337 clean-dejagnu:
9338 @: $(MAKE); $(unstage)
9339 @[ -f ./dejagnu/Makefile ] || exit 0; \
9340 r=`${PWD_COMMAND}`; export r; \
9341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9342 $(HOST_EXPORTS) \
9343 for flag in $(EXTRA_HOST_FLAGS) ; do \
9344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9345 done; \
9346 echo "Doing clean in dejagnu" ; \
9347 (cd $(HOST_SUBDIR)/dejagnu && \
9348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9350 "RANLIB=$${RANLIB}" \
9351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9352 clean) \
9353 || exit 1
9355 @endif dejagnu
9357 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
9358 maybe-distclean-dejagnu:
9359 @if dejagnu
9360 maybe-distclean-dejagnu: distclean-dejagnu
9362 distclean-dejagnu:
9363 @: $(MAKE); $(unstage)
9364 @[ -f ./dejagnu/Makefile ] || exit 0; \
9365 r=`${PWD_COMMAND}`; export r; \
9366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9367 $(HOST_EXPORTS) \
9368 for flag in $(EXTRA_HOST_FLAGS) ; do \
9369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9370 done; \
9371 echo "Doing distclean in dejagnu" ; \
9372 (cd $(HOST_SUBDIR)/dejagnu && \
9373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9375 "RANLIB=$${RANLIB}" \
9376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9377 distclean) \
9378 || exit 1
9380 @endif dejagnu
9382 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
9383 maybe-maintainer-clean-dejagnu:
9384 @if dejagnu
9385 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
9387 maintainer-clean-dejagnu:
9388 @: $(MAKE); $(unstage)
9389 @[ -f ./dejagnu/Makefile ] || exit 0; \
9390 r=`${PWD_COMMAND}`; export r; \
9391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9392 $(HOST_EXPORTS) \
9393 for flag in $(EXTRA_HOST_FLAGS) ; do \
9394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9395 done; \
9396 echo "Doing maintainer-clean in dejagnu" ; \
9397 (cd $(HOST_SUBDIR)/dejagnu && \
9398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9400 "RANLIB=$${RANLIB}" \
9401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9402 maintainer-clean) \
9403 || exit 1
9405 @endif dejagnu
9409 .PHONY: configure-diff maybe-configure-diff
9410 maybe-configure-diff:
9411 @if gcc-bootstrap
9412 configure-diff: stage_current
9413 @endif gcc-bootstrap
9414 @if diff
9415 maybe-configure-diff: configure-diff
9416 configure-diff:
9417 @: $(MAKE); $(unstage)
9418 @r=`${PWD_COMMAND}`; export r; \
9419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9420 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
9421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
9422 $(HOST_EXPORTS) \
9423 echo Configuring in $(HOST_SUBDIR)/diff; \
9424 cd "$(HOST_SUBDIR)/diff" || exit 1; \
9425 case $(srcdir) in \
9426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9427 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
9428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9429 esac; \
9430 srcdiroption="--srcdir=$${topdir}/diff"; \
9431 libsrcdir="$$s/diff"; \
9432 $(SHELL) $${libsrcdir}/configure \
9433 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9434 --target=${target_alias} $${srcdiroption} \
9435 || exit 1
9436 @endif diff
9442 .PHONY: all-diff maybe-all-diff
9443 maybe-all-diff:
9444 @if gcc-bootstrap
9445 all-diff: stage_current
9446 @endif gcc-bootstrap
9447 @if diff
9448 TARGET-diff=all
9449 maybe-all-diff: all-diff
9450 all-diff: configure-diff
9451 @: $(MAKE); $(unstage)
9452 @r=`${PWD_COMMAND}`; export r; \
9453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9454 $(HOST_EXPORTS) \
9455 (cd $(HOST_SUBDIR)/diff && \
9456 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9457 $(TARGET-diff))
9458 @endif diff
9463 .PHONY: check-diff maybe-check-diff
9464 maybe-check-diff:
9465 @if diff
9466 maybe-check-diff: check-diff
9468 check-diff:
9469 @: $(MAKE); $(unstage)
9470 @r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9472 $(HOST_EXPORTS) \
9473 (cd $(HOST_SUBDIR)/diff && \
9474 $(MAKE) $(FLAGS_TO_PASS) check)
9476 @endif diff
9478 .PHONY: install-diff maybe-install-diff
9479 maybe-install-diff:
9480 @if diff
9481 maybe-install-diff: install-diff
9483 install-diff: installdirs
9484 @: $(MAKE); $(unstage)
9485 @r=`${PWD_COMMAND}`; export r; \
9486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9487 $(HOST_EXPORTS) \
9488 (cd $(HOST_SUBDIR)/diff && \
9489 $(MAKE) $(FLAGS_TO_PASS) install)
9491 @endif diff
9493 # Other targets (info, dvi, pdf, etc.)
9495 .PHONY: maybe-info-diff info-diff
9496 maybe-info-diff:
9497 @if diff
9498 maybe-info-diff: info-diff
9500 info-diff: \
9501 configure-diff
9502 @: $(MAKE); $(unstage)
9503 @[ -f ./diff/Makefile ] || exit 0; \
9504 r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(HOST_EXPORTS) \
9507 for flag in $(EXTRA_HOST_FLAGS) ; do \
9508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9509 done; \
9510 echo "Doing info in diff" ; \
9511 (cd $(HOST_SUBDIR)/diff && \
9512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9514 "RANLIB=$${RANLIB}" \
9515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9516 info) \
9517 || exit 1
9519 @endif diff
9521 .PHONY: maybe-dvi-diff dvi-diff
9522 maybe-dvi-diff:
9523 @if diff
9524 maybe-dvi-diff: dvi-diff
9526 dvi-diff: \
9527 configure-diff
9528 @: $(MAKE); $(unstage)
9529 @[ -f ./diff/Makefile ] || exit 0; \
9530 r=`${PWD_COMMAND}`; export r; \
9531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9532 $(HOST_EXPORTS) \
9533 for flag in $(EXTRA_HOST_FLAGS) ; do \
9534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9535 done; \
9536 echo "Doing dvi in diff" ; \
9537 (cd $(HOST_SUBDIR)/diff && \
9538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9540 "RANLIB=$${RANLIB}" \
9541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9542 dvi) \
9543 || exit 1
9545 @endif diff
9547 .PHONY: maybe-pdf-diff pdf-diff
9548 maybe-pdf-diff:
9549 @if diff
9550 maybe-pdf-diff: pdf-diff
9552 pdf-diff: \
9553 configure-diff
9554 @: $(MAKE); $(unstage)
9555 @[ -f ./diff/Makefile ] || exit 0; \
9556 r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558 $(HOST_EXPORTS) \
9559 for flag in $(EXTRA_HOST_FLAGS) ; do \
9560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9561 done; \
9562 echo "Doing pdf in diff" ; \
9563 (cd $(HOST_SUBDIR)/diff && \
9564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9566 "RANLIB=$${RANLIB}" \
9567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9568 pdf) \
9569 || exit 1
9571 @endif diff
9573 .PHONY: maybe-html-diff html-diff
9574 maybe-html-diff:
9575 @if diff
9576 maybe-html-diff: html-diff
9578 html-diff: \
9579 configure-diff
9580 @: $(MAKE); $(unstage)
9581 @[ -f ./diff/Makefile ] || exit 0; \
9582 r=`${PWD_COMMAND}`; export r; \
9583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9584 $(HOST_EXPORTS) \
9585 for flag in $(EXTRA_HOST_FLAGS) ; do \
9586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9587 done; \
9588 echo "Doing html in diff" ; \
9589 (cd $(HOST_SUBDIR)/diff && \
9590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9592 "RANLIB=$${RANLIB}" \
9593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9594 html) \
9595 || exit 1
9597 @endif diff
9599 .PHONY: maybe-TAGS-diff TAGS-diff
9600 maybe-TAGS-diff:
9601 @if diff
9602 maybe-TAGS-diff: TAGS-diff
9604 TAGS-diff: \
9605 configure-diff
9606 @: $(MAKE); $(unstage)
9607 @[ -f ./diff/Makefile ] || exit 0; \
9608 r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9610 $(HOST_EXPORTS) \
9611 for flag in $(EXTRA_HOST_FLAGS) ; do \
9612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9613 done; \
9614 echo "Doing TAGS in diff" ; \
9615 (cd $(HOST_SUBDIR)/diff && \
9616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9618 "RANLIB=$${RANLIB}" \
9619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9620 TAGS) \
9621 || exit 1
9623 @endif diff
9625 .PHONY: maybe-install-info-diff install-info-diff
9626 maybe-install-info-diff:
9627 @if diff
9628 maybe-install-info-diff: install-info-diff
9630 install-info-diff: \
9631 configure-diff \
9632 info-diff
9633 @: $(MAKE); $(unstage)
9634 @[ -f ./diff/Makefile ] || exit 0; \
9635 r=`${PWD_COMMAND}`; export r; \
9636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9637 $(HOST_EXPORTS) \
9638 for flag in $(EXTRA_HOST_FLAGS) ; do \
9639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9640 done; \
9641 echo "Doing install-info in diff" ; \
9642 (cd $(HOST_SUBDIR)/diff && \
9643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9645 "RANLIB=$${RANLIB}" \
9646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9647 install-info) \
9648 || exit 1
9650 @endif diff
9652 .PHONY: maybe-install-pdf-diff install-pdf-diff
9653 maybe-install-pdf-diff:
9654 @if diff
9655 maybe-install-pdf-diff: install-pdf-diff
9657 install-pdf-diff: \
9658 configure-diff \
9659 pdf-diff
9660 @: $(MAKE); $(unstage)
9661 @[ -f ./diff/Makefile ] || exit 0; \
9662 r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 $(HOST_EXPORTS) \
9665 for flag in $(EXTRA_HOST_FLAGS) ; do \
9666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9667 done; \
9668 echo "Doing install-pdf in diff" ; \
9669 (cd $(HOST_SUBDIR)/diff && \
9670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9672 "RANLIB=$${RANLIB}" \
9673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9674 install-pdf) \
9675 || exit 1
9677 @endif diff
9679 .PHONY: maybe-install-html-diff install-html-diff
9680 maybe-install-html-diff:
9681 @if diff
9682 maybe-install-html-diff: install-html-diff
9684 install-html-diff: \
9685 configure-diff \
9686 html-diff
9687 @: $(MAKE); $(unstage)
9688 @[ -f ./diff/Makefile ] || exit 0; \
9689 r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9691 $(HOST_EXPORTS) \
9692 for flag in $(EXTRA_HOST_FLAGS) ; do \
9693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9694 done; \
9695 echo "Doing install-html in diff" ; \
9696 (cd $(HOST_SUBDIR)/diff && \
9697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9699 "RANLIB=$${RANLIB}" \
9700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9701 install-html) \
9702 || exit 1
9704 @endif diff
9706 .PHONY: maybe-installcheck-diff installcheck-diff
9707 maybe-installcheck-diff:
9708 @if diff
9709 maybe-installcheck-diff: installcheck-diff
9711 installcheck-diff: \
9712 configure-diff
9713 @: $(MAKE); $(unstage)
9714 @[ -f ./diff/Makefile ] || exit 0; \
9715 r=`${PWD_COMMAND}`; export r; \
9716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 $(HOST_EXPORTS) \
9718 for flag in $(EXTRA_HOST_FLAGS) ; do \
9719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9720 done; \
9721 echo "Doing installcheck in diff" ; \
9722 (cd $(HOST_SUBDIR)/diff && \
9723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9725 "RANLIB=$${RANLIB}" \
9726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9727 installcheck) \
9728 || exit 1
9730 @endif diff
9732 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
9733 maybe-mostlyclean-diff:
9734 @if diff
9735 maybe-mostlyclean-diff: mostlyclean-diff
9737 mostlyclean-diff:
9738 @: $(MAKE); $(unstage)
9739 @[ -f ./diff/Makefile ] || exit 0; \
9740 r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9742 $(HOST_EXPORTS) \
9743 for flag in $(EXTRA_HOST_FLAGS) ; do \
9744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9745 done; \
9746 echo "Doing mostlyclean in diff" ; \
9747 (cd $(HOST_SUBDIR)/diff && \
9748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9750 "RANLIB=$${RANLIB}" \
9751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9752 mostlyclean) \
9753 || exit 1
9755 @endif diff
9757 .PHONY: maybe-clean-diff clean-diff
9758 maybe-clean-diff:
9759 @if diff
9760 maybe-clean-diff: clean-diff
9762 clean-diff:
9763 @: $(MAKE); $(unstage)
9764 @[ -f ./diff/Makefile ] || exit 0; \
9765 r=`${PWD_COMMAND}`; export r; \
9766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9767 $(HOST_EXPORTS) \
9768 for flag in $(EXTRA_HOST_FLAGS) ; do \
9769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9770 done; \
9771 echo "Doing clean in diff" ; \
9772 (cd $(HOST_SUBDIR)/diff && \
9773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9775 "RANLIB=$${RANLIB}" \
9776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9777 clean) \
9778 || exit 1
9780 @endif diff
9782 .PHONY: maybe-distclean-diff distclean-diff
9783 maybe-distclean-diff:
9784 @if diff
9785 maybe-distclean-diff: distclean-diff
9787 distclean-diff:
9788 @: $(MAKE); $(unstage)
9789 @[ -f ./diff/Makefile ] || exit 0; \
9790 r=`${PWD_COMMAND}`; export r; \
9791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9792 $(HOST_EXPORTS) \
9793 for flag in $(EXTRA_HOST_FLAGS) ; do \
9794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9795 done; \
9796 echo "Doing distclean in diff" ; \
9797 (cd $(HOST_SUBDIR)/diff && \
9798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9800 "RANLIB=$${RANLIB}" \
9801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9802 distclean) \
9803 || exit 1
9805 @endif diff
9807 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
9808 maybe-maintainer-clean-diff:
9809 @if diff
9810 maybe-maintainer-clean-diff: maintainer-clean-diff
9812 maintainer-clean-diff:
9813 @: $(MAKE); $(unstage)
9814 @[ -f ./diff/Makefile ] || exit 0; \
9815 r=`${PWD_COMMAND}`; export r; \
9816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9817 $(HOST_EXPORTS) \
9818 for flag in $(EXTRA_HOST_FLAGS) ; do \
9819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9820 done; \
9821 echo "Doing maintainer-clean in diff" ; \
9822 (cd $(HOST_SUBDIR)/diff && \
9823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9825 "RANLIB=$${RANLIB}" \
9826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9827 maintainer-clean) \
9828 || exit 1
9830 @endif diff
9834 .PHONY: configure-dosutils maybe-configure-dosutils
9835 maybe-configure-dosutils:
9836 @if gcc-bootstrap
9837 configure-dosutils: stage_current
9838 @endif gcc-bootstrap
9839 @if dosutils
9840 maybe-configure-dosutils: configure-dosutils
9841 configure-dosutils:
9842 @: $(MAKE); $(unstage)
9843 @r=`${PWD_COMMAND}`; export r; \
9844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9845 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
9846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
9847 $(HOST_EXPORTS) \
9848 echo Configuring in $(HOST_SUBDIR)/dosutils; \
9849 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
9850 case $(srcdir) in \
9851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9852 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
9853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9854 esac; \
9855 srcdiroption="--srcdir=$${topdir}/dosutils"; \
9856 libsrcdir="$$s/dosutils"; \
9857 $(SHELL) $${libsrcdir}/configure \
9858 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9859 --target=${target_alias} $${srcdiroption} \
9860 || exit 1
9861 @endif dosutils
9867 .PHONY: all-dosutils maybe-all-dosutils
9868 maybe-all-dosutils:
9869 @if gcc-bootstrap
9870 all-dosutils: stage_current
9871 @endif gcc-bootstrap
9872 @if dosutils
9873 TARGET-dosutils=all
9874 maybe-all-dosutils: all-dosutils
9875 all-dosutils: configure-dosutils
9876 @: $(MAKE); $(unstage)
9877 @r=`${PWD_COMMAND}`; export r; \
9878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9879 $(HOST_EXPORTS) \
9880 (cd $(HOST_SUBDIR)/dosutils && \
9881 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
9882 $(TARGET-dosutils))
9883 @endif dosutils
9888 .PHONY: check-dosutils maybe-check-dosutils
9889 maybe-check-dosutils:
9890 @if dosutils
9891 maybe-check-dosutils: check-dosutils
9893 check-dosutils:
9895 @endif dosutils
9897 .PHONY: install-dosutils maybe-install-dosutils
9898 maybe-install-dosutils:
9899 @if dosutils
9900 maybe-install-dosutils: install-dosutils
9902 install-dosutils: installdirs
9903 @: $(MAKE); $(unstage)
9904 @r=`${PWD_COMMAND}`; export r; \
9905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9906 $(HOST_EXPORTS) \
9907 (cd $(HOST_SUBDIR)/dosutils && \
9908 $(MAKE) $(FLAGS_TO_PASS) install)
9910 @endif dosutils
9912 # Other targets (info, dvi, pdf, etc.)
9914 .PHONY: maybe-info-dosutils info-dosutils
9915 maybe-info-dosutils:
9916 @if dosutils
9917 maybe-info-dosutils: info-dosutils
9919 info-dosutils: \
9920 configure-dosutils
9921 @: $(MAKE); $(unstage)
9922 @[ -f ./dosutils/Makefile ] || exit 0; \
9923 r=`${PWD_COMMAND}`; export r; \
9924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9925 $(HOST_EXPORTS) \
9926 for flag in $(EXTRA_HOST_FLAGS) ; do \
9927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9928 done; \
9929 echo "Doing info in dosutils" ; \
9930 (cd $(HOST_SUBDIR)/dosutils && \
9931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9933 "RANLIB=$${RANLIB}" \
9934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9935 info) \
9936 || exit 1
9938 @endif dosutils
9940 .PHONY: maybe-dvi-dosutils dvi-dosutils
9941 maybe-dvi-dosutils:
9942 @if dosutils
9943 maybe-dvi-dosutils: dvi-dosutils
9945 dvi-dosutils: \
9946 configure-dosutils
9947 @: $(MAKE); $(unstage)
9948 @[ -f ./dosutils/Makefile ] || exit 0; \
9949 r=`${PWD_COMMAND}`; export r; \
9950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9951 $(HOST_EXPORTS) \
9952 for flag in $(EXTRA_HOST_FLAGS) ; do \
9953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9954 done; \
9955 echo "Doing dvi in dosutils" ; \
9956 (cd $(HOST_SUBDIR)/dosutils && \
9957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9959 "RANLIB=$${RANLIB}" \
9960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9961 dvi) \
9962 || exit 1
9964 @endif dosutils
9966 .PHONY: maybe-pdf-dosutils pdf-dosutils
9967 maybe-pdf-dosutils:
9968 @if dosutils
9969 maybe-pdf-dosutils: pdf-dosutils
9971 pdf-dosutils: \
9972 configure-dosutils
9973 @: $(MAKE); $(unstage)
9974 @[ -f ./dosutils/Makefile ] || exit 0; \
9975 r=`${PWD_COMMAND}`; export r; \
9976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9977 $(HOST_EXPORTS) \
9978 for flag in $(EXTRA_HOST_FLAGS) ; do \
9979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9980 done; \
9981 echo "Doing pdf in dosutils" ; \
9982 (cd $(HOST_SUBDIR)/dosutils && \
9983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9985 "RANLIB=$${RANLIB}" \
9986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9987 pdf) \
9988 || exit 1
9990 @endif dosutils
9992 .PHONY: maybe-html-dosutils html-dosutils
9993 maybe-html-dosutils:
9994 @if dosutils
9995 maybe-html-dosutils: html-dosutils
9997 html-dosutils: \
9998 configure-dosutils
9999 @: $(MAKE); $(unstage)
10000 @[ -f ./dosutils/Makefile ] || exit 0; \
10001 r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10003 $(HOST_EXPORTS) \
10004 for flag in $(EXTRA_HOST_FLAGS) ; do \
10005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10006 done; \
10007 echo "Doing html in dosutils" ; \
10008 (cd $(HOST_SUBDIR)/dosutils && \
10009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10011 "RANLIB=$${RANLIB}" \
10012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10013 html) \
10014 || exit 1
10016 @endif dosutils
10018 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
10019 maybe-TAGS-dosutils:
10020 @if dosutils
10021 maybe-TAGS-dosutils: TAGS-dosutils
10023 TAGS-dosutils: \
10024 configure-dosutils
10025 @: $(MAKE); $(unstage)
10026 @[ -f ./dosutils/Makefile ] || exit 0; \
10027 r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10029 $(HOST_EXPORTS) \
10030 for flag in $(EXTRA_HOST_FLAGS) ; do \
10031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10032 done; \
10033 echo "Doing TAGS in dosutils" ; \
10034 (cd $(HOST_SUBDIR)/dosutils && \
10035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10037 "RANLIB=$${RANLIB}" \
10038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10039 TAGS) \
10040 || exit 1
10042 @endif dosutils
10044 .PHONY: maybe-install-info-dosutils install-info-dosutils
10045 maybe-install-info-dosutils:
10046 @if dosutils
10047 maybe-install-info-dosutils: install-info-dosutils
10049 install-info-dosutils: \
10050 configure-dosutils \
10051 info-dosutils
10052 @: $(MAKE); $(unstage)
10053 @[ -f ./dosutils/Makefile ] || exit 0; \
10054 r=`${PWD_COMMAND}`; export r; \
10055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10056 $(HOST_EXPORTS) \
10057 for flag in $(EXTRA_HOST_FLAGS) ; do \
10058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10059 done; \
10060 echo "Doing install-info in dosutils" ; \
10061 (cd $(HOST_SUBDIR)/dosutils && \
10062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10064 "RANLIB=$${RANLIB}" \
10065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10066 install-info) \
10067 || exit 1
10069 @endif dosutils
10071 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
10072 maybe-install-pdf-dosutils:
10073 @if dosutils
10074 maybe-install-pdf-dosutils: install-pdf-dosutils
10076 install-pdf-dosutils: \
10077 configure-dosutils \
10078 pdf-dosutils
10079 @: $(MAKE); $(unstage)
10080 @[ -f ./dosutils/Makefile ] || exit 0; \
10081 r=`${PWD_COMMAND}`; export r; \
10082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10083 $(HOST_EXPORTS) \
10084 for flag in $(EXTRA_HOST_FLAGS) ; do \
10085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10086 done; \
10087 echo "Doing install-pdf in dosutils" ; \
10088 (cd $(HOST_SUBDIR)/dosutils && \
10089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10091 "RANLIB=$${RANLIB}" \
10092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10093 install-pdf) \
10094 || exit 1
10096 @endif dosutils
10098 .PHONY: maybe-install-html-dosutils install-html-dosutils
10099 maybe-install-html-dosutils:
10100 @if dosutils
10101 maybe-install-html-dosutils: install-html-dosutils
10103 install-html-dosutils: \
10104 configure-dosutils \
10105 html-dosutils
10106 @: $(MAKE); $(unstage)
10107 @[ -f ./dosutils/Makefile ] || exit 0; \
10108 r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(HOST_EXPORTS) \
10111 for flag in $(EXTRA_HOST_FLAGS) ; do \
10112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10113 done; \
10114 echo "Doing install-html in dosutils" ; \
10115 (cd $(HOST_SUBDIR)/dosutils && \
10116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10118 "RANLIB=$${RANLIB}" \
10119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10120 install-html) \
10121 || exit 1
10123 @endif dosutils
10125 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
10126 maybe-installcheck-dosutils:
10127 @if dosutils
10128 maybe-installcheck-dosutils: installcheck-dosutils
10130 installcheck-dosutils: \
10131 configure-dosutils
10132 @: $(MAKE); $(unstage)
10133 @[ -f ./dosutils/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(HOST_EXPORTS) \
10137 for flag in $(EXTRA_HOST_FLAGS) ; do \
10138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10139 done; \
10140 echo "Doing installcheck in dosutils" ; \
10141 (cd $(HOST_SUBDIR)/dosutils && \
10142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10144 "RANLIB=$${RANLIB}" \
10145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10146 installcheck) \
10147 || exit 1
10149 @endif dosutils
10151 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
10152 maybe-mostlyclean-dosutils:
10153 @if dosutils
10154 maybe-mostlyclean-dosutils: mostlyclean-dosutils
10156 mostlyclean-dosutils:
10157 @: $(MAKE); $(unstage)
10158 @[ -f ./dosutils/Makefile ] || exit 0; \
10159 r=`${PWD_COMMAND}`; export r; \
10160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 $(HOST_EXPORTS) \
10162 for flag in $(EXTRA_HOST_FLAGS) ; do \
10163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10164 done; \
10165 echo "Doing mostlyclean in dosutils" ; \
10166 (cd $(HOST_SUBDIR)/dosutils && \
10167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10169 "RANLIB=$${RANLIB}" \
10170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10171 mostlyclean) \
10172 || exit 1
10174 @endif dosutils
10176 .PHONY: maybe-clean-dosutils clean-dosutils
10177 maybe-clean-dosutils:
10178 @if dosutils
10179 maybe-clean-dosutils: clean-dosutils
10181 clean-dosutils:
10182 @: $(MAKE); $(unstage)
10183 @[ -f ./dosutils/Makefile ] || exit 0; \
10184 r=`${PWD_COMMAND}`; export r; \
10185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10186 $(HOST_EXPORTS) \
10187 for flag in $(EXTRA_HOST_FLAGS) ; do \
10188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10189 done; \
10190 echo "Doing clean in dosutils" ; \
10191 (cd $(HOST_SUBDIR)/dosutils && \
10192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10194 "RANLIB=$${RANLIB}" \
10195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10196 clean) \
10197 || exit 1
10199 @endif dosutils
10201 .PHONY: maybe-distclean-dosutils distclean-dosutils
10202 maybe-distclean-dosutils:
10203 @if dosutils
10204 maybe-distclean-dosutils: distclean-dosutils
10206 distclean-dosutils:
10207 @: $(MAKE); $(unstage)
10208 @[ -f ./dosutils/Makefile ] || exit 0; \
10209 r=`${PWD_COMMAND}`; export r; \
10210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10211 $(HOST_EXPORTS) \
10212 for flag in $(EXTRA_HOST_FLAGS) ; do \
10213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10214 done; \
10215 echo "Doing distclean in dosutils" ; \
10216 (cd $(HOST_SUBDIR)/dosutils && \
10217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10219 "RANLIB=$${RANLIB}" \
10220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10221 distclean) \
10222 || exit 1
10224 @endif dosutils
10226 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
10227 maybe-maintainer-clean-dosutils:
10228 @if dosutils
10229 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
10231 maintainer-clean-dosutils:
10232 @: $(MAKE); $(unstage)
10233 @[ -f ./dosutils/Makefile ] || exit 0; \
10234 r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10236 $(HOST_EXPORTS) \
10237 for flag in $(EXTRA_HOST_FLAGS) ; do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10239 done; \
10240 echo "Doing maintainer-clean in dosutils" ; \
10241 (cd $(HOST_SUBDIR)/dosutils && \
10242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10244 "RANLIB=$${RANLIB}" \
10245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10246 maintainer-clean) \
10247 || exit 1
10249 @endif dosutils
10253 .PHONY: configure-etc maybe-configure-etc
10254 maybe-configure-etc:
10255 @if gcc-bootstrap
10256 configure-etc: stage_current
10257 @endif gcc-bootstrap
10258 @if etc
10259 maybe-configure-etc: configure-etc
10260 configure-etc:
10261 @: $(MAKE); $(unstage)
10262 @r=`${PWD_COMMAND}`; export r; \
10263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10264 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
10265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
10266 $(HOST_EXPORTS) \
10267 echo Configuring in $(HOST_SUBDIR)/etc; \
10268 cd "$(HOST_SUBDIR)/etc" || exit 1; \
10269 case $(srcdir) in \
10270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10271 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
10272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10273 esac; \
10274 srcdiroption="--srcdir=$${topdir}/etc"; \
10275 libsrcdir="$$s/etc"; \
10276 $(SHELL) $${libsrcdir}/configure \
10277 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10278 --target=${target_alias} $${srcdiroption} \
10279 || exit 1
10280 @endif etc
10286 .PHONY: all-etc maybe-all-etc
10287 maybe-all-etc:
10288 @if gcc-bootstrap
10289 all-etc: stage_current
10290 @endif gcc-bootstrap
10291 @if etc
10292 TARGET-etc=all
10293 maybe-all-etc: all-etc
10294 all-etc: configure-etc
10295 @: $(MAKE); $(unstage)
10296 @r=`${PWD_COMMAND}`; export r; \
10297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10298 $(HOST_EXPORTS) \
10299 (cd $(HOST_SUBDIR)/etc && \
10300 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10301 $(TARGET-etc))
10302 @endif etc
10307 .PHONY: check-etc maybe-check-etc
10308 maybe-check-etc:
10309 @if etc
10310 maybe-check-etc: check-etc
10312 check-etc:
10313 @: $(MAKE); $(unstage)
10314 @r=`${PWD_COMMAND}`; export r; \
10315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10316 $(HOST_EXPORTS) \
10317 (cd $(HOST_SUBDIR)/etc && \
10318 $(MAKE) $(FLAGS_TO_PASS) check)
10320 @endif etc
10322 .PHONY: install-etc maybe-install-etc
10323 maybe-install-etc:
10324 @if etc
10325 maybe-install-etc: install-etc
10327 install-etc: installdirs
10328 @: $(MAKE); $(unstage)
10329 @r=`${PWD_COMMAND}`; export r; \
10330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10331 $(HOST_EXPORTS) \
10332 (cd $(HOST_SUBDIR)/etc && \
10333 $(MAKE) $(FLAGS_TO_PASS) install)
10335 @endif etc
10337 # Other targets (info, dvi, pdf, etc.)
10339 .PHONY: maybe-info-etc info-etc
10340 maybe-info-etc:
10341 @if etc
10342 maybe-info-etc: info-etc
10344 info-etc: \
10345 configure-etc
10346 @: $(MAKE); $(unstage)
10347 @[ -f ./etc/Makefile ] || exit 0; \
10348 r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 $(HOST_EXPORTS) \
10351 for flag in $(EXTRA_HOST_FLAGS) ; do \
10352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10353 done; \
10354 echo "Doing info in etc" ; \
10355 (cd $(HOST_SUBDIR)/etc && \
10356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10358 "RANLIB=$${RANLIB}" \
10359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10360 info) \
10361 || exit 1
10363 @endif etc
10365 .PHONY: maybe-dvi-etc dvi-etc
10366 maybe-dvi-etc:
10367 @if etc
10368 maybe-dvi-etc: dvi-etc
10370 dvi-etc: \
10371 configure-etc
10372 @: $(MAKE); $(unstage)
10373 @[ -f ./etc/Makefile ] || exit 0; \
10374 r=`${PWD_COMMAND}`; export r; \
10375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10376 $(HOST_EXPORTS) \
10377 for flag in $(EXTRA_HOST_FLAGS) ; do \
10378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10379 done; \
10380 echo "Doing dvi in etc" ; \
10381 (cd $(HOST_SUBDIR)/etc && \
10382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10384 "RANLIB=$${RANLIB}" \
10385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10386 dvi) \
10387 || exit 1
10389 @endif etc
10391 .PHONY: maybe-pdf-etc pdf-etc
10392 maybe-pdf-etc:
10393 @if etc
10394 maybe-pdf-etc: pdf-etc
10396 pdf-etc: \
10397 configure-etc
10398 @: $(MAKE); $(unstage)
10399 @[ -f ./etc/Makefile ] || exit 0; \
10400 r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 $(HOST_EXPORTS) \
10403 for flag in $(EXTRA_HOST_FLAGS) ; do \
10404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10405 done; \
10406 echo "Doing pdf in etc" ; \
10407 (cd $(HOST_SUBDIR)/etc && \
10408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10410 "RANLIB=$${RANLIB}" \
10411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10412 pdf) \
10413 || exit 1
10415 @endif etc
10417 .PHONY: maybe-html-etc html-etc
10418 maybe-html-etc:
10419 @if etc
10420 maybe-html-etc: html-etc
10422 html-etc: \
10423 configure-etc
10424 @: $(MAKE); $(unstage)
10425 @[ -f ./etc/Makefile ] || exit 0; \
10426 r=`${PWD_COMMAND}`; export r; \
10427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10428 $(HOST_EXPORTS) \
10429 for flag in $(EXTRA_HOST_FLAGS) ; do \
10430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10431 done; \
10432 echo "Doing html in etc" ; \
10433 (cd $(HOST_SUBDIR)/etc && \
10434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10436 "RANLIB=$${RANLIB}" \
10437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10438 html) \
10439 || exit 1
10441 @endif etc
10443 .PHONY: maybe-TAGS-etc TAGS-etc
10444 maybe-TAGS-etc:
10445 @if etc
10446 maybe-TAGS-etc: TAGS-etc
10448 TAGS-etc: \
10449 configure-etc
10450 @: $(MAKE); $(unstage)
10451 @[ -f ./etc/Makefile ] || exit 0; \
10452 r=`${PWD_COMMAND}`; export r; \
10453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10454 $(HOST_EXPORTS) \
10455 for flag in $(EXTRA_HOST_FLAGS) ; do \
10456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10457 done; \
10458 echo "Doing TAGS in etc" ; \
10459 (cd $(HOST_SUBDIR)/etc && \
10460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10462 "RANLIB=$${RANLIB}" \
10463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10464 TAGS) \
10465 || exit 1
10467 @endif etc
10469 .PHONY: maybe-install-info-etc install-info-etc
10470 maybe-install-info-etc:
10471 @if etc
10472 maybe-install-info-etc: install-info-etc
10474 install-info-etc: \
10475 configure-etc \
10476 info-etc
10477 @: $(MAKE); $(unstage)
10478 @[ -f ./etc/Makefile ] || exit 0; \
10479 r=`${PWD_COMMAND}`; export r; \
10480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10481 $(HOST_EXPORTS) \
10482 for flag in $(EXTRA_HOST_FLAGS) ; do \
10483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10484 done; \
10485 echo "Doing install-info in etc" ; \
10486 (cd $(HOST_SUBDIR)/etc && \
10487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10489 "RANLIB=$${RANLIB}" \
10490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10491 install-info) \
10492 || exit 1
10494 @endif etc
10496 .PHONY: maybe-install-pdf-etc install-pdf-etc
10497 maybe-install-pdf-etc:
10498 @if etc
10499 maybe-install-pdf-etc: install-pdf-etc
10501 install-pdf-etc: \
10502 configure-etc \
10503 pdf-etc
10504 @: $(MAKE); $(unstage)
10505 @[ -f ./etc/Makefile ] || exit 0; \
10506 r=`${PWD_COMMAND}`; export r; \
10507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10508 $(HOST_EXPORTS) \
10509 for flag in $(EXTRA_HOST_FLAGS) ; do \
10510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10511 done; \
10512 echo "Doing install-pdf in etc" ; \
10513 (cd $(HOST_SUBDIR)/etc && \
10514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10516 "RANLIB=$${RANLIB}" \
10517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10518 install-pdf) \
10519 || exit 1
10521 @endif etc
10523 .PHONY: maybe-install-html-etc install-html-etc
10524 maybe-install-html-etc:
10525 @if etc
10526 maybe-install-html-etc: install-html-etc
10528 install-html-etc: \
10529 configure-etc \
10530 html-etc
10531 @: $(MAKE); $(unstage)
10532 @[ -f ./etc/Makefile ] || exit 0; \
10533 r=`${PWD_COMMAND}`; export r; \
10534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10535 $(HOST_EXPORTS) \
10536 for flag in $(EXTRA_HOST_FLAGS) ; do \
10537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10538 done; \
10539 echo "Doing install-html in etc" ; \
10540 (cd $(HOST_SUBDIR)/etc && \
10541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10543 "RANLIB=$${RANLIB}" \
10544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10545 install-html) \
10546 || exit 1
10548 @endif etc
10550 .PHONY: maybe-installcheck-etc installcheck-etc
10551 maybe-installcheck-etc:
10552 @if etc
10553 maybe-installcheck-etc: installcheck-etc
10555 installcheck-etc: \
10556 configure-etc
10557 @: $(MAKE); $(unstage)
10558 @[ -f ./etc/Makefile ] || exit 0; \
10559 r=`${PWD_COMMAND}`; export r; \
10560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10561 $(HOST_EXPORTS) \
10562 for flag in $(EXTRA_HOST_FLAGS) ; do \
10563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10564 done; \
10565 echo "Doing installcheck in etc" ; \
10566 (cd $(HOST_SUBDIR)/etc && \
10567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10569 "RANLIB=$${RANLIB}" \
10570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10571 installcheck) \
10572 || exit 1
10574 @endif etc
10576 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
10577 maybe-mostlyclean-etc:
10578 @if etc
10579 maybe-mostlyclean-etc: mostlyclean-etc
10581 mostlyclean-etc:
10582 @: $(MAKE); $(unstage)
10583 @[ -f ./etc/Makefile ] || exit 0; \
10584 r=`${PWD_COMMAND}`; export r; \
10585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586 $(HOST_EXPORTS) \
10587 for flag in $(EXTRA_HOST_FLAGS) ; do \
10588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10589 done; \
10590 echo "Doing mostlyclean in etc" ; \
10591 (cd $(HOST_SUBDIR)/etc && \
10592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10594 "RANLIB=$${RANLIB}" \
10595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10596 mostlyclean) \
10597 || exit 1
10599 @endif etc
10601 .PHONY: maybe-clean-etc clean-etc
10602 maybe-clean-etc:
10603 @if etc
10604 maybe-clean-etc: clean-etc
10606 clean-etc:
10607 @: $(MAKE); $(unstage)
10608 @[ -f ./etc/Makefile ] || exit 0; \
10609 r=`${PWD_COMMAND}`; export r; \
10610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10611 $(HOST_EXPORTS) \
10612 for flag in $(EXTRA_HOST_FLAGS) ; do \
10613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10614 done; \
10615 echo "Doing clean in etc" ; \
10616 (cd $(HOST_SUBDIR)/etc && \
10617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10619 "RANLIB=$${RANLIB}" \
10620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10621 clean) \
10622 || exit 1
10624 @endif etc
10626 .PHONY: maybe-distclean-etc distclean-etc
10627 maybe-distclean-etc:
10628 @if etc
10629 maybe-distclean-etc: distclean-etc
10631 distclean-etc:
10632 @: $(MAKE); $(unstage)
10633 @[ -f ./etc/Makefile ] || exit 0; \
10634 r=`${PWD_COMMAND}`; export r; \
10635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10636 $(HOST_EXPORTS) \
10637 for flag in $(EXTRA_HOST_FLAGS) ; do \
10638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10639 done; \
10640 echo "Doing distclean in etc" ; \
10641 (cd $(HOST_SUBDIR)/etc && \
10642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10644 "RANLIB=$${RANLIB}" \
10645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10646 distclean) \
10647 || exit 1
10649 @endif etc
10651 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
10652 maybe-maintainer-clean-etc:
10653 @if etc
10654 maybe-maintainer-clean-etc: maintainer-clean-etc
10656 maintainer-clean-etc:
10657 @: $(MAKE); $(unstage)
10658 @[ -f ./etc/Makefile ] || exit 0; \
10659 r=`${PWD_COMMAND}`; export r; \
10660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10661 $(HOST_EXPORTS) \
10662 for flag in $(EXTRA_HOST_FLAGS) ; do \
10663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10664 done; \
10665 echo "Doing maintainer-clean in etc" ; \
10666 (cd $(HOST_SUBDIR)/etc && \
10667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10669 "RANLIB=$${RANLIB}" \
10670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10671 maintainer-clean) \
10672 || exit 1
10674 @endif etc
10678 .PHONY: configure-fastjar maybe-configure-fastjar
10679 maybe-configure-fastjar:
10680 @if gcc-bootstrap
10681 configure-fastjar: stage_current
10682 @endif gcc-bootstrap
10683 @if fastjar
10684 maybe-configure-fastjar: configure-fastjar
10685 configure-fastjar:
10686 @: $(MAKE); $(unstage)
10687 @r=`${PWD_COMMAND}`; export r; \
10688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
10690 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
10691 $(HOST_EXPORTS) \
10692 echo Configuring in $(HOST_SUBDIR)/fastjar; \
10693 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
10694 case $(srcdir) in \
10695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10696 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
10697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10698 esac; \
10699 srcdiroption="--srcdir=$${topdir}/fastjar"; \
10700 libsrcdir="$$s/fastjar"; \
10701 $(SHELL) $${libsrcdir}/configure \
10702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10703 --target=${target_alias} $${srcdiroption} \
10704 || exit 1
10705 @endif fastjar
10711 .PHONY: all-fastjar maybe-all-fastjar
10712 maybe-all-fastjar:
10713 @if gcc-bootstrap
10714 all-fastjar: stage_current
10715 @endif gcc-bootstrap
10716 @if fastjar
10717 TARGET-fastjar=all
10718 maybe-all-fastjar: all-fastjar
10719 all-fastjar: configure-fastjar
10720 @: $(MAKE); $(unstage)
10721 @r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723 $(HOST_EXPORTS) \
10724 (cd $(HOST_SUBDIR)/fastjar && \
10725 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
10726 $(TARGET-fastjar))
10727 @endif fastjar
10732 .PHONY: check-fastjar maybe-check-fastjar
10733 maybe-check-fastjar:
10734 @if fastjar
10735 maybe-check-fastjar: check-fastjar
10737 # This module is only tested in a native toolchain.
10738 check-fastjar:
10739 @: $(MAKE); $(unstage)
10740 @if [ '$(host)' = '$(target)' ] ; then \
10741 r=`${PWD_COMMAND}`; export r; \
10742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10743 $(HOST_EXPORTS) \
10744 (cd $(HOST_SUBDIR)/fastjar && \
10745 $(MAKE) $(FLAGS_TO_PASS) check); \
10748 @endif fastjar
10750 .PHONY: install-fastjar maybe-install-fastjar
10751 maybe-install-fastjar:
10752 @if fastjar
10753 maybe-install-fastjar: install-fastjar
10755 install-fastjar: installdirs
10756 @: $(MAKE); $(unstage)
10757 @r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(HOST_EXPORTS) \
10760 (cd $(HOST_SUBDIR)/fastjar && \
10761 $(MAKE) $(FLAGS_TO_PASS) install)
10763 @endif fastjar
10765 # Other targets (info, dvi, pdf, etc.)
10767 .PHONY: maybe-info-fastjar info-fastjar
10768 maybe-info-fastjar:
10769 @if fastjar
10770 maybe-info-fastjar: info-fastjar
10772 info-fastjar: \
10773 configure-fastjar
10774 @: $(MAKE); $(unstage)
10775 @[ -f ./fastjar/Makefile ] || exit 0; \
10776 r=`${PWD_COMMAND}`; export r; \
10777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 $(HOST_EXPORTS) \
10779 for flag in $(EXTRA_HOST_FLAGS) ; do \
10780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10781 done; \
10782 echo "Doing info in fastjar" ; \
10783 (cd $(HOST_SUBDIR)/fastjar && \
10784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10786 "RANLIB=$${RANLIB}" \
10787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10788 info) \
10789 || exit 1
10791 @endif fastjar
10793 .PHONY: maybe-dvi-fastjar dvi-fastjar
10794 maybe-dvi-fastjar:
10795 @if fastjar
10796 maybe-dvi-fastjar: dvi-fastjar
10798 dvi-fastjar: \
10799 configure-fastjar
10800 @: $(MAKE); $(unstage)
10801 @[ -f ./fastjar/Makefile ] || exit 0; \
10802 r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804 $(HOST_EXPORTS) \
10805 for flag in $(EXTRA_HOST_FLAGS) ; do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807 done; \
10808 echo "Doing dvi in fastjar" ; \
10809 (cd $(HOST_SUBDIR)/fastjar && \
10810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812 "RANLIB=$${RANLIB}" \
10813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10814 dvi) \
10815 || exit 1
10817 @endif fastjar
10819 .PHONY: maybe-pdf-fastjar pdf-fastjar
10820 maybe-pdf-fastjar:
10821 @if fastjar
10822 maybe-pdf-fastjar: pdf-fastjar
10824 pdf-fastjar: \
10825 configure-fastjar
10826 @: $(MAKE); $(unstage)
10827 @[ -f ./fastjar/Makefile ] || exit 0; \
10828 r=`${PWD_COMMAND}`; export r; \
10829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10830 $(HOST_EXPORTS) \
10831 for flag in $(EXTRA_HOST_FLAGS) ; do \
10832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10833 done; \
10834 echo "Doing pdf in fastjar" ; \
10835 (cd $(HOST_SUBDIR)/fastjar && \
10836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10838 "RANLIB=$${RANLIB}" \
10839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10840 pdf) \
10841 || exit 1
10843 @endif fastjar
10845 .PHONY: maybe-html-fastjar html-fastjar
10846 maybe-html-fastjar:
10847 @if fastjar
10848 maybe-html-fastjar: html-fastjar
10850 html-fastjar: \
10851 configure-fastjar
10852 @: $(MAKE); $(unstage)
10853 @[ -f ./fastjar/Makefile ] || exit 0; \
10854 r=`${PWD_COMMAND}`; export r; \
10855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10856 $(HOST_EXPORTS) \
10857 for flag in $(EXTRA_HOST_FLAGS) ; do \
10858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10859 done; \
10860 echo "Doing html in fastjar" ; \
10861 (cd $(HOST_SUBDIR)/fastjar && \
10862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10864 "RANLIB=$${RANLIB}" \
10865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10866 html) \
10867 || exit 1
10869 @endif fastjar
10871 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
10872 maybe-TAGS-fastjar:
10873 @if fastjar
10874 maybe-TAGS-fastjar: TAGS-fastjar
10876 TAGS-fastjar: \
10877 configure-fastjar
10878 @: $(MAKE); $(unstage)
10879 @[ -f ./fastjar/Makefile ] || exit 0; \
10880 r=`${PWD_COMMAND}`; export r; \
10881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10882 $(HOST_EXPORTS) \
10883 for flag in $(EXTRA_HOST_FLAGS) ; do \
10884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10885 done; \
10886 echo "Doing TAGS in fastjar" ; \
10887 (cd $(HOST_SUBDIR)/fastjar && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10890 "RANLIB=$${RANLIB}" \
10891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10892 TAGS) \
10893 || exit 1
10895 @endif fastjar
10897 .PHONY: maybe-install-info-fastjar install-info-fastjar
10898 maybe-install-info-fastjar:
10899 @if fastjar
10900 maybe-install-info-fastjar: install-info-fastjar
10902 install-info-fastjar: \
10903 configure-fastjar \
10904 info-fastjar
10905 @: $(MAKE); $(unstage)
10906 @[ -f ./fastjar/Makefile ] || exit 0; \
10907 r=`${PWD_COMMAND}`; export r; \
10908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10909 $(HOST_EXPORTS) \
10910 for flag in $(EXTRA_HOST_FLAGS) ; do \
10911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10912 done; \
10913 echo "Doing install-info in fastjar" ; \
10914 (cd $(HOST_SUBDIR)/fastjar && \
10915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10917 "RANLIB=$${RANLIB}" \
10918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10919 install-info) \
10920 || exit 1
10922 @endif fastjar
10924 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
10925 maybe-install-pdf-fastjar:
10926 @if fastjar
10927 maybe-install-pdf-fastjar: install-pdf-fastjar
10929 install-pdf-fastjar: \
10930 configure-fastjar \
10931 pdf-fastjar
10932 @: $(MAKE); $(unstage)
10933 @[ -f ./fastjar/Makefile ] || exit 0; \
10934 r=`${PWD_COMMAND}`; export r; \
10935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10936 $(HOST_EXPORTS) \
10937 for flag in $(EXTRA_HOST_FLAGS) ; do \
10938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10939 done; \
10940 echo "Doing install-pdf in fastjar" ; \
10941 (cd $(HOST_SUBDIR)/fastjar && \
10942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10944 "RANLIB=$${RANLIB}" \
10945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10946 install-pdf) \
10947 || exit 1
10949 @endif fastjar
10951 .PHONY: maybe-install-html-fastjar install-html-fastjar
10952 maybe-install-html-fastjar:
10953 @if fastjar
10954 maybe-install-html-fastjar: install-html-fastjar
10956 install-html-fastjar: \
10957 configure-fastjar \
10958 html-fastjar
10959 @: $(MAKE); $(unstage)
10960 @[ -f ./fastjar/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 $(HOST_EXPORTS) \
10964 for flag in $(EXTRA_HOST_FLAGS) ; do \
10965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10966 done; \
10967 echo "Doing install-html in fastjar" ; \
10968 (cd $(HOST_SUBDIR)/fastjar && \
10969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10971 "RANLIB=$${RANLIB}" \
10972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10973 install-html) \
10974 || exit 1
10976 @endif fastjar
10978 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
10979 maybe-installcheck-fastjar:
10980 @if fastjar
10981 maybe-installcheck-fastjar: installcheck-fastjar
10983 installcheck-fastjar: \
10984 configure-fastjar
10985 @: $(MAKE); $(unstage)
10986 @[ -f ./fastjar/Makefile ] || exit 0; \
10987 r=`${PWD_COMMAND}`; export r; \
10988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10989 $(HOST_EXPORTS) \
10990 for flag in $(EXTRA_HOST_FLAGS) ; do \
10991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10992 done; \
10993 echo "Doing installcheck in fastjar" ; \
10994 (cd $(HOST_SUBDIR)/fastjar && \
10995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10997 "RANLIB=$${RANLIB}" \
10998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10999 installcheck) \
11000 || exit 1
11002 @endif fastjar
11004 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
11005 maybe-mostlyclean-fastjar:
11006 @if fastjar
11007 maybe-mostlyclean-fastjar: mostlyclean-fastjar
11009 mostlyclean-fastjar:
11010 @: $(MAKE); $(unstage)
11011 @[ -f ./fastjar/Makefile ] || exit 0; \
11012 r=`${PWD_COMMAND}`; export r; \
11013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11014 $(HOST_EXPORTS) \
11015 for flag in $(EXTRA_HOST_FLAGS) ; do \
11016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11017 done; \
11018 echo "Doing mostlyclean in fastjar" ; \
11019 (cd $(HOST_SUBDIR)/fastjar && \
11020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11022 "RANLIB=$${RANLIB}" \
11023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11024 mostlyclean) \
11025 || exit 1
11027 @endif fastjar
11029 .PHONY: maybe-clean-fastjar clean-fastjar
11030 maybe-clean-fastjar:
11031 @if fastjar
11032 maybe-clean-fastjar: clean-fastjar
11034 clean-fastjar:
11035 @: $(MAKE); $(unstage)
11036 @[ -f ./fastjar/Makefile ] || exit 0; \
11037 r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(HOST_EXPORTS) \
11040 for flag in $(EXTRA_HOST_FLAGS) ; do \
11041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11042 done; \
11043 echo "Doing clean in fastjar" ; \
11044 (cd $(HOST_SUBDIR)/fastjar && \
11045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11047 "RANLIB=$${RANLIB}" \
11048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11049 clean) \
11050 || exit 1
11052 @endif fastjar
11054 .PHONY: maybe-distclean-fastjar distclean-fastjar
11055 maybe-distclean-fastjar:
11056 @if fastjar
11057 maybe-distclean-fastjar: distclean-fastjar
11059 distclean-fastjar:
11060 @: $(MAKE); $(unstage)
11061 @[ -f ./fastjar/Makefile ] || exit 0; \
11062 r=`${PWD_COMMAND}`; export r; \
11063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11064 $(HOST_EXPORTS) \
11065 for flag in $(EXTRA_HOST_FLAGS) ; do \
11066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11067 done; \
11068 echo "Doing distclean in fastjar" ; \
11069 (cd $(HOST_SUBDIR)/fastjar && \
11070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11072 "RANLIB=$${RANLIB}" \
11073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11074 distclean) \
11075 || exit 1
11077 @endif fastjar
11079 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
11080 maybe-maintainer-clean-fastjar:
11081 @if fastjar
11082 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
11084 maintainer-clean-fastjar:
11085 @: $(MAKE); $(unstage)
11086 @[ -f ./fastjar/Makefile ] || exit 0; \
11087 r=`${PWD_COMMAND}`; export r; \
11088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11089 $(HOST_EXPORTS) \
11090 for flag in $(EXTRA_HOST_FLAGS) ; do \
11091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11092 done; \
11093 echo "Doing maintainer-clean in fastjar" ; \
11094 (cd $(HOST_SUBDIR)/fastjar && \
11095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11097 "RANLIB=$${RANLIB}" \
11098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11099 maintainer-clean) \
11100 || exit 1
11102 @endif fastjar
11106 .PHONY: configure-fileutils maybe-configure-fileutils
11107 maybe-configure-fileutils:
11108 @if gcc-bootstrap
11109 configure-fileutils: stage_current
11110 @endif gcc-bootstrap
11111 @if fileutils
11112 maybe-configure-fileutils: configure-fileutils
11113 configure-fileutils:
11114 @: $(MAKE); $(unstage)
11115 @r=`${PWD_COMMAND}`; export r; \
11116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11117 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
11118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
11119 $(HOST_EXPORTS) \
11120 echo Configuring in $(HOST_SUBDIR)/fileutils; \
11121 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
11122 case $(srcdir) in \
11123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11124 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
11125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11126 esac; \
11127 srcdiroption="--srcdir=$${topdir}/fileutils"; \
11128 libsrcdir="$$s/fileutils"; \
11129 $(SHELL) $${libsrcdir}/configure \
11130 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11131 --target=${target_alias} $${srcdiroption} \
11132 || exit 1
11133 @endif fileutils
11139 .PHONY: all-fileutils maybe-all-fileutils
11140 maybe-all-fileutils:
11141 @if gcc-bootstrap
11142 all-fileutils: stage_current
11143 @endif gcc-bootstrap
11144 @if fileutils
11145 TARGET-fileutils=all
11146 maybe-all-fileutils: all-fileutils
11147 all-fileutils: configure-fileutils
11148 @: $(MAKE); $(unstage)
11149 @r=`${PWD_COMMAND}`; export r; \
11150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11151 $(HOST_EXPORTS) \
11152 (cd $(HOST_SUBDIR)/fileutils && \
11153 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11154 $(TARGET-fileutils))
11155 @endif fileutils
11160 .PHONY: check-fileutils maybe-check-fileutils
11161 maybe-check-fileutils:
11162 @if fileutils
11163 maybe-check-fileutils: check-fileutils
11165 check-fileutils:
11166 @: $(MAKE); $(unstage)
11167 @r=`${PWD_COMMAND}`; export r; \
11168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11169 $(HOST_EXPORTS) \
11170 (cd $(HOST_SUBDIR)/fileutils && \
11171 $(MAKE) $(FLAGS_TO_PASS) check)
11173 @endif fileutils
11175 .PHONY: install-fileutils maybe-install-fileutils
11176 maybe-install-fileutils:
11177 @if fileutils
11178 maybe-install-fileutils: install-fileutils
11180 install-fileutils: installdirs
11181 @: $(MAKE); $(unstage)
11182 @r=`${PWD_COMMAND}`; export r; \
11183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11184 $(HOST_EXPORTS) \
11185 (cd $(HOST_SUBDIR)/fileutils && \
11186 $(MAKE) $(FLAGS_TO_PASS) install)
11188 @endif fileutils
11190 # Other targets (info, dvi, pdf, etc.)
11192 .PHONY: maybe-info-fileutils info-fileutils
11193 maybe-info-fileutils:
11194 @if fileutils
11195 maybe-info-fileutils: info-fileutils
11197 info-fileutils: \
11198 configure-fileutils
11199 @: $(MAKE); $(unstage)
11200 @[ -f ./fileutils/Makefile ] || exit 0; \
11201 r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(HOST_EXPORTS) \
11204 for flag in $(EXTRA_HOST_FLAGS) ; do \
11205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11206 done; \
11207 echo "Doing info in fileutils" ; \
11208 (cd $(HOST_SUBDIR)/fileutils && \
11209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11211 "RANLIB=$${RANLIB}" \
11212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11213 info) \
11214 || exit 1
11216 @endif fileutils
11218 .PHONY: maybe-dvi-fileutils dvi-fileutils
11219 maybe-dvi-fileutils:
11220 @if fileutils
11221 maybe-dvi-fileutils: dvi-fileutils
11223 dvi-fileutils: \
11224 configure-fileutils
11225 @: $(MAKE); $(unstage)
11226 @[ -f ./fileutils/Makefile ] || exit 0; \
11227 r=`${PWD_COMMAND}`; export r; \
11228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11229 $(HOST_EXPORTS) \
11230 for flag in $(EXTRA_HOST_FLAGS) ; do \
11231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11232 done; \
11233 echo "Doing dvi in fileutils" ; \
11234 (cd $(HOST_SUBDIR)/fileutils && \
11235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11237 "RANLIB=$${RANLIB}" \
11238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11239 dvi) \
11240 || exit 1
11242 @endif fileutils
11244 .PHONY: maybe-pdf-fileutils pdf-fileutils
11245 maybe-pdf-fileutils:
11246 @if fileutils
11247 maybe-pdf-fileutils: pdf-fileutils
11249 pdf-fileutils: \
11250 configure-fileutils
11251 @: $(MAKE); $(unstage)
11252 @[ -f ./fileutils/Makefile ] || exit 0; \
11253 r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(HOST_EXPORTS) \
11256 for flag in $(EXTRA_HOST_FLAGS) ; do \
11257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11258 done; \
11259 echo "Doing pdf in fileutils" ; \
11260 (cd $(HOST_SUBDIR)/fileutils && \
11261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11263 "RANLIB=$${RANLIB}" \
11264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11265 pdf) \
11266 || exit 1
11268 @endif fileutils
11270 .PHONY: maybe-html-fileutils html-fileutils
11271 maybe-html-fileutils:
11272 @if fileutils
11273 maybe-html-fileutils: html-fileutils
11275 html-fileutils: \
11276 configure-fileutils
11277 @: $(MAKE); $(unstage)
11278 @[ -f ./fileutils/Makefile ] || exit 0; \
11279 r=`${PWD_COMMAND}`; export r; \
11280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 $(HOST_EXPORTS) \
11282 for flag in $(EXTRA_HOST_FLAGS) ; do \
11283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11284 done; \
11285 echo "Doing html in fileutils" ; \
11286 (cd $(HOST_SUBDIR)/fileutils && \
11287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11289 "RANLIB=$${RANLIB}" \
11290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11291 html) \
11292 || exit 1
11294 @endif fileutils
11296 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
11297 maybe-TAGS-fileutils:
11298 @if fileutils
11299 maybe-TAGS-fileutils: TAGS-fileutils
11301 TAGS-fileutils: \
11302 configure-fileutils
11303 @: $(MAKE); $(unstage)
11304 @[ -f ./fileutils/Makefile ] || exit 0; \
11305 r=`${PWD_COMMAND}`; export r; \
11306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11307 $(HOST_EXPORTS) \
11308 for flag in $(EXTRA_HOST_FLAGS) ; do \
11309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11310 done; \
11311 echo "Doing TAGS in fileutils" ; \
11312 (cd $(HOST_SUBDIR)/fileutils && \
11313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11315 "RANLIB=$${RANLIB}" \
11316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11317 TAGS) \
11318 || exit 1
11320 @endif fileutils
11322 .PHONY: maybe-install-info-fileutils install-info-fileutils
11323 maybe-install-info-fileutils:
11324 @if fileutils
11325 maybe-install-info-fileutils: install-info-fileutils
11327 install-info-fileutils: \
11328 configure-fileutils \
11329 info-fileutils
11330 @: $(MAKE); $(unstage)
11331 @[ -f ./fileutils/Makefile ] || exit 0; \
11332 r=`${PWD_COMMAND}`; export r; \
11333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11334 $(HOST_EXPORTS) \
11335 for flag in $(EXTRA_HOST_FLAGS) ; do \
11336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11337 done; \
11338 echo "Doing install-info in fileutils" ; \
11339 (cd $(HOST_SUBDIR)/fileutils && \
11340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11342 "RANLIB=$${RANLIB}" \
11343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11344 install-info) \
11345 || exit 1
11347 @endif fileutils
11349 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
11350 maybe-install-pdf-fileutils:
11351 @if fileutils
11352 maybe-install-pdf-fileutils: install-pdf-fileutils
11354 install-pdf-fileutils: \
11355 configure-fileutils \
11356 pdf-fileutils
11357 @: $(MAKE); $(unstage)
11358 @[ -f ./fileutils/Makefile ] || exit 0; \
11359 r=`${PWD_COMMAND}`; export r; \
11360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11361 $(HOST_EXPORTS) \
11362 for flag in $(EXTRA_HOST_FLAGS) ; do \
11363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11364 done; \
11365 echo "Doing install-pdf in fileutils" ; \
11366 (cd $(HOST_SUBDIR)/fileutils && \
11367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11369 "RANLIB=$${RANLIB}" \
11370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11371 install-pdf) \
11372 || exit 1
11374 @endif fileutils
11376 .PHONY: maybe-install-html-fileutils install-html-fileutils
11377 maybe-install-html-fileutils:
11378 @if fileutils
11379 maybe-install-html-fileutils: install-html-fileutils
11381 install-html-fileutils: \
11382 configure-fileutils \
11383 html-fileutils
11384 @: $(MAKE); $(unstage)
11385 @[ -f ./fileutils/Makefile ] || exit 0; \
11386 r=`${PWD_COMMAND}`; export r; \
11387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11388 $(HOST_EXPORTS) \
11389 for flag in $(EXTRA_HOST_FLAGS) ; do \
11390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11391 done; \
11392 echo "Doing install-html in fileutils" ; \
11393 (cd $(HOST_SUBDIR)/fileutils && \
11394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11396 "RANLIB=$${RANLIB}" \
11397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11398 install-html) \
11399 || exit 1
11401 @endif fileutils
11403 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
11404 maybe-installcheck-fileutils:
11405 @if fileutils
11406 maybe-installcheck-fileutils: installcheck-fileutils
11408 installcheck-fileutils: \
11409 configure-fileutils
11410 @: $(MAKE); $(unstage)
11411 @[ -f ./fileutils/Makefile ] || exit 0; \
11412 r=`${PWD_COMMAND}`; export r; \
11413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11414 $(HOST_EXPORTS) \
11415 for flag in $(EXTRA_HOST_FLAGS) ; do \
11416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11417 done; \
11418 echo "Doing installcheck in fileutils" ; \
11419 (cd $(HOST_SUBDIR)/fileutils && \
11420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11422 "RANLIB=$${RANLIB}" \
11423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11424 installcheck) \
11425 || exit 1
11427 @endif fileutils
11429 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
11430 maybe-mostlyclean-fileutils:
11431 @if fileutils
11432 maybe-mostlyclean-fileutils: mostlyclean-fileutils
11434 mostlyclean-fileutils:
11435 @: $(MAKE); $(unstage)
11436 @[ -f ./fileutils/Makefile ] || exit 0; \
11437 r=`${PWD_COMMAND}`; export r; \
11438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11439 $(HOST_EXPORTS) \
11440 for flag in $(EXTRA_HOST_FLAGS) ; do \
11441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11442 done; \
11443 echo "Doing mostlyclean in fileutils" ; \
11444 (cd $(HOST_SUBDIR)/fileutils && \
11445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11447 "RANLIB=$${RANLIB}" \
11448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11449 mostlyclean) \
11450 || exit 1
11452 @endif fileutils
11454 .PHONY: maybe-clean-fileutils clean-fileutils
11455 maybe-clean-fileutils:
11456 @if fileutils
11457 maybe-clean-fileutils: clean-fileutils
11459 clean-fileutils:
11460 @: $(MAKE); $(unstage)
11461 @[ -f ./fileutils/Makefile ] || exit 0; \
11462 r=`${PWD_COMMAND}`; export r; \
11463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11464 $(HOST_EXPORTS) \
11465 for flag in $(EXTRA_HOST_FLAGS) ; do \
11466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11467 done; \
11468 echo "Doing clean in fileutils" ; \
11469 (cd $(HOST_SUBDIR)/fileutils && \
11470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11472 "RANLIB=$${RANLIB}" \
11473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11474 clean) \
11475 || exit 1
11477 @endif fileutils
11479 .PHONY: maybe-distclean-fileutils distclean-fileutils
11480 maybe-distclean-fileutils:
11481 @if fileutils
11482 maybe-distclean-fileutils: distclean-fileutils
11484 distclean-fileutils:
11485 @: $(MAKE); $(unstage)
11486 @[ -f ./fileutils/Makefile ] || exit 0; \
11487 r=`${PWD_COMMAND}`; export r; \
11488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11489 $(HOST_EXPORTS) \
11490 for flag in $(EXTRA_HOST_FLAGS) ; do \
11491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11492 done; \
11493 echo "Doing distclean in fileutils" ; \
11494 (cd $(HOST_SUBDIR)/fileutils && \
11495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11497 "RANLIB=$${RANLIB}" \
11498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11499 distclean) \
11500 || exit 1
11502 @endif fileutils
11504 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
11505 maybe-maintainer-clean-fileutils:
11506 @if fileutils
11507 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
11509 maintainer-clean-fileutils:
11510 @: $(MAKE); $(unstage)
11511 @[ -f ./fileutils/Makefile ] || exit 0; \
11512 r=`${PWD_COMMAND}`; export r; \
11513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11514 $(HOST_EXPORTS) \
11515 for flag in $(EXTRA_HOST_FLAGS) ; do \
11516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11517 done; \
11518 echo "Doing maintainer-clean in fileutils" ; \
11519 (cd $(HOST_SUBDIR)/fileutils && \
11520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11522 "RANLIB=$${RANLIB}" \
11523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11524 maintainer-clean) \
11525 || exit 1
11527 @endif fileutils
11531 .PHONY: configure-findutils maybe-configure-findutils
11532 maybe-configure-findutils:
11533 @if gcc-bootstrap
11534 configure-findutils: stage_current
11535 @endif gcc-bootstrap
11536 @if findutils
11537 maybe-configure-findutils: configure-findutils
11538 configure-findutils:
11539 @: $(MAKE); $(unstage)
11540 @r=`${PWD_COMMAND}`; export r; \
11541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11542 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
11543 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
11544 $(HOST_EXPORTS) \
11545 echo Configuring in $(HOST_SUBDIR)/findutils; \
11546 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
11547 case $(srcdir) in \
11548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11549 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
11550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11551 esac; \
11552 srcdiroption="--srcdir=$${topdir}/findutils"; \
11553 libsrcdir="$$s/findutils"; \
11554 $(SHELL) $${libsrcdir}/configure \
11555 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11556 --target=${target_alias} $${srcdiroption} \
11557 || exit 1
11558 @endif findutils
11564 .PHONY: all-findutils maybe-all-findutils
11565 maybe-all-findutils:
11566 @if gcc-bootstrap
11567 all-findutils: stage_current
11568 @endif gcc-bootstrap
11569 @if findutils
11570 TARGET-findutils=all
11571 maybe-all-findutils: all-findutils
11572 all-findutils: configure-findutils
11573 @: $(MAKE); $(unstage)
11574 @r=`${PWD_COMMAND}`; export r; \
11575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11576 $(HOST_EXPORTS) \
11577 (cd $(HOST_SUBDIR)/findutils && \
11578 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
11579 $(TARGET-findutils))
11580 @endif findutils
11585 .PHONY: check-findutils maybe-check-findutils
11586 maybe-check-findutils:
11587 @if findutils
11588 maybe-check-findutils: check-findutils
11590 check-findutils:
11591 @: $(MAKE); $(unstage)
11592 @r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 $(HOST_EXPORTS) \
11595 (cd $(HOST_SUBDIR)/findutils && \
11596 $(MAKE) $(FLAGS_TO_PASS) check)
11598 @endif findutils
11600 .PHONY: install-findutils maybe-install-findutils
11601 maybe-install-findutils:
11602 @if findutils
11603 maybe-install-findutils: install-findutils
11605 install-findutils: installdirs
11606 @: $(MAKE); $(unstage)
11607 @r=`${PWD_COMMAND}`; export r; \
11608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11609 $(HOST_EXPORTS) \
11610 (cd $(HOST_SUBDIR)/findutils && \
11611 $(MAKE) $(FLAGS_TO_PASS) install)
11613 @endif findutils
11615 # Other targets (info, dvi, pdf, etc.)
11617 .PHONY: maybe-info-findutils info-findutils
11618 maybe-info-findutils:
11619 @if findutils
11620 maybe-info-findutils: info-findutils
11622 info-findutils: \
11623 configure-findutils
11624 @: $(MAKE); $(unstage)
11625 @[ -f ./findutils/Makefile ] || exit 0; \
11626 r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(HOST_EXPORTS) \
11629 for flag in $(EXTRA_HOST_FLAGS) ; do \
11630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 done; \
11632 echo "Doing info in findutils" ; \
11633 (cd $(HOST_SUBDIR)/findutils && \
11634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11636 "RANLIB=$${RANLIB}" \
11637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11638 info) \
11639 || exit 1
11641 @endif findutils
11643 .PHONY: maybe-dvi-findutils dvi-findutils
11644 maybe-dvi-findutils:
11645 @if findutils
11646 maybe-dvi-findutils: dvi-findutils
11648 dvi-findutils: \
11649 configure-findutils
11650 @: $(MAKE); $(unstage)
11651 @[ -f ./findutils/Makefile ] || exit 0; \
11652 r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11654 $(HOST_EXPORTS) \
11655 for flag in $(EXTRA_HOST_FLAGS) ; do \
11656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11657 done; \
11658 echo "Doing dvi in findutils" ; \
11659 (cd $(HOST_SUBDIR)/findutils && \
11660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11662 "RANLIB=$${RANLIB}" \
11663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11664 dvi) \
11665 || exit 1
11667 @endif findutils
11669 .PHONY: maybe-pdf-findutils pdf-findutils
11670 maybe-pdf-findutils:
11671 @if findutils
11672 maybe-pdf-findutils: pdf-findutils
11674 pdf-findutils: \
11675 configure-findutils
11676 @: $(MAKE); $(unstage)
11677 @[ -f ./findutils/Makefile ] || exit 0; \
11678 r=`${PWD_COMMAND}`; export r; \
11679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11680 $(HOST_EXPORTS) \
11681 for flag in $(EXTRA_HOST_FLAGS) ; do \
11682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11683 done; \
11684 echo "Doing pdf in findutils" ; \
11685 (cd $(HOST_SUBDIR)/findutils && \
11686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11688 "RANLIB=$${RANLIB}" \
11689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11690 pdf) \
11691 || exit 1
11693 @endif findutils
11695 .PHONY: maybe-html-findutils html-findutils
11696 maybe-html-findutils:
11697 @if findutils
11698 maybe-html-findutils: html-findutils
11700 html-findutils: \
11701 configure-findutils
11702 @: $(MAKE); $(unstage)
11703 @[ -f ./findutils/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(HOST_EXPORTS) \
11707 for flag in $(EXTRA_HOST_FLAGS) ; do \
11708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11709 done; \
11710 echo "Doing html in findutils" ; \
11711 (cd $(HOST_SUBDIR)/findutils && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11716 html) \
11717 || exit 1
11719 @endif findutils
11721 .PHONY: maybe-TAGS-findutils TAGS-findutils
11722 maybe-TAGS-findutils:
11723 @if findutils
11724 maybe-TAGS-findutils: TAGS-findutils
11726 TAGS-findutils: \
11727 configure-findutils
11728 @: $(MAKE); $(unstage)
11729 @[ -f ./findutils/Makefile ] || exit 0; \
11730 r=`${PWD_COMMAND}`; export r; \
11731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11732 $(HOST_EXPORTS) \
11733 for flag in $(EXTRA_HOST_FLAGS) ; do \
11734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11735 done; \
11736 echo "Doing TAGS in findutils" ; \
11737 (cd $(HOST_SUBDIR)/findutils && \
11738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11740 "RANLIB=$${RANLIB}" \
11741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11742 TAGS) \
11743 || exit 1
11745 @endif findutils
11747 .PHONY: maybe-install-info-findutils install-info-findutils
11748 maybe-install-info-findutils:
11749 @if findutils
11750 maybe-install-info-findutils: install-info-findutils
11752 install-info-findutils: \
11753 configure-findutils \
11754 info-findutils
11755 @: $(MAKE); $(unstage)
11756 @[ -f ./findutils/Makefile ] || exit 0; \
11757 r=`${PWD_COMMAND}`; export r; \
11758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11759 $(HOST_EXPORTS) \
11760 for flag in $(EXTRA_HOST_FLAGS) ; do \
11761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11762 done; \
11763 echo "Doing install-info in findutils" ; \
11764 (cd $(HOST_SUBDIR)/findutils && \
11765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11767 "RANLIB=$${RANLIB}" \
11768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11769 install-info) \
11770 || exit 1
11772 @endif findutils
11774 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
11775 maybe-install-pdf-findutils:
11776 @if findutils
11777 maybe-install-pdf-findutils: install-pdf-findutils
11779 install-pdf-findutils: \
11780 configure-findutils \
11781 pdf-findutils
11782 @: $(MAKE); $(unstage)
11783 @[ -f ./findutils/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786 $(HOST_EXPORTS) \
11787 for flag in $(EXTRA_HOST_FLAGS) ; do \
11788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789 done; \
11790 echo "Doing install-pdf in findutils" ; \
11791 (cd $(HOST_SUBDIR)/findutils && \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794 "RANLIB=$${RANLIB}" \
11795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11796 install-pdf) \
11797 || exit 1
11799 @endif findutils
11801 .PHONY: maybe-install-html-findutils install-html-findutils
11802 maybe-install-html-findutils:
11803 @if findutils
11804 maybe-install-html-findutils: install-html-findutils
11806 install-html-findutils: \
11807 configure-findutils \
11808 html-findutils
11809 @: $(MAKE); $(unstage)
11810 @[ -f ./findutils/Makefile ] || exit 0; \
11811 r=`${PWD_COMMAND}`; export r; \
11812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11813 $(HOST_EXPORTS) \
11814 for flag in $(EXTRA_HOST_FLAGS) ; do \
11815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11816 done; \
11817 echo "Doing install-html in findutils" ; \
11818 (cd $(HOST_SUBDIR)/findutils && \
11819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11821 "RANLIB=$${RANLIB}" \
11822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11823 install-html) \
11824 || exit 1
11826 @endif findutils
11828 .PHONY: maybe-installcheck-findutils installcheck-findutils
11829 maybe-installcheck-findutils:
11830 @if findutils
11831 maybe-installcheck-findutils: installcheck-findutils
11833 installcheck-findutils: \
11834 configure-findutils
11835 @: $(MAKE); $(unstage)
11836 @[ -f ./findutils/Makefile ] || exit 0; \
11837 r=`${PWD_COMMAND}`; export r; \
11838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 $(HOST_EXPORTS) \
11840 for flag in $(EXTRA_HOST_FLAGS) ; do \
11841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11842 done; \
11843 echo "Doing installcheck in findutils" ; \
11844 (cd $(HOST_SUBDIR)/findutils && \
11845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11847 "RANLIB=$${RANLIB}" \
11848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11849 installcheck) \
11850 || exit 1
11852 @endif findutils
11854 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
11855 maybe-mostlyclean-findutils:
11856 @if findutils
11857 maybe-mostlyclean-findutils: mostlyclean-findutils
11859 mostlyclean-findutils:
11860 @: $(MAKE); $(unstage)
11861 @[ -f ./findutils/Makefile ] || exit 0; \
11862 r=`${PWD_COMMAND}`; export r; \
11863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11864 $(HOST_EXPORTS) \
11865 for flag in $(EXTRA_HOST_FLAGS) ; do \
11866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11867 done; \
11868 echo "Doing mostlyclean in findutils" ; \
11869 (cd $(HOST_SUBDIR)/findutils && \
11870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11872 "RANLIB=$${RANLIB}" \
11873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11874 mostlyclean) \
11875 || exit 1
11877 @endif findutils
11879 .PHONY: maybe-clean-findutils clean-findutils
11880 maybe-clean-findutils:
11881 @if findutils
11882 maybe-clean-findutils: clean-findutils
11884 clean-findutils:
11885 @: $(MAKE); $(unstage)
11886 @[ -f ./findutils/Makefile ] || exit 0; \
11887 r=`${PWD_COMMAND}`; export r; \
11888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11889 $(HOST_EXPORTS) \
11890 for flag in $(EXTRA_HOST_FLAGS) ; do \
11891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11892 done; \
11893 echo "Doing clean in findutils" ; \
11894 (cd $(HOST_SUBDIR)/findutils && \
11895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11897 "RANLIB=$${RANLIB}" \
11898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11899 clean) \
11900 || exit 1
11902 @endif findutils
11904 .PHONY: maybe-distclean-findutils distclean-findutils
11905 maybe-distclean-findutils:
11906 @if findutils
11907 maybe-distclean-findutils: distclean-findutils
11909 distclean-findutils:
11910 @: $(MAKE); $(unstage)
11911 @[ -f ./findutils/Makefile ] || exit 0; \
11912 r=`${PWD_COMMAND}`; export r; \
11913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914 $(HOST_EXPORTS) \
11915 for flag in $(EXTRA_HOST_FLAGS) ; do \
11916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11917 done; \
11918 echo "Doing distclean in findutils" ; \
11919 (cd $(HOST_SUBDIR)/findutils && \
11920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11922 "RANLIB=$${RANLIB}" \
11923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11924 distclean) \
11925 || exit 1
11927 @endif findutils
11929 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
11930 maybe-maintainer-clean-findutils:
11931 @if findutils
11932 maybe-maintainer-clean-findutils: maintainer-clean-findutils
11934 maintainer-clean-findutils:
11935 @: $(MAKE); $(unstage)
11936 @[ -f ./findutils/Makefile ] || exit 0; \
11937 r=`${PWD_COMMAND}`; export r; \
11938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11939 $(HOST_EXPORTS) \
11940 for flag in $(EXTRA_HOST_FLAGS) ; do \
11941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11942 done; \
11943 echo "Doing maintainer-clean in findutils" ; \
11944 (cd $(HOST_SUBDIR)/findutils && \
11945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11947 "RANLIB=$${RANLIB}" \
11948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11949 maintainer-clean) \
11950 || exit 1
11952 @endif findutils
11956 .PHONY: configure-find maybe-configure-find
11957 maybe-configure-find:
11958 @if gcc-bootstrap
11959 configure-find: stage_current
11960 @endif gcc-bootstrap
11961 @if find
11962 maybe-configure-find: configure-find
11963 configure-find:
11964 @: $(MAKE); $(unstage)
11965 @r=`${PWD_COMMAND}`; export r; \
11966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11967 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
11968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
11969 $(HOST_EXPORTS) \
11970 echo Configuring in $(HOST_SUBDIR)/find; \
11971 cd "$(HOST_SUBDIR)/find" || exit 1; \
11972 case $(srcdir) in \
11973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11974 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
11975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11976 esac; \
11977 srcdiroption="--srcdir=$${topdir}/find"; \
11978 libsrcdir="$$s/find"; \
11979 $(SHELL) $${libsrcdir}/configure \
11980 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11981 --target=${target_alias} $${srcdiroption} \
11982 || exit 1
11983 @endif find
11989 .PHONY: all-find maybe-all-find
11990 maybe-all-find:
11991 @if gcc-bootstrap
11992 all-find: stage_current
11993 @endif gcc-bootstrap
11994 @if find
11995 TARGET-find=all
11996 maybe-all-find: all-find
11997 all-find: configure-find
11998 @: $(MAKE); $(unstage)
11999 @r=`${PWD_COMMAND}`; export r; \
12000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12001 $(HOST_EXPORTS) \
12002 (cd $(HOST_SUBDIR)/find && \
12003 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12004 $(TARGET-find))
12005 @endif find
12010 .PHONY: check-find maybe-check-find
12011 maybe-check-find:
12012 @if find
12013 maybe-check-find: check-find
12015 check-find:
12016 @: $(MAKE); $(unstage)
12017 @r=`${PWD_COMMAND}`; export r; \
12018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12019 $(HOST_EXPORTS) \
12020 (cd $(HOST_SUBDIR)/find && \
12021 $(MAKE) $(FLAGS_TO_PASS) check)
12023 @endif find
12025 .PHONY: install-find maybe-install-find
12026 maybe-install-find:
12027 @if find
12028 maybe-install-find: install-find
12030 install-find: installdirs
12031 @: $(MAKE); $(unstage)
12032 @r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 $(HOST_EXPORTS) \
12035 (cd $(HOST_SUBDIR)/find && \
12036 $(MAKE) $(FLAGS_TO_PASS) install)
12038 @endif find
12040 # Other targets (info, dvi, pdf, etc.)
12042 .PHONY: maybe-info-find info-find
12043 maybe-info-find:
12044 @if find
12045 maybe-info-find: info-find
12047 info-find: \
12048 configure-find
12049 @: $(MAKE); $(unstage)
12050 @[ -f ./find/Makefile ] || exit 0; \
12051 r=`${PWD_COMMAND}`; export r; \
12052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12053 $(HOST_EXPORTS) \
12054 for flag in $(EXTRA_HOST_FLAGS) ; do \
12055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12056 done; \
12057 echo "Doing info in find" ; \
12058 (cd $(HOST_SUBDIR)/find && \
12059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12061 "RANLIB=$${RANLIB}" \
12062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12063 info) \
12064 || exit 1
12066 @endif find
12068 .PHONY: maybe-dvi-find dvi-find
12069 maybe-dvi-find:
12070 @if find
12071 maybe-dvi-find: dvi-find
12073 dvi-find: \
12074 configure-find
12075 @: $(MAKE); $(unstage)
12076 @[ -f ./find/Makefile ] || exit 0; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 $(HOST_EXPORTS) \
12080 for flag in $(EXTRA_HOST_FLAGS) ; do \
12081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12082 done; \
12083 echo "Doing dvi in find" ; \
12084 (cd $(HOST_SUBDIR)/find && \
12085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12087 "RANLIB=$${RANLIB}" \
12088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12089 dvi) \
12090 || exit 1
12092 @endif find
12094 .PHONY: maybe-pdf-find pdf-find
12095 maybe-pdf-find:
12096 @if find
12097 maybe-pdf-find: pdf-find
12099 pdf-find: \
12100 configure-find
12101 @: $(MAKE); $(unstage)
12102 @[ -f ./find/Makefile ] || exit 0; \
12103 r=`${PWD_COMMAND}`; export r; \
12104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12105 $(HOST_EXPORTS) \
12106 for flag in $(EXTRA_HOST_FLAGS) ; do \
12107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12108 done; \
12109 echo "Doing pdf in find" ; \
12110 (cd $(HOST_SUBDIR)/find && \
12111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12113 "RANLIB=$${RANLIB}" \
12114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12115 pdf) \
12116 || exit 1
12118 @endif find
12120 .PHONY: maybe-html-find html-find
12121 maybe-html-find:
12122 @if find
12123 maybe-html-find: html-find
12125 html-find: \
12126 configure-find
12127 @: $(MAKE); $(unstage)
12128 @[ -f ./find/Makefile ] || exit 0; \
12129 r=`${PWD_COMMAND}`; export r; \
12130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12131 $(HOST_EXPORTS) \
12132 for flag in $(EXTRA_HOST_FLAGS) ; do \
12133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12134 done; \
12135 echo "Doing html in find" ; \
12136 (cd $(HOST_SUBDIR)/find && \
12137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12139 "RANLIB=$${RANLIB}" \
12140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12141 html) \
12142 || exit 1
12144 @endif find
12146 .PHONY: maybe-TAGS-find TAGS-find
12147 maybe-TAGS-find:
12148 @if find
12149 maybe-TAGS-find: TAGS-find
12151 TAGS-find: \
12152 configure-find
12153 @: $(MAKE); $(unstage)
12154 @[ -f ./find/Makefile ] || exit 0; \
12155 r=`${PWD_COMMAND}`; export r; \
12156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12157 $(HOST_EXPORTS) \
12158 for flag in $(EXTRA_HOST_FLAGS) ; do \
12159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12160 done; \
12161 echo "Doing TAGS in find" ; \
12162 (cd $(HOST_SUBDIR)/find && \
12163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12165 "RANLIB=$${RANLIB}" \
12166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12167 TAGS) \
12168 || exit 1
12170 @endif find
12172 .PHONY: maybe-install-info-find install-info-find
12173 maybe-install-info-find:
12174 @if find
12175 maybe-install-info-find: install-info-find
12177 install-info-find: \
12178 configure-find \
12179 info-find
12180 @: $(MAKE); $(unstage)
12181 @[ -f ./find/Makefile ] || exit 0; \
12182 r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 $(HOST_EXPORTS) \
12185 for flag in $(EXTRA_HOST_FLAGS) ; do \
12186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12187 done; \
12188 echo "Doing install-info in find" ; \
12189 (cd $(HOST_SUBDIR)/find && \
12190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12192 "RANLIB=$${RANLIB}" \
12193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12194 install-info) \
12195 || exit 1
12197 @endif find
12199 .PHONY: maybe-install-pdf-find install-pdf-find
12200 maybe-install-pdf-find:
12201 @if find
12202 maybe-install-pdf-find: install-pdf-find
12204 install-pdf-find: \
12205 configure-find \
12206 pdf-find
12207 @: $(MAKE); $(unstage)
12208 @[ -f ./find/Makefile ] || exit 0; \
12209 r=`${PWD_COMMAND}`; export r; \
12210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12211 $(HOST_EXPORTS) \
12212 for flag in $(EXTRA_HOST_FLAGS) ; do \
12213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12214 done; \
12215 echo "Doing install-pdf in find" ; \
12216 (cd $(HOST_SUBDIR)/find && \
12217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12219 "RANLIB=$${RANLIB}" \
12220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12221 install-pdf) \
12222 || exit 1
12224 @endif find
12226 .PHONY: maybe-install-html-find install-html-find
12227 maybe-install-html-find:
12228 @if find
12229 maybe-install-html-find: install-html-find
12231 install-html-find: \
12232 configure-find \
12233 html-find
12234 @: $(MAKE); $(unstage)
12235 @[ -f ./find/Makefile ] || exit 0; \
12236 r=`${PWD_COMMAND}`; export r; \
12237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12238 $(HOST_EXPORTS) \
12239 for flag in $(EXTRA_HOST_FLAGS) ; do \
12240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12241 done; \
12242 echo "Doing install-html in find" ; \
12243 (cd $(HOST_SUBDIR)/find && \
12244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12246 "RANLIB=$${RANLIB}" \
12247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12248 install-html) \
12249 || exit 1
12251 @endif find
12253 .PHONY: maybe-installcheck-find installcheck-find
12254 maybe-installcheck-find:
12255 @if find
12256 maybe-installcheck-find: installcheck-find
12258 installcheck-find: \
12259 configure-find
12260 @: $(MAKE); $(unstage)
12261 @[ -f ./find/Makefile ] || exit 0; \
12262 r=`${PWD_COMMAND}`; export r; \
12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12264 $(HOST_EXPORTS) \
12265 for flag in $(EXTRA_HOST_FLAGS) ; do \
12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12267 done; \
12268 echo "Doing installcheck in find" ; \
12269 (cd $(HOST_SUBDIR)/find && \
12270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12272 "RANLIB=$${RANLIB}" \
12273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12274 installcheck) \
12275 || exit 1
12277 @endif find
12279 .PHONY: maybe-mostlyclean-find mostlyclean-find
12280 maybe-mostlyclean-find:
12281 @if find
12282 maybe-mostlyclean-find: mostlyclean-find
12284 mostlyclean-find:
12285 @: $(MAKE); $(unstage)
12286 @[ -f ./find/Makefile ] || exit 0; \
12287 r=`${PWD_COMMAND}`; export r; \
12288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12289 $(HOST_EXPORTS) \
12290 for flag in $(EXTRA_HOST_FLAGS) ; do \
12291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12292 done; \
12293 echo "Doing mostlyclean in find" ; \
12294 (cd $(HOST_SUBDIR)/find && \
12295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12297 "RANLIB=$${RANLIB}" \
12298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12299 mostlyclean) \
12300 || exit 1
12302 @endif find
12304 .PHONY: maybe-clean-find clean-find
12305 maybe-clean-find:
12306 @if find
12307 maybe-clean-find: clean-find
12309 clean-find:
12310 @: $(MAKE); $(unstage)
12311 @[ -f ./find/Makefile ] || exit 0; \
12312 r=`${PWD_COMMAND}`; export r; \
12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12314 $(HOST_EXPORTS) \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12317 done; \
12318 echo "Doing clean in find" ; \
12319 (cd $(HOST_SUBDIR)/find && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12324 clean) \
12325 || exit 1
12327 @endif find
12329 .PHONY: maybe-distclean-find distclean-find
12330 maybe-distclean-find:
12331 @if find
12332 maybe-distclean-find: distclean-find
12334 distclean-find:
12335 @: $(MAKE); $(unstage)
12336 @[ -f ./find/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(HOST_EXPORTS) \
12340 for flag in $(EXTRA_HOST_FLAGS) ; do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12342 done; \
12343 echo "Doing distclean in find" ; \
12344 (cd $(HOST_SUBDIR)/find && \
12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12347 "RANLIB=$${RANLIB}" \
12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12349 distclean) \
12350 || exit 1
12352 @endif find
12354 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
12355 maybe-maintainer-clean-find:
12356 @if find
12357 maybe-maintainer-clean-find: maintainer-clean-find
12359 maintainer-clean-find:
12360 @: $(MAKE); $(unstage)
12361 @[ -f ./find/Makefile ] || exit 0; \
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 for flag in $(EXTRA_HOST_FLAGS) ; do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing maintainer-clean in find" ; \
12369 (cd $(HOST_SUBDIR)/find && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12374 maintainer-clean) \
12375 || exit 1
12377 @endif find
12381 .PHONY: configure-fixincludes maybe-configure-fixincludes
12382 maybe-configure-fixincludes:
12383 @if gcc-bootstrap
12384 configure-fixincludes: stage_current
12385 @endif gcc-bootstrap
12386 @if fixincludes
12387 maybe-configure-fixincludes: configure-fixincludes
12388 configure-fixincludes:
12389 @: $(MAKE); $(unstage)
12390 @r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12392 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
12393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
12394 $(HOST_EXPORTS) \
12395 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
12396 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
12397 case $(srcdir) in \
12398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12399 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
12400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12401 esac; \
12402 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
12403 libsrcdir="$$s/fixincludes"; \
12404 $(SHELL) $${libsrcdir}/configure \
12405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12406 --target=${target_alias} $${srcdiroption} \
12407 || exit 1
12408 @endif fixincludes
12414 .PHONY: all-fixincludes maybe-all-fixincludes
12415 maybe-all-fixincludes:
12416 @if gcc-bootstrap
12417 all-fixincludes: stage_current
12418 @endif gcc-bootstrap
12419 @if fixincludes
12420 TARGET-fixincludes=all
12421 maybe-all-fixincludes: all-fixincludes
12422 all-fixincludes: configure-fixincludes
12423 @: $(MAKE); $(unstage)
12424 @r=`${PWD_COMMAND}`; export r; \
12425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12426 $(HOST_EXPORTS) \
12427 (cd $(HOST_SUBDIR)/fixincludes && \
12428 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12429 $(TARGET-fixincludes))
12430 @endif fixincludes
12435 .PHONY: check-fixincludes maybe-check-fixincludes
12436 maybe-check-fixincludes:
12437 @if fixincludes
12438 maybe-check-fixincludes: check-fixincludes
12440 check-fixincludes:
12441 @: $(MAKE); $(unstage)
12442 @r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(HOST_EXPORTS) \
12445 (cd $(HOST_SUBDIR)/fixincludes && \
12446 $(MAKE) $(FLAGS_TO_PASS) check)
12448 @endif fixincludes
12450 .PHONY: install-fixincludes maybe-install-fixincludes
12451 maybe-install-fixincludes:
12452 @if fixincludes
12453 maybe-install-fixincludes: install-fixincludes
12455 install-fixincludes: installdirs
12456 @: $(MAKE); $(unstage)
12457 @r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(HOST_EXPORTS) \
12460 (cd $(HOST_SUBDIR)/fixincludes && \
12461 $(MAKE) $(FLAGS_TO_PASS) install)
12463 @endif fixincludes
12465 # Other targets (info, dvi, pdf, etc.)
12467 .PHONY: maybe-info-fixincludes info-fixincludes
12468 maybe-info-fixincludes:
12469 @if fixincludes
12470 maybe-info-fixincludes: info-fixincludes
12472 info-fixincludes: \
12473 configure-fixincludes
12474 @: $(MAKE); $(unstage)
12475 @[ -f ./fixincludes/Makefile ] || exit 0; \
12476 r=`${PWD_COMMAND}`; export r; \
12477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12478 $(HOST_EXPORTS) \
12479 for flag in $(EXTRA_HOST_FLAGS) ; do \
12480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12481 done; \
12482 echo "Doing info in fixincludes" ; \
12483 (cd $(HOST_SUBDIR)/fixincludes && \
12484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12486 "RANLIB=$${RANLIB}" \
12487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12488 info) \
12489 || exit 1
12491 @endif fixincludes
12493 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
12494 maybe-dvi-fixincludes:
12495 @if fixincludes
12496 maybe-dvi-fixincludes: dvi-fixincludes
12498 dvi-fixincludes: \
12499 configure-fixincludes
12500 @: $(MAKE); $(unstage)
12501 @[ -f ./fixincludes/Makefile ] || exit 0; \
12502 r=`${PWD_COMMAND}`; export r; \
12503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12504 $(HOST_EXPORTS) \
12505 for flag in $(EXTRA_HOST_FLAGS) ; do \
12506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12507 done; \
12508 echo "Doing dvi in fixincludes" ; \
12509 (cd $(HOST_SUBDIR)/fixincludes && \
12510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12512 "RANLIB=$${RANLIB}" \
12513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12514 dvi) \
12515 || exit 1
12517 @endif fixincludes
12519 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
12520 maybe-pdf-fixincludes:
12521 @if fixincludes
12522 maybe-pdf-fixincludes: pdf-fixincludes
12524 pdf-fixincludes: \
12525 configure-fixincludes
12526 @: $(MAKE); $(unstage)
12527 @[ -f ./fixincludes/Makefile ] || exit 0; \
12528 r=`${PWD_COMMAND}`; export r; \
12529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12530 $(HOST_EXPORTS) \
12531 for flag in $(EXTRA_HOST_FLAGS) ; do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12533 done; \
12534 echo "Doing pdf in fixincludes" ; \
12535 (cd $(HOST_SUBDIR)/fixincludes && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12540 pdf) \
12541 || exit 1
12543 @endif fixincludes
12545 .PHONY: maybe-html-fixincludes html-fixincludes
12546 maybe-html-fixincludes:
12547 @if fixincludes
12548 maybe-html-fixincludes: html-fixincludes
12550 html-fixincludes: \
12551 configure-fixincludes
12552 @: $(MAKE); $(unstage)
12553 @[ -f ./fixincludes/Makefile ] || exit 0; \
12554 r=`${PWD_COMMAND}`; export r; \
12555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 $(HOST_EXPORTS) \
12557 for flag in $(EXTRA_HOST_FLAGS) ; do \
12558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12559 done; \
12560 echo "Doing html in fixincludes" ; \
12561 (cd $(HOST_SUBDIR)/fixincludes && \
12562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12564 "RANLIB=$${RANLIB}" \
12565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12566 html) \
12567 || exit 1
12569 @endif fixincludes
12571 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
12572 maybe-TAGS-fixincludes:
12573 @if fixincludes
12574 maybe-TAGS-fixincludes: TAGS-fixincludes
12576 # fixincludes doesn't support TAGS.
12577 TAGS-fixincludes:
12579 @endif fixincludes
12581 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
12582 maybe-install-info-fixincludes:
12583 @if fixincludes
12584 maybe-install-info-fixincludes: install-info-fixincludes
12586 install-info-fixincludes: \
12587 configure-fixincludes \
12588 info-fixincludes
12589 @: $(MAKE); $(unstage)
12590 @[ -f ./fixincludes/Makefile ] || exit 0; \
12591 r=`${PWD_COMMAND}`; export r; \
12592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 $(HOST_EXPORTS) \
12594 for flag in $(EXTRA_HOST_FLAGS) ; do \
12595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12596 done; \
12597 echo "Doing install-info in fixincludes" ; \
12598 (cd $(HOST_SUBDIR)/fixincludes && \
12599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12601 "RANLIB=$${RANLIB}" \
12602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12603 install-info) \
12604 || exit 1
12606 @endif fixincludes
12608 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
12609 maybe-install-pdf-fixincludes:
12610 @if fixincludes
12611 maybe-install-pdf-fixincludes: install-pdf-fixincludes
12613 install-pdf-fixincludes: \
12614 configure-fixincludes \
12615 pdf-fixincludes
12616 @: $(MAKE); $(unstage)
12617 @[ -f ./fixincludes/Makefile ] || exit 0; \
12618 r=`${PWD_COMMAND}`; export r; \
12619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12620 $(HOST_EXPORTS) \
12621 for flag in $(EXTRA_HOST_FLAGS) ; do \
12622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12623 done; \
12624 echo "Doing install-pdf in fixincludes" ; \
12625 (cd $(HOST_SUBDIR)/fixincludes && \
12626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12628 "RANLIB=$${RANLIB}" \
12629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12630 install-pdf) \
12631 || exit 1
12633 @endif fixincludes
12635 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
12636 maybe-install-html-fixincludes:
12637 @if fixincludes
12638 maybe-install-html-fixincludes: install-html-fixincludes
12640 install-html-fixincludes: \
12641 configure-fixincludes \
12642 html-fixincludes
12643 @: $(MAKE); $(unstage)
12644 @[ -f ./fixincludes/Makefile ] || exit 0; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(HOST_EXPORTS) \
12648 for flag in $(EXTRA_HOST_FLAGS) ; do \
12649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12650 done; \
12651 echo "Doing install-html in fixincludes" ; \
12652 (cd $(HOST_SUBDIR)/fixincludes && \
12653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12655 "RANLIB=$${RANLIB}" \
12656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12657 install-html) \
12658 || exit 1
12660 @endif fixincludes
12662 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
12663 maybe-installcheck-fixincludes:
12664 @if fixincludes
12665 maybe-installcheck-fixincludes: installcheck-fixincludes
12667 installcheck-fixincludes: \
12668 configure-fixincludes
12669 @: $(MAKE); $(unstage)
12670 @[ -f ./fixincludes/Makefile ] || exit 0; \
12671 r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12673 $(HOST_EXPORTS) \
12674 for flag in $(EXTRA_HOST_FLAGS) ; do \
12675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12676 done; \
12677 echo "Doing installcheck in fixincludes" ; \
12678 (cd $(HOST_SUBDIR)/fixincludes && \
12679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12681 "RANLIB=$${RANLIB}" \
12682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12683 installcheck) \
12684 || exit 1
12686 @endif fixincludes
12688 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
12689 maybe-mostlyclean-fixincludes:
12690 @if fixincludes
12691 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
12693 mostlyclean-fixincludes:
12694 @: $(MAKE); $(unstage)
12695 @[ -f ./fixincludes/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 mostlyclean in fixincludes" ; \
12703 (cd $(HOST_SUBDIR)/fixincludes && \
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 mostlyclean) \
12709 || exit 1
12711 @endif fixincludes
12713 .PHONY: maybe-clean-fixincludes clean-fixincludes
12714 maybe-clean-fixincludes:
12715 @if fixincludes
12716 maybe-clean-fixincludes: clean-fixincludes
12718 clean-fixincludes:
12719 @: $(MAKE); $(unstage)
12720 @[ -f ./fixincludes/Makefile ] || exit 0; \
12721 r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 $(HOST_EXPORTS) \
12724 for flag in $(EXTRA_HOST_FLAGS) ; do \
12725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12726 done; \
12727 echo "Doing clean in fixincludes" ; \
12728 (cd $(HOST_SUBDIR)/fixincludes && \
12729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12731 "RANLIB=$${RANLIB}" \
12732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12733 clean) \
12734 || exit 1
12736 @endif fixincludes
12738 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
12739 maybe-distclean-fixincludes:
12740 @if fixincludes
12741 maybe-distclean-fixincludes: distclean-fixincludes
12743 distclean-fixincludes:
12744 @: $(MAKE); $(unstage)
12745 @[ -f ./fixincludes/Makefile ] || exit 0; \
12746 r=`${PWD_COMMAND}`; export r; \
12747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12748 $(HOST_EXPORTS) \
12749 for flag in $(EXTRA_HOST_FLAGS) ; do \
12750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12751 done; \
12752 echo "Doing distclean in fixincludes" ; \
12753 (cd $(HOST_SUBDIR)/fixincludes && \
12754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12756 "RANLIB=$${RANLIB}" \
12757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12758 distclean) \
12759 || exit 1
12761 @endif fixincludes
12763 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
12764 maybe-maintainer-clean-fixincludes:
12765 @if fixincludes
12766 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
12768 maintainer-clean-fixincludes:
12769 @: $(MAKE); $(unstage)
12770 @[ -f ./fixincludes/Makefile ] || exit 0; \
12771 r=`${PWD_COMMAND}`; export r; \
12772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12773 $(HOST_EXPORTS) \
12774 for flag in $(EXTRA_HOST_FLAGS) ; do \
12775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12776 done; \
12777 echo "Doing maintainer-clean in fixincludes" ; \
12778 (cd $(HOST_SUBDIR)/fixincludes && \
12779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12781 "RANLIB=$${RANLIB}" \
12782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12783 maintainer-clean) \
12784 || exit 1
12786 @endif fixincludes
12790 .PHONY: configure-flex maybe-configure-flex
12791 maybe-configure-flex:
12792 @if gcc-bootstrap
12793 configure-flex: stage_current
12794 @endif gcc-bootstrap
12795 @if flex
12796 maybe-configure-flex: configure-flex
12797 configure-flex:
12798 @: $(MAKE); $(unstage)
12799 @r=`${PWD_COMMAND}`; export r; \
12800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12801 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
12802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
12803 $(HOST_EXPORTS) \
12804 echo Configuring in $(HOST_SUBDIR)/flex; \
12805 cd "$(HOST_SUBDIR)/flex" || exit 1; \
12806 case $(srcdir) in \
12807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12808 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
12809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12810 esac; \
12811 srcdiroption="--srcdir=$${topdir}/flex"; \
12812 libsrcdir="$$s/flex"; \
12813 $(SHELL) $${libsrcdir}/configure \
12814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12815 --target=${target_alias} $${srcdiroption} \
12816 || exit 1
12817 @endif flex
12823 .PHONY: all-flex maybe-all-flex
12824 maybe-all-flex:
12825 @if gcc-bootstrap
12826 all-flex: stage_current
12827 @endif gcc-bootstrap
12828 @if flex
12829 TARGET-flex=all
12830 maybe-all-flex: all-flex
12831 all-flex: configure-flex
12832 @: $(MAKE); $(unstage)
12833 @r=`${PWD_COMMAND}`; export r; \
12834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12835 $(HOST_EXPORTS) \
12836 (cd $(HOST_SUBDIR)/flex && \
12837 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
12838 $(TARGET-flex))
12839 @endif flex
12844 .PHONY: check-flex maybe-check-flex
12845 maybe-check-flex:
12846 @if flex
12847 maybe-check-flex: check-flex
12849 # This module is only tested in a native toolchain.
12850 check-flex:
12851 @: $(MAKE); $(unstage)
12852 @if [ '$(host)' = '$(target)' ] ; then \
12853 r=`${PWD_COMMAND}`; export r; \
12854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12855 $(HOST_EXPORTS) \
12856 (cd $(HOST_SUBDIR)/flex && \
12857 $(MAKE) $(FLAGS_TO_PASS) check); \
12860 @endif flex
12862 .PHONY: install-flex maybe-install-flex
12863 maybe-install-flex:
12864 @if flex
12865 maybe-install-flex: install-flex
12867 install-flex: installdirs
12868 @: $(MAKE); $(unstage)
12869 @r=`${PWD_COMMAND}`; export r; \
12870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12871 $(HOST_EXPORTS) \
12872 (cd $(HOST_SUBDIR)/flex && \
12873 $(MAKE) $(FLAGS_TO_PASS) install)
12875 @endif flex
12877 # Other targets (info, dvi, pdf, etc.)
12879 .PHONY: maybe-info-flex info-flex
12880 maybe-info-flex:
12881 @if flex
12882 maybe-info-flex: info-flex
12884 info-flex: \
12885 configure-flex
12886 @: $(MAKE); $(unstage)
12887 @[ -f ./flex/Makefile ] || exit 0; \
12888 r=`${PWD_COMMAND}`; export r; \
12889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12890 $(HOST_EXPORTS) \
12891 for flag in $(EXTRA_HOST_FLAGS) ; do \
12892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12893 done; \
12894 echo "Doing info in flex" ; \
12895 (cd $(HOST_SUBDIR)/flex && \
12896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12898 "RANLIB=$${RANLIB}" \
12899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12900 info) \
12901 || exit 1
12903 @endif flex
12905 .PHONY: maybe-dvi-flex dvi-flex
12906 maybe-dvi-flex:
12907 @if flex
12908 maybe-dvi-flex: dvi-flex
12910 dvi-flex: \
12911 configure-flex
12912 @: $(MAKE); $(unstage)
12913 @[ -f ./flex/Makefile ] || exit 0; \
12914 r=`${PWD_COMMAND}`; export r; \
12915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12916 $(HOST_EXPORTS) \
12917 for flag in $(EXTRA_HOST_FLAGS) ; do \
12918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12919 done; \
12920 echo "Doing dvi in flex" ; \
12921 (cd $(HOST_SUBDIR)/flex && \
12922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12924 "RANLIB=$${RANLIB}" \
12925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12926 dvi) \
12927 || exit 1
12929 @endif flex
12931 .PHONY: maybe-pdf-flex pdf-flex
12932 maybe-pdf-flex:
12933 @if flex
12934 maybe-pdf-flex: pdf-flex
12936 pdf-flex: \
12937 configure-flex
12938 @: $(MAKE); $(unstage)
12939 @[ -f ./flex/Makefile ] || exit 0; \
12940 r=`${PWD_COMMAND}`; export r; \
12941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12942 $(HOST_EXPORTS) \
12943 for flag in $(EXTRA_HOST_FLAGS) ; do \
12944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12945 done; \
12946 echo "Doing pdf in flex" ; \
12947 (cd $(HOST_SUBDIR)/flex && \
12948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12950 "RANLIB=$${RANLIB}" \
12951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12952 pdf) \
12953 || exit 1
12955 @endif flex
12957 .PHONY: maybe-html-flex html-flex
12958 maybe-html-flex:
12959 @if flex
12960 maybe-html-flex: html-flex
12962 html-flex: \
12963 configure-flex
12964 @: $(MAKE); $(unstage)
12965 @[ -f ./flex/Makefile ] || exit 0; \
12966 r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12968 $(HOST_EXPORTS) \
12969 for flag in $(EXTRA_HOST_FLAGS) ; do \
12970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12971 done; \
12972 echo "Doing html in flex" ; \
12973 (cd $(HOST_SUBDIR)/flex && \
12974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12976 "RANLIB=$${RANLIB}" \
12977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12978 html) \
12979 || exit 1
12981 @endif flex
12983 .PHONY: maybe-TAGS-flex TAGS-flex
12984 maybe-TAGS-flex:
12985 @if flex
12986 maybe-TAGS-flex: TAGS-flex
12988 TAGS-flex: \
12989 configure-flex
12990 @: $(MAKE); $(unstage)
12991 @[ -f ./flex/Makefile ] || exit 0; \
12992 r=`${PWD_COMMAND}`; export r; \
12993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12994 $(HOST_EXPORTS) \
12995 for flag in $(EXTRA_HOST_FLAGS) ; do \
12996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12997 done; \
12998 echo "Doing TAGS in flex" ; \
12999 (cd $(HOST_SUBDIR)/flex && \
13000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13002 "RANLIB=$${RANLIB}" \
13003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13004 TAGS) \
13005 || exit 1
13007 @endif flex
13009 .PHONY: maybe-install-info-flex install-info-flex
13010 maybe-install-info-flex:
13011 @if flex
13012 maybe-install-info-flex: install-info-flex
13014 install-info-flex: \
13015 configure-flex \
13016 info-flex
13017 @: $(MAKE); $(unstage)
13018 @[ -f ./flex/Makefile ] || exit 0; \
13019 r=`${PWD_COMMAND}`; export r; \
13020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13021 $(HOST_EXPORTS) \
13022 for flag in $(EXTRA_HOST_FLAGS) ; do \
13023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13024 done; \
13025 echo "Doing install-info in flex" ; \
13026 (cd $(HOST_SUBDIR)/flex && \
13027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13029 "RANLIB=$${RANLIB}" \
13030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13031 install-info) \
13032 || exit 1
13034 @endif flex
13036 .PHONY: maybe-install-pdf-flex install-pdf-flex
13037 maybe-install-pdf-flex:
13038 @if flex
13039 maybe-install-pdf-flex: install-pdf-flex
13041 install-pdf-flex: \
13042 configure-flex \
13043 pdf-flex
13044 @: $(MAKE); $(unstage)
13045 @[ -f ./flex/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 for flag in $(EXTRA_HOST_FLAGS) ; do \
13050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051 done; \
13052 echo "Doing install-pdf in flex" ; \
13053 (cd $(HOST_SUBDIR)/flex && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056 "RANLIB=$${RANLIB}" \
13057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13058 install-pdf) \
13059 || exit 1
13061 @endif flex
13063 .PHONY: maybe-install-html-flex install-html-flex
13064 maybe-install-html-flex:
13065 @if flex
13066 maybe-install-html-flex: install-html-flex
13068 install-html-flex: \
13069 configure-flex \
13070 html-flex
13071 @: $(MAKE); $(unstage)
13072 @[ -f ./flex/Makefile ] || exit 0; \
13073 r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 $(HOST_EXPORTS) \
13076 for flag in $(EXTRA_HOST_FLAGS) ; do \
13077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13078 done; \
13079 echo "Doing install-html in flex" ; \
13080 (cd $(HOST_SUBDIR)/flex && \
13081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13083 "RANLIB=$${RANLIB}" \
13084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13085 install-html) \
13086 || exit 1
13088 @endif flex
13090 .PHONY: maybe-installcheck-flex installcheck-flex
13091 maybe-installcheck-flex:
13092 @if flex
13093 maybe-installcheck-flex: installcheck-flex
13095 installcheck-flex: \
13096 configure-flex
13097 @: $(MAKE); $(unstage)
13098 @[ -f ./flex/Makefile ] || exit 0; \
13099 r=`${PWD_COMMAND}`; export r; \
13100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13101 $(HOST_EXPORTS) \
13102 for flag in $(EXTRA_HOST_FLAGS) ; do \
13103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13104 done; \
13105 echo "Doing installcheck in flex" ; \
13106 (cd $(HOST_SUBDIR)/flex && \
13107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13109 "RANLIB=$${RANLIB}" \
13110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13111 installcheck) \
13112 || exit 1
13114 @endif flex
13116 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
13117 maybe-mostlyclean-flex:
13118 @if flex
13119 maybe-mostlyclean-flex: mostlyclean-flex
13121 mostlyclean-flex:
13122 @: $(MAKE); $(unstage)
13123 @[ -f ./flex/Makefile ] || exit 0; \
13124 r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 $(HOST_EXPORTS) \
13127 for flag in $(EXTRA_HOST_FLAGS) ; do \
13128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13129 done; \
13130 echo "Doing mostlyclean in flex" ; \
13131 (cd $(HOST_SUBDIR)/flex && \
13132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13134 "RANLIB=$${RANLIB}" \
13135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13136 mostlyclean) \
13137 || exit 1
13139 @endif flex
13141 .PHONY: maybe-clean-flex clean-flex
13142 maybe-clean-flex:
13143 @if flex
13144 maybe-clean-flex: clean-flex
13146 clean-flex:
13147 @: $(MAKE); $(unstage)
13148 @[ -f ./flex/Makefile ] || exit 0; \
13149 r=`${PWD_COMMAND}`; export r; \
13150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13151 $(HOST_EXPORTS) \
13152 for flag in $(EXTRA_HOST_FLAGS) ; do \
13153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13154 done; \
13155 echo "Doing clean in flex" ; \
13156 (cd $(HOST_SUBDIR)/flex && \
13157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13159 "RANLIB=$${RANLIB}" \
13160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13161 clean) \
13162 || exit 1
13164 @endif flex
13166 .PHONY: maybe-distclean-flex distclean-flex
13167 maybe-distclean-flex:
13168 @if flex
13169 maybe-distclean-flex: distclean-flex
13171 distclean-flex:
13172 @: $(MAKE); $(unstage)
13173 @[ -f ./flex/Makefile ] || exit 0; \
13174 r=`${PWD_COMMAND}`; export r; \
13175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 $(HOST_EXPORTS) \
13177 for flag in $(EXTRA_HOST_FLAGS) ; do \
13178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13179 done; \
13180 echo "Doing distclean in flex" ; \
13181 (cd $(HOST_SUBDIR)/flex && \
13182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13184 "RANLIB=$${RANLIB}" \
13185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13186 distclean) \
13187 || exit 1
13189 @endif flex
13191 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
13192 maybe-maintainer-clean-flex:
13193 @if flex
13194 maybe-maintainer-clean-flex: maintainer-clean-flex
13196 maintainer-clean-flex:
13197 @: $(MAKE); $(unstage)
13198 @[ -f ./flex/Makefile ] || exit 0; \
13199 r=`${PWD_COMMAND}`; export r; \
13200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13201 $(HOST_EXPORTS) \
13202 for flag in $(EXTRA_HOST_FLAGS) ; do \
13203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13204 done; \
13205 echo "Doing maintainer-clean in flex" ; \
13206 (cd $(HOST_SUBDIR)/flex && \
13207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13209 "RANLIB=$${RANLIB}" \
13210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13211 maintainer-clean) \
13212 || exit 1
13214 @endif flex
13218 .PHONY: configure-gas maybe-configure-gas
13219 maybe-configure-gas:
13220 @if gcc-bootstrap
13221 configure-gas: stage_current
13222 @endif gcc-bootstrap
13223 @if gas
13224 maybe-configure-gas: configure-gas
13225 configure-gas:
13226 @r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13229 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13230 $(HOST_EXPORTS) \
13231 echo Configuring in $(HOST_SUBDIR)/gas; \
13232 cd "$(HOST_SUBDIR)/gas" || exit 1; \
13233 case $(srcdir) in \
13234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13235 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13237 esac; \
13238 srcdiroption="--srcdir=$${topdir}/gas"; \
13239 libsrcdir="$$s/gas"; \
13240 $(SHELL) $${libsrcdir}/configure \
13241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13242 --target=${target_alias} $${srcdiroption} \
13243 || exit 1
13244 @endif gas
13248 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
13249 maybe-configure-stage1-gas:
13250 @if gas-bootstrap
13251 maybe-configure-stage1-gas: configure-stage1-gas
13252 configure-stage1-gas:
13253 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13255 @r=`${PWD_COMMAND}`; export r; \
13256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13257 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13258 $(HOST_EXPORTS) \
13259 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13260 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
13261 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
13262 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13263 cd $(HOST_SUBDIR)/gas || exit 1; \
13264 case $(srcdir) in \
13265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13266 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13268 esac; \
13269 srcdiroption="--srcdir=$${topdir}/gas"; \
13270 libsrcdir="$$s/gas"; \
13271 $(SHELL) $${libsrcdir}/configure \
13272 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13273 --target=${target_alias} $${srcdiroption} \
13275 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13276 @endif gas-bootstrap
13278 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
13279 maybe-configure-stage2-gas:
13280 @if gas-bootstrap
13281 maybe-configure-stage2-gas: configure-stage2-gas
13282 configure-stage2-gas:
13283 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13284 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13285 @r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13288 $(HOST_EXPORTS) \
13289 $(POSTSTAGE1_HOST_EXPORTS) \
13290 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13291 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
13292 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
13293 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13294 cd $(HOST_SUBDIR)/gas || exit 1; \
13295 case $(srcdir) in \
13296 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13297 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13298 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13299 esac; \
13300 srcdiroption="--srcdir=$${topdir}/gas"; \
13301 libsrcdir="$$s/gas"; \
13302 $(SHELL) $${libsrcdir}/configure \
13303 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13304 --target=${target_alias} $${srcdiroption} \
13305 --with-build-libsubdir=$(HOST_SUBDIR) \
13306 @stage2_werror_flag@
13307 @endif gas-bootstrap
13309 .PHONY: configure-stageb2g0-gas maybe-configure-stageb2g0-gas
13310 maybe-configure-stageb2g0-gas:
13311 @if gas-bootstrap
13312 maybe-configure-stageb2g0-gas: configure-stageb2g0-gas
13313 configure-stageb2g0-gas:
13314 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
13315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13316 @r=`${PWD_COMMAND}`; export r; \
13317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13318 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13319 $(HOST_EXPORTS) \
13320 $(POSTSTAGE1_HOST_EXPORTS) \
13321 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
13322 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
13323 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gas ; \
13324 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13325 cd $(HOST_SUBDIR)/gas || exit 1; \
13326 case $(srcdir) in \
13327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13328 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13330 esac; \
13331 srcdiroption="--srcdir=$${topdir}/gas"; \
13332 libsrcdir="$$s/gas"; \
13333 $(SHELL) $${libsrcdir}/configure \
13334 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13335 --target=${target_alias} $${srcdiroption} \
13336 --with-build-libsubdir=$(HOST_SUBDIR) \
13337 @stage2_werror_flag@
13338 @endif gas-bootstrap
13340 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
13341 maybe-configure-stage3-gas:
13342 @if gas-bootstrap
13343 maybe-configure-stage3-gas: configure-stage3-gas
13344 configure-stage3-gas:
13345 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13346 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13347 @r=`${PWD_COMMAND}`; export r; \
13348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13349 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13350 $(HOST_EXPORTS) \
13351 $(POSTSTAGE1_HOST_EXPORTS) \
13352 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13353 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
13354 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
13355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13356 cd $(HOST_SUBDIR)/gas || exit 1; \
13357 case $(srcdir) in \
13358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13359 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13361 esac; \
13362 srcdiroption="--srcdir=$${topdir}/gas"; \
13363 libsrcdir="$$s/gas"; \
13364 $(SHELL) $${libsrcdir}/configure \
13365 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13366 --target=${target_alias} $${srcdiroption} \
13367 --with-build-libsubdir=$(HOST_SUBDIR) \
13368 @stage2_werror_flag@
13369 @endif gas-bootstrap
13371 .PHONY: configure-stageb3g2-gas maybe-configure-stageb3g2-gas
13372 maybe-configure-stageb3g2-gas:
13373 @if gas-bootstrap
13374 maybe-configure-stageb3g2-gas: configure-stageb3g2-gas
13375 configure-stageb3g2-gas:
13376 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
13377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13378 @r=`${PWD_COMMAND}`; export r; \
13379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13381 $(HOST_EXPORTS) \
13382 $(POSTSTAGE1_HOST_EXPORTS) \
13383 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
13384 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
13385 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gas ; \
13386 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13387 cd $(HOST_SUBDIR)/gas || exit 1; \
13388 case $(srcdir) in \
13389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13390 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13392 esac; \
13393 srcdiroption="--srcdir=$${topdir}/gas"; \
13394 libsrcdir="$$s/gas"; \
13395 $(SHELL) $${libsrcdir}/configure \
13396 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13397 --target=${target_alias} $${srcdiroption} \
13398 --with-build-libsubdir=$(HOST_SUBDIR) \
13399 @stage2_werror_flag@
13400 @endif gas-bootstrap
13402 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
13403 maybe-configure-stage4-gas:
13404 @if gas-bootstrap
13405 maybe-configure-stage4-gas: configure-stage4-gas
13406 configure-stage4-gas:
13407 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13408 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13409 @r=`${PWD_COMMAND}`; export r; \
13410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13411 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13412 $(HOST_EXPORTS) \
13413 $(POSTSTAGE1_HOST_EXPORTS) \
13414 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13415 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
13416 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
13417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13418 cd $(HOST_SUBDIR)/gas || exit 1; \
13419 case $(srcdir) in \
13420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13421 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13423 esac; \
13424 srcdiroption="--srcdir=$${topdir}/gas"; \
13425 libsrcdir="$$s/gas"; \
13426 $(SHELL) $${libsrcdir}/configure \
13427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13428 --target=${target_alias} $${srcdiroption} \
13429 --with-build-libsubdir=$(HOST_SUBDIR) \
13430 @stage2_werror_flag@
13431 @endif gas-bootstrap
13433 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
13434 maybe-configure-stageprofile-gas:
13435 @if gas-bootstrap
13436 maybe-configure-stageprofile-gas: configure-stageprofile-gas
13437 configure-stageprofile-gas:
13438 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13440 @r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13443 $(HOST_EXPORTS) \
13444 $(POSTSTAGE1_HOST_EXPORTS) \
13445 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
13446 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
13447 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
13448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13449 cd $(HOST_SUBDIR)/gas || exit 1; \
13450 case $(srcdir) in \
13451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13452 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13454 esac; \
13455 srcdiroption="--srcdir=$${topdir}/gas"; \
13456 libsrcdir="$$s/gas"; \
13457 $(SHELL) $${libsrcdir}/configure \
13458 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13459 --target=${target_alias} $${srcdiroption} \
13460 --with-build-libsubdir=$(HOST_SUBDIR) \
13461 @stage2_werror_flag@
13462 @endif gas-bootstrap
13464 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
13465 maybe-configure-stagefeedback-gas:
13466 @if gas-bootstrap
13467 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
13468 configure-stagefeedback-gas:
13469 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13470 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
13471 @r=`${PWD_COMMAND}`; export r; \
13472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13473 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
13474 $(HOST_EXPORTS) \
13475 $(POSTSTAGE1_HOST_EXPORTS) \
13476 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
13477 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
13478 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
13479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
13480 cd $(HOST_SUBDIR)/gas || exit 1; \
13481 case $(srcdir) in \
13482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13483 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
13484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13485 esac; \
13486 srcdiroption="--srcdir=$${topdir}/gas"; \
13487 libsrcdir="$$s/gas"; \
13488 $(SHELL) $${libsrcdir}/configure \
13489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13490 --target=${target_alias} $${srcdiroption} \
13491 --with-build-libsubdir=$(HOST_SUBDIR) \
13492 @stage2_werror_flag@
13493 @endif gas-bootstrap
13499 .PHONY: all-gas maybe-all-gas
13500 maybe-all-gas:
13501 @if gcc-bootstrap
13502 all-gas: stage_current
13503 @endif gcc-bootstrap
13504 @if gas
13505 TARGET-gas=all
13506 maybe-all-gas: all-gas
13507 all-gas: configure-gas
13508 @r=`${PWD_COMMAND}`; export r; \
13509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13510 $(HOST_EXPORTS) \
13511 (cd $(HOST_SUBDIR)/gas && \
13512 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
13513 $(TARGET-gas))
13514 @endif gas
13518 .PHONY: all-stage1-gas maybe-all-stage1-gas
13519 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
13520 maybe-all-stage1-gas:
13521 maybe-clean-stage1-gas:
13522 @if gas-bootstrap
13523 maybe-all-stage1-gas: all-stage1-gas
13524 all-stage1: all-stage1-gas
13525 TARGET-stage1-gas = $(TARGET-gas)
13526 all-stage1-gas: configure-stage1-gas
13527 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13528 @r=`${PWD_COMMAND}`; export r; \
13529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13530 $(HOST_EXPORTS) \
13531 cd $(HOST_SUBDIR)/gas && \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13533 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
13534 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
13535 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
13536 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
13537 $(TARGET-stage1-gas)
13539 maybe-clean-stage1-gas: clean-stage1-gas
13540 clean-stage1: clean-stage1-gas
13541 clean-stage1-gas:
13542 @if [ $(current_stage) = stage1 ]; then \
13543 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13544 else \
13545 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
13546 $(MAKE) stage1-start; \
13547 fi; \
13548 cd $(HOST_SUBDIR)/gas && \
13549 $(MAKE) $(EXTRA_HOST_FLAGS) \
13550 clean
13551 @endif gas-bootstrap
13554 .PHONY: all-stage2-gas maybe-all-stage2-gas
13555 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
13556 maybe-all-stage2-gas:
13557 maybe-clean-stage2-gas:
13558 @if gas-bootstrap
13559 maybe-all-stage2-gas: all-stage2-gas
13560 all-stage2: all-stage2-gas
13561 TARGET-stage2-gas = $(TARGET-gas)
13562 all-stage2-gas: configure-stage2-gas
13563 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13564 @r=`${PWD_COMMAND}`; export r; \
13565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13566 $(HOST_EXPORTS) \
13567 $(POSTSTAGE1_HOST_EXPORTS) \
13568 cd $(HOST_SUBDIR)/gas && \
13569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13570 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
13571 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
13572 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
13573 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13574 $(TARGET-stage2-gas)
13576 maybe-clean-stage2-gas: clean-stage2-gas
13577 clean-stage2: clean-stage2-gas
13578 clean-stage2-gas:
13579 @if [ $(current_stage) = stage2 ]; then \
13580 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13581 else \
13582 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
13583 $(MAKE) stage2-start; \
13584 fi; \
13585 cd $(HOST_SUBDIR)/gas && \
13586 $(MAKE) $(EXTRA_HOST_FLAGS) \
13587 $(POSTSTAGE1_FLAGS_TO_PASS) \
13588 clean
13589 @endif gas-bootstrap
13592 .PHONY: all-stageb2g0-gas maybe-all-stageb2g0-gas
13593 .PHONY: clean-stageb2g0-gas maybe-clean-stageb2g0-gas
13594 maybe-all-stageb2g0-gas:
13595 maybe-clean-stageb2g0-gas:
13596 @if gas-bootstrap
13597 maybe-all-stageb2g0-gas: all-stageb2g0-gas
13598 all-stageb2g0: all-stageb2g0-gas
13599 TARGET-stageb2g0-gas = $(TARGET-gas)
13600 all-stageb2g0-gas: configure-stageb2g0-gas
13601 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
13602 @r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(HOST_EXPORTS) \
13605 $(POSTSTAGE1_HOST_EXPORTS) \
13606 cd $(HOST_SUBDIR)/gas && \
13607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13608 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
13609 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
13610 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
13611 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13612 $(TARGET-stageb2g0-gas)
13614 maybe-clean-stageb2g0-gas: clean-stageb2g0-gas
13615 clean-stageb2g0: clean-stageb2g0-gas
13616 clean-stageb2g0-gas:
13617 @if [ $(current_stage) = stageb2g0 ]; then \
13618 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13619 else \
13620 [ -f $(HOST_SUBDIR)/stageb2g0-gas/Makefile ] || exit 0; \
13621 $(MAKE) stageb2g0-start; \
13622 fi; \
13623 cd $(HOST_SUBDIR)/gas && \
13624 $(MAKE) $(EXTRA_HOST_FLAGS) \
13625 $(POSTSTAGE1_FLAGS_TO_PASS) \
13626 clean
13627 @endif gas-bootstrap
13630 .PHONY: all-stage3-gas maybe-all-stage3-gas
13631 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
13632 maybe-all-stage3-gas:
13633 maybe-clean-stage3-gas:
13634 @if gas-bootstrap
13635 maybe-all-stage3-gas: all-stage3-gas
13636 all-stage3: all-stage3-gas
13637 TARGET-stage3-gas = $(TARGET-gas)
13638 all-stage3-gas: configure-stage3-gas
13639 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13640 @r=`${PWD_COMMAND}`; export r; \
13641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13642 $(HOST_EXPORTS) \
13643 $(POSTSTAGE1_HOST_EXPORTS) \
13644 cd $(HOST_SUBDIR)/gas && \
13645 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13646 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
13647 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
13648 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
13649 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13650 $(TARGET-stage3-gas)
13652 maybe-clean-stage3-gas: clean-stage3-gas
13653 clean-stage3: clean-stage3-gas
13654 clean-stage3-gas:
13655 @if [ $(current_stage) = stage3 ]; then \
13656 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13657 else \
13658 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
13659 $(MAKE) stage3-start; \
13660 fi; \
13661 cd $(HOST_SUBDIR)/gas && \
13662 $(MAKE) $(EXTRA_HOST_FLAGS) \
13663 $(POSTSTAGE1_FLAGS_TO_PASS) \
13664 clean
13665 @endif gas-bootstrap
13668 .PHONY: all-stageb3g2-gas maybe-all-stageb3g2-gas
13669 .PHONY: clean-stageb3g2-gas maybe-clean-stageb3g2-gas
13670 maybe-all-stageb3g2-gas:
13671 maybe-clean-stageb3g2-gas:
13672 @if gas-bootstrap
13673 maybe-all-stageb3g2-gas: all-stageb3g2-gas
13674 all-stageb3g2: all-stageb3g2-gas
13675 TARGET-stageb3g2-gas = $(TARGET-gas)
13676 all-stageb3g2-gas: configure-stageb3g2-gas
13677 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
13678 @r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 $(HOST_EXPORTS) \
13681 $(POSTSTAGE1_HOST_EXPORTS) \
13682 cd $(HOST_SUBDIR)/gas && \
13683 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13684 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
13685 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
13686 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
13687 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13688 $(TARGET-stageb3g2-gas)
13690 maybe-clean-stageb3g2-gas: clean-stageb3g2-gas
13691 clean-stageb3g2: clean-stageb3g2-gas
13692 clean-stageb3g2-gas:
13693 @if [ $(current_stage) = stageb3g2 ]; then \
13694 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13695 else \
13696 [ -f $(HOST_SUBDIR)/stageb3g2-gas/Makefile ] || exit 0; \
13697 $(MAKE) stageb3g2-start; \
13698 fi; \
13699 cd $(HOST_SUBDIR)/gas && \
13700 $(MAKE) $(EXTRA_HOST_FLAGS) \
13701 $(POSTSTAGE1_FLAGS_TO_PASS) \
13702 clean
13703 @endif gas-bootstrap
13706 .PHONY: all-stage4-gas maybe-all-stage4-gas
13707 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
13708 maybe-all-stage4-gas:
13709 maybe-clean-stage4-gas:
13710 @if gas-bootstrap
13711 maybe-all-stage4-gas: all-stage4-gas
13712 all-stage4: all-stage4-gas
13713 TARGET-stage4-gas = $(TARGET-gas)
13714 all-stage4-gas: configure-stage4-gas
13715 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13716 @r=`${PWD_COMMAND}`; export r; \
13717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13718 $(HOST_EXPORTS) \
13719 $(POSTSTAGE1_HOST_EXPORTS) \
13720 cd $(HOST_SUBDIR)/gas && \
13721 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13722 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
13723 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13724 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
13725 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13726 $(TARGET-stage4-gas)
13728 maybe-clean-stage4-gas: clean-stage4-gas
13729 clean-stage4: clean-stage4-gas
13730 clean-stage4-gas:
13731 @if [ $(current_stage) = stage4 ]; then \
13732 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13733 else \
13734 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
13735 $(MAKE) stage4-start; \
13736 fi; \
13737 cd $(HOST_SUBDIR)/gas && \
13738 $(MAKE) $(EXTRA_HOST_FLAGS) \
13739 $(POSTSTAGE1_FLAGS_TO_PASS) \
13740 clean
13741 @endif gas-bootstrap
13744 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
13745 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
13746 maybe-all-stageprofile-gas:
13747 maybe-clean-stageprofile-gas:
13748 @if gas-bootstrap
13749 maybe-all-stageprofile-gas: all-stageprofile-gas
13750 all-stageprofile: all-stageprofile-gas
13751 TARGET-stageprofile-gas = $(TARGET-gas)
13752 all-stageprofile-gas: configure-stageprofile-gas
13753 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13754 @r=`${PWD_COMMAND}`; export r; \
13755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756 $(HOST_EXPORTS) \
13757 $(POSTSTAGE1_HOST_EXPORTS) \
13758 cd $(HOST_SUBDIR)/gas && \
13759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13760 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
13761 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
13762 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
13763 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13764 $(TARGET-stageprofile-gas)
13766 maybe-clean-stageprofile-gas: clean-stageprofile-gas
13767 clean-stageprofile: clean-stageprofile-gas
13768 clean-stageprofile-gas:
13769 @if [ $(current_stage) = stageprofile ]; then \
13770 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13771 else \
13772 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
13773 $(MAKE) stageprofile-start; \
13774 fi; \
13775 cd $(HOST_SUBDIR)/gas && \
13776 $(MAKE) $(EXTRA_HOST_FLAGS) \
13777 $(POSTSTAGE1_FLAGS_TO_PASS) \
13778 clean
13779 @endif gas-bootstrap
13782 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
13783 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
13784 maybe-all-stagefeedback-gas:
13785 maybe-clean-stagefeedback-gas:
13786 @if gas-bootstrap
13787 maybe-all-stagefeedback-gas: all-stagefeedback-gas
13788 all-stagefeedback: all-stagefeedback-gas
13789 TARGET-stagefeedback-gas = $(TARGET-gas)
13790 all-stagefeedback-gas: configure-stagefeedback-gas
13791 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13792 @r=`${PWD_COMMAND}`; export r; \
13793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13794 $(HOST_EXPORTS) \
13795 $(POSTSTAGE1_HOST_EXPORTS) \
13796 cd $(HOST_SUBDIR)/gas && \
13797 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13798 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
13799 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
13800 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
13801 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13802 $(TARGET-stagefeedback-gas)
13804 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
13805 clean-stagefeedback: clean-stagefeedback-gas
13806 clean-stagefeedback-gas:
13807 @if [ $(current_stage) = stagefeedback ]; then \
13808 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
13809 else \
13810 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
13811 $(MAKE) stagefeedback-start; \
13812 fi; \
13813 cd $(HOST_SUBDIR)/gas && \
13814 $(MAKE) $(EXTRA_HOST_FLAGS) \
13815 $(POSTSTAGE1_FLAGS_TO_PASS) \
13816 clean
13817 @endif gas-bootstrap
13823 .PHONY: check-gas maybe-check-gas
13824 maybe-check-gas:
13825 @if gas
13826 maybe-check-gas: check-gas
13828 check-gas:
13829 @: $(MAKE); $(unstage)
13830 @r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 (cd $(HOST_SUBDIR)/gas && \
13834 $(MAKE) $(FLAGS_TO_PASS) check)
13836 @endif gas
13838 .PHONY: install-gas maybe-install-gas
13839 maybe-install-gas:
13840 @if gas
13841 maybe-install-gas: install-gas
13843 install-gas: installdirs
13844 @: $(MAKE); $(unstage)
13845 @r=`${PWD_COMMAND}`; export r; \
13846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13847 $(HOST_EXPORTS) \
13848 (cd $(HOST_SUBDIR)/gas && \
13849 $(MAKE) $(FLAGS_TO_PASS) install)
13851 @endif gas
13853 # Other targets (info, dvi, pdf, etc.)
13855 .PHONY: maybe-info-gas info-gas
13856 maybe-info-gas:
13857 @if gas
13858 maybe-info-gas: info-gas
13860 info-gas: \
13861 configure-gas
13862 @[ -f ./gas/Makefile ] || exit 0; \
13863 r=`${PWD_COMMAND}`; export r; \
13864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13865 $(HOST_EXPORTS) \
13866 for flag in $(EXTRA_HOST_FLAGS) ; do \
13867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13868 done; \
13869 echo "Doing info in gas" ; \
13870 (cd $(HOST_SUBDIR)/gas && \
13871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13873 "RANLIB=$${RANLIB}" \
13874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13875 info) \
13876 || exit 1
13878 @endif gas
13880 .PHONY: maybe-dvi-gas dvi-gas
13881 maybe-dvi-gas:
13882 @if gas
13883 maybe-dvi-gas: dvi-gas
13885 dvi-gas: \
13886 configure-gas
13887 @[ -f ./gas/Makefile ] || exit 0; \
13888 r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 $(HOST_EXPORTS) \
13891 for flag in $(EXTRA_HOST_FLAGS) ; do \
13892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 done; \
13894 echo "Doing dvi in gas" ; \
13895 (cd $(HOST_SUBDIR)/gas && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13898 "RANLIB=$${RANLIB}" \
13899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13900 dvi) \
13901 || exit 1
13903 @endif gas
13905 .PHONY: maybe-pdf-gas pdf-gas
13906 maybe-pdf-gas:
13907 @if gas
13908 maybe-pdf-gas: pdf-gas
13910 pdf-gas: \
13911 configure-gas
13912 @[ -f ./gas/Makefile ] || exit 0; \
13913 r=`${PWD_COMMAND}`; export r; \
13914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13915 $(HOST_EXPORTS) \
13916 for flag in $(EXTRA_HOST_FLAGS) ; do \
13917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13918 done; \
13919 echo "Doing pdf in gas" ; \
13920 (cd $(HOST_SUBDIR)/gas && \
13921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13923 "RANLIB=$${RANLIB}" \
13924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13925 pdf) \
13926 || exit 1
13928 @endif gas
13930 .PHONY: maybe-html-gas html-gas
13931 maybe-html-gas:
13932 @if gas
13933 maybe-html-gas: html-gas
13935 html-gas: \
13936 configure-gas
13937 @[ -f ./gas/Makefile ] || exit 0; \
13938 r=`${PWD_COMMAND}`; export r; \
13939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13940 $(HOST_EXPORTS) \
13941 for flag in $(EXTRA_HOST_FLAGS) ; do \
13942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13943 done; \
13944 echo "Doing html in gas" ; \
13945 (cd $(HOST_SUBDIR)/gas && \
13946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13948 "RANLIB=$${RANLIB}" \
13949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13950 html) \
13951 || exit 1
13953 @endif gas
13955 .PHONY: maybe-TAGS-gas TAGS-gas
13956 maybe-TAGS-gas:
13957 @if gas
13958 maybe-TAGS-gas: TAGS-gas
13960 TAGS-gas: \
13961 configure-gas
13962 @[ -f ./gas/Makefile ] || exit 0; \
13963 r=`${PWD_COMMAND}`; export r; \
13964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13965 $(HOST_EXPORTS) \
13966 for flag in $(EXTRA_HOST_FLAGS) ; do \
13967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13968 done; \
13969 echo "Doing TAGS in gas" ; \
13970 (cd $(HOST_SUBDIR)/gas && \
13971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13973 "RANLIB=$${RANLIB}" \
13974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13975 TAGS) \
13976 || exit 1
13978 @endif gas
13980 .PHONY: maybe-install-info-gas install-info-gas
13981 maybe-install-info-gas:
13982 @if gas
13983 maybe-install-info-gas: install-info-gas
13985 install-info-gas: \
13986 configure-gas \
13987 info-gas
13988 @[ -f ./gas/Makefile ] || exit 0; \
13989 r=`${PWD_COMMAND}`; export r; \
13990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13991 $(HOST_EXPORTS) \
13992 for flag in $(EXTRA_HOST_FLAGS) ; do \
13993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13994 done; \
13995 echo "Doing install-info in gas" ; \
13996 (cd $(HOST_SUBDIR)/gas && \
13997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13999 "RANLIB=$${RANLIB}" \
14000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14001 install-info) \
14002 || exit 1
14004 @endif gas
14006 .PHONY: maybe-install-pdf-gas install-pdf-gas
14007 maybe-install-pdf-gas:
14008 @if gas
14009 maybe-install-pdf-gas: install-pdf-gas
14011 install-pdf-gas: \
14012 configure-gas \
14013 pdf-gas
14014 @[ -f ./gas/Makefile ] || exit 0; \
14015 r=`${PWD_COMMAND}`; export r; \
14016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14017 $(HOST_EXPORTS) \
14018 for flag in $(EXTRA_HOST_FLAGS) ; do \
14019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14020 done; \
14021 echo "Doing install-pdf in gas" ; \
14022 (cd $(HOST_SUBDIR)/gas && \
14023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14025 "RANLIB=$${RANLIB}" \
14026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14027 install-pdf) \
14028 || exit 1
14030 @endif gas
14032 .PHONY: maybe-install-html-gas install-html-gas
14033 maybe-install-html-gas:
14034 @if gas
14035 maybe-install-html-gas: install-html-gas
14037 install-html-gas: \
14038 configure-gas \
14039 html-gas
14040 @[ -f ./gas/Makefile ] || exit 0; \
14041 r=`${PWD_COMMAND}`; export r; \
14042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043 $(HOST_EXPORTS) \
14044 for flag in $(EXTRA_HOST_FLAGS) ; do \
14045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14046 done; \
14047 echo "Doing install-html in gas" ; \
14048 (cd $(HOST_SUBDIR)/gas && \
14049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14051 "RANLIB=$${RANLIB}" \
14052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14053 install-html) \
14054 || exit 1
14056 @endif gas
14058 .PHONY: maybe-installcheck-gas installcheck-gas
14059 maybe-installcheck-gas:
14060 @if gas
14061 maybe-installcheck-gas: installcheck-gas
14063 installcheck-gas: \
14064 configure-gas
14065 @[ -f ./gas/Makefile ] || exit 0; \
14066 r=`${PWD_COMMAND}`; export r; \
14067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14068 $(HOST_EXPORTS) \
14069 for flag in $(EXTRA_HOST_FLAGS) ; do \
14070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14071 done; \
14072 echo "Doing installcheck in gas" ; \
14073 (cd $(HOST_SUBDIR)/gas && \
14074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14076 "RANLIB=$${RANLIB}" \
14077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14078 installcheck) \
14079 || exit 1
14081 @endif gas
14083 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
14084 maybe-mostlyclean-gas:
14085 @if gas
14086 maybe-mostlyclean-gas: mostlyclean-gas
14088 mostlyclean-gas:
14089 @[ -f ./gas/Makefile ] || exit 0; \
14090 r=`${PWD_COMMAND}`; export r; \
14091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14092 $(HOST_EXPORTS) \
14093 for flag in $(EXTRA_HOST_FLAGS) ; do \
14094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14095 done; \
14096 echo "Doing mostlyclean in gas" ; \
14097 (cd $(HOST_SUBDIR)/gas && \
14098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14100 "RANLIB=$${RANLIB}" \
14101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14102 mostlyclean) \
14103 || exit 1
14105 @endif gas
14107 .PHONY: maybe-clean-gas clean-gas
14108 maybe-clean-gas:
14109 @if gas
14110 maybe-clean-gas: clean-gas
14112 clean-gas:
14113 @[ -f ./gas/Makefile ] || exit 0; \
14114 r=`${PWD_COMMAND}`; export r; \
14115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14116 $(HOST_EXPORTS) \
14117 for flag in $(EXTRA_HOST_FLAGS) ; do \
14118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14119 done; \
14120 echo "Doing clean in gas" ; \
14121 (cd $(HOST_SUBDIR)/gas && \
14122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14124 "RANLIB=$${RANLIB}" \
14125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14126 clean) \
14127 || exit 1
14129 @endif gas
14131 .PHONY: maybe-distclean-gas distclean-gas
14132 maybe-distclean-gas:
14133 @if gas
14134 maybe-distclean-gas: distclean-gas
14136 distclean-gas:
14137 @[ -f ./gas/Makefile ] || exit 0; \
14138 r=`${PWD_COMMAND}`; export r; \
14139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14140 $(HOST_EXPORTS) \
14141 for flag in $(EXTRA_HOST_FLAGS) ; do \
14142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14143 done; \
14144 echo "Doing distclean in gas" ; \
14145 (cd $(HOST_SUBDIR)/gas && \
14146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14148 "RANLIB=$${RANLIB}" \
14149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14150 distclean) \
14151 || exit 1
14153 @endif gas
14155 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
14156 maybe-maintainer-clean-gas:
14157 @if gas
14158 maybe-maintainer-clean-gas: maintainer-clean-gas
14160 maintainer-clean-gas:
14161 @[ -f ./gas/Makefile ] || exit 0; \
14162 r=`${PWD_COMMAND}`; export r; \
14163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14164 $(HOST_EXPORTS) \
14165 for flag in $(EXTRA_HOST_FLAGS) ; do \
14166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14167 done; \
14168 echo "Doing maintainer-clean in gas" ; \
14169 (cd $(HOST_SUBDIR)/gas && \
14170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14172 "RANLIB=$${RANLIB}" \
14173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14174 maintainer-clean) \
14175 || exit 1
14177 @endif gas
14181 .PHONY: configure-gcc maybe-configure-gcc
14182 maybe-configure-gcc:
14183 @if gcc-bootstrap
14184 configure-gcc: stage_current
14185 @endif gcc-bootstrap
14186 @if gcc
14187 maybe-configure-gcc: configure-gcc
14188 configure-gcc:
14189 @r=`${PWD_COMMAND}`; export r; \
14190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14191 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14193 $(HOST_EXPORTS) \
14194 echo Configuring in $(HOST_SUBDIR)/gcc; \
14195 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
14196 case $(srcdir) in \
14197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14198 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14200 esac; \
14201 srcdiroption="--srcdir=$${topdir}/gcc"; \
14202 libsrcdir="$$s/gcc"; \
14203 $(SHELL) $${libsrcdir}/configure \
14204 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14205 --target=${target_alias} $${srcdiroption} \
14206 || exit 1
14207 @endif gcc
14211 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
14212 maybe-configure-stage1-gcc:
14213 @if gcc-bootstrap
14214 maybe-configure-stage1-gcc: configure-stage1-gcc
14215 configure-stage1-gcc:
14216 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14218 @r=`${PWD_COMMAND}`; export r; \
14219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14220 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14221 $(HOST_EXPORTS) \
14222 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14223 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
14224 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
14225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14226 cd $(HOST_SUBDIR)/gcc || exit 1; \
14227 case $(srcdir) in \
14228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14229 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14231 esac; \
14232 srcdiroption="--srcdir=$${topdir}/gcc"; \
14233 libsrcdir="$$s/gcc"; \
14234 $(SHELL) $${libsrcdir}/configure \
14235 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14236 --target=${target_alias} $${srcdiroption} \
14238 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14239 @endif gcc-bootstrap
14241 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
14242 maybe-configure-stage2-gcc:
14243 @if gcc-bootstrap
14244 maybe-configure-stage2-gcc: configure-stage2-gcc
14245 configure-stage2-gcc:
14246 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14248 @r=`${PWD_COMMAND}`; export r; \
14249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14250 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14251 $(HOST_EXPORTS) \
14252 $(POSTSTAGE1_HOST_EXPORTS) \
14253 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14254 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
14255 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
14256 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14257 cd $(HOST_SUBDIR)/gcc || exit 1; \
14258 case $(srcdir) in \
14259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14260 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14262 esac; \
14263 srcdiroption="--srcdir=$${topdir}/gcc"; \
14264 libsrcdir="$$s/gcc"; \
14265 $(SHELL) $${libsrcdir}/configure \
14266 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14267 --target=${target_alias} $${srcdiroption} \
14268 --with-build-libsubdir=$(HOST_SUBDIR) \
14269 @stage2_werror_flag@
14270 @endif gcc-bootstrap
14272 .PHONY: configure-stageb2g0-gcc maybe-configure-stageb2g0-gcc
14273 maybe-configure-stageb2g0-gcc:
14274 @if gcc-bootstrap
14275 maybe-configure-stageb2g0-gcc: configure-stageb2g0-gcc
14276 configure-stageb2g0-gcc:
14277 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
14278 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14279 @r=`${PWD_COMMAND}`; export r; \
14280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14281 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14282 $(HOST_EXPORTS) \
14283 $(POSTSTAGE1_HOST_EXPORTS) \
14284 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
14285 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
14286 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gcc ; \
14287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14288 cd $(HOST_SUBDIR)/gcc || exit 1; \
14289 case $(srcdir) in \
14290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14291 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14293 esac; \
14294 srcdiroption="--srcdir=$${topdir}/gcc"; \
14295 libsrcdir="$$s/gcc"; \
14296 $(SHELL) $${libsrcdir}/configure \
14297 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14298 --target=${target_alias} $${srcdiroption} \
14299 --with-build-libsubdir=$(HOST_SUBDIR) \
14300 @stage2_werror_flag@
14301 @endif gcc-bootstrap
14303 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
14304 maybe-configure-stage3-gcc:
14305 @if gcc-bootstrap
14306 maybe-configure-stage3-gcc: configure-stage3-gcc
14307 configure-stage3-gcc:
14308 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14310 @r=`${PWD_COMMAND}`; export r; \
14311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14312 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14313 $(HOST_EXPORTS) \
14314 $(POSTSTAGE1_HOST_EXPORTS) \
14315 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14316 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
14317 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
14318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14319 cd $(HOST_SUBDIR)/gcc || exit 1; \
14320 case $(srcdir) in \
14321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14322 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14324 esac; \
14325 srcdiroption="--srcdir=$${topdir}/gcc"; \
14326 libsrcdir="$$s/gcc"; \
14327 $(SHELL) $${libsrcdir}/configure \
14328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14329 --target=${target_alias} $${srcdiroption} \
14330 --with-build-libsubdir=$(HOST_SUBDIR) \
14331 @stage2_werror_flag@
14332 @endif gcc-bootstrap
14334 .PHONY: configure-stageb3g2-gcc maybe-configure-stageb3g2-gcc
14335 maybe-configure-stageb3g2-gcc:
14336 @if gcc-bootstrap
14337 maybe-configure-stageb3g2-gcc: configure-stageb3g2-gcc
14338 configure-stageb3g2-gcc:
14339 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
14340 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14341 @r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14344 $(HOST_EXPORTS) \
14345 $(POSTSTAGE1_HOST_EXPORTS) \
14346 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
14347 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
14348 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gcc ; \
14349 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14350 cd $(HOST_SUBDIR)/gcc || exit 1; \
14351 case $(srcdir) in \
14352 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14353 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14354 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14355 esac; \
14356 srcdiroption="--srcdir=$${topdir}/gcc"; \
14357 libsrcdir="$$s/gcc"; \
14358 $(SHELL) $${libsrcdir}/configure \
14359 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14360 --target=${target_alias} $${srcdiroption} \
14361 --with-build-libsubdir=$(HOST_SUBDIR) \
14362 @stage2_werror_flag@
14363 @endif gcc-bootstrap
14365 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
14366 maybe-configure-stage4-gcc:
14367 @if gcc-bootstrap
14368 maybe-configure-stage4-gcc: configure-stage4-gcc
14369 configure-stage4-gcc:
14370 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14371 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14372 @r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14374 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14375 $(HOST_EXPORTS) \
14376 $(POSTSTAGE1_HOST_EXPORTS) \
14377 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14378 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
14379 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
14380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14381 cd $(HOST_SUBDIR)/gcc || exit 1; \
14382 case $(srcdir) in \
14383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14384 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14386 esac; \
14387 srcdiroption="--srcdir=$${topdir}/gcc"; \
14388 libsrcdir="$$s/gcc"; \
14389 $(SHELL) $${libsrcdir}/configure \
14390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14391 --target=${target_alias} $${srcdiroption} \
14392 --with-build-libsubdir=$(HOST_SUBDIR) \
14393 @stage2_werror_flag@
14394 @endif gcc-bootstrap
14396 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
14397 maybe-configure-stageprofile-gcc:
14398 @if gcc-bootstrap
14399 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
14400 configure-stageprofile-gcc:
14401 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14403 @r=`${PWD_COMMAND}`; export r; \
14404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14406 $(HOST_EXPORTS) \
14407 $(POSTSTAGE1_HOST_EXPORTS) \
14408 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
14409 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
14410 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
14411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14412 cd $(HOST_SUBDIR)/gcc || exit 1; \
14413 case $(srcdir) in \
14414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14415 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14417 esac; \
14418 srcdiroption="--srcdir=$${topdir}/gcc"; \
14419 libsrcdir="$$s/gcc"; \
14420 $(SHELL) $${libsrcdir}/configure \
14421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14422 --target=${target_alias} $${srcdiroption} \
14423 --with-build-libsubdir=$(HOST_SUBDIR) \
14424 @stage2_werror_flag@
14425 @endif gcc-bootstrap
14427 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
14428 maybe-configure-stagefeedback-gcc:
14429 @if gcc-bootstrap
14430 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
14431 configure-stagefeedback-gcc:
14432 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14433 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
14434 @r=`${PWD_COMMAND}`; export r; \
14435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14436 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
14437 $(HOST_EXPORTS) \
14438 $(POSTSTAGE1_HOST_EXPORTS) \
14439 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
14440 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
14441 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
14442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
14443 cd $(HOST_SUBDIR)/gcc || exit 1; \
14444 case $(srcdir) in \
14445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14446 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
14447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14448 esac; \
14449 srcdiroption="--srcdir=$${topdir}/gcc"; \
14450 libsrcdir="$$s/gcc"; \
14451 $(SHELL) $${libsrcdir}/configure \
14452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14453 --target=${target_alias} $${srcdiroption} \
14454 --with-build-libsubdir=$(HOST_SUBDIR) \
14455 @stage2_werror_flag@
14456 @endif gcc-bootstrap
14462 .PHONY: all-gcc maybe-all-gcc
14463 maybe-all-gcc:
14464 @if gcc-bootstrap
14465 all-gcc: stage_current
14466 @endif gcc-bootstrap
14467 @if gcc
14468 TARGET-gcc=all
14469 maybe-all-gcc: all-gcc
14470 all-gcc: configure-gcc
14471 @r=`${PWD_COMMAND}`; export r; \
14472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14473 $(HOST_EXPORTS) \
14474 (cd $(HOST_SUBDIR)/gcc && \
14475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14476 $(TARGET-gcc))
14477 @endif gcc
14481 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
14482 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
14483 maybe-all-stage1-gcc:
14484 maybe-clean-stage1-gcc:
14485 @if gcc-bootstrap
14486 maybe-all-stage1-gcc: all-stage1-gcc
14487 all-stage1: all-stage1-gcc
14488 TARGET-stage1-gcc = $(TARGET-gcc)
14489 all-stage1-gcc: configure-stage1-gcc
14490 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14491 @r=`${PWD_COMMAND}`; export r; \
14492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14493 $(HOST_EXPORTS) \
14494 cd $(HOST_SUBDIR)/gcc && \
14495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14496 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
14497 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
14498 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
14499 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) \
14500 $(TARGET-stage1-gcc)
14502 maybe-clean-stage1-gcc: clean-stage1-gcc
14503 clean-stage1: clean-stage1-gcc
14504 clean-stage1-gcc:
14505 @if [ $(current_stage) = stage1 ]; then \
14506 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14507 else \
14508 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
14509 $(MAKE) stage1-start; \
14510 fi; \
14511 cd $(HOST_SUBDIR)/gcc && \
14512 $(MAKE) $(EXTRA_HOST_FLAGS) \
14513 $(EXTRA_GCC_FLAGS) clean
14514 @endif gcc-bootstrap
14517 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
14518 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
14519 maybe-all-stage2-gcc:
14520 maybe-clean-stage2-gcc:
14521 @if gcc-bootstrap
14522 maybe-all-stage2-gcc: all-stage2-gcc
14523 all-stage2: all-stage2-gcc
14524 TARGET-stage2-gcc = $(TARGET-gcc)
14525 all-stage2-gcc: configure-stage2-gcc
14526 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14527 @r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529 $(HOST_EXPORTS) \
14530 $(POSTSTAGE1_HOST_EXPORTS) \
14531 cd $(HOST_SUBDIR)/gcc && \
14532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14533 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
14534 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
14535 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
14536 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14537 $(TARGET-stage2-gcc)
14539 maybe-clean-stage2-gcc: clean-stage2-gcc
14540 clean-stage2: clean-stage2-gcc
14541 clean-stage2-gcc:
14542 @if [ $(current_stage) = stage2 ]; then \
14543 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14544 else \
14545 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
14546 $(MAKE) stage2-start; \
14547 fi; \
14548 cd $(HOST_SUBDIR)/gcc && \
14549 $(MAKE) $(EXTRA_HOST_FLAGS) \
14550 $(POSTSTAGE1_FLAGS_TO_PASS) \
14551 $(EXTRA_GCC_FLAGS) clean
14552 @endif gcc-bootstrap
14555 .PHONY: all-stageb2g0-gcc maybe-all-stageb2g0-gcc
14556 .PHONY: clean-stageb2g0-gcc maybe-clean-stageb2g0-gcc
14557 maybe-all-stageb2g0-gcc:
14558 maybe-clean-stageb2g0-gcc:
14559 @if gcc-bootstrap
14560 maybe-all-stageb2g0-gcc: all-stageb2g0-gcc
14561 all-stageb2g0: all-stageb2g0-gcc
14562 TARGET-stageb2g0-gcc = $(TARGET-gcc)
14563 all-stageb2g0-gcc: configure-stageb2g0-gcc
14564 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
14565 @r=`${PWD_COMMAND}`; export r; \
14566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14567 $(HOST_EXPORTS) \
14568 $(POSTSTAGE1_HOST_EXPORTS) \
14569 cd $(HOST_SUBDIR)/gcc && \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14571 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
14572 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
14573 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
14574 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14575 $(TARGET-stageb2g0-gcc)
14577 maybe-clean-stageb2g0-gcc: clean-stageb2g0-gcc
14578 clean-stageb2g0: clean-stageb2g0-gcc
14579 clean-stageb2g0-gcc:
14580 @if [ $(current_stage) = stageb2g0 ]; then \
14581 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14582 else \
14583 [ -f $(HOST_SUBDIR)/stageb2g0-gcc/Makefile ] || exit 0; \
14584 $(MAKE) stageb2g0-start; \
14585 fi; \
14586 cd $(HOST_SUBDIR)/gcc && \
14587 $(MAKE) $(EXTRA_HOST_FLAGS) \
14588 $(POSTSTAGE1_FLAGS_TO_PASS) \
14589 $(EXTRA_GCC_FLAGS) clean
14590 @endif gcc-bootstrap
14593 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
14594 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
14595 maybe-all-stage3-gcc:
14596 maybe-clean-stage3-gcc:
14597 @if gcc-bootstrap
14598 maybe-all-stage3-gcc: all-stage3-gcc
14599 all-stage3: all-stage3-gcc
14600 TARGET-stage3-gcc = $(TARGET-gcc)
14601 all-stage3-gcc: configure-stage3-gcc
14602 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14603 @r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 $(HOST_EXPORTS) \
14606 $(POSTSTAGE1_HOST_EXPORTS) \
14607 cd $(HOST_SUBDIR)/gcc && \
14608 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14609 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
14610 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
14611 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
14612 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14613 $(TARGET-stage3-gcc)
14615 maybe-clean-stage3-gcc: clean-stage3-gcc
14616 clean-stage3: clean-stage3-gcc
14617 clean-stage3-gcc:
14618 @if [ $(current_stage) = stage3 ]; then \
14619 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14620 else \
14621 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
14622 $(MAKE) stage3-start; \
14623 fi; \
14624 cd $(HOST_SUBDIR)/gcc && \
14625 $(MAKE) $(EXTRA_HOST_FLAGS) \
14626 $(POSTSTAGE1_FLAGS_TO_PASS) \
14627 $(EXTRA_GCC_FLAGS) clean
14628 @endif gcc-bootstrap
14631 .PHONY: all-stageb3g2-gcc maybe-all-stageb3g2-gcc
14632 .PHONY: clean-stageb3g2-gcc maybe-clean-stageb3g2-gcc
14633 maybe-all-stageb3g2-gcc:
14634 maybe-clean-stageb3g2-gcc:
14635 @if gcc-bootstrap
14636 maybe-all-stageb3g2-gcc: all-stageb3g2-gcc
14637 all-stageb3g2: all-stageb3g2-gcc
14638 TARGET-stageb3g2-gcc = $(TARGET-gcc)
14639 all-stageb3g2-gcc: configure-stageb3g2-gcc
14640 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
14641 @r=`${PWD_COMMAND}`; export r; \
14642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14643 $(HOST_EXPORTS) \
14644 $(POSTSTAGE1_HOST_EXPORTS) \
14645 cd $(HOST_SUBDIR)/gcc && \
14646 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14647 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
14648 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
14649 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
14650 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14651 $(TARGET-stageb3g2-gcc)
14653 maybe-clean-stageb3g2-gcc: clean-stageb3g2-gcc
14654 clean-stageb3g2: clean-stageb3g2-gcc
14655 clean-stageb3g2-gcc:
14656 @if [ $(current_stage) = stageb3g2 ]; then \
14657 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14658 else \
14659 [ -f $(HOST_SUBDIR)/stageb3g2-gcc/Makefile ] || exit 0; \
14660 $(MAKE) stageb3g2-start; \
14661 fi; \
14662 cd $(HOST_SUBDIR)/gcc && \
14663 $(MAKE) $(EXTRA_HOST_FLAGS) \
14664 $(POSTSTAGE1_FLAGS_TO_PASS) \
14665 $(EXTRA_GCC_FLAGS) clean
14666 @endif gcc-bootstrap
14669 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
14670 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
14671 maybe-all-stage4-gcc:
14672 maybe-clean-stage4-gcc:
14673 @if gcc-bootstrap
14674 maybe-all-stage4-gcc: all-stage4-gcc
14675 all-stage4: all-stage4-gcc
14676 TARGET-stage4-gcc = $(TARGET-gcc)
14677 all-stage4-gcc: configure-stage4-gcc
14678 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14679 @r=`${PWD_COMMAND}`; export r; \
14680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14681 $(HOST_EXPORTS) \
14682 $(POSTSTAGE1_HOST_EXPORTS) \
14683 cd $(HOST_SUBDIR)/gcc && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14685 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
14686 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14687 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
14688 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14689 $(TARGET-stage4-gcc)
14691 maybe-clean-stage4-gcc: clean-stage4-gcc
14692 clean-stage4: clean-stage4-gcc
14693 clean-stage4-gcc:
14694 @if [ $(current_stage) = stage4 ]; then \
14695 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14696 else \
14697 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
14698 $(MAKE) stage4-start; \
14699 fi; \
14700 cd $(HOST_SUBDIR)/gcc && \
14701 $(MAKE) $(EXTRA_HOST_FLAGS) \
14702 $(POSTSTAGE1_FLAGS_TO_PASS) \
14703 $(EXTRA_GCC_FLAGS) clean
14704 @endif gcc-bootstrap
14707 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
14708 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
14709 maybe-all-stageprofile-gcc:
14710 maybe-clean-stageprofile-gcc:
14711 @if gcc-bootstrap
14712 maybe-all-stageprofile-gcc: all-stageprofile-gcc
14713 all-stageprofile: all-stageprofile-gcc
14714 TARGET-stageprofile-gcc = $(TARGET-gcc)
14715 all-stageprofile-gcc: configure-stageprofile-gcc
14716 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14717 @r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14719 $(HOST_EXPORTS) \
14720 $(POSTSTAGE1_HOST_EXPORTS) \
14721 cd $(HOST_SUBDIR)/gcc && \
14722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14723 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
14724 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
14725 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
14726 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14727 $(TARGET-stageprofile-gcc)
14729 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
14730 clean-stageprofile: clean-stageprofile-gcc
14731 clean-stageprofile-gcc:
14732 @if [ $(current_stage) = stageprofile ]; then \
14733 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14734 else \
14735 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
14736 $(MAKE) stageprofile-start; \
14737 fi; \
14738 cd $(HOST_SUBDIR)/gcc && \
14739 $(MAKE) $(EXTRA_HOST_FLAGS) \
14740 $(POSTSTAGE1_FLAGS_TO_PASS) \
14741 $(EXTRA_GCC_FLAGS) clean
14742 @endif gcc-bootstrap
14745 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
14746 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
14747 maybe-all-stagefeedback-gcc:
14748 maybe-clean-stagefeedback-gcc:
14749 @if gcc-bootstrap
14750 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
14751 all-stagefeedback: all-stagefeedback-gcc
14752 TARGET-stagefeedback-gcc = $(TARGET-gcc)
14753 all-stagefeedback-gcc: configure-stagefeedback-gcc
14754 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14755 @r=`${PWD_COMMAND}`; export r; \
14756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14757 $(HOST_EXPORTS) \
14758 $(POSTSTAGE1_HOST_EXPORTS) \
14759 cd $(HOST_SUBDIR)/gcc && \
14760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14761 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
14762 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
14763 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
14764 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
14765 $(TARGET-stagefeedback-gcc)
14767 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
14768 clean-stagefeedback: clean-stagefeedback-gcc
14769 clean-stagefeedback-gcc:
14770 @if [ $(current_stage) = stagefeedback ]; then \
14771 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
14772 else \
14773 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
14774 $(MAKE) stagefeedback-start; \
14775 fi; \
14776 cd $(HOST_SUBDIR)/gcc && \
14777 $(MAKE) $(EXTRA_HOST_FLAGS) \
14778 $(POSTSTAGE1_FLAGS_TO_PASS) \
14779 $(EXTRA_GCC_FLAGS) clean
14780 @endif gcc-bootstrap
14786 .PHONY: check-gcc maybe-check-gcc
14787 maybe-check-gcc:
14788 @if gcc
14789 maybe-check-gcc: check-gcc
14791 check-gcc:
14792 @: $(MAKE); $(unstage)
14793 @r=`${PWD_COMMAND}`; export r; \
14794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14795 $(HOST_EXPORTS) \
14796 (cd $(HOST_SUBDIR)/gcc && \
14797 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
14799 @endif gcc
14801 .PHONY: install-gcc maybe-install-gcc
14802 maybe-install-gcc:
14803 @if gcc
14804 maybe-install-gcc: install-gcc
14806 install-gcc: installdirs
14807 @: $(MAKE); $(unstage)
14808 @r=`${PWD_COMMAND}`; export r; \
14809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14810 $(HOST_EXPORTS) \
14811 (cd $(HOST_SUBDIR)/gcc && \
14812 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
14814 @endif gcc
14816 # Other targets (info, dvi, pdf, etc.)
14818 .PHONY: maybe-info-gcc info-gcc
14819 maybe-info-gcc:
14820 @if gcc
14821 maybe-info-gcc: info-gcc
14823 info-gcc: \
14824 configure-gcc
14825 @[ -f ./gcc/Makefile ] || exit 0; \
14826 r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828 $(HOST_EXPORTS) \
14829 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14831 done; \
14832 echo "Doing info in gcc" ; \
14833 (cd $(HOST_SUBDIR)/gcc && \
14834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14836 "RANLIB=$${RANLIB}" \
14837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14838 info) \
14839 || exit 1
14841 @endif gcc
14843 .PHONY: maybe-dvi-gcc dvi-gcc
14844 maybe-dvi-gcc:
14845 @if gcc
14846 maybe-dvi-gcc: dvi-gcc
14848 dvi-gcc: \
14849 configure-gcc
14850 @[ -f ./gcc/Makefile ] || exit 0; \
14851 r=`${PWD_COMMAND}`; export r; \
14852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14853 $(HOST_EXPORTS) \
14854 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14856 done; \
14857 echo "Doing dvi in gcc" ; \
14858 (cd $(HOST_SUBDIR)/gcc && \
14859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14861 "RANLIB=$${RANLIB}" \
14862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14863 dvi) \
14864 || exit 1
14866 @endif gcc
14868 .PHONY: maybe-pdf-gcc pdf-gcc
14869 maybe-pdf-gcc:
14870 @if gcc
14871 maybe-pdf-gcc: pdf-gcc
14873 pdf-gcc: \
14874 configure-gcc
14875 @[ -f ./gcc/Makefile ] || exit 0; \
14876 r=`${PWD_COMMAND}`; export r; \
14877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14878 $(HOST_EXPORTS) \
14879 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14881 done; \
14882 echo "Doing pdf in gcc" ; \
14883 (cd $(HOST_SUBDIR)/gcc && \
14884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14886 "RANLIB=$${RANLIB}" \
14887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14888 pdf) \
14889 || exit 1
14891 @endif gcc
14893 .PHONY: maybe-html-gcc html-gcc
14894 maybe-html-gcc:
14895 @if gcc
14896 maybe-html-gcc: html-gcc
14898 html-gcc: \
14899 configure-gcc
14900 @[ -f ./gcc/Makefile ] || exit 0; \
14901 r=`${PWD_COMMAND}`; export r; \
14902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14903 $(HOST_EXPORTS) \
14904 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14906 done; \
14907 echo "Doing html in gcc" ; \
14908 (cd $(HOST_SUBDIR)/gcc && \
14909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14911 "RANLIB=$${RANLIB}" \
14912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14913 html) \
14914 || exit 1
14916 @endif gcc
14918 .PHONY: maybe-TAGS-gcc TAGS-gcc
14919 maybe-TAGS-gcc:
14920 @if gcc
14921 maybe-TAGS-gcc: TAGS-gcc
14923 TAGS-gcc: \
14924 configure-gcc
14925 @[ -f ./gcc/Makefile ] || exit 0; \
14926 r=`${PWD_COMMAND}`; export r; \
14927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14928 $(HOST_EXPORTS) \
14929 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14931 done; \
14932 echo "Doing TAGS in gcc" ; \
14933 (cd $(HOST_SUBDIR)/gcc && \
14934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14936 "RANLIB=$${RANLIB}" \
14937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14938 TAGS) \
14939 || exit 1
14941 @endif gcc
14943 .PHONY: maybe-install-info-gcc install-info-gcc
14944 maybe-install-info-gcc:
14945 @if gcc
14946 maybe-install-info-gcc: install-info-gcc
14948 install-info-gcc: \
14949 configure-gcc \
14950 info-gcc
14951 @[ -f ./gcc/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954 $(HOST_EXPORTS) \
14955 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14957 done; \
14958 echo "Doing install-info in gcc" ; \
14959 (cd $(HOST_SUBDIR)/gcc && \
14960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14962 "RANLIB=$${RANLIB}" \
14963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14964 install-info) \
14965 || exit 1
14967 @endif gcc
14969 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
14970 maybe-install-pdf-gcc:
14971 @if gcc
14972 maybe-install-pdf-gcc: install-pdf-gcc
14974 install-pdf-gcc: \
14975 configure-gcc \
14976 pdf-gcc
14977 @[ -f ./gcc/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(HOST_EXPORTS) \
14981 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 done; \
14984 echo "Doing install-pdf in gcc" ; \
14985 (cd $(HOST_SUBDIR)/gcc && \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14988 "RANLIB=$${RANLIB}" \
14989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14990 install-pdf) \
14991 || exit 1
14993 @endif gcc
14995 .PHONY: maybe-install-html-gcc install-html-gcc
14996 maybe-install-html-gcc:
14997 @if gcc
14998 maybe-install-html-gcc: install-html-gcc
15000 install-html-gcc: \
15001 configure-gcc \
15002 html-gcc
15003 @[ -f ./gcc/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(HOST_EXPORTS) \
15007 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15009 done; \
15010 echo "Doing install-html in gcc" ; \
15011 (cd $(HOST_SUBDIR)/gcc && \
15012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15014 "RANLIB=$${RANLIB}" \
15015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15016 install-html) \
15017 || exit 1
15019 @endif gcc
15021 .PHONY: maybe-installcheck-gcc installcheck-gcc
15022 maybe-installcheck-gcc:
15023 @if gcc
15024 maybe-installcheck-gcc: installcheck-gcc
15026 installcheck-gcc: \
15027 configure-gcc
15028 @[ -f ./gcc/Makefile ] || exit 0; \
15029 r=`${PWD_COMMAND}`; export r; \
15030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15031 $(HOST_EXPORTS) \
15032 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15034 done; \
15035 echo "Doing installcheck in gcc" ; \
15036 (cd $(HOST_SUBDIR)/gcc && \
15037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15039 "RANLIB=$${RANLIB}" \
15040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15041 installcheck) \
15042 || exit 1
15044 @endif gcc
15046 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
15047 maybe-mostlyclean-gcc:
15048 @if gcc
15049 maybe-mostlyclean-gcc: mostlyclean-gcc
15051 mostlyclean-gcc:
15052 @[ -f ./gcc/Makefile ] || exit 0; \
15053 r=`${PWD_COMMAND}`; export r; \
15054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15055 $(HOST_EXPORTS) \
15056 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15058 done; \
15059 echo "Doing mostlyclean in gcc" ; \
15060 (cd $(HOST_SUBDIR)/gcc && \
15061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15063 "RANLIB=$${RANLIB}" \
15064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15065 mostlyclean) \
15066 || exit 1
15068 @endif gcc
15070 .PHONY: maybe-clean-gcc clean-gcc
15071 maybe-clean-gcc:
15072 @if gcc
15073 maybe-clean-gcc: clean-gcc
15075 clean-gcc:
15076 @[ -f ./gcc/Makefile ] || exit 0; \
15077 r=`${PWD_COMMAND}`; export r; \
15078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15079 $(HOST_EXPORTS) \
15080 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15082 done; \
15083 echo "Doing clean in gcc" ; \
15084 (cd $(HOST_SUBDIR)/gcc && \
15085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15087 "RANLIB=$${RANLIB}" \
15088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15089 clean) \
15090 || exit 1
15092 @endif gcc
15094 .PHONY: maybe-distclean-gcc distclean-gcc
15095 maybe-distclean-gcc:
15096 @if gcc
15097 maybe-distclean-gcc: distclean-gcc
15099 distclean-gcc:
15100 @[ -f ./gcc/Makefile ] || exit 0; \
15101 r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 $(HOST_EXPORTS) \
15104 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15106 done; \
15107 echo "Doing distclean in gcc" ; \
15108 (cd $(HOST_SUBDIR)/gcc && \
15109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15111 "RANLIB=$${RANLIB}" \
15112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15113 distclean) \
15114 || exit 1
15116 @endif gcc
15118 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
15119 maybe-maintainer-clean-gcc:
15120 @if gcc
15121 maybe-maintainer-clean-gcc: maintainer-clean-gcc
15123 maintainer-clean-gcc:
15124 @[ -f ./gcc/Makefile ] || exit 0; \
15125 r=`${PWD_COMMAND}`; export r; \
15126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15127 $(HOST_EXPORTS) \
15128 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
15129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15130 done; \
15131 echo "Doing maintainer-clean in gcc" ; \
15132 (cd $(HOST_SUBDIR)/gcc && \
15133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15135 "RANLIB=$${RANLIB}" \
15136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15137 maintainer-clean) \
15138 || exit 1
15140 @endif gcc
15144 .PHONY: configure-gawk maybe-configure-gawk
15145 maybe-configure-gawk:
15146 @if gcc-bootstrap
15147 configure-gawk: stage_current
15148 @endif gcc-bootstrap
15149 @if gawk
15150 maybe-configure-gawk: configure-gawk
15151 configure-gawk:
15152 @: $(MAKE); $(unstage)
15153 @r=`${PWD_COMMAND}`; export r; \
15154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15155 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
15156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
15157 $(HOST_EXPORTS) \
15158 echo Configuring in $(HOST_SUBDIR)/gawk; \
15159 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
15160 case $(srcdir) in \
15161 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15162 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
15163 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15164 esac; \
15165 srcdiroption="--srcdir=$${topdir}/gawk"; \
15166 libsrcdir="$$s/gawk"; \
15167 $(SHELL) $${libsrcdir}/configure \
15168 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15169 --target=${target_alias} $${srcdiroption} \
15170 || exit 1
15171 @endif gawk
15177 .PHONY: all-gawk maybe-all-gawk
15178 maybe-all-gawk:
15179 @if gcc-bootstrap
15180 all-gawk: stage_current
15181 @endif gcc-bootstrap
15182 @if gawk
15183 TARGET-gawk=all
15184 maybe-all-gawk: all-gawk
15185 all-gawk: configure-gawk
15186 @: $(MAKE); $(unstage)
15187 @r=`${PWD_COMMAND}`; export r; \
15188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15189 $(HOST_EXPORTS) \
15190 (cd $(HOST_SUBDIR)/gawk && \
15191 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15192 $(TARGET-gawk))
15193 @endif gawk
15198 .PHONY: check-gawk maybe-check-gawk
15199 maybe-check-gawk:
15200 @if gawk
15201 maybe-check-gawk: check-gawk
15203 check-gawk:
15204 @: $(MAKE); $(unstage)
15205 @r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207 $(HOST_EXPORTS) \
15208 (cd $(HOST_SUBDIR)/gawk && \
15209 $(MAKE) $(FLAGS_TO_PASS) check)
15211 @endif gawk
15213 .PHONY: install-gawk maybe-install-gawk
15214 maybe-install-gawk:
15215 @if gawk
15216 maybe-install-gawk: install-gawk
15218 install-gawk: installdirs
15219 @: $(MAKE); $(unstage)
15220 @r=`${PWD_COMMAND}`; export r; \
15221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15222 $(HOST_EXPORTS) \
15223 (cd $(HOST_SUBDIR)/gawk && \
15224 $(MAKE) $(FLAGS_TO_PASS) install)
15226 @endif gawk
15228 # Other targets (info, dvi, pdf, etc.)
15230 .PHONY: maybe-info-gawk info-gawk
15231 maybe-info-gawk:
15232 @if gawk
15233 maybe-info-gawk: info-gawk
15235 info-gawk: \
15236 configure-gawk
15237 @: $(MAKE); $(unstage)
15238 @[ -f ./gawk/Makefile ] || exit 0; \
15239 r=`${PWD_COMMAND}`; export r; \
15240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15241 $(HOST_EXPORTS) \
15242 for flag in $(EXTRA_HOST_FLAGS) ; do \
15243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15244 done; \
15245 echo "Doing info in gawk" ; \
15246 (cd $(HOST_SUBDIR)/gawk && \
15247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15249 "RANLIB=$${RANLIB}" \
15250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15251 info) \
15252 || exit 1
15254 @endif gawk
15256 .PHONY: maybe-dvi-gawk dvi-gawk
15257 maybe-dvi-gawk:
15258 @if gawk
15259 maybe-dvi-gawk: dvi-gawk
15261 dvi-gawk: \
15262 configure-gawk
15263 @: $(MAKE); $(unstage)
15264 @[ -f ./gawk/Makefile ] || exit 0; \
15265 r=`${PWD_COMMAND}`; export r; \
15266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15267 $(HOST_EXPORTS) \
15268 for flag in $(EXTRA_HOST_FLAGS) ; do \
15269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15270 done; \
15271 echo "Doing dvi in gawk" ; \
15272 (cd $(HOST_SUBDIR)/gawk && \
15273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15275 "RANLIB=$${RANLIB}" \
15276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15277 dvi) \
15278 || exit 1
15280 @endif gawk
15282 .PHONY: maybe-pdf-gawk pdf-gawk
15283 maybe-pdf-gawk:
15284 @if gawk
15285 maybe-pdf-gawk: pdf-gawk
15287 pdf-gawk: \
15288 configure-gawk
15289 @: $(MAKE); $(unstage)
15290 @[ -f ./gawk/Makefile ] || exit 0; \
15291 r=`${PWD_COMMAND}`; export r; \
15292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15293 $(HOST_EXPORTS) \
15294 for flag in $(EXTRA_HOST_FLAGS) ; do \
15295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15296 done; \
15297 echo "Doing pdf in gawk" ; \
15298 (cd $(HOST_SUBDIR)/gawk && \
15299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15301 "RANLIB=$${RANLIB}" \
15302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15303 pdf) \
15304 || exit 1
15306 @endif gawk
15308 .PHONY: maybe-html-gawk html-gawk
15309 maybe-html-gawk:
15310 @if gawk
15311 maybe-html-gawk: html-gawk
15313 html-gawk: \
15314 configure-gawk
15315 @: $(MAKE); $(unstage)
15316 @[ -f ./gawk/Makefile ] || exit 0; \
15317 r=`${PWD_COMMAND}`; export r; \
15318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15319 $(HOST_EXPORTS) \
15320 for flag in $(EXTRA_HOST_FLAGS) ; do \
15321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15322 done; \
15323 echo "Doing html in gawk" ; \
15324 (cd $(HOST_SUBDIR)/gawk && \
15325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15327 "RANLIB=$${RANLIB}" \
15328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15329 html) \
15330 || exit 1
15332 @endif gawk
15334 .PHONY: maybe-TAGS-gawk TAGS-gawk
15335 maybe-TAGS-gawk:
15336 @if gawk
15337 maybe-TAGS-gawk: TAGS-gawk
15339 TAGS-gawk: \
15340 configure-gawk
15341 @: $(MAKE); $(unstage)
15342 @[ -f ./gawk/Makefile ] || exit 0; \
15343 r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15345 $(HOST_EXPORTS) \
15346 for flag in $(EXTRA_HOST_FLAGS) ; do \
15347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15348 done; \
15349 echo "Doing TAGS in gawk" ; \
15350 (cd $(HOST_SUBDIR)/gawk && \
15351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15353 "RANLIB=$${RANLIB}" \
15354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15355 TAGS) \
15356 || exit 1
15358 @endif gawk
15360 .PHONY: maybe-install-info-gawk install-info-gawk
15361 maybe-install-info-gawk:
15362 @if gawk
15363 maybe-install-info-gawk: install-info-gawk
15365 install-info-gawk: \
15366 configure-gawk \
15367 info-gawk
15368 @: $(MAKE); $(unstage)
15369 @[ -f ./gawk/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) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing install-info in gawk" ; \
15377 (cd $(HOST_SUBDIR)/gawk && \
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 install-info) \
15383 || exit 1
15385 @endif gawk
15387 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
15388 maybe-install-pdf-gawk:
15389 @if gawk
15390 maybe-install-pdf-gawk: install-pdf-gawk
15392 install-pdf-gawk: \
15393 configure-gawk \
15394 pdf-gawk
15395 @: $(MAKE); $(unstage)
15396 @[ -f ./gawk/Makefile ] || exit 0; \
15397 r=`${PWD_COMMAND}`; export r; \
15398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15399 $(HOST_EXPORTS) \
15400 for flag in $(EXTRA_HOST_FLAGS) ; do \
15401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15402 done; \
15403 echo "Doing install-pdf in gawk" ; \
15404 (cd $(HOST_SUBDIR)/gawk && \
15405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15407 "RANLIB=$${RANLIB}" \
15408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15409 install-pdf) \
15410 || exit 1
15412 @endif gawk
15414 .PHONY: maybe-install-html-gawk install-html-gawk
15415 maybe-install-html-gawk:
15416 @if gawk
15417 maybe-install-html-gawk: install-html-gawk
15419 install-html-gawk: \
15420 configure-gawk \
15421 html-gawk
15422 @: $(MAKE); $(unstage)
15423 @[ -f ./gawk/Makefile ] || exit 0; \
15424 r=`${PWD_COMMAND}`; export r; \
15425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15426 $(HOST_EXPORTS) \
15427 for flag in $(EXTRA_HOST_FLAGS) ; do \
15428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15429 done; \
15430 echo "Doing install-html in gawk" ; \
15431 (cd $(HOST_SUBDIR)/gawk && \
15432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15434 "RANLIB=$${RANLIB}" \
15435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15436 install-html) \
15437 || exit 1
15439 @endif gawk
15441 .PHONY: maybe-installcheck-gawk installcheck-gawk
15442 maybe-installcheck-gawk:
15443 @if gawk
15444 maybe-installcheck-gawk: installcheck-gawk
15446 installcheck-gawk: \
15447 configure-gawk
15448 @: $(MAKE); $(unstage)
15449 @[ -f ./gawk/Makefile ] || exit 0; \
15450 r=`${PWD_COMMAND}`; export r; \
15451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15452 $(HOST_EXPORTS) \
15453 for flag in $(EXTRA_HOST_FLAGS) ; do \
15454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15455 done; \
15456 echo "Doing installcheck in gawk" ; \
15457 (cd $(HOST_SUBDIR)/gawk && \
15458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15460 "RANLIB=$${RANLIB}" \
15461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15462 installcheck) \
15463 || exit 1
15465 @endif gawk
15467 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
15468 maybe-mostlyclean-gawk:
15469 @if gawk
15470 maybe-mostlyclean-gawk: mostlyclean-gawk
15472 mostlyclean-gawk:
15473 @: $(MAKE); $(unstage)
15474 @[ -f ./gawk/Makefile ] || exit 0; \
15475 r=`${PWD_COMMAND}`; export r; \
15476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15477 $(HOST_EXPORTS) \
15478 for flag in $(EXTRA_HOST_FLAGS) ; do \
15479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15480 done; \
15481 echo "Doing mostlyclean in gawk" ; \
15482 (cd $(HOST_SUBDIR)/gawk && \
15483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15485 "RANLIB=$${RANLIB}" \
15486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15487 mostlyclean) \
15488 || exit 1
15490 @endif gawk
15492 .PHONY: maybe-clean-gawk clean-gawk
15493 maybe-clean-gawk:
15494 @if gawk
15495 maybe-clean-gawk: clean-gawk
15497 clean-gawk:
15498 @: $(MAKE); $(unstage)
15499 @[ -f ./gawk/Makefile ] || exit 0; \
15500 r=`${PWD_COMMAND}`; export r; \
15501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15502 $(HOST_EXPORTS) \
15503 for flag in $(EXTRA_HOST_FLAGS) ; do \
15504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15505 done; \
15506 echo "Doing clean in gawk" ; \
15507 (cd $(HOST_SUBDIR)/gawk && \
15508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15510 "RANLIB=$${RANLIB}" \
15511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15512 clean) \
15513 || exit 1
15515 @endif gawk
15517 .PHONY: maybe-distclean-gawk distclean-gawk
15518 maybe-distclean-gawk:
15519 @if gawk
15520 maybe-distclean-gawk: distclean-gawk
15522 distclean-gawk:
15523 @: $(MAKE); $(unstage)
15524 @[ -f ./gawk/Makefile ] || exit 0; \
15525 r=`${PWD_COMMAND}`; export r; \
15526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 $(HOST_EXPORTS) \
15528 for flag in $(EXTRA_HOST_FLAGS) ; do \
15529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15530 done; \
15531 echo "Doing distclean in gawk" ; \
15532 (cd $(HOST_SUBDIR)/gawk && \
15533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15535 "RANLIB=$${RANLIB}" \
15536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15537 distclean) \
15538 || exit 1
15540 @endif gawk
15542 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
15543 maybe-maintainer-clean-gawk:
15544 @if gawk
15545 maybe-maintainer-clean-gawk: maintainer-clean-gawk
15547 maintainer-clean-gawk:
15548 @: $(MAKE); $(unstage)
15549 @[ -f ./gawk/Makefile ] || exit 0; \
15550 r=`${PWD_COMMAND}`; export r; \
15551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 $(HOST_EXPORTS) \
15553 for flag in $(EXTRA_HOST_FLAGS) ; do \
15554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15555 done; \
15556 echo "Doing maintainer-clean in gawk" ; \
15557 (cd $(HOST_SUBDIR)/gawk && \
15558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15560 "RANLIB=$${RANLIB}" \
15561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15562 maintainer-clean) \
15563 || exit 1
15565 @endif gawk
15569 .PHONY: configure-gettext maybe-configure-gettext
15570 maybe-configure-gettext:
15571 @if gcc-bootstrap
15572 configure-gettext: stage_current
15573 @endif gcc-bootstrap
15574 @if gettext
15575 maybe-configure-gettext: configure-gettext
15576 configure-gettext:
15577 @: $(MAKE); $(unstage)
15578 @r=`${PWD_COMMAND}`; export r; \
15579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
15581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
15582 $(HOST_EXPORTS) \
15583 echo Configuring in $(HOST_SUBDIR)/gettext; \
15584 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
15585 case $(srcdir) in \
15586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15587 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
15588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15589 esac; \
15590 srcdiroption="--srcdir=$${topdir}/gettext"; \
15591 libsrcdir="$$s/gettext"; \
15592 $(SHELL) $${libsrcdir}/configure \
15593 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15594 --target=${target_alias} $${srcdiroption} \
15595 || exit 1
15596 @endif gettext
15602 .PHONY: all-gettext maybe-all-gettext
15603 maybe-all-gettext:
15604 @if gcc-bootstrap
15605 all-gettext: stage_current
15606 @endif gcc-bootstrap
15607 @if gettext
15608 TARGET-gettext=all
15609 maybe-all-gettext: all-gettext
15610 all-gettext: configure-gettext
15611 @: $(MAKE); $(unstage)
15612 @r=`${PWD_COMMAND}`; export r; \
15613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614 $(HOST_EXPORTS) \
15615 (cd $(HOST_SUBDIR)/gettext && \
15616 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
15617 $(TARGET-gettext))
15618 @endif gettext
15623 .PHONY: check-gettext maybe-check-gettext
15624 maybe-check-gettext:
15625 @if gettext
15626 maybe-check-gettext: check-gettext
15628 check-gettext:
15629 @: $(MAKE); $(unstage)
15630 @r=`${PWD_COMMAND}`; export r; \
15631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15632 $(HOST_EXPORTS) \
15633 (cd $(HOST_SUBDIR)/gettext && \
15634 $(MAKE) $(FLAGS_TO_PASS) check)
15636 @endif gettext
15638 .PHONY: install-gettext maybe-install-gettext
15639 maybe-install-gettext:
15640 @if gettext
15641 maybe-install-gettext: install-gettext
15643 install-gettext: installdirs
15644 @: $(MAKE); $(unstage)
15645 @r=`${PWD_COMMAND}`; export r; \
15646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 $(HOST_EXPORTS) \
15648 (cd $(HOST_SUBDIR)/gettext && \
15649 $(MAKE) $(FLAGS_TO_PASS) install)
15651 @endif gettext
15653 # Other targets (info, dvi, pdf, etc.)
15655 .PHONY: maybe-info-gettext info-gettext
15656 maybe-info-gettext:
15657 @if gettext
15658 maybe-info-gettext: info-gettext
15660 info-gettext: \
15661 configure-gettext
15662 @: $(MAKE); $(unstage)
15663 @[ -f ./gettext/Makefile ] || exit 0; \
15664 r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 $(HOST_EXPORTS) \
15667 for flag in $(EXTRA_HOST_FLAGS) ; do \
15668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15669 done; \
15670 echo "Doing info in gettext" ; \
15671 (cd $(HOST_SUBDIR)/gettext && \
15672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15674 "RANLIB=$${RANLIB}" \
15675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15676 info) \
15677 || exit 1
15679 @endif gettext
15681 .PHONY: maybe-dvi-gettext dvi-gettext
15682 maybe-dvi-gettext:
15683 @if gettext
15684 maybe-dvi-gettext: dvi-gettext
15686 dvi-gettext: \
15687 configure-gettext
15688 @: $(MAKE); $(unstage)
15689 @[ -f ./gettext/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 dvi in gettext" ; \
15697 (cd $(HOST_SUBDIR)/gettext && \
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 dvi) \
15703 || exit 1
15705 @endif gettext
15707 .PHONY: maybe-pdf-gettext pdf-gettext
15708 maybe-pdf-gettext:
15709 @if gettext
15710 maybe-pdf-gettext: pdf-gettext
15712 pdf-gettext: \
15713 configure-gettext
15714 @: $(MAKE); $(unstage)
15715 @[ -f ./gettext/Makefile ] || exit 0; \
15716 r=`${PWD_COMMAND}`; export r; \
15717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15718 $(HOST_EXPORTS) \
15719 for flag in $(EXTRA_HOST_FLAGS) ; do \
15720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15721 done; \
15722 echo "Doing pdf in gettext" ; \
15723 (cd $(HOST_SUBDIR)/gettext && \
15724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15726 "RANLIB=$${RANLIB}" \
15727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15728 pdf) \
15729 || exit 1
15731 @endif gettext
15733 .PHONY: maybe-html-gettext html-gettext
15734 maybe-html-gettext:
15735 @if gettext
15736 maybe-html-gettext: html-gettext
15738 html-gettext: \
15739 configure-gettext
15740 @: $(MAKE); $(unstage)
15741 @[ -f ./gettext/Makefile ] || exit 0; \
15742 r=`${PWD_COMMAND}`; export r; \
15743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15744 $(HOST_EXPORTS) \
15745 for flag in $(EXTRA_HOST_FLAGS) ; do \
15746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15747 done; \
15748 echo "Doing html in gettext" ; \
15749 (cd $(HOST_SUBDIR)/gettext && \
15750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15752 "RANLIB=$${RANLIB}" \
15753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15754 html) \
15755 || exit 1
15757 @endif gettext
15759 .PHONY: maybe-TAGS-gettext TAGS-gettext
15760 maybe-TAGS-gettext:
15761 @if gettext
15762 maybe-TAGS-gettext: TAGS-gettext
15764 TAGS-gettext: \
15765 configure-gettext
15766 @: $(MAKE); $(unstage)
15767 @[ -f ./gettext/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 TAGS in gettext" ; \
15775 (cd $(HOST_SUBDIR)/gettext && \
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 TAGS) \
15781 || exit 1
15783 @endif gettext
15785 .PHONY: maybe-install-info-gettext install-info-gettext
15786 maybe-install-info-gettext:
15787 @if gettext
15788 maybe-install-info-gettext: install-info-gettext
15790 install-info-gettext: \
15791 configure-gettext \
15792 info-gettext
15793 @: $(MAKE); $(unstage)
15794 @[ -f ./gettext/Makefile ] || exit 0; \
15795 r=`${PWD_COMMAND}`; export r; \
15796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 $(HOST_EXPORTS) \
15798 for flag in $(EXTRA_HOST_FLAGS) ; do \
15799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15800 done; \
15801 echo "Doing install-info in gettext" ; \
15802 (cd $(HOST_SUBDIR)/gettext && \
15803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15805 "RANLIB=$${RANLIB}" \
15806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15807 install-info) \
15808 || exit 1
15810 @endif gettext
15812 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
15813 maybe-install-pdf-gettext:
15814 @if gettext
15815 maybe-install-pdf-gettext: install-pdf-gettext
15817 install-pdf-gettext: \
15818 configure-gettext \
15819 pdf-gettext
15820 @: $(MAKE); $(unstage)
15821 @[ -f ./gettext/Makefile ] || exit 0; \
15822 r=`${PWD_COMMAND}`; export r; \
15823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15824 $(HOST_EXPORTS) \
15825 for flag in $(EXTRA_HOST_FLAGS) ; do \
15826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15827 done; \
15828 echo "Doing install-pdf in gettext" ; \
15829 (cd $(HOST_SUBDIR)/gettext && \
15830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15832 "RANLIB=$${RANLIB}" \
15833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15834 install-pdf) \
15835 || exit 1
15837 @endif gettext
15839 .PHONY: maybe-install-html-gettext install-html-gettext
15840 maybe-install-html-gettext:
15841 @if gettext
15842 maybe-install-html-gettext: install-html-gettext
15844 install-html-gettext: \
15845 configure-gettext \
15846 html-gettext
15847 @: $(MAKE); $(unstage)
15848 @[ -f ./gettext/Makefile ] || exit 0; \
15849 r=`${PWD_COMMAND}`; export r; \
15850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15851 $(HOST_EXPORTS) \
15852 for flag in $(EXTRA_HOST_FLAGS) ; do \
15853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15854 done; \
15855 echo "Doing install-html in gettext" ; \
15856 (cd $(HOST_SUBDIR)/gettext && \
15857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15859 "RANLIB=$${RANLIB}" \
15860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15861 install-html) \
15862 || exit 1
15864 @endif gettext
15866 .PHONY: maybe-installcheck-gettext installcheck-gettext
15867 maybe-installcheck-gettext:
15868 @if gettext
15869 maybe-installcheck-gettext: installcheck-gettext
15871 installcheck-gettext: \
15872 configure-gettext
15873 @: $(MAKE); $(unstage)
15874 @[ -f ./gettext/Makefile ] || exit 0; \
15875 r=`${PWD_COMMAND}`; export r; \
15876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15877 $(HOST_EXPORTS) \
15878 for flag in $(EXTRA_HOST_FLAGS) ; do \
15879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15880 done; \
15881 echo "Doing installcheck in gettext" ; \
15882 (cd $(HOST_SUBDIR)/gettext && \
15883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15885 "RANLIB=$${RANLIB}" \
15886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15887 installcheck) \
15888 || exit 1
15890 @endif gettext
15892 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
15893 maybe-mostlyclean-gettext:
15894 @if gettext
15895 maybe-mostlyclean-gettext: mostlyclean-gettext
15897 mostlyclean-gettext:
15898 @: $(MAKE); $(unstage)
15899 @[ -f ./gettext/Makefile ] || exit 0; \
15900 r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 $(HOST_EXPORTS) \
15903 for flag in $(EXTRA_HOST_FLAGS) ; do \
15904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15905 done; \
15906 echo "Doing mostlyclean in gettext" ; \
15907 (cd $(HOST_SUBDIR)/gettext && \
15908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15910 "RANLIB=$${RANLIB}" \
15911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15912 mostlyclean) \
15913 || exit 1
15915 @endif gettext
15917 .PHONY: maybe-clean-gettext clean-gettext
15918 maybe-clean-gettext:
15919 @if gettext
15920 maybe-clean-gettext: clean-gettext
15922 clean-gettext:
15923 @: $(MAKE); $(unstage)
15924 @[ -f ./gettext/Makefile ] || exit 0; \
15925 r=`${PWD_COMMAND}`; export r; \
15926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15927 $(HOST_EXPORTS) \
15928 for flag in $(EXTRA_HOST_FLAGS) ; do \
15929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15930 done; \
15931 echo "Doing clean in gettext" ; \
15932 (cd $(HOST_SUBDIR)/gettext && \
15933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15935 "RANLIB=$${RANLIB}" \
15936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15937 clean) \
15938 || exit 1
15940 @endif gettext
15942 .PHONY: maybe-distclean-gettext distclean-gettext
15943 maybe-distclean-gettext:
15944 @if gettext
15945 maybe-distclean-gettext: distclean-gettext
15947 distclean-gettext:
15948 @: $(MAKE); $(unstage)
15949 @[ -f ./gettext/Makefile ] || exit 0; \
15950 r=`${PWD_COMMAND}`; export r; \
15951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15952 $(HOST_EXPORTS) \
15953 for flag in $(EXTRA_HOST_FLAGS) ; do \
15954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15955 done; \
15956 echo "Doing distclean in gettext" ; \
15957 (cd $(HOST_SUBDIR)/gettext && \
15958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15960 "RANLIB=$${RANLIB}" \
15961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15962 distclean) \
15963 || exit 1
15965 @endif gettext
15967 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
15968 maybe-maintainer-clean-gettext:
15969 @if gettext
15970 maybe-maintainer-clean-gettext: maintainer-clean-gettext
15972 maintainer-clean-gettext:
15973 @: $(MAKE); $(unstage)
15974 @[ -f ./gettext/Makefile ] || exit 0; \
15975 r=`${PWD_COMMAND}`; export r; \
15976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15977 $(HOST_EXPORTS) \
15978 for flag in $(EXTRA_HOST_FLAGS) ; do \
15979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15980 done; \
15981 echo "Doing maintainer-clean in gettext" ; \
15982 (cd $(HOST_SUBDIR)/gettext && \
15983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15985 "RANLIB=$${RANLIB}" \
15986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15987 maintainer-clean) \
15988 || exit 1
15990 @endif gettext
15994 .PHONY: configure-gmp maybe-configure-gmp
15995 maybe-configure-gmp:
15996 @if gcc-bootstrap
15997 configure-gmp: stage_current
15998 @endif gcc-bootstrap
15999 @if gmp
16000 maybe-configure-gmp: configure-gmp
16001 configure-gmp:
16002 @r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16006 $(HOST_EXPORTS) \
16007 echo Configuring in $(HOST_SUBDIR)/gmp; \
16008 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
16009 case $(srcdir) in \
16010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16011 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16013 esac; \
16014 srcdiroption="--srcdir=$${topdir}/gmp"; \
16015 libsrcdir="$$s/gmp"; \
16016 $(SHELL) $${libsrcdir}/configure \
16017 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16018 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
16019 || exit 1
16020 @endif gmp
16024 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
16025 maybe-configure-stage1-gmp:
16026 @if gmp-bootstrap
16027 maybe-configure-stage1-gmp: configure-stage1-gmp
16028 configure-stage1-gmp:
16029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16030 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16031 @r=`${PWD_COMMAND}`; export r; \
16032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16033 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16034 $(HOST_EXPORTS) \
16035 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16036 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
16037 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
16038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16039 cd $(HOST_SUBDIR)/gmp || exit 1; \
16040 case $(srcdir) in \
16041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16042 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16044 esac; \
16045 srcdiroption="--srcdir=$${topdir}/gmp"; \
16046 libsrcdir="$$s/gmp"; \
16047 $(SHELL) $${libsrcdir}/configure \
16048 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16049 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16051 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared
16052 @endif gmp-bootstrap
16054 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
16055 maybe-configure-stage2-gmp:
16056 @if gmp-bootstrap
16057 maybe-configure-stage2-gmp: configure-stage2-gmp
16058 configure-stage2-gmp:
16059 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16061 @r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16064 $(HOST_EXPORTS) \
16065 $(POSTSTAGE1_HOST_EXPORTS) \
16066 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16067 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
16068 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
16069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16070 cd $(HOST_SUBDIR)/gmp || exit 1; \
16071 case $(srcdir) in \
16072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16073 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16075 esac; \
16076 srcdiroption="--srcdir=$${topdir}/gmp"; \
16077 libsrcdir="$$s/gmp"; \
16078 $(SHELL) $${libsrcdir}/configure \
16079 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16080 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16081 --with-build-libsubdir=$(HOST_SUBDIR) \
16082 @stage2_werror_flag@ --disable-shared
16083 @endif gmp-bootstrap
16085 .PHONY: configure-stageb2g0-gmp maybe-configure-stageb2g0-gmp
16086 maybe-configure-stageb2g0-gmp:
16087 @if gmp-bootstrap
16088 maybe-configure-stageb2g0-gmp: configure-stageb2g0-gmp
16089 configure-stageb2g0-gmp:
16090 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
16091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16092 @r=`${PWD_COMMAND}`; export r; \
16093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16094 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16095 $(HOST_EXPORTS) \
16096 $(POSTSTAGE1_HOST_EXPORTS) \
16097 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
16098 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
16099 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gmp ; \
16100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16101 cd $(HOST_SUBDIR)/gmp || exit 1; \
16102 case $(srcdir) in \
16103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16104 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16106 esac; \
16107 srcdiroption="--srcdir=$${topdir}/gmp"; \
16108 libsrcdir="$$s/gmp"; \
16109 $(SHELL) $${libsrcdir}/configure \
16110 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16111 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16112 --with-build-libsubdir=$(HOST_SUBDIR) \
16113 @stage2_werror_flag@ --disable-shared
16114 @endif gmp-bootstrap
16116 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
16117 maybe-configure-stage3-gmp:
16118 @if gmp-bootstrap
16119 maybe-configure-stage3-gmp: configure-stage3-gmp
16120 configure-stage3-gmp:
16121 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16123 @r=`${PWD_COMMAND}`; export r; \
16124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16126 $(HOST_EXPORTS) \
16127 $(POSTSTAGE1_HOST_EXPORTS) \
16128 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16129 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
16130 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
16131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16132 cd $(HOST_SUBDIR)/gmp || exit 1; \
16133 case $(srcdir) in \
16134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16135 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16137 esac; \
16138 srcdiroption="--srcdir=$${topdir}/gmp"; \
16139 libsrcdir="$$s/gmp"; \
16140 $(SHELL) $${libsrcdir}/configure \
16141 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16142 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16143 --with-build-libsubdir=$(HOST_SUBDIR) \
16144 @stage2_werror_flag@ --disable-shared
16145 @endif gmp-bootstrap
16147 .PHONY: configure-stageb3g2-gmp maybe-configure-stageb3g2-gmp
16148 maybe-configure-stageb3g2-gmp:
16149 @if gmp-bootstrap
16150 maybe-configure-stageb3g2-gmp: configure-stageb3g2-gmp
16151 configure-stageb3g2-gmp:
16152 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
16153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16154 @r=`${PWD_COMMAND}`; export r; \
16155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16156 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16157 $(HOST_EXPORTS) \
16158 $(POSTSTAGE1_HOST_EXPORTS) \
16159 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
16160 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
16161 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gmp ; \
16162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16163 cd $(HOST_SUBDIR)/gmp || exit 1; \
16164 case $(srcdir) in \
16165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16166 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16168 esac; \
16169 srcdiroption="--srcdir=$${topdir}/gmp"; \
16170 libsrcdir="$$s/gmp"; \
16171 $(SHELL) $${libsrcdir}/configure \
16172 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16173 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16174 --with-build-libsubdir=$(HOST_SUBDIR) \
16175 @stage2_werror_flag@ --disable-shared
16176 @endif gmp-bootstrap
16178 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
16179 maybe-configure-stage4-gmp:
16180 @if gmp-bootstrap
16181 maybe-configure-stage4-gmp: configure-stage4-gmp
16182 configure-stage4-gmp:
16183 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16184 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16185 @r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16188 $(HOST_EXPORTS) \
16189 $(POSTSTAGE1_HOST_EXPORTS) \
16190 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16191 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
16192 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
16193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16194 cd $(HOST_SUBDIR)/gmp || exit 1; \
16195 case $(srcdir) in \
16196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16197 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16199 esac; \
16200 srcdiroption="--srcdir=$${topdir}/gmp"; \
16201 libsrcdir="$$s/gmp"; \
16202 $(SHELL) $${libsrcdir}/configure \
16203 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16204 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16205 --with-build-libsubdir=$(HOST_SUBDIR) \
16206 @stage2_werror_flag@ --disable-shared
16207 @endif gmp-bootstrap
16209 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
16210 maybe-configure-stageprofile-gmp:
16211 @if gmp-bootstrap
16212 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
16213 configure-stageprofile-gmp:
16214 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16216 @r=`${PWD_COMMAND}`; export r; \
16217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16218 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16219 $(HOST_EXPORTS) \
16220 $(POSTSTAGE1_HOST_EXPORTS) \
16221 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
16222 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
16223 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
16224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16225 cd $(HOST_SUBDIR)/gmp || exit 1; \
16226 case $(srcdir) in \
16227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16228 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16230 esac; \
16231 srcdiroption="--srcdir=$${topdir}/gmp"; \
16232 libsrcdir="$$s/gmp"; \
16233 $(SHELL) $${libsrcdir}/configure \
16234 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16235 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16236 --with-build-libsubdir=$(HOST_SUBDIR) \
16237 @stage2_werror_flag@ --disable-shared
16238 @endif gmp-bootstrap
16240 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
16241 maybe-configure-stagefeedback-gmp:
16242 @if gmp-bootstrap
16243 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
16244 configure-stagefeedback-gmp:
16245 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16246 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
16247 @r=`${PWD_COMMAND}`; export r; \
16248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16249 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
16250 $(HOST_EXPORTS) \
16251 $(POSTSTAGE1_HOST_EXPORTS) \
16252 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
16253 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
16254 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
16255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
16256 cd $(HOST_SUBDIR)/gmp || exit 1; \
16257 case $(srcdir) in \
16258 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16259 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
16260 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16261 esac; \
16262 srcdiroption="--srcdir=$${topdir}/gmp"; \
16263 libsrcdir="$$s/gmp"; \
16264 $(SHELL) $${libsrcdir}/configure \
16265 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16266 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
16267 --with-build-libsubdir=$(HOST_SUBDIR) \
16268 @stage2_werror_flag@ --disable-shared
16269 @endif gmp-bootstrap
16275 .PHONY: all-gmp maybe-all-gmp
16276 maybe-all-gmp:
16277 @if gcc-bootstrap
16278 all-gmp: stage_current
16279 @endif gcc-bootstrap
16280 @if gmp
16281 TARGET-gmp=all
16282 maybe-all-gmp: all-gmp
16283 all-gmp: configure-gmp
16284 @r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 (cd $(HOST_SUBDIR)/gmp && \
16288 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
16289 $(TARGET-gmp))
16290 @endif gmp
16294 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
16295 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
16296 maybe-all-stage1-gmp:
16297 maybe-clean-stage1-gmp:
16298 @if gmp-bootstrap
16299 maybe-all-stage1-gmp: all-stage1-gmp
16300 all-stage1: all-stage1-gmp
16301 TARGET-stage1-gmp = $(TARGET-gmp)
16302 all-stage1-gmp: configure-stage1-gmp
16303 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16304 @r=`${PWD_COMMAND}`; export r; \
16305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16306 $(HOST_EXPORTS) \
16307 cd $(HOST_SUBDIR)/gmp && \
16308 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16309 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
16310 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
16311 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
16312 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
16313 $(TARGET-stage1-gmp)
16315 maybe-clean-stage1-gmp: clean-stage1-gmp
16316 clean-stage1: clean-stage1-gmp
16317 clean-stage1-gmp:
16318 @if [ $(current_stage) = stage1 ]; then \
16319 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16320 else \
16321 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
16322 $(MAKE) stage1-start; \
16323 fi; \
16324 cd $(HOST_SUBDIR)/gmp && \
16325 $(MAKE) $(EXTRA_HOST_FLAGS) \
16326 clean
16327 @endif gmp-bootstrap
16330 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
16331 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
16332 maybe-all-stage2-gmp:
16333 maybe-clean-stage2-gmp:
16334 @if gmp-bootstrap
16335 maybe-all-stage2-gmp: all-stage2-gmp
16336 all-stage2: all-stage2-gmp
16337 TARGET-stage2-gmp = $(TARGET-gmp)
16338 all-stage2-gmp: configure-stage2-gmp
16339 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16340 @r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 $(HOST_EXPORTS) \
16343 $(POSTSTAGE1_HOST_EXPORTS) \
16344 cd $(HOST_SUBDIR)/gmp && \
16345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16346 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
16347 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
16348 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
16349 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16350 $(TARGET-stage2-gmp)
16352 maybe-clean-stage2-gmp: clean-stage2-gmp
16353 clean-stage2: clean-stage2-gmp
16354 clean-stage2-gmp:
16355 @if [ $(current_stage) = stage2 ]; then \
16356 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16357 else \
16358 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
16359 $(MAKE) stage2-start; \
16360 fi; \
16361 cd $(HOST_SUBDIR)/gmp && \
16362 $(MAKE) $(EXTRA_HOST_FLAGS) \
16363 $(POSTSTAGE1_FLAGS_TO_PASS) \
16364 clean
16365 @endif gmp-bootstrap
16368 .PHONY: all-stageb2g0-gmp maybe-all-stageb2g0-gmp
16369 .PHONY: clean-stageb2g0-gmp maybe-clean-stageb2g0-gmp
16370 maybe-all-stageb2g0-gmp:
16371 maybe-clean-stageb2g0-gmp:
16372 @if gmp-bootstrap
16373 maybe-all-stageb2g0-gmp: all-stageb2g0-gmp
16374 all-stageb2g0: all-stageb2g0-gmp
16375 TARGET-stageb2g0-gmp = $(TARGET-gmp)
16376 all-stageb2g0-gmp: configure-stageb2g0-gmp
16377 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
16378 @r=`${PWD_COMMAND}`; export r; \
16379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16380 $(HOST_EXPORTS) \
16381 $(POSTSTAGE1_HOST_EXPORTS) \
16382 cd $(HOST_SUBDIR)/gmp && \
16383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16384 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
16385 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
16386 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
16387 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16388 $(TARGET-stageb2g0-gmp)
16390 maybe-clean-stageb2g0-gmp: clean-stageb2g0-gmp
16391 clean-stageb2g0: clean-stageb2g0-gmp
16392 clean-stageb2g0-gmp:
16393 @if [ $(current_stage) = stageb2g0 ]; then \
16394 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16395 else \
16396 [ -f $(HOST_SUBDIR)/stageb2g0-gmp/Makefile ] || exit 0; \
16397 $(MAKE) stageb2g0-start; \
16398 fi; \
16399 cd $(HOST_SUBDIR)/gmp && \
16400 $(MAKE) $(EXTRA_HOST_FLAGS) \
16401 $(POSTSTAGE1_FLAGS_TO_PASS) \
16402 clean
16403 @endif gmp-bootstrap
16406 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
16407 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
16408 maybe-all-stage3-gmp:
16409 maybe-clean-stage3-gmp:
16410 @if gmp-bootstrap
16411 maybe-all-stage3-gmp: all-stage3-gmp
16412 all-stage3: all-stage3-gmp
16413 TARGET-stage3-gmp = $(TARGET-gmp)
16414 all-stage3-gmp: configure-stage3-gmp
16415 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16416 @r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 $(HOST_EXPORTS) \
16419 $(POSTSTAGE1_HOST_EXPORTS) \
16420 cd $(HOST_SUBDIR)/gmp && \
16421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16422 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
16423 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
16424 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
16425 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16426 $(TARGET-stage3-gmp)
16428 maybe-clean-stage3-gmp: clean-stage3-gmp
16429 clean-stage3: clean-stage3-gmp
16430 clean-stage3-gmp:
16431 @if [ $(current_stage) = stage3 ]; then \
16432 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16433 else \
16434 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
16435 $(MAKE) stage3-start; \
16436 fi; \
16437 cd $(HOST_SUBDIR)/gmp && \
16438 $(MAKE) $(EXTRA_HOST_FLAGS) \
16439 $(POSTSTAGE1_FLAGS_TO_PASS) \
16440 clean
16441 @endif gmp-bootstrap
16444 .PHONY: all-stageb3g2-gmp maybe-all-stageb3g2-gmp
16445 .PHONY: clean-stageb3g2-gmp maybe-clean-stageb3g2-gmp
16446 maybe-all-stageb3g2-gmp:
16447 maybe-clean-stageb3g2-gmp:
16448 @if gmp-bootstrap
16449 maybe-all-stageb3g2-gmp: all-stageb3g2-gmp
16450 all-stageb3g2: all-stageb3g2-gmp
16451 TARGET-stageb3g2-gmp = $(TARGET-gmp)
16452 all-stageb3g2-gmp: configure-stageb3g2-gmp
16453 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
16454 @r=`${PWD_COMMAND}`; export r; \
16455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 $(HOST_EXPORTS) \
16457 $(POSTSTAGE1_HOST_EXPORTS) \
16458 cd $(HOST_SUBDIR)/gmp && \
16459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16460 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
16461 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
16462 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
16463 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16464 $(TARGET-stageb3g2-gmp)
16466 maybe-clean-stageb3g2-gmp: clean-stageb3g2-gmp
16467 clean-stageb3g2: clean-stageb3g2-gmp
16468 clean-stageb3g2-gmp:
16469 @if [ $(current_stage) = stageb3g2 ]; then \
16470 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16471 else \
16472 [ -f $(HOST_SUBDIR)/stageb3g2-gmp/Makefile ] || exit 0; \
16473 $(MAKE) stageb3g2-start; \
16474 fi; \
16475 cd $(HOST_SUBDIR)/gmp && \
16476 $(MAKE) $(EXTRA_HOST_FLAGS) \
16477 $(POSTSTAGE1_FLAGS_TO_PASS) \
16478 clean
16479 @endif gmp-bootstrap
16482 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
16483 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
16484 maybe-all-stage4-gmp:
16485 maybe-clean-stage4-gmp:
16486 @if gmp-bootstrap
16487 maybe-all-stage4-gmp: all-stage4-gmp
16488 all-stage4: all-stage4-gmp
16489 TARGET-stage4-gmp = $(TARGET-gmp)
16490 all-stage4-gmp: configure-stage4-gmp
16491 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16492 @r=`${PWD_COMMAND}`; export r; \
16493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16494 $(HOST_EXPORTS) \
16495 $(POSTSTAGE1_HOST_EXPORTS) \
16496 cd $(HOST_SUBDIR)/gmp && \
16497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16498 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
16499 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16500 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
16501 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16502 $(TARGET-stage4-gmp)
16504 maybe-clean-stage4-gmp: clean-stage4-gmp
16505 clean-stage4: clean-stage4-gmp
16506 clean-stage4-gmp:
16507 @if [ $(current_stage) = stage4 ]; then \
16508 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16509 else \
16510 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
16511 $(MAKE) stage4-start; \
16512 fi; \
16513 cd $(HOST_SUBDIR)/gmp && \
16514 $(MAKE) $(EXTRA_HOST_FLAGS) \
16515 $(POSTSTAGE1_FLAGS_TO_PASS) \
16516 clean
16517 @endif gmp-bootstrap
16520 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
16521 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
16522 maybe-all-stageprofile-gmp:
16523 maybe-clean-stageprofile-gmp:
16524 @if gmp-bootstrap
16525 maybe-all-stageprofile-gmp: all-stageprofile-gmp
16526 all-stageprofile: all-stageprofile-gmp
16527 TARGET-stageprofile-gmp = $(TARGET-gmp)
16528 all-stageprofile-gmp: configure-stageprofile-gmp
16529 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16530 @r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 $(HOST_EXPORTS) \
16533 $(POSTSTAGE1_HOST_EXPORTS) \
16534 cd $(HOST_SUBDIR)/gmp && \
16535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16536 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
16537 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
16538 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
16539 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16540 $(TARGET-stageprofile-gmp)
16542 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
16543 clean-stageprofile: clean-stageprofile-gmp
16544 clean-stageprofile-gmp:
16545 @if [ $(current_stage) = stageprofile ]; then \
16546 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16547 else \
16548 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
16549 $(MAKE) stageprofile-start; \
16550 fi; \
16551 cd $(HOST_SUBDIR)/gmp && \
16552 $(MAKE) $(EXTRA_HOST_FLAGS) \
16553 $(POSTSTAGE1_FLAGS_TO_PASS) \
16554 clean
16555 @endif gmp-bootstrap
16558 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
16559 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
16560 maybe-all-stagefeedback-gmp:
16561 maybe-clean-stagefeedback-gmp:
16562 @if gmp-bootstrap
16563 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
16564 all-stagefeedback: all-stagefeedback-gmp
16565 TARGET-stagefeedback-gmp = $(TARGET-gmp)
16566 all-stagefeedback-gmp: configure-stagefeedback-gmp
16567 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16568 @r=`${PWD_COMMAND}`; export r; \
16569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16570 $(HOST_EXPORTS) \
16571 $(POSTSTAGE1_HOST_EXPORTS) \
16572 cd $(HOST_SUBDIR)/gmp && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16574 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
16575 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
16576 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
16577 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16578 $(TARGET-stagefeedback-gmp)
16580 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
16581 clean-stagefeedback: clean-stagefeedback-gmp
16582 clean-stagefeedback-gmp:
16583 @if [ $(current_stage) = stagefeedback ]; then \
16584 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
16585 else \
16586 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
16587 $(MAKE) stagefeedback-start; \
16588 fi; \
16589 cd $(HOST_SUBDIR)/gmp && \
16590 $(MAKE) $(EXTRA_HOST_FLAGS) \
16591 $(POSTSTAGE1_FLAGS_TO_PASS) \
16592 clean
16593 @endif gmp-bootstrap
16599 .PHONY: check-gmp maybe-check-gmp
16600 maybe-check-gmp:
16601 @if gmp
16602 maybe-check-gmp: check-gmp
16604 check-gmp:
16605 @: $(MAKE); $(unstage)
16606 @r=`${PWD_COMMAND}`; export r; \
16607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16608 $(HOST_EXPORTS) \
16609 (cd $(HOST_SUBDIR)/gmp && \
16610 $(MAKE) $(FLAGS_TO_PASS) check)
16612 @endif gmp
16614 .PHONY: install-gmp maybe-install-gmp
16615 maybe-install-gmp:
16616 @if gmp
16617 maybe-install-gmp: install-gmp
16619 install-gmp:
16621 @endif gmp
16623 # Other targets (info, dvi, pdf, etc.)
16625 .PHONY: maybe-info-gmp info-gmp
16626 maybe-info-gmp:
16627 @if gmp
16628 maybe-info-gmp: info-gmp
16630 info-gmp: \
16631 configure-gmp
16632 @[ -f ./gmp/Makefile ] || exit 0; \
16633 r=`${PWD_COMMAND}`; export r; \
16634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16635 $(HOST_EXPORTS) \
16636 for flag in $(EXTRA_HOST_FLAGS) ; do \
16637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16638 done; \
16639 echo "Doing info in gmp" ; \
16640 (cd $(HOST_SUBDIR)/gmp && \
16641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16643 "RANLIB=$${RANLIB}" \
16644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16645 info) \
16646 || exit 1
16648 @endif gmp
16650 .PHONY: maybe-dvi-gmp dvi-gmp
16651 maybe-dvi-gmp:
16652 @if gmp
16653 maybe-dvi-gmp: dvi-gmp
16655 dvi-gmp: \
16656 configure-gmp
16657 @[ -f ./gmp/Makefile ] || exit 0; \
16658 r=`${PWD_COMMAND}`; export r; \
16659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16660 $(HOST_EXPORTS) \
16661 for flag in $(EXTRA_HOST_FLAGS) ; do \
16662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16663 done; \
16664 echo "Doing dvi in gmp" ; \
16665 (cd $(HOST_SUBDIR)/gmp && \
16666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16668 "RANLIB=$${RANLIB}" \
16669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16670 dvi) \
16671 || exit 1
16673 @endif gmp
16675 .PHONY: maybe-pdf-gmp pdf-gmp
16676 maybe-pdf-gmp:
16677 @if gmp
16678 maybe-pdf-gmp: pdf-gmp
16680 pdf-gmp: \
16681 configure-gmp
16682 @[ -f ./gmp/Makefile ] || exit 0; \
16683 r=`${PWD_COMMAND}`; export r; \
16684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16685 $(HOST_EXPORTS) \
16686 for flag in $(EXTRA_HOST_FLAGS) ; do \
16687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16688 done; \
16689 echo "Doing pdf in gmp" ; \
16690 (cd $(HOST_SUBDIR)/gmp && \
16691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16693 "RANLIB=$${RANLIB}" \
16694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16695 pdf) \
16696 || exit 1
16698 @endif gmp
16700 .PHONY: maybe-html-gmp html-gmp
16701 maybe-html-gmp:
16702 @if gmp
16703 maybe-html-gmp: html-gmp
16705 html-gmp: \
16706 configure-gmp
16707 @[ -f ./gmp/Makefile ] || exit 0; \
16708 r=`${PWD_COMMAND}`; export r; \
16709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16710 $(HOST_EXPORTS) \
16711 for flag in $(EXTRA_HOST_FLAGS) ; do \
16712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16713 done; \
16714 echo "Doing html in gmp" ; \
16715 (cd $(HOST_SUBDIR)/gmp && \
16716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16718 "RANLIB=$${RANLIB}" \
16719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16720 html) \
16721 || exit 1
16723 @endif gmp
16725 .PHONY: maybe-TAGS-gmp TAGS-gmp
16726 maybe-TAGS-gmp:
16727 @if gmp
16728 maybe-TAGS-gmp: TAGS-gmp
16730 TAGS-gmp: \
16731 configure-gmp
16732 @[ -f ./gmp/Makefile ] || exit 0; \
16733 r=`${PWD_COMMAND}`; export r; \
16734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16735 $(HOST_EXPORTS) \
16736 for flag in $(EXTRA_HOST_FLAGS) ; do \
16737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16738 done; \
16739 echo "Doing TAGS in gmp" ; \
16740 (cd $(HOST_SUBDIR)/gmp && \
16741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16743 "RANLIB=$${RANLIB}" \
16744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16745 TAGS) \
16746 || exit 1
16748 @endif gmp
16750 .PHONY: maybe-install-info-gmp install-info-gmp
16751 maybe-install-info-gmp:
16752 @if gmp
16753 maybe-install-info-gmp: install-info-gmp
16755 install-info-gmp: \
16756 configure-gmp \
16757 info-gmp
16758 @[ -f ./gmp/Makefile ] || exit 0; \
16759 r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 $(HOST_EXPORTS) \
16762 for flag in $(EXTRA_HOST_FLAGS) ; do \
16763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16764 done; \
16765 echo "Doing install-info in gmp" ; \
16766 (cd $(HOST_SUBDIR)/gmp && \
16767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16769 "RANLIB=$${RANLIB}" \
16770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16771 install-info) \
16772 || exit 1
16774 @endif gmp
16776 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
16777 maybe-install-pdf-gmp:
16778 @if gmp
16779 maybe-install-pdf-gmp: install-pdf-gmp
16781 install-pdf-gmp: \
16782 configure-gmp \
16783 pdf-gmp
16784 @[ -f ./gmp/Makefile ] || exit 0; \
16785 r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 $(HOST_EXPORTS) \
16788 for flag in $(EXTRA_HOST_FLAGS) ; do \
16789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16790 done; \
16791 echo "Doing install-pdf in gmp" ; \
16792 (cd $(HOST_SUBDIR)/gmp && \
16793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16795 "RANLIB=$${RANLIB}" \
16796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16797 install-pdf) \
16798 || exit 1
16800 @endif gmp
16802 .PHONY: maybe-install-html-gmp install-html-gmp
16803 maybe-install-html-gmp:
16804 @if gmp
16805 maybe-install-html-gmp: install-html-gmp
16807 install-html-gmp: \
16808 configure-gmp \
16809 html-gmp
16810 @[ -f ./gmp/Makefile ] || exit 0; \
16811 r=`${PWD_COMMAND}`; export r; \
16812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16813 $(HOST_EXPORTS) \
16814 for flag in $(EXTRA_HOST_FLAGS) ; do \
16815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16816 done; \
16817 echo "Doing install-html in gmp" ; \
16818 (cd $(HOST_SUBDIR)/gmp && \
16819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16821 "RANLIB=$${RANLIB}" \
16822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16823 install-html) \
16824 || exit 1
16826 @endif gmp
16828 .PHONY: maybe-installcheck-gmp installcheck-gmp
16829 maybe-installcheck-gmp:
16830 @if gmp
16831 maybe-installcheck-gmp: installcheck-gmp
16833 installcheck-gmp: \
16834 configure-gmp
16835 @[ -f ./gmp/Makefile ] || exit 0; \
16836 r=`${PWD_COMMAND}`; export r; \
16837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16838 $(HOST_EXPORTS) \
16839 for flag in $(EXTRA_HOST_FLAGS) ; do \
16840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16841 done; \
16842 echo "Doing installcheck in gmp" ; \
16843 (cd $(HOST_SUBDIR)/gmp && \
16844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16846 "RANLIB=$${RANLIB}" \
16847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16848 installcheck) \
16849 || exit 1
16851 @endif gmp
16853 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
16854 maybe-mostlyclean-gmp:
16855 @if gmp
16856 maybe-mostlyclean-gmp: mostlyclean-gmp
16858 mostlyclean-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 mostlyclean 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 mostlyclean) \
16873 || exit 1
16875 @endif gmp
16877 .PHONY: maybe-clean-gmp clean-gmp
16878 maybe-clean-gmp:
16879 @if gmp
16880 maybe-clean-gmp: clean-gmp
16882 clean-gmp:
16883 @[ -f ./gmp/Makefile ] || exit 0; \
16884 r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16886 $(HOST_EXPORTS) \
16887 for flag in $(EXTRA_HOST_FLAGS) ; do \
16888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16889 done; \
16890 echo "Doing clean in gmp" ; \
16891 (cd $(HOST_SUBDIR)/gmp && \
16892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16894 "RANLIB=$${RANLIB}" \
16895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16896 clean) \
16897 || exit 1
16899 @endif gmp
16901 .PHONY: maybe-distclean-gmp distclean-gmp
16902 maybe-distclean-gmp:
16903 @if gmp
16904 maybe-distclean-gmp: distclean-gmp
16906 distclean-gmp:
16907 @[ -f ./gmp/Makefile ] || exit 0; \
16908 r=`${PWD_COMMAND}`; export r; \
16909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16910 $(HOST_EXPORTS) \
16911 for flag in $(EXTRA_HOST_FLAGS) ; do \
16912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16913 done; \
16914 echo "Doing distclean in gmp" ; \
16915 (cd $(HOST_SUBDIR)/gmp && \
16916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16918 "RANLIB=$${RANLIB}" \
16919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16920 distclean) \
16921 || exit 1
16923 @endif gmp
16925 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
16926 maybe-maintainer-clean-gmp:
16927 @if gmp
16928 maybe-maintainer-clean-gmp: maintainer-clean-gmp
16930 maintainer-clean-gmp:
16931 @[ -f ./gmp/Makefile ] || exit 0; \
16932 r=`${PWD_COMMAND}`; export r; \
16933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 $(HOST_EXPORTS) \
16935 for flag in $(EXTRA_HOST_FLAGS) ; do \
16936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16937 done; \
16938 echo "Doing maintainer-clean in gmp" ; \
16939 (cd $(HOST_SUBDIR)/gmp && \
16940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16942 "RANLIB=$${RANLIB}" \
16943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16944 maintainer-clean) \
16945 || exit 1
16947 @endif gmp
16951 .PHONY: configure-mpfr maybe-configure-mpfr
16952 maybe-configure-mpfr:
16953 @if gcc-bootstrap
16954 configure-mpfr: stage_current
16955 @endif gcc-bootstrap
16956 @if mpfr
16957 maybe-configure-mpfr: configure-mpfr
16958 configure-mpfr:
16959 @r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
16962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
16963 $(HOST_EXPORTS) \
16964 echo Configuring in $(HOST_SUBDIR)/mpfr; \
16965 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
16966 case $(srcdir) in \
16967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16968 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
16969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16970 esac; \
16971 srcdiroption="--srcdir=$${topdir}/mpfr"; \
16972 libsrcdir="$$s/mpfr"; \
16973 $(SHELL) $${libsrcdir}/configure \
16974 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
16975 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
16976 || exit 1
16977 @endif mpfr
16981 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
16982 maybe-configure-stage1-mpfr:
16983 @if mpfr-bootstrap
16984 maybe-configure-stage1-mpfr: configure-stage1-mpfr
16985 configure-stage1-mpfr:
16986 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
16988 @r=`${PWD_COMMAND}`; export r; \
16989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16990 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
16991 $(HOST_EXPORTS) \
16992 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16993 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
16994 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
16995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
16996 cd $(HOST_SUBDIR)/mpfr || exit 1; \
16997 case $(srcdir) in \
16998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16999 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17001 esac; \
17002 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17003 libsrcdir="$$s/mpfr"; \
17004 $(SHELL) $${libsrcdir}/configure \
17005 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17006 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17008 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17009 @endif mpfr-bootstrap
17011 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
17012 maybe-configure-stage2-mpfr:
17013 @if mpfr-bootstrap
17014 maybe-configure-stage2-mpfr: configure-stage2-mpfr
17015 configure-stage2-mpfr:
17016 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17017 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17018 @r=`${PWD_COMMAND}`; export r; \
17019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17020 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17021 $(HOST_EXPORTS) \
17022 $(POSTSTAGE1_HOST_EXPORTS) \
17023 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17024 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
17025 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
17026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17027 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17028 case $(srcdir) in \
17029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17030 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17032 esac; \
17033 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17034 libsrcdir="$$s/mpfr"; \
17035 $(SHELL) $${libsrcdir}/configure \
17036 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17037 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17038 --with-build-libsubdir=$(HOST_SUBDIR) \
17039 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17040 @endif mpfr-bootstrap
17042 .PHONY: configure-stageb2g0-mpfr maybe-configure-stageb2g0-mpfr
17043 maybe-configure-stageb2g0-mpfr:
17044 @if mpfr-bootstrap
17045 maybe-configure-stageb2g0-mpfr: configure-stageb2g0-mpfr
17046 configure-stageb2g0-mpfr:
17047 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
17048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17049 @r=`${PWD_COMMAND}`; export r; \
17050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17051 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17052 $(HOST_EXPORTS) \
17053 $(POSTSTAGE1_HOST_EXPORTS) \
17054 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
17055 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
17056 echo Configuring stage b2g0 in $(HOST_SUBDIR)/mpfr ; \
17057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17058 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17059 case $(srcdir) in \
17060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17061 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17063 esac; \
17064 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17065 libsrcdir="$$s/mpfr"; \
17066 $(SHELL) $${libsrcdir}/configure \
17067 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17068 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17069 --with-build-libsubdir=$(HOST_SUBDIR) \
17070 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17071 @endif mpfr-bootstrap
17073 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
17074 maybe-configure-stage3-mpfr:
17075 @if mpfr-bootstrap
17076 maybe-configure-stage3-mpfr: configure-stage3-mpfr
17077 configure-stage3-mpfr:
17078 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17079 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17080 @r=`${PWD_COMMAND}`; export r; \
17081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17082 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17083 $(HOST_EXPORTS) \
17084 $(POSTSTAGE1_HOST_EXPORTS) \
17085 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17086 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
17087 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
17088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17089 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17090 case $(srcdir) in \
17091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17092 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17094 esac; \
17095 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17096 libsrcdir="$$s/mpfr"; \
17097 $(SHELL) $${libsrcdir}/configure \
17098 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17099 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17100 --with-build-libsubdir=$(HOST_SUBDIR) \
17101 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17102 @endif mpfr-bootstrap
17104 .PHONY: configure-stageb3g2-mpfr maybe-configure-stageb3g2-mpfr
17105 maybe-configure-stageb3g2-mpfr:
17106 @if mpfr-bootstrap
17107 maybe-configure-stageb3g2-mpfr: configure-stageb3g2-mpfr
17108 configure-stageb3g2-mpfr:
17109 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
17110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17111 @r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17114 $(HOST_EXPORTS) \
17115 $(POSTSTAGE1_HOST_EXPORTS) \
17116 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
17117 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
17118 echo Configuring stage b3g2 in $(HOST_SUBDIR)/mpfr ; \
17119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17120 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17121 case $(srcdir) in \
17122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17123 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17125 esac; \
17126 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17127 libsrcdir="$$s/mpfr"; \
17128 $(SHELL) $${libsrcdir}/configure \
17129 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17130 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17131 --with-build-libsubdir=$(HOST_SUBDIR) \
17132 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17133 @endif mpfr-bootstrap
17135 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
17136 maybe-configure-stage4-mpfr:
17137 @if mpfr-bootstrap
17138 maybe-configure-stage4-mpfr: configure-stage4-mpfr
17139 configure-stage4-mpfr:
17140 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17141 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17142 @r=`${PWD_COMMAND}`; export r; \
17143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17144 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17145 $(HOST_EXPORTS) \
17146 $(POSTSTAGE1_HOST_EXPORTS) \
17147 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17148 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
17149 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
17150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17151 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17152 case $(srcdir) in \
17153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17154 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17156 esac; \
17157 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17158 libsrcdir="$$s/mpfr"; \
17159 $(SHELL) $${libsrcdir}/configure \
17160 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17161 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17162 --with-build-libsubdir=$(HOST_SUBDIR) \
17163 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17164 @endif mpfr-bootstrap
17166 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
17167 maybe-configure-stageprofile-mpfr:
17168 @if mpfr-bootstrap
17169 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
17170 configure-stageprofile-mpfr:
17171 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17173 @r=`${PWD_COMMAND}`; export r; \
17174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17175 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17176 $(HOST_EXPORTS) \
17177 $(POSTSTAGE1_HOST_EXPORTS) \
17178 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
17179 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
17180 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
17181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17182 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17183 case $(srcdir) in \
17184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17185 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17187 esac; \
17188 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17189 libsrcdir="$$s/mpfr"; \
17190 $(SHELL) $${libsrcdir}/configure \
17191 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17192 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17193 --with-build-libsubdir=$(HOST_SUBDIR) \
17194 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17195 @endif mpfr-bootstrap
17197 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
17198 maybe-configure-stagefeedback-mpfr:
17199 @if mpfr-bootstrap
17200 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
17201 configure-stagefeedback-mpfr:
17202 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17203 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
17204 @r=`${PWD_COMMAND}`; export r; \
17205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17206 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
17207 $(HOST_EXPORTS) \
17208 $(POSTSTAGE1_HOST_EXPORTS) \
17209 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
17210 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
17211 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
17212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
17213 cd $(HOST_SUBDIR)/mpfr || exit 1; \
17214 case $(srcdir) in \
17215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17216 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
17217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17218 esac; \
17219 srcdiroption="--srcdir=$${topdir}/mpfr"; \
17220 libsrcdir="$$s/mpfr"; \
17221 $(SHELL) $${libsrcdir}/configure \
17222 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
17223 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
17224 --with-build-libsubdir=$(HOST_SUBDIR) \
17225 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
17226 @endif mpfr-bootstrap
17232 .PHONY: all-mpfr maybe-all-mpfr
17233 maybe-all-mpfr:
17234 @if gcc-bootstrap
17235 all-mpfr: stage_current
17236 @endif gcc-bootstrap
17237 @if mpfr
17238 TARGET-mpfr=all
17239 maybe-all-mpfr: all-mpfr
17240 all-mpfr: configure-mpfr
17241 @r=`${PWD_COMMAND}`; export r; \
17242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17243 $(HOST_EXPORTS) \
17244 (cd $(HOST_SUBDIR)/mpfr && \
17245 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17246 $(TARGET-mpfr))
17247 @endif mpfr
17251 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
17252 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
17253 maybe-all-stage1-mpfr:
17254 maybe-clean-stage1-mpfr:
17255 @if mpfr-bootstrap
17256 maybe-all-stage1-mpfr: all-stage1-mpfr
17257 all-stage1: all-stage1-mpfr
17258 TARGET-stage1-mpfr = $(TARGET-mpfr)
17259 all-stage1-mpfr: configure-stage1-mpfr
17260 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17261 @r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 $(HOST_EXPORTS) \
17264 cd $(HOST_SUBDIR)/mpfr && \
17265 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17266 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
17267 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
17268 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
17269 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
17270 $(TARGET-stage1-mpfr)
17272 maybe-clean-stage1-mpfr: clean-stage1-mpfr
17273 clean-stage1: clean-stage1-mpfr
17274 clean-stage1-mpfr:
17275 @if [ $(current_stage) = stage1 ]; then \
17276 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17277 else \
17278 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
17279 $(MAKE) stage1-start; \
17280 fi; \
17281 cd $(HOST_SUBDIR)/mpfr && \
17282 $(MAKE) $(EXTRA_HOST_FLAGS) \
17283 clean
17284 @endif mpfr-bootstrap
17287 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
17288 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
17289 maybe-all-stage2-mpfr:
17290 maybe-clean-stage2-mpfr:
17291 @if mpfr-bootstrap
17292 maybe-all-stage2-mpfr: all-stage2-mpfr
17293 all-stage2: all-stage2-mpfr
17294 TARGET-stage2-mpfr = $(TARGET-mpfr)
17295 all-stage2-mpfr: configure-stage2-mpfr
17296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17297 @r=`${PWD_COMMAND}`; export r; \
17298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17299 $(HOST_EXPORTS) \
17300 $(POSTSTAGE1_HOST_EXPORTS) \
17301 cd $(HOST_SUBDIR)/mpfr && \
17302 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17303 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
17304 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
17305 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
17306 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17307 $(TARGET-stage2-mpfr)
17309 maybe-clean-stage2-mpfr: clean-stage2-mpfr
17310 clean-stage2: clean-stage2-mpfr
17311 clean-stage2-mpfr:
17312 @if [ $(current_stage) = stage2 ]; then \
17313 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17314 else \
17315 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
17316 $(MAKE) stage2-start; \
17317 fi; \
17318 cd $(HOST_SUBDIR)/mpfr && \
17319 $(MAKE) $(EXTRA_HOST_FLAGS) \
17320 $(POSTSTAGE1_FLAGS_TO_PASS) \
17321 clean
17322 @endif mpfr-bootstrap
17325 .PHONY: all-stageb2g0-mpfr maybe-all-stageb2g0-mpfr
17326 .PHONY: clean-stageb2g0-mpfr maybe-clean-stageb2g0-mpfr
17327 maybe-all-stageb2g0-mpfr:
17328 maybe-clean-stageb2g0-mpfr:
17329 @if mpfr-bootstrap
17330 maybe-all-stageb2g0-mpfr: all-stageb2g0-mpfr
17331 all-stageb2g0: all-stageb2g0-mpfr
17332 TARGET-stageb2g0-mpfr = $(TARGET-mpfr)
17333 all-stageb2g0-mpfr: configure-stageb2g0-mpfr
17334 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
17335 @r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17337 $(HOST_EXPORTS) \
17338 $(POSTSTAGE1_HOST_EXPORTS) \
17339 cd $(HOST_SUBDIR)/mpfr && \
17340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17341 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
17342 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
17343 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
17344 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17345 $(TARGET-stageb2g0-mpfr)
17347 maybe-clean-stageb2g0-mpfr: clean-stageb2g0-mpfr
17348 clean-stageb2g0: clean-stageb2g0-mpfr
17349 clean-stageb2g0-mpfr:
17350 @if [ $(current_stage) = stageb2g0 ]; then \
17351 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17352 else \
17353 [ -f $(HOST_SUBDIR)/stageb2g0-mpfr/Makefile ] || exit 0; \
17354 $(MAKE) stageb2g0-start; \
17355 fi; \
17356 cd $(HOST_SUBDIR)/mpfr && \
17357 $(MAKE) $(EXTRA_HOST_FLAGS) \
17358 $(POSTSTAGE1_FLAGS_TO_PASS) \
17359 clean
17360 @endif mpfr-bootstrap
17363 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
17364 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
17365 maybe-all-stage3-mpfr:
17366 maybe-clean-stage3-mpfr:
17367 @if mpfr-bootstrap
17368 maybe-all-stage3-mpfr: all-stage3-mpfr
17369 all-stage3: all-stage3-mpfr
17370 TARGET-stage3-mpfr = $(TARGET-mpfr)
17371 all-stage3-mpfr: configure-stage3-mpfr
17372 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17373 @r=`${PWD_COMMAND}`; export r; \
17374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 $(HOST_EXPORTS) \
17376 $(POSTSTAGE1_HOST_EXPORTS) \
17377 cd $(HOST_SUBDIR)/mpfr && \
17378 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17379 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
17380 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
17381 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
17382 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17383 $(TARGET-stage3-mpfr)
17385 maybe-clean-stage3-mpfr: clean-stage3-mpfr
17386 clean-stage3: clean-stage3-mpfr
17387 clean-stage3-mpfr:
17388 @if [ $(current_stage) = stage3 ]; then \
17389 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17390 else \
17391 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
17392 $(MAKE) stage3-start; \
17393 fi; \
17394 cd $(HOST_SUBDIR)/mpfr && \
17395 $(MAKE) $(EXTRA_HOST_FLAGS) \
17396 $(POSTSTAGE1_FLAGS_TO_PASS) \
17397 clean
17398 @endif mpfr-bootstrap
17401 .PHONY: all-stageb3g2-mpfr maybe-all-stageb3g2-mpfr
17402 .PHONY: clean-stageb3g2-mpfr maybe-clean-stageb3g2-mpfr
17403 maybe-all-stageb3g2-mpfr:
17404 maybe-clean-stageb3g2-mpfr:
17405 @if mpfr-bootstrap
17406 maybe-all-stageb3g2-mpfr: all-stageb3g2-mpfr
17407 all-stageb3g2: all-stageb3g2-mpfr
17408 TARGET-stageb3g2-mpfr = $(TARGET-mpfr)
17409 all-stageb3g2-mpfr: configure-stageb3g2-mpfr
17410 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
17411 @r=`${PWD_COMMAND}`; export r; \
17412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17413 $(HOST_EXPORTS) \
17414 $(POSTSTAGE1_HOST_EXPORTS) \
17415 cd $(HOST_SUBDIR)/mpfr && \
17416 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17417 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
17418 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
17419 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
17420 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17421 $(TARGET-stageb3g2-mpfr)
17423 maybe-clean-stageb3g2-mpfr: clean-stageb3g2-mpfr
17424 clean-stageb3g2: clean-stageb3g2-mpfr
17425 clean-stageb3g2-mpfr:
17426 @if [ $(current_stage) = stageb3g2 ]; then \
17427 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17428 else \
17429 [ -f $(HOST_SUBDIR)/stageb3g2-mpfr/Makefile ] || exit 0; \
17430 $(MAKE) stageb3g2-start; \
17431 fi; \
17432 cd $(HOST_SUBDIR)/mpfr && \
17433 $(MAKE) $(EXTRA_HOST_FLAGS) \
17434 $(POSTSTAGE1_FLAGS_TO_PASS) \
17435 clean
17436 @endif mpfr-bootstrap
17439 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
17440 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
17441 maybe-all-stage4-mpfr:
17442 maybe-clean-stage4-mpfr:
17443 @if mpfr-bootstrap
17444 maybe-all-stage4-mpfr: all-stage4-mpfr
17445 all-stage4: all-stage4-mpfr
17446 TARGET-stage4-mpfr = $(TARGET-mpfr)
17447 all-stage4-mpfr: configure-stage4-mpfr
17448 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17449 @r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17451 $(HOST_EXPORTS) \
17452 $(POSTSTAGE1_HOST_EXPORTS) \
17453 cd $(HOST_SUBDIR)/mpfr && \
17454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17455 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
17456 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17457 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
17458 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17459 $(TARGET-stage4-mpfr)
17461 maybe-clean-stage4-mpfr: clean-stage4-mpfr
17462 clean-stage4: clean-stage4-mpfr
17463 clean-stage4-mpfr:
17464 @if [ $(current_stage) = stage4 ]; then \
17465 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17466 else \
17467 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
17468 $(MAKE) stage4-start; \
17469 fi; \
17470 cd $(HOST_SUBDIR)/mpfr && \
17471 $(MAKE) $(EXTRA_HOST_FLAGS) \
17472 $(POSTSTAGE1_FLAGS_TO_PASS) \
17473 clean
17474 @endif mpfr-bootstrap
17477 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
17478 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
17479 maybe-all-stageprofile-mpfr:
17480 maybe-clean-stageprofile-mpfr:
17481 @if mpfr-bootstrap
17482 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
17483 all-stageprofile: all-stageprofile-mpfr
17484 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
17485 all-stageprofile-mpfr: configure-stageprofile-mpfr
17486 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17487 @r=`${PWD_COMMAND}`; export r; \
17488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17489 $(HOST_EXPORTS) \
17490 $(POSTSTAGE1_HOST_EXPORTS) \
17491 cd $(HOST_SUBDIR)/mpfr && \
17492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17493 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
17494 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
17495 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
17496 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17497 $(TARGET-stageprofile-mpfr)
17499 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
17500 clean-stageprofile: clean-stageprofile-mpfr
17501 clean-stageprofile-mpfr:
17502 @if [ $(current_stage) = stageprofile ]; then \
17503 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17504 else \
17505 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
17506 $(MAKE) stageprofile-start; \
17507 fi; \
17508 cd $(HOST_SUBDIR)/mpfr && \
17509 $(MAKE) $(EXTRA_HOST_FLAGS) \
17510 $(POSTSTAGE1_FLAGS_TO_PASS) \
17511 clean
17512 @endif mpfr-bootstrap
17515 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
17516 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
17517 maybe-all-stagefeedback-mpfr:
17518 maybe-clean-stagefeedback-mpfr:
17519 @if mpfr-bootstrap
17520 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
17521 all-stagefeedback: all-stagefeedback-mpfr
17522 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
17523 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
17524 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17525 @r=`${PWD_COMMAND}`; export r; \
17526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 $(HOST_EXPORTS) \
17528 $(POSTSTAGE1_HOST_EXPORTS) \
17529 cd $(HOST_SUBDIR)/mpfr && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17531 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
17532 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
17533 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
17534 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17535 $(TARGET-stagefeedback-mpfr)
17537 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
17538 clean-stagefeedback: clean-stagefeedback-mpfr
17539 clean-stagefeedback-mpfr:
17540 @if [ $(current_stage) = stagefeedback ]; then \
17541 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
17542 else \
17543 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
17544 $(MAKE) stagefeedback-start; \
17545 fi; \
17546 cd $(HOST_SUBDIR)/mpfr && \
17547 $(MAKE) $(EXTRA_HOST_FLAGS) \
17548 $(POSTSTAGE1_FLAGS_TO_PASS) \
17549 clean
17550 @endif mpfr-bootstrap
17556 .PHONY: check-mpfr maybe-check-mpfr
17557 maybe-check-mpfr:
17558 @if mpfr
17559 maybe-check-mpfr: check-mpfr
17561 check-mpfr:
17562 @: $(MAKE); $(unstage)
17563 @r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17565 $(HOST_EXPORTS) \
17566 (cd $(HOST_SUBDIR)/mpfr && \
17567 $(MAKE) $(FLAGS_TO_PASS) check)
17569 @endif mpfr
17571 .PHONY: install-mpfr maybe-install-mpfr
17572 maybe-install-mpfr:
17573 @if mpfr
17574 maybe-install-mpfr: install-mpfr
17576 install-mpfr:
17578 @endif mpfr
17580 # Other targets (info, dvi, pdf, etc.)
17582 .PHONY: maybe-info-mpfr info-mpfr
17583 maybe-info-mpfr:
17584 @if mpfr
17585 maybe-info-mpfr: info-mpfr
17587 info-mpfr: \
17588 configure-mpfr
17589 @[ -f ./mpfr/Makefile ] || exit 0; \
17590 r=`${PWD_COMMAND}`; export r; \
17591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17592 $(HOST_EXPORTS) \
17593 for flag in $(EXTRA_HOST_FLAGS) ; do \
17594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17595 done; \
17596 echo "Doing info in mpfr" ; \
17597 (cd $(HOST_SUBDIR)/mpfr && \
17598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17600 "RANLIB=$${RANLIB}" \
17601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17602 info) \
17603 || exit 1
17605 @endif mpfr
17607 .PHONY: maybe-dvi-mpfr dvi-mpfr
17608 maybe-dvi-mpfr:
17609 @if mpfr
17610 maybe-dvi-mpfr: dvi-mpfr
17612 dvi-mpfr: \
17613 configure-mpfr
17614 @[ -f ./mpfr/Makefile ] || exit 0; \
17615 r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17617 $(HOST_EXPORTS) \
17618 for flag in $(EXTRA_HOST_FLAGS) ; do \
17619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17620 done; \
17621 echo "Doing dvi in mpfr" ; \
17622 (cd $(HOST_SUBDIR)/mpfr && \
17623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17625 "RANLIB=$${RANLIB}" \
17626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17627 dvi) \
17628 || exit 1
17630 @endif mpfr
17632 .PHONY: maybe-pdf-mpfr pdf-mpfr
17633 maybe-pdf-mpfr:
17634 @if mpfr
17635 maybe-pdf-mpfr: pdf-mpfr
17637 pdf-mpfr: \
17638 configure-mpfr
17639 @[ -f ./mpfr/Makefile ] || exit 0; \
17640 r=`${PWD_COMMAND}`; export r; \
17641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17642 $(HOST_EXPORTS) \
17643 for flag in $(EXTRA_HOST_FLAGS) ; do \
17644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17645 done; \
17646 echo "Doing pdf in mpfr" ; \
17647 (cd $(HOST_SUBDIR)/mpfr && \
17648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17650 "RANLIB=$${RANLIB}" \
17651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17652 pdf) \
17653 || exit 1
17655 @endif mpfr
17657 .PHONY: maybe-html-mpfr html-mpfr
17658 maybe-html-mpfr:
17659 @if mpfr
17660 maybe-html-mpfr: html-mpfr
17662 html-mpfr: \
17663 configure-mpfr
17664 @[ -f ./mpfr/Makefile ] || exit 0; \
17665 r=`${PWD_COMMAND}`; export r; \
17666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 $(HOST_EXPORTS) \
17668 for flag in $(EXTRA_HOST_FLAGS) ; do \
17669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17670 done; \
17671 echo "Doing html in mpfr" ; \
17672 (cd $(HOST_SUBDIR)/mpfr && \
17673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17675 "RANLIB=$${RANLIB}" \
17676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17677 html) \
17678 || exit 1
17680 @endif mpfr
17682 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
17683 maybe-TAGS-mpfr:
17684 @if mpfr
17685 maybe-TAGS-mpfr: TAGS-mpfr
17687 TAGS-mpfr: \
17688 configure-mpfr
17689 @[ -f ./mpfr/Makefile ] || exit 0; \
17690 r=`${PWD_COMMAND}`; export r; \
17691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17692 $(HOST_EXPORTS) \
17693 for flag in $(EXTRA_HOST_FLAGS) ; do \
17694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17695 done; \
17696 echo "Doing TAGS in mpfr" ; \
17697 (cd $(HOST_SUBDIR)/mpfr && \
17698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17700 "RANLIB=$${RANLIB}" \
17701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17702 TAGS) \
17703 || exit 1
17705 @endif mpfr
17707 .PHONY: maybe-install-info-mpfr install-info-mpfr
17708 maybe-install-info-mpfr:
17709 @if mpfr
17710 maybe-install-info-mpfr: install-info-mpfr
17712 install-info-mpfr: \
17713 configure-mpfr \
17714 info-mpfr
17715 @[ -f ./mpfr/Makefile ] || exit 0; \
17716 r=`${PWD_COMMAND}`; export r; \
17717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 $(HOST_EXPORTS) \
17719 for flag in $(EXTRA_HOST_FLAGS) ; do \
17720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 done; \
17722 echo "Doing install-info in mpfr" ; \
17723 (cd $(HOST_SUBDIR)/mpfr && \
17724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17726 "RANLIB=$${RANLIB}" \
17727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17728 install-info) \
17729 || exit 1
17731 @endif mpfr
17733 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
17734 maybe-install-pdf-mpfr:
17735 @if mpfr
17736 maybe-install-pdf-mpfr: install-pdf-mpfr
17738 install-pdf-mpfr: \
17739 configure-mpfr \
17740 pdf-mpfr
17741 @[ -f ./mpfr/Makefile ] || exit 0; \
17742 r=`${PWD_COMMAND}`; export r; \
17743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17744 $(HOST_EXPORTS) \
17745 for flag in $(EXTRA_HOST_FLAGS) ; do \
17746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17747 done; \
17748 echo "Doing install-pdf in mpfr" ; \
17749 (cd $(HOST_SUBDIR)/mpfr && \
17750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17752 "RANLIB=$${RANLIB}" \
17753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17754 install-pdf) \
17755 || exit 1
17757 @endif mpfr
17759 .PHONY: maybe-install-html-mpfr install-html-mpfr
17760 maybe-install-html-mpfr:
17761 @if mpfr
17762 maybe-install-html-mpfr: install-html-mpfr
17764 install-html-mpfr: \
17765 configure-mpfr \
17766 html-mpfr
17767 @[ -f ./mpfr/Makefile ] || exit 0; \
17768 r=`${PWD_COMMAND}`; export r; \
17769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 $(HOST_EXPORTS) \
17771 for flag in $(EXTRA_HOST_FLAGS) ; do \
17772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17773 done; \
17774 echo "Doing install-html in mpfr" ; \
17775 (cd $(HOST_SUBDIR)/mpfr && \
17776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17778 "RANLIB=$${RANLIB}" \
17779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17780 install-html) \
17781 || exit 1
17783 @endif mpfr
17785 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
17786 maybe-installcheck-mpfr:
17787 @if mpfr
17788 maybe-installcheck-mpfr: installcheck-mpfr
17790 installcheck-mpfr: \
17791 configure-mpfr
17792 @[ -f ./mpfr/Makefile ] || exit 0; \
17793 r=`${PWD_COMMAND}`; export r; \
17794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17795 $(HOST_EXPORTS) \
17796 for flag in $(EXTRA_HOST_FLAGS) ; do \
17797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17798 done; \
17799 echo "Doing installcheck in mpfr" ; \
17800 (cd $(HOST_SUBDIR)/mpfr && \
17801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17803 "RANLIB=$${RANLIB}" \
17804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17805 installcheck) \
17806 || exit 1
17808 @endif mpfr
17810 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
17811 maybe-mostlyclean-mpfr:
17812 @if mpfr
17813 maybe-mostlyclean-mpfr: mostlyclean-mpfr
17815 mostlyclean-mpfr:
17816 @[ -f ./mpfr/Makefile ] || exit 0; \
17817 r=`${PWD_COMMAND}`; export r; \
17818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 $(HOST_EXPORTS) \
17820 for flag in $(EXTRA_HOST_FLAGS) ; do \
17821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17822 done; \
17823 echo "Doing mostlyclean in mpfr" ; \
17824 (cd $(HOST_SUBDIR)/mpfr && \
17825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17827 "RANLIB=$${RANLIB}" \
17828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17829 mostlyclean) \
17830 || exit 1
17832 @endif mpfr
17834 .PHONY: maybe-clean-mpfr clean-mpfr
17835 maybe-clean-mpfr:
17836 @if mpfr
17837 maybe-clean-mpfr: clean-mpfr
17839 clean-mpfr:
17840 @[ -f ./mpfr/Makefile ] || exit 0; \
17841 r=`${PWD_COMMAND}`; export r; \
17842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 $(HOST_EXPORTS) \
17844 for flag in $(EXTRA_HOST_FLAGS) ; do \
17845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17846 done; \
17847 echo "Doing clean in mpfr" ; \
17848 (cd $(HOST_SUBDIR)/mpfr && \
17849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17851 "RANLIB=$${RANLIB}" \
17852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17853 clean) \
17854 || exit 1
17856 @endif mpfr
17858 .PHONY: maybe-distclean-mpfr distclean-mpfr
17859 maybe-distclean-mpfr:
17860 @if mpfr
17861 maybe-distclean-mpfr: distclean-mpfr
17863 distclean-mpfr:
17864 @[ -f ./mpfr/Makefile ] || exit 0; \
17865 r=`${PWD_COMMAND}`; export r; \
17866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17867 $(HOST_EXPORTS) \
17868 for flag in $(EXTRA_HOST_FLAGS) ; do \
17869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17870 done; \
17871 echo "Doing distclean in mpfr" ; \
17872 (cd $(HOST_SUBDIR)/mpfr && \
17873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17875 "RANLIB=$${RANLIB}" \
17876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17877 distclean) \
17878 || exit 1
17880 @endif mpfr
17882 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
17883 maybe-maintainer-clean-mpfr:
17884 @if mpfr
17885 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
17887 maintainer-clean-mpfr:
17888 @[ -f ./mpfr/Makefile ] || exit 0; \
17889 r=`${PWD_COMMAND}`; export r; \
17890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17891 $(HOST_EXPORTS) \
17892 for flag in $(EXTRA_HOST_FLAGS) ; do \
17893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17894 done; \
17895 echo "Doing maintainer-clean in mpfr" ; \
17896 (cd $(HOST_SUBDIR)/mpfr && \
17897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17899 "RANLIB=$${RANLIB}" \
17900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17901 maintainer-clean) \
17902 || exit 1
17904 @endif mpfr
17908 .PHONY: configure-gnuserv maybe-configure-gnuserv
17909 maybe-configure-gnuserv:
17910 @if gcc-bootstrap
17911 configure-gnuserv: stage_current
17912 @endif gcc-bootstrap
17913 @if gnuserv
17914 maybe-configure-gnuserv: configure-gnuserv
17915 configure-gnuserv:
17916 @: $(MAKE); $(unstage)
17917 @r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17919 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
17920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
17921 $(HOST_EXPORTS) \
17922 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
17923 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
17924 case $(srcdir) in \
17925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17926 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
17927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17928 esac; \
17929 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
17930 libsrcdir="$$s/gnuserv"; \
17931 $(SHELL) $${libsrcdir}/configure \
17932 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17933 --target=${target_alias} $${srcdiroption} \
17934 || exit 1
17935 @endif gnuserv
17941 .PHONY: all-gnuserv maybe-all-gnuserv
17942 maybe-all-gnuserv:
17943 @if gcc-bootstrap
17944 all-gnuserv: stage_current
17945 @endif gcc-bootstrap
17946 @if gnuserv
17947 TARGET-gnuserv=all
17948 maybe-all-gnuserv: all-gnuserv
17949 all-gnuserv: configure-gnuserv
17950 @: $(MAKE); $(unstage)
17951 @r=`${PWD_COMMAND}`; export r; \
17952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17953 $(HOST_EXPORTS) \
17954 (cd $(HOST_SUBDIR)/gnuserv && \
17955 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
17956 $(TARGET-gnuserv))
17957 @endif gnuserv
17962 .PHONY: check-gnuserv maybe-check-gnuserv
17963 maybe-check-gnuserv:
17964 @if gnuserv
17965 maybe-check-gnuserv: check-gnuserv
17967 check-gnuserv:
17968 @: $(MAKE); $(unstage)
17969 @r=`${PWD_COMMAND}`; export r; \
17970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17971 $(HOST_EXPORTS) \
17972 (cd $(HOST_SUBDIR)/gnuserv && \
17973 $(MAKE) $(FLAGS_TO_PASS) check)
17975 @endif gnuserv
17977 .PHONY: install-gnuserv maybe-install-gnuserv
17978 maybe-install-gnuserv:
17979 @if gnuserv
17980 maybe-install-gnuserv: install-gnuserv
17982 install-gnuserv: installdirs
17983 @: $(MAKE); $(unstage)
17984 @r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17986 $(HOST_EXPORTS) \
17987 (cd $(HOST_SUBDIR)/gnuserv && \
17988 $(MAKE) $(FLAGS_TO_PASS) install)
17990 @endif gnuserv
17992 # Other targets (info, dvi, pdf, etc.)
17994 .PHONY: maybe-info-gnuserv info-gnuserv
17995 maybe-info-gnuserv:
17996 @if gnuserv
17997 maybe-info-gnuserv: info-gnuserv
17999 info-gnuserv: \
18000 configure-gnuserv
18001 @: $(MAKE); $(unstage)
18002 @[ -f ./gnuserv/Makefile ] || exit 0; \
18003 r=`${PWD_COMMAND}`; export r; \
18004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18005 $(HOST_EXPORTS) \
18006 for flag in $(EXTRA_HOST_FLAGS) ; do \
18007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18008 done; \
18009 echo "Doing info in gnuserv" ; \
18010 (cd $(HOST_SUBDIR)/gnuserv && \
18011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18013 "RANLIB=$${RANLIB}" \
18014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18015 info) \
18016 || exit 1
18018 @endif gnuserv
18020 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
18021 maybe-dvi-gnuserv:
18022 @if gnuserv
18023 maybe-dvi-gnuserv: dvi-gnuserv
18025 dvi-gnuserv: \
18026 configure-gnuserv
18027 @: $(MAKE); $(unstage)
18028 @[ -f ./gnuserv/Makefile ] || exit 0; \
18029 r=`${PWD_COMMAND}`; export r; \
18030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18031 $(HOST_EXPORTS) \
18032 for flag in $(EXTRA_HOST_FLAGS) ; do \
18033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18034 done; \
18035 echo "Doing dvi in gnuserv" ; \
18036 (cd $(HOST_SUBDIR)/gnuserv && \
18037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18039 "RANLIB=$${RANLIB}" \
18040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18041 dvi) \
18042 || exit 1
18044 @endif gnuserv
18046 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
18047 maybe-pdf-gnuserv:
18048 @if gnuserv
18049 maybe-pdf-gnuserv: pdf-gnuserv
18051 pdf-gnuserv: \
18052 configure-gnuserv
18053 @: $(MAKE); $(unstage)
18054 @[ -f ./gnuserv/Makefile ] || exit 0; \
18055 r=`${PWD_COMMAND}`; export r; \
18056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18057 $(HOST_EXPORTS) \
18058 for flag in $(EXTRA_HOST_FLAGS) ; do \
18059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18060 done; \
18061 echo "Doing pdf in gnuserv" ; \
18062 (cd $(HOST_SUBDIR)/gnuserv && \
18063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18065 "RANLIB=$${RANLIB}" \
18066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18067 pdf) \
18068 || exit 1
18070 @endif gnuserv
18072 .PHONY: maybe-html-gnuserv html-gnuserv
18073 maybe-html-gnuserv:
18074 @if gnuserv
18075 maybe-html-gnuserv: html-gnuserv
18077 html-gnuserv: \
18078 configure-gnuserv
18079 @: $(MAKE); $(unstage)
18080 @[ -f ./gnuserv/Makefile ] || exit 0; \
18081 r=`${PWD_COMMAND}`; export r; \
18082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18083 $(HOST_EXPORTS) \
18084 for flag in $(EXTRA_HOST_FLAGS) ; do \
18085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18086 done; \
18087 echo "Doing html in gnuserv" ; \
18088 (cd $(HOST_SUBDIR)/gnuserv && \
18089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18091 "RANLIB=$${RANLIB}" \
18092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18093 html) \
18094 || exit 1
18096 @endif gnuserv
18098 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
18099 maybe-TAGS-gnuserv:
18100 @if gnuserv
18101 maybe-TAGS-gnuserv: TAGS-gnuserv
18103 TAGS-gnuserv: \
18104 configure-gnuserv
18105 @: $(MAKE); $(unstage)
18106 @[ -f ./gnuserv/Makefile ] || exit 0; \
18107 r=`${PWD_COMMAND}`; export r; \
18108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18109 $(HOST_EXPORTS) \
18110 for flag in $(EXTRA_HOST_FLAGS) ; do \
18111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18112 done; \
18113 echo "Doing TAGS in gnuserv" ; \
18114 (cd $(HOST_SUBDIR)/gnuserv && \
18115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18117 "RANLIB=$${RANLIB}" \
18118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18119 TAGS) \
18120 || exit 1
18122 @endif gnuserv
18124 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
18125 maybe-install-info-gnuserv:
18126 @if gnuserv
18127 maybe-install-info-gnuserv: install-info-gnuserv
18129 install-info-gnuserv: \
18130 configure-gnuserv \
18131 info-gnuserv
18132 @: $(MAKE); $(unstage)
18133 @[ -f ./gnuserv/Makefile ] || exit 0; \
18134 r=`${PWD_COMMAND}`; export r; \
18135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18136 $(HOST_EXPORTS) \
18137 for flag in $(EXTRA_HOST_FLAGS) ; do \
18138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18139 done; \
18140 echo "Doing install-info in gnuserv" ; \
18141 (cd $(HOST_SUBDIR)/gnuserv && \
18142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18144 "RANLIB=$${RANLIB}" \
18145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18146 install-info) \
18147 || exit 1
18149 @endif gnuserv
18151 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
18152 maybe-install-pdf-gnuserv:
18153 @if gnuserv
18154 maybe-install-pdf-gnuserv: install-pdf-gnuserv
18156 install-pdf-gnuserv: \
18157 configure-gnuserv \
18158 pdf-gnuserv
18159 @: $(MAKE); $(unstage)
18160 @[ -f ./gnuserv/Makefile ] || exit 0; \
18161 r=`${PWD_COMMAND}`; export r; \
18162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18163 $(HOST_EXPORTS) \
18164 for flag in $(EXTRA_HOST_FLAGS) ; do \
18165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18166 done; \
18167 echo "Doing install-pdf in gnuserv" ; \
18168 (cd $(HOST_SUBDIR)/gnuserv && \
18169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18171 "RANLIB=$${RANLIB}" \
18172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18173 install-pdf) \
18174 || exit 1
18176 @endif gnuserv
18178 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
18179 maybe-install-html-gnuserv:
18180 @if gnuserv
18181 maybe-install-html-gnuserv: install-html-gnuserv
18183 install-html-gnuserv: \
18184 configure-gnuserv \
18185 html-gnuserv
18186 @: $(MAKE); $(unstage)
18187 @[ -f ./gnuserv/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18190 $(HOST_EXPORTS) \
18191 for flag in $(EXTRA_HOST_FLAGS) ; do \
18192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18193 done; \
18194 echo "Doing install-html in gnuserv" ; \
18195 (cd $(HOST_SUBDIR)/gnuserv && \
18196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18198 "RANLIB=$${RANLIB}" \
18199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18200 install-html) \
18201 || exit 1
18203 @endif gnuserv
18205 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
18206 maybe-installcheck-gnuserv:
18207 @if gnuserv
18208 maybe-installcheck-gnuserv: installcheck-gnuserv
18210 installcheck-gnuserv: \
18211 configure-gnuserv
18212 @: $(MAKE); $(unstage)
18213 @[ -f ./gnuserv/Makefile ] || exit 0; \
18214 r=`${PWD_COMMAND}`; export r; \
18215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18216 $(HOST_EXPORTS) \
18217 for flag in $(EXTRA_HOST_FLAGS) ; do \
18218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18219 done; \
18220 echo "Doing installcheck in gnuserv" ; \
18221 (cd $(HOST_SUBDIR)/gnuserv && \
18222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18224 "RANLIB=$${RANLIB}" \
18225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18226 installcheck) \
18227 || exit 1
18229 @endif gnuserv
18231 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
18232 maybe-mostlyclean-gnuserv:
18233 @if gnuserv
18234 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
18236 mostlyclean-gnuserv:
18237 @: $(MAKE); $(unstage)
18238 @[ -f ./gnuserv/Makefile ] || exit 0; \
18239 r=`${PWD_COMMAND}`; export r; \
18240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18241 $(HOST_EXPORTS) \
18242 for flag in $(EXTRA_HOST_FLAGS) ; do \
18243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18244 done; \
18245 echo "Doing mostlyclean in gnuserv" ; \
18246 (cd $(HOST_SUBDIR)/gnuserv && \
18247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18249 "RANLIB=$${RANLIB}" \
18250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18251 mostlyclean) \
18252 || exit 1
18254 @endif gnuserv
18256 .PHONY: maybe-clean-gnuserv clean-gnuserv
18257 maybe-clean-gnuserv:
18258 @if gnuserv
18259 maybe-clean-gnuserv: clean-gnuserv
18261 clean-gnuserv:
18262 @: $(MAKE); $(unstage)
18263 @[ -f ./gnuserv/Makefile ] || exit 0; \
18264 r=`${PWD_COMMAND}`; export r; \
18265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18266 $(HOST_EXPORTS) \
18267 for flag in $(EXTRA_HOST_FLAGS) ; do \
18268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18269 done; \
18270 echo "Doing clean in gnuserv" ; \
18271 (cd $(HOST_SUBDIR)/gnuserv && \
18272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18274 "RANLIB=$${RANLIB}" \
18275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18276 clean) \
18277 || exit 1
18279 @endif gnuserv
18281 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
18282 maybe-distclean-gnuserv:
18283 @if gnuserv
18284 maybe-distclean-gnuserv: distclean-gnuserv
18286 distclean-gnuserv:
18287 @: $(MAKE); $(unstage)
18288 @[ -f ./gnuserv/Makefile ] || exit 0; \
18289 r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 $(HOST_EXPORTS) \
18292 for flag in $(EXTRA_HOST_FLAGS) ; do \
18293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18294 done; \
18295 echo "Doing distclean in gnuserv" ; \
18296 (cd $(HOST_SUBDIR)/gnuserv && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18299 "RANLIB=$${RANLIB}" \
18300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18301 distclean) \
18302 || exit 1
18304 @endif gnuserv
18306 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
18307 maybe-maintainer-clean-gnuserv:
18308 @if gnuserv
18309 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
18311 maintainer-clean-gnuserv:
18312 @: $(MAKE); $(unstage)
18313 @[ -f ./gnuserv/Makefile ] || exit 0; \
18314 r=`${PWD_COMMAND}`; export r; \
18315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18316 $(HOST_EXPORTS) \
18317 for flag in $(EXTRA_HOST_FLAGS) ; do \
18318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18319 done; \
18320 echo "Doing maintainer-clean in gnuserv" ; \
18321 (cd $(HOST_SUBDIR)/gnuserv && \
18322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18324 "RANLIB=$${RANLIB}" \
18325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18326 maintainer-clean) \
18327 || exit 1
18329 @endif gnuserv
18333 .PHONY: configure-gold maybe-configure-gold
18334 maybe-configure-gold:
18335 @if gcc-bootstrap
18336 configure-gold: stage_current
18337 @endif gcc-bootstrap
18338 @if gold
18339 maybe-configure-gold: configure-gold
18340 configure-gold:
18341 @r=`${PWD_COMMAND}`; export r; \
18342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18343 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18345 $(HOST_EXPORTS) \
18346 echo Configuring in $(HOST_SUBDIR)/gold; \
18347 cd "$(HOST_SUBDIR)/gold" || exit 1; \
18348 case $(srcdir) in \
18349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18350 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18352 esac; \
18353 srcdiroption="--srcdir=$${topdir}/gold"; \
18354 libsrcdir="$$s/gold"; \
18355 $(SHELL) $${libsrcdir}/configure \
18356 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18357 --target=${target_alias} $${srcdiroption} \
18358 || exit 1
18359 @endif gold
18363 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
18364 maybe-configure-stage1-gold:
18365 @if gold-bootstrap
18366 maybe-configure-stage1-gold: configure-stage1-gold
18367 configure-stage1-gold:
18368 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18370 @r=`${PWD_COMMAND}`; export r; \
18371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18372 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18373 $(HOST_EXPORTS) \
18374 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18375 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
18376 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
18377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18378 cd $(HOST_SUBDIR)/gold || exit 1; \
18379 case $(srcdir) in \
18380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18381 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18383 esac; \
18384 srcdiroption="--srcdir=$${topdir}/gold"; \
18385 libsrcdir="$$s/gold"; \
18386 $(SHELL) $${libsrcdir}/configure \
18387 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18388 --target=${target_alias} $${srcdiroption} \
18390 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18391 @endif gold-bootstrap
18393 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
18394 maybe-configure-stage2-gold:
18395 @if gold-bootstrap
18396 maybe-configure-stage2-gold: configure-stage2-gold
18397 configure-stage2-gold:
18398 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18399 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18400 @r=`${PWD_COMMAND}`; export r; \
18401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18402 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18403 $(HOST_EXPORTS) \
18404 $(POSTSTAGE1_HOST_EXPORTS) \
18405 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18406 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
18407 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
18408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18409 cd $(HOST_SUBDIR)/gold || exit 1; \
18410 case $(srcdir) in \
18411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18412 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18414 esac; \
18415 srcdiroption="--srcdir=$${topdir}/gold"; \
18416 libsrcdir="$$s/gold"; \
18417 $(SHELL) $${libsrcdir}/configure \
18418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18419 --target=${target_alias} $${srcdiroption} \
18420 --with-build-libsubdir=$(HOST_SUBDIR) \
18421 @stage2_werror_flag@
18422 @endif gold-bootstrap
18424 .PHONY: configure-stageb2g0-gold maybe-configure-stageb2g0-gold
18425 maybe-configure-stageb2g0-gold:
18426 @if gold-bootstrap
18427 maybe-configure-stageb2g0-gold: configure-stageb2g0-gold
18428 configure-stageb2g0-gold:
18429 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
18430 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18431 @r=`${PWD_COMMAND}`; export r; \
18432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18433 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18434 $(HOST_EXPORTS) \
18435 $(POSTSTAGE1_HOST_EXPORTS) \
18436 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
18437 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
18438 echo Configuring stage b2g0 in $(HOST_SUBDIR)/gold ; \
18439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18440 cd $(HOST_SUBDIR)/gold || exit 1; \
18441 case $(srcdir) in \
18442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18443 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18445 esac; \
18446 srcdiroption="--srcdir=$${topdir}/gold"; \
18447 libsrcdir="$$s/gold"; \
18448 $(SHELL) $${libsrcdir}/configure \
18449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18450 --target=${target_alias} $${srcdiroption} \
18451 --with-build-libsubdir=$(HOST_SUBDIR) \
18452 @stage2_werror_flag@
18453 @endif gold-bootstrap
18455 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
18456 maybe-configure-stage3-gold:
18457 @if gold-bootstrap
18458 maybe-configure-stage3-gold: configure-stage3-gold
18459 configure-stage3-gold:
18460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18461 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18462 @r=`${PWD_COMMAND}`; export r; \
18463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18464 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18465 $(HOST_EXPORTS) \
18466 $(POSTSTAGE1_HOST_EXPORTS) \
18467 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18468 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
18469 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
18470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18471 cd $(HOST_SUBDIR)/gold || exit 1; \
18472 case $(srcdir) in \
18473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18474 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18476 esac; \
18477 srcdiroption="--srcdir=$${topdir}/gold"; \
18478 libsrcdir="$$s/gold"; \
18479 $(SHELL) $${libsrcdir}/configure \
18480 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18481 --target=${target_alias} $${srcdiroption} \
18482 --with-build-libsubdir=$(HOST_SUBDIR) \
18483 @stage2_werror_flag@
18484 @endif gold-bootstrap
18486 .PHONY: configure-stageb3g2-gold maybe-configure-stageb3g2-gold
18487 maybe-configure-stageb3g2-gold:
18488 @if gold-bootstrap
18489 maybe-configure-stageb3g2-gold: configure-stageb3g2-gold
18490 configure-stageb3g2-gold:
18491 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
18492 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18493 @r=`${PWD_COMMAND}`; export r; \
18494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18495 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18496 $(HOST_EXPORTS) \
18497 $(POSTSTAGE1_HOST_EXPORTS) \
18498 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
18499 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
18500 echo Configuring stage b3g2 in $(HOST_SUBDIR)/gold ; \
18501 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18502 cd $(HOST_SUBDIR)/gold || exit 1; \
18503 case $(srcdir) in \
18504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18505 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18507 esac; \
18508 srcdiroption="--srcdir=$${topdir}/gold"; \
18509 libsrcdir="$$s/gold"; \
18510 $(SHELL) $${libsrcdir}/configure \
18511 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18512 --target=${target_alias} $${srcdiroption} \
18513 --with-build-libsubdir=$(HOST_SUBDIR) \
18514 @stage2_werror_flag@
18515 @endif gold-bootstrap
18517 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
18518 maybe-configure-stage4-gold:
18519 @if gold-bootstrap
18520 maybe-configure-stage4-gold: configure-stage4-gold
18521 configure-stage4-gold:
18522 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18523 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18524 @r=`${PWD_COMMAND}`; export r; \
18525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18526 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18527 $(HOST_EXPORTS) \
18528 $(POSTSTAGE1_HOST_EXPORTS) \
18529 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18530 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
18531 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
18532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18533 cd $(HOST_SUBDIR)/gold || exit 1; \
18534 case $(srcdir) in \
18535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18536 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18538 esac; \
18539 srcdiroption="--srcdir=$${topdir}/gold"; \
18540 libsrcdir="$$s/gold"; \
18541 $(SHELL) $${libsrcdir}/configure \
18542 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18543 --target=${target_alias} $${srcdiroption} \
18544 --with-build-libsubdir=$(HOST_SUBDIR) \
18545 @stage2_werror_flag@
18546 @endif gold-bootstrap
18548 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
18549 maybe-configure-stageprofile-gold:
18550 @if gold-bootstrap
18551 maybe-configure-stageprofile-gold: configure-stageprofile-gold
18552 configure-stageprofile-gold:
18553 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18554 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18555 @r=`${PWD_COMMAND}`; export r; \
18556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18557 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18558 $(HOST_EXPORTS) \
18559 $(POSTSTAGE1_HOST_EXPORTS) \
18560 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
18561 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
18562 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
18563 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18564 cd $(HOST_SUBDIR)/gold || exit 1; \
18565 case $(srcdir) in \
18566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18567 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18569 esac; \
18570 srcdiroption="--srcdir=$${topdir}/gold"; \
18571 libsrcdir="$$s/gold"; \
18572 $(SHELL) $${libsrcdir}/configure \
18573 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18574 --target=${target_alias} $${srcdiroption} \
18575 --with-build-libsubdir=$(HOST_SUBDIR) \
18576 @stage2_werror_flag@
18577 @endif gold-bootstrap
18579 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
18580 maybe-configure-stagefeedback-gold:
18581 @if gold-bootstrap
18582 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
18583 configure-stagefeedback-gold:
18584 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18585 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
18586 @r=`${PWD_COMMAND}`; export r; \
18587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18588 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
18589 $(HOST_EXPORTS) \
18590 $(POSTSTAGE1_HOST_EXPORTS) \
18591 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
18592 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
18593 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
18594 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
18595 cd $(HOST_SUBDIR)/gold || exit 1; \
18596 case $(srcdir) in \
18597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18598 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
18599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18600 esac; \
18601 srcdiroption="--srcdir=$${topdir}/gold"; \
18602 libsrcdir="$$s/gold"; \
18603 $(SHELL) $${libsrcdir}/configure \
18604 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18605 --target=${target_alias} $${srcdiroption} \
18606 --with-build-libsubdir=$(HOST_SUBDIR) \
18607 @stage2_werror_flag@
18608 @endif gold-bootstrap
18614 .PHONY: all-gold maybe-all-gold
18615 maybe-all-gold:
18616 @if gcc-bootstrap
18617 all-gold: stage_current
18618 @endif gcc-bootstrap
18619 @if gold
18620 TARGET-gold=all
18621 maybe-all-gold: all-gold
18622 all-gold: configure-gold
18623 @r=`${PWD_COMMAND}`; export r; \
18624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18625 $(HOST_EXPORTS) \
18626 (cd $(HOST_SUBDIR)/gold && \
18627 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
18628 $(TARGET-gold))
18629 @endif gold
18633 .PHONY: all-stage1-gold maybe-all-stage1-gold
18634 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
18635 maybe-all-stage1-gold:
18636 maybe-clean-stage1-gold:
18637 @if gold-bootstrap
18638 maybe-all-stage1-gold: all-stage1-gold
18639 all-stage1: all-stage1-gold
18640 TARGET-stage1-gold = $(TARGET-gold)
18641 all-stage1-gold: configure-stage1-gold
18642 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18643 @r=`${PWD_COMMAND}`; export r; \
18644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18645 $(HOST_EXPORTS) \
18646 cd $(HOST_SUBDIR)/gold && \
18647 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18648 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
18649 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
18650 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
18651 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
18652 $(TARGET-stage1-gold)
18654 maybe-clean-stage1-gold: clean-stage1-gold
18655 clean-stage1: clean-stage1-gold
18656 clean-stage1-gold:
18657 @if [ $(current_stage) = stage1 ]; then \
18658 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18659 else \
18660 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
18661 $(MAKE) stage1-start; \
18662 fi; \
18663 cd $(HOST_SUBDIR)/gold && \
18664 $(MAKE) $(EXTRA_HOST_FLAGS) \
18665 clean
18666 @endif gold-bootstrap
18669 .PHONY: all-stage2-gold maybe-all-stage2-gold
18670 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
18671 maybe-all-stage2-gold:
18672 maybe-clean-stage2-gold:
18673 @if gold-bootstrap
18674 maybe-all-stage2-gold: all-stage2-gold
18675 all-stage2: all-stage2-gold
18676 TARGET-stage2-gold = $(TARGET-gold)
18677 all-stage2-gold: configure-stage2-gold
18678 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18679 @r=`${PWD_COMMAND}`; export r; \
18680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18681 $(HOST_EXPORTS) \
18682 $(POSTSTAGE1_HOST_EXPORTS) \
18683 cd $(HOST_SUBDIR)/gold && \
18684 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18685 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
18686 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
18687 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
18688 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18689 $(TARGET-stage2-gold)
18691 maybe-clean-stage2-gold: clean-stage2-gold
18692 clean-stage2: clean-stage2-gold
18693 clean-stage2-gold:
18694 @if [ $(current_stage) = stage2 ]; then \
18695 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18696 else \
18697 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
18698 $(MAKE) stage2-start; \
18699 fi; \
18700 cd $(HOST_SUBDIR)/gold && \
18701 $(MAKE) $(EXTRA_HOST_FLAGS) \
18702 $(POSTSTAGE1_FLAGS_TO_PASS) \
18703 clean
18704 @endif gold-bootstrap
18707 .PHONY: all-stageb2g0-gold maybe-all-stageb2g0-gold
18708 .PHONY: clean-stageb2g0-gold maybe-clean-stageb2g0-gold
18709 maybe-all-stageb2g0-gold:
18710 maybe-clean-stageb2g0-gold:
18711 @if gold-bootstrap
18712 maybe-all-stageb2g0-gold: all-stageb2g0-gold
18713 all-stageb2g0: all-stageb2g0-gold
18714 TARGET-stageb2g0-gold = $(TARGET-gold)
18715 all-stageb2g0-gold: configure-stageb2g0-gold
18716 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
18717 @r=`${PWD_COMMAND}`; export r; \
18718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18719 $(HOST_EXPORTS) \
18720 $(POSTSTAGE1_HOST_EXPORTS) \
18721 cd $(HOST_SUBDIR)/gold && \
18722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18723 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
18724 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
18725 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
18726 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18727 $(TARGET-stageb2g0-gold)
18729 maybe-clean-stageb2g0-gold: clean-stageb2g0-gold
18730 clean-stageb2g0: clean-stageb2g0-gold
18731 clean-stageb2g0-gold:
18732 @if [ $(current_stage) = stageb2g0 ]; then \
18733 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18734 else \
18735 [ -f $(HOST_SUBDIR)/stageb2g0-gold/Makefile ] || exit 0; \
18736 $(MAKE) stageb2g0-start; \
18737 fi; \
18738 cd $(HOST_SUBDIR)/gold && \
18739 $(MAKE) $(EXTRA_HOST_FLAGS) \
18740 $(POSTSTAGE1_FLAGS_TO_PASS) \
18741 clean
18742 @endif gold-bootstrap
18745 .PHONY: all-stage3-gold maybe-all-stage3-gold
18746 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
18747 maybe-all-stage3-gold:
18748 maybe-clean-stage3-gold:
18749 @if gold-bootstrap
18750 maybe-all-stage3-gold: all-stage3-gold
18751 all-stage3: all-stage3-gold
18752 TARGET-stage3-gold = $(TARGET-gold)
18753 all-stage3-gold: configure-stage3-gold
18754 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18755 @r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757 $(HOST_EXPORTS) \
18758 $(POSTSTAGE1_HOST_EXPORTS) \
18759 cd $(HOST_SUBDIR)/gold && \
18760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18761 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
18762 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
18763 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
18764 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18765 $(TARGET-stage3-gold)
18767 maybe-clean-stage3-gold: clean-stage3-gold
18768 clean-stage3: clean-stage3-gold
18769 clean-stage3-gold:
18770 @if [ $(current_stage) = stage3 ]; then \
18771 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18772 else \
18773 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
18774 $(MAKE) stage3-start; \
18775 fi; \
18776 cd $(HOST_SUBDIR)/gold && \
18777 $(MAKE) $(EXTRA_HOST_FLAGS) \
18778 $(POSTSTAGE1_FLAGS_TO_PASS) \
18779 clean
18780 @endif gold-bootstrap
18783 .PHONY: all-stageb3g2-gold maybe-all-stageb3g2-gold
18784 .PHONY: clean-stageb3g2-gold maybe-clean-stageb3g2-gold
18785 maybe-all-stageb3g2-gold:
18786 maybe-clean-stageb3g2-gold:
18787 @if gold-bootstrap
18788 maybe-all-stageb3g2-gold: all-stageb3g2-gold
18789 all-stageb3g2: all-stageb3g2-gold
18790 TARGET-stageb3g2-gold = $(TARGET-gold)
18791 all-stageb3g2-gold: configure-stageb3g2-gold
18792 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
18793 @r=`${PWD_COMMAND}`; export r; \
18794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18795 $(HOST_EXPORTS) \
18796 $(POSTSTAGE1_HOST_EXPORTS) \
18797 cd $(HOST_SUBDIR)/gold && \
18798 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18799 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
18800 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
18801 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
18802 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18803 $(TARGET-stageb3g2-gold)
18805 maybe-clean-stageb3g2-gold: clean-stageb3g2-gold
18806 clean-stageb3g2: clean-stageb3g2-gold
18807 clean-stageb3g2-gold:
18808 @if [ $(current_stage) = stageb3g2 ]; then \
18809 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18810 else \
18811 [ -f $(HOST_SUBDIR)/stageb3g2-gold/Makefile ] || exit 0; \
18812 $(MAKE) stageb3g2-start; \
18813 fi; \
18814 cd $(HOST_SUBDIR)/gold && \
18815 $(MAKE) $(EXTRA_HOST_FLAGS) \
18816 $(POSTSTAGE1_FLAGS_TO_PASS) \
18817 clean
18818 @endif gold-bootstrap
18821 .PHONY: all-stage4-gold maybe-all-stage4-gold
18822 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
18823 maybe-all-stage4-gold:
18824 maybe-clean-stage4-gold:
18825 @if gold-bootstrap
18826 maybe-all-stage4-gold: all-stage4-gold
18827 all-stage4: all-stage4-gold
18828 TARGET-stage4-gold = $(TARGET-gold)
18829 all-stage4-gold: configure-stage4-gold
18830 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18831 @r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 $(HOST_EXPORTS) \
18834 $(POSTSTAGE1_HOST_EXPORTS) \
18835 cd $(HOST_SUBDIR)/gold && \
18836 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18837 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
18838 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18839 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
18840 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18841 $(TARGET-stage4-gold)
18843 maybe-clean-stage4-gold: clean-stage4-gold
18844 clean-stage4: clean-stage4-gold
18845 clean-stage4-gold:
18846 @if [ $(current_stage) = stage4 ]; then \
18847 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18848 else \
18849 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
18850 $(MAKE) stage4-start; \
18851 fi; \
18852 cd $(HOST_SUBDIR)/gold && \
18853 $(MAKE) $(EXTRA_HOST_FLAGS) \
18854 $(POSTSTAGE1_FLAGS_TO_PASS) \
18855 clean
18856 @endif gold-bootstrap
18859 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
18860 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
18861 maybe-all-stageprofile-gold:
18862 maybe-clean-stageprofile-gold:
18863 @if gold-bootstrap
18864 maybe-all-stageprofile-gold: all-stageprofile-gold
18865 all-stageprofile: all-stageprofile-gold
18866 TARGET-stageprofile-gold = $(TARGET-gold)
18867 all-stageprofile-gold: configure-stageprofile-gold
18868 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18869 @r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(HOST_EXPORTS) \
18872 $(POSTSTAGE1_HOST_EXPORTS) \
18873 cd $(HOST_SUBDIR)/gold && \
18874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18875 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
18876 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
18877 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
18878 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18879 $(TARGET-stageprofile-gold)
18881 maybe-clean-stageprofile-gold: clean-stageprofile-gold
18882 clean-stageprofile: clean-stageprofile-gold
18883 clean-stageprofile-gold:
18884 @if [ $(current_stage) = stageprofile ]; then \
18885 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18886 else \
18887 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
18888 $(MAKE) stageprofile-start; \
18889 fi; \
18890 cd $(HOST_SUBDIR)/gold && \
18891 $(MAKE) $(EXTRA_HOST_FLAGS) \
18892 $(POSTSTAGE1_FLAGS_TO_PASS) \
18893 clean
18894 @endif gold-bootstrap
18897 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
18898 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
18899 maybe-all-stagefeedback-gold:
18900 maybe-clean-stagefeedback-gold:
18901 @if gold-bootstrap
18902 maybe-all-stagefeedback-gold: all-stagefeedback-gold
18903 all-stagefeedback: all-stagefeedback-gold
18904 TARGET-stagefeedback-gold = $(TARGET-gold)
18905 all-stagefeedback-gold: configure-stagefeedback-gold
18906 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18907 @r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18909 $(HOST_EXPORTS) \
18910 $(POSTSTAGE1_HOST_EXPORTS) \
18911 cd $(HOST_SUBDIR)/gold && \
18912 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18913 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
18914 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
18915 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
18916 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18917 $(TARGET-stagefeedback-gold)
18919 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
18920 clean-stagefeedback: clean-stagefeedback-gold
18921 clean-stagefeedback-gold:
18922 @if [ $(current_stage) = stagefeedback ]; then \
18923 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
18924 else \
18925 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
18926 $(MAKE) stagefeedback-start; \
18927 fi; \
18928 cd $(HOST_SUBDIR)/gold && \
18929 $(MAKE) $(EXTRA_HOST_FLAGS) \
18930 $(POSTSTAGE1_FLAGS_TO_PASS) \
18931 clean
18932 @endif gold-bootstrap
18938 .PHONY: check-gold maybe-check-gold
18939 maybe-check-gold:
18940 @if gold
18941 maybe-check-gold: check-gold
18943 check-gold:
18944 @: $(MAKE); $(unstage)
18945 @r=`${PWD_COMMAND}`; export r; \
18946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18947 $(HOST_EXPORTS) \
18948 (cd $(HOST_SUBDIR)/gold && \
18949 $(MAKE) $(FLAGS_TO_PASS) check)
18951 @endif gold
18953 .PHONY: install-gold maybe-install-gold
18954 maybe-install-gold:
18955 @if gold
18956 maybe-install-gold: install-gold
18958 install-gold: installdirs
18959 @: $(MAKE); $(unstage)
18960 @r=`${PWD_COMMAND}`; export r; \
18961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18962 $(HOST_EXPORTS) \
18963 (cd $(HOST_SUBDIR)/gold && \
18964 $(MAKE) $(FLAGS_TO_PASS) install)
18966 @endif gold
18968 # Other targets (info, dvi, pdf, etc.)
18970 .PHONY: maybe-info-gold info-gold
18971 maybe-info-gold:
18972 @if gold
18973 maybe-info-gold: info-gold
18975 info-gold: \
18976 configure-gold
18977 @[ -f ./gold/Makefile ] || exit 0; \
18978 r=`${PWD_COMMAND}`; export r; \
18979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS) ; do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing info in gold" ; \
18985 (cd $(HOST_SUBDIR)/gold && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18990 info) \
18991 || exit 1
18993 @endif gold
18995 .PHONY: maybe-dvi-gold dvi-gold
18996 maybe-dvi-gold:
18997 @if gold
18998 maybe-dvi-gold: dvi-gold
19000 dvi-gold: \
19001 configure-gold
19002 @[ -f ./gold/Makefile ] || exit 0; \
19003 r=`${PWD_COMMAND}`; export r; \
19004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19005 $(HOST_EXPORTS) \
19006 for flag in $(EXTRA_HOST_FLAGS) ; do \
19007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19008 done; \
19009 echo "Doing dvi in gold" ; \
19010 (cd $(HOST_SUBDIR)/gold && \
19011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19013 "RANLIB=$${RANLIB}" \
19014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19015 dvi) \
19016 || exit 1
19018 @endif gold
19020 .PHONY: maybe-pdf-gold pdf-gold
19021 maybe-pdf-gold:
19022 @if gold
19023 maybe-pdf-gold: pdf-gold
19025 pdf-gold: \
19026 configure-gold
19027 @[ -f ./gold/Makefile ] || exit 0; \
19028 r=`${PWD_COMMAND}`; export r; \
19029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19030 $(HOST_EXPORTS) \
19031 for flag in $(EXTRA_HOST_FLAGS) ; do \
19032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19033 done; \
19034 echo "Doing pdf in gold" ; \
19035 (cd $(HOST_SUBDIR)/gold && \
19036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19038 "RANLIB=$${RANLIB}" \
19039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19040 pdf) \
19041 || exit 1
19043 @endif gold
19045 .PHONY: maybe-html-gold html-gold
19046 maybe-html-gold:
19047 @if gold
19048 maybe-html-gold: html-gold
19050 html-gold: \
19051 configure-gold
19052 @[ -f ./gold/Makefile ] || exit 0; \
19053 r=`${PWD_COMMAND}`; export r; \
19054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19055 $(HOST_EXPORTS) \
19056 for flag in $(EXTRA_HOST_FLAGS) ; do \
19057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19058 done; \
19059 echo "Doing html in gold" ; \
19060 (cd $(HOST_SUBDIR)/gold && \
19061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19063 "RANLIB=$${RANLIB}" \
19064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19065 html) \
19066 || exit 1
19068 @endif gold
19070 .PHONY: maybe-TAGS-gold TAGS-gold
19071 maybe-TAGS-gold:
19072 @if gold
19073 maybe-TAGS-gold: TAGS-gold
19075 TAGS-gold: \
19076 configure-gold
19077 @[ -f ./gold/Makefile ] || exit 0; \
19078 r=`${PWD_COMMAND}`; export r; \
19079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19080 $(HOST_EXPORTS) \
19081 for flag in $(EXTRA_HOST_FLAGS) ; do \
19082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19083 done; \
19084 echo "Doing TAGS in gold" ; \
19085 (cd $(HOST_SUBDIR)/gold && \
19086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19088 "RANLIB=$${RANLIB}" \
19089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19090 TAGS) \
19091 || exit 1
19093 @endif gold
19095 .PHONY: maybe-install-info-gold install-info-gold
19096 maybe-install-info-gold:
19097 @if gold
19098 maybe-install-info-gold: install-info-gold
19100 install-info-gold: \
19101 configure-gold \
19102 info-gold
19103 @[ -f ./gold/Makefile ] || exit 0; \
19104 r=`${PWD_COMMAND}`; export r; \
19105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19106 $(HOST_EXPORTS) \
19107 for flag in $(EXTRA_HOST_FLAGS) ; do \
19108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19109 done; \
19110 echo "Doing install-info in gold" ; \
19111 (cd $(HOST_SUBDIR)/gold && \
19112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19114 "RANLIB=$${RANLIB}" \
19115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19116 install-info) \
19117 || exit 1
19119 @endif gold
19121 .PHONY: maybe-install-pdf-gold install-pdf-gold
19122 maybe-install-pdf-gold:
19123 @if gold
19124 maybe-install-pdf-gold: install-pdf-gold
19126 install-pdf-gold: \
19127 configure-gold \
19128 pdf-gold
19129 @[ -f ./gold/Makefile ] || exit 0; \
19130 r=`${PWD_COMMAND}`; export r; \
19131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19132 $(HOST_EXPORTS) \
19133 for flag in $(EXTRA_HOST_FLAGS) ; do \
19134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19135 done; \
19136 echo "Doing install-pdf in gold" ; \
19137 (cd $(HOST_SUBDIR)/gold && \
19138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19140 "RANLIB=$${RANLIB}" \
19141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19142 install-pdf) \
19143 || exit 1
19145 @endif gold
19147 .PHONY: maybe-install-html-gold install-html-gold
19148 maybe-install-html-gold:
19149 @if gold
19150 maybe-install-html-gold: install-html-gold
19152 install-html-gold: \
19153 configure-gold \
19154 html-gold
19155 @[ -f ./gold/Makefile ] || exit 0; \
19156 r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158 $(HOST_EXPORTS) \
19159 for flag in $(EXTRA_HOST_FLAGS) ; do \
19160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19161 done; \
19162 echo "Doing install-html in gold" ; \
19163 (cd $(HOST_SUBDIR)/gold && \
19164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19166 "RANLIB=$${RANLIB}" \
19167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19168 install-html) \
19169 || exit 1
19171 @endif gold
19173 .PHONY: maybe-installcheck-gold installcheck-gold
19174 maybe-installcheck-gold:
19175 @if gold
19176 maybe-installcheck-gold: installcheck-gold
19178 installcheck-gold: \
19179 configure-gold
19180 @[ -f ./gold/Makefile ] || exit 0; \
19181 r=`${PWD_COMMAND}`; export r; \
19182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19183 $(HOST_EXPORTS) \
19184 for flag in $(EXTRA_HOST_FLAGS) ; do \
19185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19186 done; \
19187 echo "Doing installcheck in gold" ; \
19188 (cd $(HOST_SUBDIR)/gold && \
19189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19191 "RANLIB=$${RANLIB}" \
19192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19193 installcheck) \
19194 || exit 1
19196 @endif gold
19198 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
19199 maybe-mostlyclean-gold:
19200 @if gold
19201 maybe-mostlyclean-gold: mostlyclean-gold
19203 mostlyclean-gold:
19204 @[ -f ./gold/Makefile ] || exit 0; \
19205 r=`${PWD_COMMAND}`; export r; \
19206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19207 $(HOST_EXPORTS) \
19208 for flag in $(EXTRA_HOST_FLAGS) ; do \
19209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19210 done; \
19211 echo "Doing mostlyclean in gold" ; \
19212 (cd $(HOST_SUBDIR)/gold && \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19215 "RANLIB=$${RANLIB}" \
19216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19217 mostlyclean) \
19218 || exit 1
19220 @endif gold
19222 .PHONY: maybe-clean-gold clean-gold
19223 maybe-clean-gold:
19224 @if gold
19225 maybe-clean-gold: clean-gold
19227 clean-gold:
19228 @[ -f ./gold/Makefile ] || exit 0; \
19229 r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 $(HOST_EXPORTS) \
19232 for flag in $(EXTRA_HOST_FLAGS) ; do \
19233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19234 done; \
19235 echo "Doing clean in gold" ; \
19236 (cd $(HOST_SUBDIR)/gold && \
19237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19239 "RANLIB=$${RANLIB}" \
19240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19241 clean) \
19242 || exit 1
19244 @endif gold
19246 .PHONY: maybe-distclean-gold distclean-gold
19247 maybe-distclean-gold:
19248 @if gold
19249 maybe-distclean-gold: distclean-gold
19251 distclean-gold:
19252 @[ -f ./gold/Makefile ] || exit 0; \
19253 r=`${PWD_COMMAND}`; export r; \
19254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing distclean in gold" ; \
19260 (cd $(HOST_SUBDIR)/gold && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19265 distclean) \
19266 || exit 1
19268 @endif gold
19270 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
19271 maybe-maintainer-clean-gold:
19272 @if gold
19273 maybe-maintainer-clean-gold: maintainer-clean-gold
19275 maintainer-clean-gold:
19276 @[ -f ./gold/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(HOST_EXPORTS) \
19280 for flag in $(EXTRA_HOST_FLAGS) ; do \
19281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 done; \
19283 echo "Doing maintainer-clean in gold" ; \
19284 (cd $(HOST_SUBDIR)/gold && \
19285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19287 "RANLIB=$${RANLIB}" \
19288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19289 maintainer-clean) \
19290 || exit 1
19292 @endif gold
19296 .PHONY: configure-gprof maybe-configure-gprof
19297 maybe-configure-gprof:
19298 @if gcc-bootstrap
19299 configure-gprof: stage_current
19300 @endif gcc-bootstrap
19301 @if gprof
19302 maybe-configure-gprof: configure-gprof
19303 configure-gprof:
19304 @: $(MAKE); $(unstage)
19305 @r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
19308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
19309 $(HOST_EXPORTS) \
19310 echo Configuring in $(HOST_SUBDIR)/gprof; \
19311 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
19312 case $(srcdir) in \
19313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19314 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
19315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19316 esac; \
19317 srcdiroption="--srcdir=$${topdir}/gprof"; \
19318 libsrcdir="$$s/gprof"; \
19319 $(SHELL) $${libsrcdir}/configure \
19320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19321 --target=${target_alias} $${srcdiroption} \
19322 || exit 1
19323 @endif gprof
19329 .PHONY: all-gprof maybe-all-gprof
19330 maybe-all-gprof:
19331 @if gcc-bootstrap
19332 all-gprof: stage_current
19333 @endif gcc-bootstrap
19334 @if gprof
19335 TARGET-gprof=all
19336 maybe-all-gprof: all-gprof
19337 all-gprof: configure-gprof
19338 @: $(MAKE); $(unstage)
19339 @r=`${PWD_COMMAND}`; export r; \
19340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19341 $(HOST_EXPORTS) \
19342 (cd $(HOST_SUBDIR)/gprof && \
19343 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19344 $(TARGET-gprof))
19345 @endif gprof
19350 .PHONY: check-gprof maybe-check-gprof
19351 maybe-check-gprof:
19352 @if gprof
19353 maybe-check-gprof: check-gprof
19355 check-gprof:
19356 @: $(MAKE); $(unstage)
19357 @r=`${PWD_COMMAND}`; export r; \
19358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19359 $(HOST_EXPORTS) \
19360 (cd $(HOST_SUBDIR)/gprof && \
19361 $(MAKE) $(FLAGS_TO_PASS) check)
19363 @endif gprof
19365 .PHONY: install-gprof maybe-install-gprof
19366 maybe-install-gprof:
19367 @if gprof
19368 maybe-install-gprof: install-gprof
19370 install-gprof: installdirs
19371 @: $(MAKE); $(unstage)
19372 @r=`${PWD_COMMAND}`; export r; \
19373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19374 $(HOST_EXPORTS) \
19375 (cd $(HOST_SUBDIR)/gprof && \
19376 $(MAKE) $(FLAGS_TO_PASS) install)
19378 @endif gprof
19380 # Other targets (info, dvi, pdf, etc.)
19382 .PHONY: maybe-info-gprof info-gprof
19383 maybe-info-gprof:
19384 @if gprof
19385 maybe-info-gprof: info-gprof
19387 info-gprof: \
19388 configure-gprof
19389 @: $(MAKE); $(unstage)
19390 @[ -f ./gprof/Makefile ] || exit 0; \
19391 r=`${PWD_COMMAND}`; export r; \
19392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19393 $(HOST_EXPORTS) \
19394 for flag in $(EXTRA_HOST_FLAGS) ; do \
19395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19396 done; \
19397 echo "Doing info in gprof" ; \
19398 (cd $(HOST_SUBDIR)/gprof && \
19399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19401 "RANLIB=$${RANLIB}" \
19402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19403 info) \
19404 || exit 1
19406 @endif gprof
19408 .PHONY: maybe-dvi-gprof dvi-gprof
19409 maybe-dvi-gprof:
19410 @if gprof
19411 maybe-dvi-gprof: dvi-gprof
19413 dvi-gprof: \
19414 configure-gprof
19415 @: $(MAKE); $(unstage)
19416 @[ -f ./gprof/Makefile ] || exit 0; \
19417 r=`${PWD_COMMAND}`; export r; \
19418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19419 $(HOST_EXPORTS) \
19420 for flag in $(EXTRA_HOST_FLAGS) ; do \
19421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19422 done; \
19423 echo "Doing dvi in gprof" ; \
19424 (cd $(HOST_SUBDIR)/gprof && \
19425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19427 "RANLIB=$${RANLIB}" \
19428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19429 dvi) \
19430 || exit 1
19432 @endif gprof
19434 .PHONY: maybe-pdf-gprof pdf-gprof
19435 maybe-pdf-gprof:
19436 @if gprof
19437 maybe-pdf-gprof: pdf-gprof
19439 pdf-gprof: \
19440 configure-gprof
19441 @: $(MAKE); $(unstage)
19442 @[ -f ./gprof/Makefile ] || exit 0; \
19443 r=`${PWD_COMMAND}`; export r; \
19444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19445 $(HOST_EXPORTS) \
19446 for flag in $(EXTRA_HOST_FLAGS) ; do \
19447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19448 done; \
19449 echo "Doing pdf in gprof" ; \
19450 (cd $(HOST_SUBDIR)/gprof && \
19451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19453 "RANLIB=$${RANLIB}" \
19454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19455 pdf) \
19456 || exit 1
19458 @endif gprof
19460 .PHONY: maybe-html-gprof html-gprof
19461 maybe-html-gprof:
19462 @if gprof
19463 maybe-html-gprof: html-gprof
19465 html-gprof: \
19466 configure-gprof
19467 @: $(MAKE); $(unstage)
19468 @[ -f ./gprof/Makefile ] || exit 0; \
19469 r=`${PWD_COMMAND}`; export r; \
19470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19471 $(HOST_EXPORTS) \
19472 for flag in $(EXTRA_HOST_FLAGS) ; do \
19473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19474 done; \
19475 echo "Doing html in gprof" ; \
19476 (cd $(HOST_SUBDIR)/gprof && \
19477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19479 "RANLIB=$${RANLIB}" \
19480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19481 html) \
19482 || exit 1
19484 @endif gprof
19486 .PHONY: maybe-TAGS-gprof TAGS-gprof
19487 maybe-TAGS-gprof:
19488 @if gprof
19489 maybe-TAGS-gprof: TAGS-gprof
19491 TAGS-gprof: \
19492 configure-gprof
19493 @: $(MAKE); $(unstage)
19494 @[ -f ./gprof/Makefile ] || exit 0; \
19495 r=`${PWD_COMMAND}`; export r; \
19496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19497 $(HOST_EXPORTS) \
19498 for flag in $(EXTRA_HOST_FLAGS) ; do \
19499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19500 done; \
19501 echo "Doing TAGS in gprof" ; \
19502 (cd $(HOST_SUBDIR)/gprof && \
19503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19505 "RANLIB=$${RANLIB}" \
19506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19507 TAGS) \
19508 || exit 1
19510 @endif gprof
19512 .PHONY: maybe-install-info-gprof install-info-gprof
19513 maybe-install-info-gprof:
19514 @if gprof
19515 maybe-install-info-gprof: install-info-gprof
19517 install-info-gprof: \
19518 configure-gprof \
19519 info-gprof
19520 @: $(MAKE); $(unstage)
19521 @[ -f ./gprof/Makefile ] || exit 0; \
19522 r=`${PWD_COMMAND}`; export r; \
19523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19524 $(HOST_EXPORTS) \
19525 for flag in $(EXTRA_HOST_FLAGS) ; do \
19526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19527 done; \
19528 echo "Doing install-info in gprof" ; \
19529 (cd $(HOST_SUBDIR)/gprof && \
19530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19532 "RANLIB=$${RANLIB}" \
19533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19534 install-info) \
19535 || exit 1
19537 @endif gprof
19539 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
19540 maybe-install-pdf-gprof:
19541 @if gprof
19542 maybe-install-pdf-gprof: install-pdf-gprof
19544 install-pdf-gprof: \
19545 configure-gprof \
19546 pdf-gprof
19547 @: $(MAKE); $(unstage)
19548 @[ -f ./gprof/Makefile ] || exit 0; \
19549 r=`${PWD_COMMAND}`; export r; \
19550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19551 $(HOST_EXPORTS) \
19552 for flag in $(EXTRA_HOST_FLAGS) ; do \
19553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19554 done; \
19555 echo "Doing install-pdf in gprof" ; \
19556 (cd $(HOST_SUBDIR)/gprof && \
19557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19559 "RANLIB=$${RANLIB}" \
19560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19561 install-pdf) \
19562 || exit 1
19564 @endif gprof
19566 .PHONY: maybe-install-html-gprof install-html-gprof
19567 maybe-install-html-gprof:
19568 @if gprof
19569 maybe-install-html-gprof: install-html-gprof
19571 install-html-gprof: \
19572 configure-gprof \
19573 html-gprof
19574 @: $(MAKE); $(unstage)
19575 @[ -f ./gprof/Makefile ] || exit 0; \
19576 r=`${PWD_COMMAND}`; export r; \
19577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19578 $(HOST_EXPORTS) \
19579 for flag in $(EXTRA_HOST_FLAGS) ; do \
19580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19581 done; \
19582 echo "Doing install-html in gprof" ; \
19583 (cd $(HOST_SUBDIR)/gprof && \
19584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19586 "RANLIB=$${RANLIB}" \
19587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19588 install-html) \
19589 || exit 1
19591 @endif gprof
19593 .PHONY: maybe-installcheck-gprof installcheck-gprof
19594 maybe-installcheck-gprof:
19595 @if gprof
19596 maybe-installcheck-gprof: installcheck-gprof
19598 installcheck-gprof: \
19599 configure-gprof
19600 @: $(MAKE); $(unstage)
19601 @[ -f ./gprof/Makefile ] || exit 0; \
19602 r=`${PWD_COMMAND}`; export r; \
19603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19604 $(HOST_EXPORTS) \
19605 for flag in $(EXTRA_HOST_FLAGS) ; do \
19606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19607 done; \
19608 echo "Doing installcheck in gprof" ; \
19609 (cd $(HOST_SUBDIR)/gprof && \
19610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19612 "RANLIB=$${RANLIB}" \
19613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19614 installcheck) \
19615 || exit 1
19617 @endif gprof
19619 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
19620 maybe-mostlyclean-gprof:
19621 @if gprof
19622 maybe-mostlyclean-gprof: mostlyclean-gprof
19624 mostlyclean-gprof:
19625 @: $(MAKE); $(unstage)
19626 @[ -f ./gprof/Makefile ] || exit 0; \
19627 r=`${PWD_COMMAND}`; export r; \
19628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19629 $(HOST_EXPORTS) \
19630 for flag in $(EXTRA_HOST_FLAGS) ; do \
19631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19632 done; \
19633 echo "Doing mostlyclean in gprof" ; \
19634 (cd $(HOST_SUBDIR)/gprof && \
19635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19637 "RANLIB=$${RANLIB}" \
19638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19639 mostlyclean) \
19640 || exit 1
19642 @endif gprof
19644 .PHONY: maybe-clean-gprof clean-gprof
19645 maybe-clean-gprof:
19646 @if gprof
19647 maybe-clean-gprof: clean-gprof
19649 clean-gprof:
19650 @: $(MAKE); $(unstage)
19651 @[ -f ./gprof/Makefile ] || exit 0; \
19652 r=`${PWD_COMMAND}`; export r; \
19653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19654 $(HOST_EXPORTS) \
19655 for flag in $(EXTRA_HOST_FLAGS) ; do \
19656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19657 done; \
19658 echo "Doing clean in gprof" ; \
19659 (cd $(HOST_SUBDIR)/gprof && \
19660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19662 "RANLIB=$${RANLIB}" \
19663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19664 clean) \
19665 || exit 1
19667 @endif gprof
19669 .PHONY: maybe-distclean-gprof distclean-gprof
19670 maybe-distclean-gprof:
19671 @if gprof
19672 maybe-distclean-gprof: distclean-gprof
19674 distclean-gprof:
19675 @: $(MAKE); $(unstage)
19676 @[ -f ./gprof/Makefile ] || exit 0; \
19677 r=`${PWD_COMMAND}`; export r; \
19678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19679 $(HOST_EXPORTS) \
19680 for flag in $(EXTRA_HOST_FLAGS) ; do \
19681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19682 done; \
19683 echo "Doing distclean in gprof" ; \
19684 (cd $(HOST_SUBDIR)/gprof && \
19685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19687 "RANLIB=$${RANLIB}" \
19688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19689 distclean) \
19690 || exit 1
19692 @endif gprof
19694 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
19695 maybe-maintainer-clean-gprof:
19696 @if gprof
19697 maybe-maintainer-clean-gprof: maintainer-clean-gprof
19699 maintainer-clean-gprof:
19700 @: $(MAKE); $(unstage)
19701 @[ -f ./gprof/Makefile ] || exit 0; \
19702 r=`${PWD_COMMAND}`; export r; \
19703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19704 $(HOST_EXPORTS) \
19705 for flag in $(EXTRA_HOST_FLAGS) ; do \
19706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19707 done; \
19708 echo "Doing maintainer-clean in gprof" ; \
19709 (cd $(HOST_SUBDIR)/gprof && \
19710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19712 "RANLIB=$${RANLIB}" \
19713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19714 maintainer-clean) \
19715 || exit 1
19717 @endif gprof
19721 .PHONY: configure-gzip maybe-configure-gzip
19722 maybe-configure-gzip:
19723 @if gcc-bootstrap
19724 configure-gzip: stage_current
19725 @endif gcc-bootstrap
19726 @if gzip
19727 maybe-configure-gzip: configure-gzip
19728 configure-gzip:
19729 @: $(MAKE); $(unstage)
19730 @r=`${PWD_COMMAND}`; export r; \
19731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19732 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
19733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
19734 $(HOST_EXPORTS) \
19735 echo Configuring in $(HOST_SUBDIR)/gzip; \
19736 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
19737 case $(srcdir) in \
19738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19739 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
19740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19741 esac; \
19742 srcdiroption="--srcdir=$${topdir}/gzip"; \
19743 libsrcdir="$$s/gzip"; \
19744 $(SHELL) $${libsrcdir}/configure \
19745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19746 --target=${target_alias} $${srcdiroption} \
19747 || exit 1
19748 @endif gzip
19754 .PHONY: all-gzip maybe-all-gzip
19755 maybe-all-gzip:
19756 @if gcc-bootstrap
19757 all-gzip: stage_current
19758 @endif gcc-bootstrap
19759 @if gzip
19760 TARGET-gzip=all
19761 maybe-all-gzip: all-gzip
19762 all-gzip: configure-gzip
19763 @: $(MAKE); $(unstage)
19764 @r=`${PWD_COMMAND}`; export r; \
19765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19766 $(HOST_EXPORTS) \
19767 (cd $(HOST_SUBDIR)/gzip && \
19768 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
19769 $(TARGET-gzip))
19770 @endif gzip
19775 .PHONY: check-gzip maybe-check-gzip
19776 maybe-check-gzip:
19777 @if gzip
19778 maybe-check-gzip: check-gzip
19780 check-gzip:
19781 @: $(MAKE); $(unstage)
19782 @r=`${PWD_COMMAND}`; export r; \
19783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19784 $(HOST_EXPORTS) \
19785 (cd $(HOST_SUBDIR)/gzip && \
19786 $(MAKE) $(FLAGS_TO_PASS) check)
19788 @endif gzip
19790 .PHONY: install-gzip maybe-install-gzip
19791 maybe-install-gzip:
19792 @if gzip
19793 maybe-install-gzip: install-gzip
19795 install-gzip: installdirs
19796 @: $(MAKE); $(unstage)
19797 @r=`${PWD_COMMAND}`; export r; \
19798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19799 $(HOST_EXPORTS) \
19800 (cd $(HOST_SUBDIR)/gzip && \
19801 $(MAKE) $(FLAGS_TO_PASS) install)
19803 @endif gzip
19805 # Other targets (info, dvi, pdf, etc.)
19807 .PHONY: maybe-info-gzip info-gzip
19808 maybe-info-gzip:
19809 @if gzip
19810 maybe-info-gzip: info-gzip
19812 info-gzip: \
19813 configure-gzip
19814 @: $(MAKE); $(unstage)
19815 @[ -f ./gzip/Makefile ] || exit 0; \
19816 r=`${PWD_COMMAND}`; export r; \
19817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19818 $(HOST_EXPORTS) \
19819 for flag in $(EXTRA_HOST_FLAGS) ; do \
19820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19821 done; \
19822 echo "Doing info in gzip" ; \
19823 (cd $(HOST_SUBDIR)/gzip && \
19824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19826 "RANLIB=$${RANLIB}" \
19827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19828 info) \
19829 || exit 1
19831 @endif gzip
19833 .PHONY: maybe-dvi-gzip dvi-gzip
19834 maybe-dvi-gzip:
19835 @if gzip
19836 maybe-dvi-gzip: dvi-gzip
19838 dvi-gzip: \
19839 configure-gzip
19840 @: $(MAKE); $(unstage)
19841 @[ -f ./gzip/Makefile ] || exit 0; \
19842 r=`${PWD_COMMAND}`; export r; \
19843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19844 $(HOST_EXPORTS) \
19845 for flag in $(EXTRA_HOST_FLAGS) ; do \
19846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19847 done; \
19848 echo "Doing dvi in gzip" ; \
19849 (cd $(HOST_SUBDIR)/gzip && \
19850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19852 "RANLIB=$${RANLIB}" \
19853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19854 dvi) \
19855 || exit 1
19857 @endif gzip
19859 .PHONY: maybe-pdf-gzip pdf-gzip
19860 maybe-pdf-gzip:
19861 @if gzip
19862 maybe-pdf-gzip: pdf-gzip
19864 pdf-gzip: \
19865 configure-gzip
19866 @: $(MAKE); $(unstage)
19867 @[ -f ./gzip/Makefile ] || exit 0; \
19868 r=`${PWD_COMMAND}`; export r; \
19869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19870 $(HOST_EXPORTS) \
19871 for flag in $(EXTRA_HOST_FLAGS) ; do \
19872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19873 done; \
19874 echo "Doing pdf in gzip" ; \
19875 (cd $(HOST_SUBDIR)/gzip && \
19876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19878 "RANLIB=$${RANLIB}" \
19879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19880 pdf) \
19881 || exit 1
19883 @endif gzip
19885 .PHONY: maybe-html-gzip html-gzip
19886 maybe-html-gzip:
19887 @if gzip
19888 maybe-html-gzip: html-gzip
19890 html-gzip: \
19891 configure-gzip
19892 @: $(MAKE); $(unstage)
19893 @[ -f ./gzip/Makefile ] || exit 0; \
19894 r=`${PWD_COMMAND}`; export r; \
19895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19896 $(HOST_EXPORTS) \
19897 for flag in $(EXTRA_HOST_FLAGS) ; do \
19898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19899 done; \
19900 echo "Doing html in gzip" ; \
19901 (cd $(HOST_SUBDIR)/gzip && \
19902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19904 "RANLIB=$${RANLIB}" \
19905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19906 html) \
19907 || exit 1
19909 @endif gzip
19911 .PHONY: maybe-TAGS-gzip TAGS-gzip
19912 maybe-TAGS-gzip:
19913 @if gzip
19914 maybe-TAGS-gzip: TAGS-gzip
19916 TAGS-gzip: \
19917 configure-gzip
19918 @: $(MAKE); $(unstage)
19919 @[ -f ./gzip/Makefile ] || exit 0; \
19920 r=`${PWD_COMMAND}`; export r; \
19921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19922 $(HOST_EXPORTS) \
19923 for flag in $(EXTRA_HOST_FLAGS) ; do \
19924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19925 done; \
19926 echo "Doing TAGS in gzip" ; \
19927 (cd $(HOST_SUBDIR)/gzip && \
19928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19930 "RANLIB=$${RANLIB}" \
19931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19932 TAGS) \
19933 || exit 1
19935 @endif gzip
19937 .PHONY: maybe-install-info-gzip install-info-gzip
19938 maybe-install-info-gzip:
19939 @if gzip
19940 maybe-install-info-gzip: install-info-gzip
19942 install-info-gzip: \
19943 configure-gzip \
19944 info-gzip
19945 @: $(MAKE); $(unstage)
19946 @[ -f ./gzip/Makefile ] || exit 0; \
19947 r=`${PWD_COMMAND}`; export r; \
19948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19949 $(HOST_EXPORTS) \
19950 for flag in $(EXTRA_HOST_FLAGS) ; do \
19951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19952 done; \
19953 echo "Doing install-info in gzip" ; \
19954 (cd $(HOST_SUBDIR)/gzip && \
19955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19957 "RANLIB=$${RANLIB}" \
19958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19959 install-info) \
19960 || exit 1
19962 @endif gzip
19964 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
19965 maybe-install-pdf-gzip:
19966 @if gzip
19967 maybe-install-pdf-gzip: install-pdf-gzip
19969 install-pdf-gzip: \
19970 configure-gzip \
19971 pdf-gzip
19972 @: $(MAKE); $(unstage)
19973 @[ -f ./gzip/Makefile ] || exit 0; \
19974 r=`${PWD_COMMAND}`; export r; \
19975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19976 $(HOST_EXPORTS) \
19977 for flag in $(EXTRA_HOST_FLAGS) ; do \
19978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19979 done; \
19980 echo "Doing install-pdf in gzip" ; \
19981 (cd $(HOST_SUBDIR)/gzip && \
19982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19984 "RANLIB=$${RANLIB}" \
19985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19986 install-pdf) \
19987 || exit 1
19989 @endif gzip
19991 .PHONY: maybe-install-html-gzip install-html-gzip
19992 maybe-install-html-gzip:
19993 @if gzip
19994 maybe-install-html-gzip: install-html-gzip
19996 install-html-gzip: \
19997 configure-gzip \
19998 html-gzip
19999 @: $(MAKE); $(unstage)
20000 @[ -f ./gzip/Makefile ] || exit 0; \
20001 r=`${PWD_COMMAND}`; export r; \
20002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20003 $(HOST_EXPORTS) \
20004 for flag in $(EXTRA_HOST_FLAGS) ; do \
20005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20006 done; \
20007 echo "Doing install-html in gzip" ; \
20008 (cd $(HOST_SUBDIR)/gzip && \
20009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20011 "RANLIB=$${RANLIB}" \
20012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20013 install-html) \
20014 || exit 1
20016 @endif gzip
20018 .PHONY: maybe-installcheck-gzip installcheck-gzip
20019 maybe-installcheck-gzip:
20020 @if gzip
20021 maybe-installcheck-gzip: installcheck-gzip
20023 installcheck-gzip: \
20024 configure-gzip
20025 @: $(MAKE); $(unstage)
20026 @[ -f ./gzip/Makefile ] || exit 0; \
20027 r=`${PWD_COMMAND}`; export r; \
20028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20029 $(HOST_EXPORTS) \
20030 for flag in $(EXTRA_HOST_FLAGS) ; do \
20031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20032 done; \
20033 echo "Doing installcheck in gzip" ; \
20034 (cd $(HOST_SUBDIR)/gzip && \
20035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20037 "RANLIB=$${RANLIB}" \
20038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20039 installcheck) \
20040 || exit 1
20042 @endif gzip
20044 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
20045 maybe-mostlyclean-gzip:
20046 @if gzip
20047 maybe-mostlyclean-gzip: mostlyclean-gzip
20049 mostlyclean-gzip:
20050 @: $(MAKE); $(unstage)
20051 @[ -f ./gzip/Makefile ] || exit 0; \
20052 r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 $(HOST_EXPORTS) \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20057 done; \
20058 echo "Doing mostlyclean in gzip" ; \
20059 (cd $(HOST_SUBDIR)/gzip && \
20060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20062 "RANLIB=$${RANLIB}" \
20063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20064 mostlyclean) \
20065 || exit 1
20067 @endif gzip
20069 .PHONY: maybe-clean-gzip clean-gzip
20070 maybe-clean-gzip:
20071 @if gzip
20072 maybe-clean-gzip: clean-gzip
20074 clean-gzip:
20075 @: $(MAKE); $(unstage)
20076 @[ -f ./gzip/Makefile ] || exit 0; \
20077 r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20079 $(HOST_EXPORTS) \
20080 for flag in $(EXTRA_HOST_FLAGS) ; do \
20081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20082 done; \
20083 echo "Doing clean in gzip" ; \
20084 (cd $(HOST_SUBDIR)/gzip && \
20085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20087 "RANLIB=$${RANLIB}" \
20088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20089 clean) \
20090 || exit 1
20092 @endif gzip
20094 .PHONY: maybe-distclean-gzip distclean-gzip
20095 maybe-distclean-gzip:
20096 @if gzip
20097 maybe-distclean-gzip: distclean-gzip
20099 distclean-gzip:
20100 @: $(MAKE); $(unstage)
20101 @[ -f ./gzip/Makefile ] || exit 0; \
20102 r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(HOST_EXPORTS) \
20105 for flag in $(EXTRA_HOST_FLAGS) ; do \
20106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20107 done; \
20108 echo "Doing distclean in gzip" ; \
20109 (cd $(HOST_SUBDIR)/gzip && \
20110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20112 "RANLIB=$${RANLIB}" \
20113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20114 distclean) \
20115 || exit 1
20117 @endif gzip
20119 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
20120 maybe-maintainer-clean-gzip:
20121 @if gzip
20122 maybe-maintainer-clean-gzip: maintainer-clean-gzip
20124 maintainer-clean-gzip:
20125 @: $(MAKE); $(unstage)
20126 @[ -f ./gzip/Makefile ] || exit 0; \
20127 r=`${PWD_COMMAND}`; export r; \
20128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20129 $(HOST_EXPORTS) \
20130 for flag in $(EXTRA_HOST_FLAGS) ; do \
20131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20132 done; \
20133 echo "Doing maintainer-clean in gzip" ; \
20134 (cd $(HOST_SUBDIR)/gzip && \
20135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20137 "RANLIB=$${RANLIB}" \
20138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20139 maintainer-clean) \
20140 || exit 1
20142 @endif gzip
20146 .PHONY: configure-hello maybe-configure-hello
20147 maybe-configure-hello:
20148 @if gcc-bootstrap
20149 configure-hello: stage_current
20150 @endif gcc-bootstrap
20151 @if hello
20152 maybe-configure-hello: configure-hello
20153 configure-hello:
20154 @: $(MAKE); $(unstage)
20155 @r=`${PWD_COMMAND}`; export r; \
20156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20157 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
20158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
20159 $(HOST_EXPORTS) \
20160 echo Configuring in $(HOST_SUBDIR)/hello; \
20161 cd "$(HOST_SUBDIR)/hello" || exit 1; \
20162 case $(srcdir) in \
20163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20164 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
20165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20166 esac; \
20167 srcdiroption="--srcdir=$${topdir}/hello"; \
20168 libsrcdir="$$s/hello"; \
20169 $(SHELL) $${libsrcdir}/configure \
20170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20171 --target=${target_alias} $${srcdiroption} \
20172 || exit 1
20173 @endif hello
20179 .PHONY: all-hello maybe-all-hello
20180 maybe-all-hello:
20181 @if gcc-bootstrap
20182 all-hello: stage_current
20183 @endif gcc-bootstrap
20184 @if hello
20185 TARGET-hello=all
20186 maybe-all-hello: all-hello
20187 all-hello: configure-hello
20188 @: $(MAKE); $(unstage)
20189 @r=`${PWD_COMMAND}`; export r; \
20190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20191 $(HOST_EXPORTS) \
20192 (cd $(HOST_SUBDIR)/hello && \
20193 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20194 $(TARGET-hello))
20195 @endif hello
20200 .PHONY: check-hello maybe-check-hello
20201 maybe-check-hello:
20202 @if hello
20203 maybe-check-hello: check-hello
20205 check-hello:
20206 @: $(MAKE); $(unstage)
20207 @r=`${PWD_COMMAND}`; export r; \
20208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20209 $(HOST_EXPORTS) \
20210 (cd $(HOST_SUBDIR)/hello && \
20211 $(MAKE) $(FLAGS_TO_PASS) check)
20213 @endif hello
20215 .PHONY: install-hello maybe-install-hello
20216 maybe-install-hello:
20217 @if hello
20218 maybe-install-hello: install-hello
20220 install-hello: installdirs
20221 @: $(MAKE); $(unstage)
20222 @r=`${PWD_COMMAND}`; export r; \
20223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20224 $(HOST_EXPORTS) \
20225 (cd $(HOST_SUBDIR)/hello && \
20226 $(MAKE) $(FLAGS_TO_PASS) install)
20228 @endif hello
20230 # Other targets (info, dvi, pdf, etc.)
20232 .PHONY: maybe-info-hello info-hello
20233 maybe-info-hello:
20234 @if hello
20235 maybe-info-hello: info-hello
20237 info-hello: \
20238 configure-hello
20239 @: $(MAKE); $(unstage)
20240 @[ -f ./hello/Makefile ] || exit 0; \
20241 r=`${PWD_COMMAND}`; export r; \
20242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20243 $(HOST_EXPORTS) \
20244 for flag in $(EXTRA_HOST_FLAGS) ; do \
20245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20246 done; \
20247 echo "Doing info in hello" ; \
20248 (cd $(HOST_SUBDIR)/hello && \
20249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20251 "RANLIB=$${RANLIB}" \
20252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20253 info) \
20254 || exit 1
20256 @endif hello
20258 .PHONY: maybe-dvi-hello dvi-hello
20259 maybe-dvi-hello:
20260 @if hello
20261 maybe-dvi-hello: dvi-hello
20263 dvi-hello: \
20264 configure-hello
20265 @: $(MAKE); $(unstage)
20266 @[ -f ./hello/Makefile ] || exit 0; \
20267 r=`${PWD_COMMAND}`; export r; \
20268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20269 $(HOST_EXPORTS) \
20270 for flag in $(EXTRA_HOST_FLAGS) ; do \
20271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20272 done; \
20273 echo "Doing dvi in hello" ; \
20274 (cd $(HOST_SUBDIR)/hello && \
20275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20277 "RANLIB=$${RANLIB}" \
20278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20279 dvi) \
20280 || exit 1
20282 @endif hello
20284 .PHONY: maybe-pdf-hello pdf-hello
20285 maybe-pdf-hello:
20286 @if hello
20287 maybe-pdf-hello: pdf-hello
20289 pdf-hello: \
20290 configure-hello
20291 @: $(MAKE); $(unstage)
20292 @[ -f ./hello/Makefile ] || exit 0; \
20293 r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 $(HOST_EXPORTS) \
20296 for flag in $(EXTRA_HOST_FLAGS) ; do \
20297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20298 done; \
20299 echo "Doing pdf in hello" ; \
20300 (cd $(HOST_SUBDIR)/hello && \
20301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20303 "RANLIB=$${RANLIB}" \
20304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20305 pdf) \
20306 || exit 1
20308 @endif hello
20310 .PHONY: maybe-html-hello html-hello
20311 maybe-html-hello:
20312 @if hello
20313 maybe-html-hello: html-hello
20315 html-hello: \
20316 configure-hello
20317 @: $(MAKE); $(unstage)
20318 @[ -f ./hello/Makefile ] || exit 0; \
20319 r=`${PWD_COMMAND}`; export r; \
20320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20321 $(HOST_EXPORTS) \
20322 for flag in $(EXTRA_HOST_FLAGS) ; do \
20323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20324 done; \
20325 echo "Doing html in hello" ; \
20326 (cd $(HOST_SUBDIR)/hello && \
20327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20329 "RANLIB=$${RANLIB}" \
20330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20331 html) \
20332 || exit 1
20334 @endif hello
20336 .PHONY: maybe-TAGS-hello TAGS-hello
20337 maybe-TAGS-hello:
20338 @if hello
20339 maybe-TAGS-hello: TAGS-hello
20341 TAGS-hello: \
20342 configure-hello
20343 @: $(MAKE); $(unstage)
20344 @[ -f ./hello/Makefile ] || exit 0; \
20345 r=`${PWD_COMMAND}`; export r; \
20346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20347 $(HOST_EXPORTS) \
20348 for flag in $(EXTRA_HOST_FLAGS) ; do \
20349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20350 done; \
20351 echo "Doing TAGS in hello" ; \
20352 (cd $(HOST_SUBDIR)/hello && \
20353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20355 "RANLIB=$${RANLIB}" \
20356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20357 TAGS) \
20358 || exit 1
20360 @endif hello
20362 .PHONY: maybe-install-info-hello install-info-hello
20363 maybe-install-info-hello:
20364 @if hello
20365 maybe-install-info-hello: install-info-hello
20367 install-info-hello: \
20368 configure-hello \
20369 info-hello
20370 @: $(MAKE); $(unstage)
20371 @[ -f ./hello/Makefile ] || exit 0; \
20372 r=`${PWD_COMMAND}`; export r; \
20373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20374 $(HOST_EXPORTS) \
20375 for flag in $(EXTRA_HOST_FLAGS) ; do \
20376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20377 done; \
20378 echo "Doing install-info in hello" ; \
20379 (cd $(HOST_SUBDIR)/hello && \
20380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20382 "RANLIB=$${RANLIB}" \
20383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20384 install-info) \
20385 || exit 1
20387 @endif hello
20389 .PHONY: maybe-install-pdf-hello install-pdf-hello
20390 maybe-install-pdf-hello:
20391 @if hello
20392 maybe-install-pdf-hello: install-pdf-hello
20394 install-pdf-hello: \
20395 configure-hello \
20396 pdf-hello
20397 @: $(MAKE); $(unstage)
20398 @[ -f ./hello/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) ; do \
20403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20404 done; \
20405 echo "Doing install-pdf in hello" ; \
20406 (cd $(HOST_SUBDIR)/hello && \
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 install-pdf) \
20412 || exit 1
20414 @endif hello
20416 .PHONY: maybe-install-html-hello install-html-hello
20417 maybe-install-html-hello:
20418 @if hello
20419 maybe-install-html-hello: install-html-hello
20421 install-html-hello: \
20422 configure-hello \
20423 html-hello
20424 @: $(MAKE); $(unstage)
20425 @[ -f ./hello/Makefile ] || exit 0; \
20426 r=`${PWD_COMMAND}`; export r; \
20427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428 $(HOST_EXPORTS) \
20429 for flag in $(EXTRA_HOST_FLAGS) ; do \
20430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20431 done; \
20432 echo "Doing install-html in hello" ; \
20433 (cd $(HOST_SUBDIR)/hello && \
20434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20436 "RANLIB=$${RANLIB}" \
20437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20438 install-html) \
20439 || exit 1
20441 @endif hello
20443 .PHONY: maybe-installcheck-hello installcheck-hello
20444 maybe-installcheck-hello:
20445 @if hello
20446 maybe-installcheck-hello: installcheck-hello
20448 installcheck-hello: \
20449 configure-hello
20450 @: $(MAKE); $(unstage)
20451 @[ -f ./hello/Makefile ] || exit 0; \
20452 r=`${PWD_COMMAND}`; export r; \
20453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20454 $(HOST_EXPORTS) \
20455 for flag in $(EXTRA_HOST_FLAGS) ; do \
20456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20457 done; \
20458 echo "Doing installcheck in hello" ; \
20459 (cd $(HOST_SUBDIR)/hello && \
20460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20462 "RANLIB=$${RANLIB}" \
20463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20464 installcheck) \
20465 || exit 1
20467 @endif hello
20469 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
20470 maybe-mostlyclean-hello:
20471 @if hello
20472 maybe-mostlyclean-hello: mostlyclean-hello
20474 mostlyclean-hello:
20475 @: $(MAKE); $(unstage)
20476 @[ -f ./hello/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) ; do \
20481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20482 done; \
20483 echo "Doing mostlyclean in hello" ; \
20484 (cd $(HOST_SUBDIR)/hello && \
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 mostlyclean) \
20490 || exit 1
20492 @endif hello
20494 .PHONY: maybe-clean-hello clean-hello
20495 maybe-clean-hello:
20496 @if hello
20497 maybe-clean-hello: clean-hello
20499 clean-hello:
20500 @: $(MAKE); $(unstage)
20501 @[ -f ./hello/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) ; do \
20506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20507 done; \
20508 echo "Doing clean in hello" ; \
20509 (cd $(HOST_SUBDIR)/hello && \
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 clean) \
20515 || exit 1
20517 @endif hello
20519 .PHONY: maybe-distclean-hello distclean-hello
20520 maybe-distclean-hello:
20521 @if hello
20522 maybe-distclean-hello: distclean-hello
20524 distclean-hello:
20525 @: $(MAKE); $(unstage)
20526 @[ -f ./hello/Makefile ] || exit 0; \
20527 r=`${PWD_COMMAND}`; export r; \
20528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20529 $(HOST_EXPORTS) \
20530 for flag in $(EXTRA_HOST_FLAGS) ; do \
20531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20532 done; \
20533 echo "Doing distclean in hello" ; \
20534 (cd $(HOST_SUBDIR)/hello && \
20535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20537 "RANLIB=$${RANLIB}" \
20538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20539 distclean) \
20540 || exit 1
20542 @endif hello
20544 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
20545 maybe-maintainer-clean-hello:
20546 @if hello
20547 maybe-maintainer-clean-hello: maintainer-clean-hello
20549 maintainer-clean-hello:
20550 @: $(MAKE); $(unstage)
20551 @[ -f ./hello/Makefile ] || exit 0; \
20552 r=`${PWD_COMMAND}`; export r; \
20553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20554 $(HOST_EXPORTS) \
20555 for flag in $(EXTRA_HOST_FLAGS) ; do \
20556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20557 done; \
20558 echo "Doing maintainer-clean in hello" ; \
20559 (cd $(HOST_SUBDIR)/hello && \
20560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20562 "RANLIB=$${RANLIB}" \
20563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20564 maintainer-clean) \
20565 || exit 1
20567 @endif hello
20571 .PHONY: configure-indent maybe-configure-indent
20572 maybe-configure-indent:
20573 @if gcc-bootstrap
20574 configure-indent: stage_current
20575 @endif gcc-bootstrap
20576 @if indent
20577 maybe-configure-indent: configure-indent
20578 configure-indent:
20579 @: $(MAKE); $(unstage)
20580 @r=`${PWD_COMMAND}`; export r; \
20581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20582 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
20583 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
20584 $(HOST_EXPORTS) \
20585 echo Configuring in $(HOST_SUBDIR)/indent; \
20586 cd "$(HOST_SUBDIR)/indent" || exit 1; \
20587 case $(srcdir) in \
20588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20589 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
20590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20591 esac; \
20592 srcdiroption="--srcdir=$${topdir}/indent"; \
20593 libsrcdir="$$s/indent"; \
20594 $(SHELL) $${libsrcdir}/configure \
20595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20596 --target=${target_alias} $${srcdiroption} \
20597 || exit 1
20598 @endif indent
20604 .PHONY: all-indent maybe-all-indent
20605 maybe-all-indent:
20606 @if gcc-bootstrap
20607 all-indent: stage_current
20608 @endif gcc-bootstrap
20609 @if indent
20610 TARGET-indent=all
20611 maybe-all-indent: all-indent
20612 all-indent: configure-indent
20613 @: $(MAKE); $(unstage)
20614 @r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 $(HOST_EXPORTS) \
20617 (cd $(HOST_SUBDIR)/indent && \
20618 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
20619 $(TARGET-indent))
20620 @endif indent
20625 .PHONY: check-indent maybe-check-indent
20626 maybe-check-indent:
20627 @if indent
20628 maybe-check-indent: check-indent
20630 check-indent:
20631 @: $(MAKE); $(unstage)
20632 @r=`${PWD_COMMAND}`; export r; \
20633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20634 $(HOST_EXPORTS) \
20635 (cd $(HOST_SUBDIR)/indent && \
20636 $(MAKE) $(FLAGS_TO_PASS) check)
20638 @endif indent
20640 .PHONY: install-indent maybe-install-indent
20641 maybe-install-indent:
20642 @if indent
20643 maybe-install-indent: install-indent
20645 install-indent: installdirs
20646 @: $(MAKE); $(unstage)
20647 @r=`${PWD_COMMAND}`; export r; \
20648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20649 $(HOST_EXPORTS) \
20650 (cd $(HOST_SUBDIR)/indent && \
20651 $(MAKE) $(FLAGS_TO_PASS) install)
20653 @endif indent
20655 # Other targets (info, dvi, pdf, etc.)
20657 .PHONY: maybe-info-indent info-indent
20658 maybe-info-indent:
20659 @if indent
20660 maybe-info-indent: info-indent
20662 info-indent: \
20663 configure-indent
20664 @: $(MAKE); $(unstage)
20665 @[ -f ./indent/Makefile ] || exit 0; \
20666 r=`${PWD_COMMAND}`; export r; \
20667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20668 $(HOST_EXPORTS) \
20669 for flag in $(EXTRA_HOST_FLAGS) ; do \
20670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20671 done; \
20672 echo "Doing info in indent" ; \
20673 (cd $(HOST_SUBDIR)/indent && \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20676 "RANLIB=$${RANLIB}" \
20677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20678 info) \
20679 || exit 1
20681 @endif indent
20683 .PHONY: maybe-dvi-indent dvi-indent
20684 maybe-dvi-indent:
20685 @if indent
20686 maybe-dvi-indent: dvi-indent
20688 dvi-indent: \
20689 configure-indent
20690 @: $(MAKE); $(unstage)
20691 @[ -f ./indent/Makefile ] || exit 0; \
20692 r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 $(HOST_EXPORTS) \
20695 for flag in $(EXTRA_HOST_FLAGS) ; do \
20696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20697 done; \
20698 echo "Doing dvi in indent" ; \
20699 (cd $(HOST_SUBDIR)/indent && \
20700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20702 "RANLIB=$${RANLIB}" \
20703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20704 dvi) \
20705 || exit 1
20707 @endif indent
20709 .PHONY: maybe-pdf-indent pdf-indent
20710 maybe-pdf-indent:
20711 @if indent
20712 maybe-pdf-indent: pdf-indent
20714 pdf-indent: \
20715 configure-indent
20716 @: $(MAKE); $(unstage)
20717 @[ -f ./indent/Makefile ] || exit 0; \
20718 r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20720 $(HOST_EXPORTS) \
20721 for flag in $(EXTRA_HOST_FLAGS) ; do \
20722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20723 done; \
20724 echo "Doing pdf in indent" ; \
20725 (cd $(HOST_SUBDIR)/indent && \
20726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20728 "RANLIB=$${RANLIB}" \
20729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20730 pdf) \
20731 || exit 1
20733 @endif indent
20735 .PHONY: maybe-html-indent html-indent
20736 maybe-html-indent:
20737 @if indent
20738 maybe-html-indent: html-indent
20740 html-indent: \
20741 configure-indent
20742 @: $(MAKE); $(unstage)
20743 @[ -f ./indent/Makefile ] || exit 0; \
20744 r=`${PWD_COMMAND}`; export r; \
20745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 $(HOST_EXPORTS) \
20747 for flag in $(EXTRA_HOST_FLAGS) ; do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 done; \
20750 echo "Doing html in indent" ; \
20751 (cd $(HOST_SUBDIR)/indent && \
20752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20754 "RANLIB=$${RANLIB}" \
20755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20756 html) \
20757 || exit 1
20759 @endif indent
20761 .PHONY: maybe-TAGS-indent TAGS-indent
20762 maybe-TAGS-indent:
20763 @if indent
20764 maybe-TAGS-indent: TAGS-indent
20766 TAGS-indent: \
20767 configure-indent
20768 @: $(MAKE); $(unstage)
20769 @[ -f ./indent/Makefile ] || exit 0; \
20770 r=`${PWD_COMMAND}`; export r; \
20771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20772 $(HOST_EXPORTS) \
20773 for flag in $(EXTRA_HOST_FLAGS) ; do \
20774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20775 done; \
20776 echo "Doing TAGS in indent" ; \
20777 (cd $(HOST_SUBDIR)/indent && \
20778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20780 "RANLIB=$${RANLIB}" \
20781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20782 TAGS) \
20783 || exit 1
20785 @endif indent
20787 .PHONY: maybe-install-info-indent install-info-indent
20788 maybe-install-info-indent:
20789 @if indent
20790 maybe-install-info-indent: install-info-indent
20792 install-info-indent: \
20793 configure-indent \
20794 info-indent
20795 @: $(MAKE); $(unstage)
20796 @[ -f ./indent/Makefile ] || exit 0; \
20797 r=`${PWD_COMMAND}`; export r; \
20798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20799 $(HOST_EXPORTS) \
20800 for flag in $(EXTRA_HOST_FLAGS) ; do \
20801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20802 done; \
20803 echo "Doing install-info in indent" ; \
20804 (cd $(HOST_SUBDIR)/indent && \
20805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20807 "RANLIB=$${RANLIB}" \
20808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20809 install-info) \
20810 || exit 1
20812 @endif indent
20814 .PHONY: maybe-install-pdf-indent install-pdf-indent
20815 maybe-install-pdf-indent:
20816 @if indent
20817 maybe-install-pdf-indent: install-pdf-indent
20819 install-pdf-indent: \
20820 configure-indent \
20821 pdf-indent
20822 @: $(MAKE); $(unstage)
20823 @[ -f ./indent/Makefile ] || exit 0; \
20824 r=`${PWD_COMMAND}`; export r; \
20825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20826 $(HOST_EXPORTS) \
20827 for flag in $(EXTRA_HOST_FLAGS) ; do \
20828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20829 done; \
20830 echo "Doing install-pdf in indent" ; \
20831 (cd $(HOST_SUBDIR)/indent && \
20832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20834 "RANLIB=$${RANLIB}" \
20835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20836 install-pdf) \
20837 || exit 1
20839 @endif indent
20841 .PHONY: maybe-install-html-indent install-html-indent
20842 maybe-install-html-indent:
20843 @if indent
20844 maybe-install-html-indent: install-html-indent
20846 install-html-indent: \
20847 configure-indent \
20848 html-indent
20849 @: $(MAKE); $(unstage)
20850 @[ -f ./indent/Makefile ] || exit 0; \
20851 r=`${PWD_COMMAND}`; export r; \
20852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20853 $(HOST_EXPORTS) \
20854 for flag in $(EXTRA_HOST_FLAGS) ; do \
20855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20856 done; \
20857 echo "Doing install-html in indent" ; \
20858 (cd $(HOST_SUBDIR)/indent && \
20859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20861 "RANLIB=$${RANLIB}" \
20862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20863 install-html) \
20864 || exit 1
20866 @endif indent
20868 .PHONY: maybe-installcheck-indent installcheck-indent
20869 maybe-installcheck-indent:
20870 @if indent
20871 maybe-installcheck-indent: installcheck-indent
20873 installcheck-indent: \
20874 configure-indent
20875 @: $(MAKE); $(unstage)
20876 @[ -f ./indent/Makefile ] || exit 0; \
20877 r=`${PWD_COMMAND}`; export r; \
20878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20879 $(HOST_EXPORTS) \
20880 for flag in $(EXTRA_HOST_FLAGS) ; do \
20881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20882 done; \
20883 echo "Doing installcheck in indent" ; \
20884 (cd $(HOST_SUBDIR)/indent && \
20885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20887 "RANLIB=$${RANLIB}" \
20888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20889 installcheck) \
20890 || exit 1
20892 @endif indent
20894 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
20895 maybe-mostlyclean-indent:
20896 @if indent
20897 maybe-mostlyclean-indent: mostlyclean-indent
20899 mostlyclean-indent:
20900 @: $(MAKE); $(unstage)
20901 @[ -f ./indent/Makefile ] || exit 0; \
20902 r=`${PWD_COMMAND}`; export r; \
20903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20904 $(HOST_EXPORTS) \
20905 for flag in $(EXTRA_HOST_FLAGS) ; do \
20906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20907 done; \
20908 echo "Doing mostlyclean in indent" ; \
20909 (cd $(HOST_SUBDIR)/indent && \
20910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20912 "RANLIB=$${RANLIB}" \
20913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20914 mostlyclean) \
20915 || exit 1
20917 @endif indent
20919 .PHONY: maybe-clean-indent clean-indent
20920 maybe-clean-indent:
20921 @if indent
20922 maybe-clean-indent: clean-indent
20924 clean-indent:
20925 @: $(MAKE); $(unstage)
20926 @[ -f ./indent/Makefile ] || exit 0; \
20927 r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(HOST_EXPORTS) \
20930 for flag in $(EXTRA_HOST_FLAGS) ; do \
20931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20932 done; \
20933 echo "Doing clean in indent" ; \
20934 (cd $(HOST_SUBDIR)/indent && \
20935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20937 "RANLIB=$${RANLIB}" \
20938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20939 clean) \
20940 || exit 1
20942 @endif indent
20944 .PHONY: maybe-distclean-indent distclean-indent
20945 maybe-distclean-indent:
20946 @if indent
20947 maybe-distclean-indent: distclean-indent
20949 distclean-indent:
20950 @: $(MAKE); $(unstage)
20951 @[ -f ./indent/Makefile ] || exit 0; \
20952 r=`${PWD_COMMAND}`; export r; \
20953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20954 $(HOST_EXPORTS) \
20955 for flag in $(EXTRA_HOST_FLAGS) ; do \
20956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20957 done; \
20958 echo "Doing distclean in indent" ; \
20959 (cd $(HOST_SUBDIR)/indent && \
20960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20962 "RANLIB=$${RANLIB}" \
20963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20964 distclean) \
20965 || exit 1
20967 @endif indent
20969 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
20970 maybe-maintainer-clean-indent:
20971 @if indent
20972 maybe-maintainer-clean-indent: maintainer-clean-indent
20974 maintainer-clean-indent:
20975 @: $(MAKE); $(unstage)
20976 @[ -f ./indent/Makefile ] || exit 0; \
20977 r=`${PWD_COMMAND}`; export r; \
20978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 $(HOST_EXPORTS) \
20980 for flag in $(EXTRA_HOST_FLAGS) ; do \
20981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20982 done; \
20983 echo "Doing maintainer-clean in indent" ; \
20984 (cd $(HOST_SUBDIR)/indent && \
20985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20987 "RANLIB=$${RANLIB}" \
20988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20989 maintainer-clean) \
20990 || exit 1
20992 @endif indent
20996 .PHONY: configure-intl maybe-configure-intl
20997 maybe-configure-intl:
20998 @if gcc-bootstrap
20999 configure-intl: stage_current
21000 @endif gcc-bootstrap
21001 @if intl
21002 maybe-configure-intl: configure-intl
21003 configure-intl:
21004 @r=`${PWD_COMMAND}`; export r; \
21005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21006 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21008 $(HOST_EXPORTS) \
21009 echo Configuring in $(HOST_SUBDIR)/intl; \
21010 cd "$(HOST_SUBDIR)/intl" || exit 1; \
21011 case $(srcdir) in \
21012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21013 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21015 esac; \
21016 srcdiroption="--srcdir=$${topdir}/intl"; \
21017 libsrcdir="$$s/intl"; \
21018 $(SHELL) $${libsrcdir}/configure \
21019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21020 --target=${target_alias} $${srcdiroption} \
21021 || exit 1
21022 @endif intl
21026 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
21027 maybe-configure-stage1-intl:
21028 @if intl-bootstrap
21029 maybe-configure-stage1-intl: configure-stage1-intl
21030 configure-stage1-intl:
21031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21033 @r=`${PWD_COMMAND}`; export r; \
21034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21035 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21036 $(HOST_EXPORTS) \
21037 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21038 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
21039 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
21040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21041 cd $(HOST_SUBDIR)/intl || exit 1; \
21042 case $(srcdir) in \
21043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21044 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21046 esac; \
21047 srcdiroption="--srcdir=$${topdir}/intl"; \
21048 libsrcdir="$$s/intl"; \
21049 $(SHELL) $${libsrcdir}/configure \
21050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21051 --target=${target_alias} $${srcdiroption} \
21053 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
21054 @endif intl-bootstrap
21056 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
21057 maybe-configure-stage2-intl:
21058 @if intl-bootstrap
21059 maybe-configure-stage2-intl: configure-stage2-intl
21060 configure-stage2-intl:
21061 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21062 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21063 @r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21066 $(HOST_EXPORTS) \
21067 $(POSTSTAGE1_HOST_EXPORTS) \
21068 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21069 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
21070 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
21071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21072 cd $(HOST_SUBDIR)/intl || exit 1; \
21073 case $(srcdir) in \
21074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21075 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21077 esac; \
21078 srcdiroption="--srcdir=$${topdir}/intl"; \
21079 libsrcdir="$$s/intl"; \
21080 $(SHELL) $${libsrcdir}/configure \
21081 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21082 --target=${target_alias} $${srcdiroption} \
21083 --with-build-libsubdir=$(HOST_SUBDIR) \
21084 @stage2_werror_flag@
21085 @endif intl-bootstrap
21087 .PHONY: configure-stageb2g0-intl maybe-configure-stageb2g0-intl
21088 maybe-configure-stageb2g0-intl:
21089 @if intl-bootstrap
21090 maybe-configure-stageb2g0-intl: configure-stageb2g0-intl
21091 configure-stageb2g0-intl:
21092 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
21093 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21094 @r=`${PWD_COMMAND}`; export r; \
21095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21097 $(HOST_EXPORTS) \
21098 $(POSTSTAGE1_HOST_EXPORTS) \
21099 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
21100 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
21101 echo Configuring stage b2g0 in $(HOST_SUBDIR)/intl ; \
21102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21103 cd $(HOST_SUBDIR)/intl || exit 1; \
21104 case $(srcdir) in \
21105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21106 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21108 esac; \
21109 srcdiroption="--srcdir=$${topdir}/intl"; \
21110 libsrcdir="$$s/intl"; \
21111 $(SHELL) $${libsrcdir}/configure \
21112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21113 --target=${target_alias} $${srcdiroption} \
21114 --with-build-libsubdir=$(HOST_SUBDIR) \
21115 @stage2_werror_flag@
21116 @endif intl-bootstrap
21118 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
21119 maybe-configure-stage3-intl:
21120 @if intl-bootstrap
21121 maybe-configure-stage3-intl: configure-stage3-intl
21122 configure-stage3-intl:
21123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21125 @r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21128 $(HOST_EXPORTS) \
21129 $(POSTSTAGE1_HOST_EXPORTS) \
21130 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21131 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
21132 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
21133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21134 cd $(HOST_SUBDIR)/intl || exit 1; \
21135 case $(srcdir) in \
21136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21137 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21139 esac; \
21140 srcdiroption="--srcdir=$${topdir}/intl"; \
21141 libsrcdir="$$s/intl"; \
21142 $(SHELL) $${libsrcdir}/configure \
21143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21144 --target=${target_alias} $${srcdiroption} \
21145 --with-build-libsubdir=$(HOST_SUBDIR) \
21146 @stage2_werror_flag@
21147 @endif intl-bootstrap
21149 .PHONY: configure-stageb3g2-intl maybe-configure-stageb3g2-intl
21150 maybe-configure-stageb3g2-intl:
21151 @if intl-bootstrap
21152 maybe-configure-stageb3g2-intl: configure-stageb3g2-intl
21153 configure-stageb3g2-intl:
21154 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
21155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21156 @r=`${PWD_COMMAND}`; export r; \
21157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21158 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21159 $(HOST_EXPORTS) \
21160 $(POSTSTAGE1_HOST_EXPORTS) \
21161 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
21162 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
21163 echo Configuring stage b3g2 in $(HOST_SUBDIR)/intl ; \
21164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21165 cd $(HOST_SUBDIR)/intl || exit 1; \
21166 case $(srcdir) in \
21167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21168 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21170 esac; \
21171 srcdiroption="--srcdir=$${topdir}/intl"; \
21172 libsrcdir="$$s/intl"; \
21173 $(SHELL) $${libsrcdir}/configure \
21174 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21175 --target=${target_alias} $${srcdiroption} \
21176 --with-build-libsubdir=$(HOST_SUBDIR) \
21177 @stage2_werror_flag@
21178 @endif intl-bootstrap
21180 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
21181 maybe-configure-stage4-intl:
21182 @if intl-bootstrap
21183 maybe-configure-stage4-intl: configure-stage4-intl
21184 configure-stage4-intl:
21185 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21187 @r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21190 $(HOST_EXPORTS) \
21191 $(POSTSTAGE1_HOST_EXPORTS) \
21192 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21193 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
21194 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
21195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21196 cd $(HOST_SUBDIR)/intl || exit 1; \
21197 case $(srcdir) in \
21198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21199 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21201 esac; \
21202 srcdiroption="--srcdir=$${topdir}/intl"; \
21203 libsrcdir="$$s/intl"; \
21204 $(SHELL) $${libsrcdir}/configure \
21205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21206 --target=${target_alias} $${srcdiroption} \
21207 --with-build-libsubdir=$(HOST_SUBDIR) \
21208 @stage2_werror_flag@
21209 @endif intl-bootstrap
21211 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
21212 maybe-configure-stageprofile-intl:
21213 @if intl-bootstrap
21214 maybe-configure-stageprofile-intl: configure-stageprofile-intl
21215 configure-stageprofile-intl:
21216 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21218 @r=`${PWD_COMMAND}`; export r; \
21219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21220 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21221 $(HOST_EXPORTS) \
21222 $(POSTSTAGE1_HOST_EXPORTS) \
21223 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
21224 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
21225 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
21226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21227 cd $(HOST_SUBDIR)/intl || exit 1; \
21228 case $(srcdir) in \
21229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21230 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21232 esac; \
21233 srcdiroption="--srcdir=$${topdir}/intl"; \
21234 libsrcdir="$$s/intl"; \
21235 $(SHELL) $${libsrcdir}/configure \
21236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21237 --target=${target_alias} $${srcdiroption} \
21238 --with-build-libsubdir=$(HOST_SUBDIR) \
21239 @stage2_werror_flag@
21240 @endif intl-bootstrap
21242 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
21243 maybe-configure-stagefeedback-intl:
21244 @if intl-bootstrap
21245 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
21246 configure-stagefeedback-intl:
21247 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
21249 @r=`${PWD_COMMAND}`; export r; \
21250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21251 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
21252 $(HOST_EXPORTS) \
21253 $(POSTSTAGE1_HOST_EXPORTS) \
21254 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
21255 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
21256 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
21257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
21258 cd $(HOST_SUBDIR)/intl || exit 1; \
21259 case $(srcdir) in \
21260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21261 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
21262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21263 esac; \
21264 srcdiroption="--srcdir=$${topdir}/intl"; \
21265 libsrcdir="$$s/intl"; \
21266 $(SHELL) $${libsrcdir}/configure \
21267 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21268 --target=${target_alias} $${srcdiroption} \
21269 --with-build-libsubdir=$(HOST_SUBDIR) \
21270 @stage2_werror_flag@
21271 @endif intl-bootstrap
21277 .PHONY: all-intl maybe-all-intl
21278 maybe-all-intl:
21279 @if gcc-bootstrap
21280 all-intl: stage_current
21281 @endif gcc-bootstrap
21282 @if intl
21283 TARGET-intl=all
21284 maybe-all-intl: all-intl
21285 all-intl: configure-intl
21286 @r=`${PWD_COMMAND}`; export r; \
21287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21288 $(HOST_EXPORTS) \
21289 (cd $(HOST_SUBDIR)/intl && \
21290 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
21291 $(TARGET-intl))
21292 @endif intl
21296 .PHONY: all-stage1-intl maybe-all-stage1-intl
21297 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
21298 maybe-all-stage1-intl:
21299 maybe-clean-stage1-intl:
21300 @if intl-bootstrap
21301 maybe-all-stage1-intl: all-stage1-intl
21302 all-stage1: all-stage1-intl
21303 TARGET-stage1-intl = $(TARGET-intl)
21304 all-stage1-intl: configure-stage1-intl
21305 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21306 @r=`${PWD_COMMAND}`; export r; \
21307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21308 $(HOST_EXPORTS) \
21309 cd $(HOST_SUBDIR)/intl && \
21310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21311 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
21312 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
21313 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
21314 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
21315 $(TARGET-stage1-intl)
21317 maybe-clean-stage1-intl: clean-stage1-intl
21318 clean-stage1: clean-stage1-intl
21319 clean-stage1-intl:
21320 @if [ $(current_stage) = stage1 ]; then \
21321 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21322 else \
21323 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
21324 $(MAKE) stage1-start; \
21325 fi; \
21326 cd $(HOST_SUBDIR)/intl && \
21327 $(MAKE) $(EXTRA_HOST_FLAGS) \
21328 clean
21329 @endif intl-bootstrap
21332 .PHONY: all-stage2-intl maybe-all-stage2-intl
21333 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
21334 maybe-all-stage2-intl:
21335 maybe-clean-stage2-intl:
21336 @if intl-bootstrap
21337 maybe-all-stage2-intl: all-stage2-intl
21338 all-stage2: all-stage2-intl
21339 TARGET-stage2-intl = $(TARGET-intl)
21340 all-stage2-intl: configure-stage2-intl
21341 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21342 @r=`${PWD_COMMAND}`; export r; \
21343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 $(HOST_EXPORTS) \
21345 $(POSTSTAGE1_HOST_EXPORTS) \
21346 cd $(HOST_SUBDIR)/intl && \
21347 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21348 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
21349 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
21350 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
21351 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21352 $(TARGET-stage2-intl)
21354 maybe-clean-stage2-intl: clean-stage2-intl
21355 clean-stage2: clean-stage2-intl
21356 clean-stage2-intl:
21357 @if [ $(current_stage) = stage2 ]; then \
21358 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21359 else \
21360 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
21361 $(MAKE) stage2-start; \
21362 fi; \
21363 cd $(HOST_SUBDIR)/intl && \
21364 $(MAKE) $(EXTRA_HOST_FLAGS) \
21365 $(POSTSTAGE1_FLAGS_TO_PASS) \
21366 clean
21367 @endif intl-bootstrap
21370 .PHONY: all-stageb2g0-intl maybe-all-stageb2g0-intl
21371 .PHONY: clean-stageb2g0-intl maybe-clean-stageb2g0-intl
21372 maybe-all-stageb2g0-intl:
21373 maybe-clean-stageb2g0-intl:
21374 @if intl-bootstrap
21375 maybe-all-stageb2g0-intl: all-stageb2g0-intl
21376 all-stageb2g0: all-stageb2g0-intl
21377 TARGET-stageb2g0-intl = $(TARGET-intl)
21378 all-stageb2g0-intl: configure-stageb2g0-intl
21379 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
21380 @r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 $(HOST_EXPORTS) \
21383 $(POSTSTAGE1_HOST_EXPORTS) \
21384 cd $(HOST_SUBDIR)/intl && \
21385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21386 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
21387 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
21388 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
21389 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21390 $(TARGET-stageb2g0-intl)
21392 maybe-clean-stageb2g0-intl: clean-stageb2g0-intl
21393 clean-stageb2g0: clean-stageb2g0-intl
21394 clean-stageb2g0-intl:
21395 @if [ $(current_stage) = stageb2g0 ]; then \
21396 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21397 else \
21398 [ -f $(HOST_SUBDIR)/stageb2g0-intl/Makefile ] || exit 0; \
21399 $(MAKE) stageb2g0-start; \
21400 fi; \
21401 cd $(HOST_SUBDIR)/intl && \
21402 $(MAKE) $(EXTRA_HOST_FLAGS) \
21403 $(POSTSTAGE1_FLAGS_TO_PASS) \
21404 clean
21405 @endif intl-bootstrap
21408 .PHONY: all-stage3-intl maybe-all-stage3-intl
21409 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
21410 maybe-all-stage3-intl:
21411 maybe-clean-stage3-intl:
21412 @if intl-bootstrap
21413 maybe-all-stage3-intl: all-stage3-intl
21414 all-stage3: all-stage3-intl
21415 TARGET-stage3-intl = $(TARGET-intl)
21416 all-stage3-intl: configure-stage3-intl
21417 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21418 @r=`${PWD_COMMAND}`; export r; \
21419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21420 $(HOST_EXPORTS) \
21421 $(POSTSTAGE1_HOST_EXPORTS) \
21422 cd $(HOST_SUBDIR)/intl && \
21423 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21424 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
21425 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
21426 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
21427 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21428 $(TARGET-stage3-intl)
21430 maybe-clean-stage3-intl: clean-stage3-intl
21431 clean-stage3: clean-stage3-intl
21432 clean-stage3-intl:
21433 @if [ $(current_stage) = stage3 ]; then \
21434 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21435 else \
21436 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
21437 $(MAKE) stage3-start; \
21438 fi; \
21439 cd $(HOST_SUBDIR)/intl && \
21440 $(MAKE) $(EXTRA_HOST_FLAGS) \
21441 $(POSTSTAGE1_FLAGS_TO_PASS) \
21442 clean
21443 @endif intl-bootstrap
21446 .PHONY: all-stageb3g2-intl maybe-all-stageb3g2-intl
21447 .PHONY: clean-stageb3g2-intl maybe-clean-stageb3g2-intl
21448 maybe-all-stageb3g2-intl:
21449 maybe-clean-stageb3g2-intl:
21450 @if intl-bootstrap
21451 maybe-all-stageb3g2-intl: all-stageb3g2-intl
21452 all-stageb3g2: all-stageb3g2-intl
21453 TARGET-stageb3g2-intl = $(TARGET-intl)
21454 all-stageb3g2-intl: configure-stageb3g2-intl
21455 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
21456 @r=`${PWD_COMMAND}`; export r; \
21457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458 $(HOST_EXPORTS) \
21459 $(POSTSTAGE1_HOST_EXPORTS) \
21460 cd $(HOST_SUBDIR)/intl && \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21462 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
21463 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
21464 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
21465 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21466 $(TARGET-stageb3g2-intl)
21468 maybe-clean-stageb3g2-intl: clean-stageb3g2-intl
21469 clean-stageb3g2: clean-stageb3g2-intl
21470 clean-stageb3g2-intl:
21471 @if [ $(current_stage) = stageb3g2 ]; then \
21472 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21473 else \
21474 [ -f $(HOST_SUBDIR)/stageb3g2-intl/Makefile ] || exit 0; \
21475 $(MAKE) stageb3g2-start; \
21476 fi; \
21477 cd $(HOST_SUBDIR)/intl && \
21478 $(MAKE) $(EXTRA_HOST_FLAGS) \
21479 $(POSTSTAGE1_FLAGS_TO_PASS) \
21480 clean
21481 @endif intl-bootstrap
21484 .PHONY: all-stage4-intl maybe-all-stage4-intl
21485 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
21486 maybe-all-stage4-intl:
21487 maybe-clean-stage4-intl:
21488 @if intl-bootstrap
21489 maybe-all-stage4-intl: all-stage4-intl
21490 all-stage4: all-stage4-intl
21491 TARGET-stage4-intl = $(TARGET-intl)
21492 all-stage4-intl: configure-stage4-intl
21493 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21494 @r=`${PWD_COMMAND}`; export r; \
21495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21496 $(HOST_EXPORTS) \
21497 $(POSTSTAGE1_HOST_EXPORTS) \
21498 cd $(HOST_SUBDIR)/intl && \
21499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21500 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
21501 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21502 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
21503 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21504 $(TARGET-stage4-intl)
21506 maybe-clean-stage4-intl: clean-stage4-intl
21507 clean-stage4: clean-stage4-intl
21508 clean-stage4-intl:
21509 @if [ $(current_stage) = stage4 ]; then \
21510 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21511 else \
21512 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
21513 $(MAKE) stage4-start; \
21514 fi; \
21515 cd $(HOST_SUBDIR)/intl && \
21516 $(MAKE) $(EXTRA_HOST_FLAGS) \
21517 $(POSTSTAGE1_FLAGS_TO_PASS) \
21518 clean
21519 @endif intl-bootstrap
21522 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
21523 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
21524 maybe-all-stageprofile-intl:
21525 maybe-clean-stageprofile-intl:
21526 @if intl-bootstrap
21527 maybe-all-stageprofile-intl: all-stageprofile-intl
21528 all-stageprofile: all-stageprofile-intl
21529 TARGET-stageprofile-intl = $(TARGET-intl)
21530 all-stageprofile-intl: configure-stageprofile-intl
21531 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21532 @r=`${PWD_COMMAND}`; export r; \
21533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534 $(HOST_EXPORTS) \
21535 $(POSTSTAGE1_HOST_EXPORTS) \
21536 cd $(HOST_SUBDIR)/intl && \
21537 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21538 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
21539 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
21540 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
21541 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21542 $(TARGET-stageprofile-intl)
21544 maybe-clean-stageprofile-intl: clean-stageprofile-intl
21545 clean-stageprofile: clean-stageprofile-intl
21546 clean-stageprofile-intl:
21547 @if [ $(current_stage) = stageprofile ]; then \
21548 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21549 else \
21550 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
21551 $(MAKE) stageprofile-start; \
21552 fi; \
21553 cd $(HOST_SUBDIR)/intl && \
21554 $(MAKE) $(EXTRA_HOST_FLAGS) \
21555 $(POSTSTAGE1_FLAGS_TO_PASS) \
21556 clean
21557 @endif intl-bootstrap
21560 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
21561 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
21562 maybe-all-stagefeedback-intl:
21563 maybe-clean-stagefeedback-intl:
21564 @if intl-bootstrap
21565 maybe-all-stagefeedback-intl: all-stagefeedback-intl
21566 all-stagefeedback: all-stagefeedback-intl
21567 TARGET-stagefeedback-intl = $(TARGET-intl)
21568 all-stagefeedback-intl: configure-stagefeedback-intl
21569 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21570 @r=`${PWD_COMMAND}`; export r; \
21571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21572 $(HOST_EXPORTS) \
21573 $(POSTSTAGE1_HOST_EXPORTS) \
21574 cd $(HOST_SUBDIR)/intl && \
21575 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21576 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
21577 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
21578 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
21579 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21580 $(TARGET-stagefeedback-intl)
21582 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
21583 clean-stagefeedback: clean-stagefeedback-intl
21584 clean-stagefeedback-intl:
21585 @if [ $(current_stage) = stagefeedback ]; then \
21586 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
21587 else \
21588 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
21589 $(MAKE) stagefeedback-start; \
21590 fi; \
21591 cd $(HOST_SUBDIR)/intl && \
21592 $(MAKE) $(EXTRA_HOST_FLAGS) \
21593 $(POSTSTAGE1_FLAGS_TO_PASS) \
21594 clean
21595 @endif intl-bootstrap
21601 .PHONY: check-intl maybe-check-intl
21602 maybe-check-intl:
21603 @if intl
21604 maybe-check-intl: check-intl
21606 check-intl:
21607 @: $(MAKE); $(unstage)
21608 @r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610 $(HOST_EXPORTS) \
21611 (cd $(HOST_SUBDIR)/intl && \
21612 $(MAKE) $(FLAGS_TO_PASS) check)
21614 @endif intl
21616 .PHONY: install-intl maybe-install-intl
21617 maybe-install-intl:
21618 @if intl
21619 maybe-install-intl: install-intl
21621 install-intl: installdirs
21622 @: $(MAKE); $(unstage)
21623 @r=`${PWD_COMMAND}`; export r; \
21624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 $(HOST_EXPORTS) \
21626 (cd $(HOST_SUBDIR)/intl && \
21627 $(MAKE) $(FLAGS_TO_PASS) install)
21629 @endif intl
21631 # Other targets (info, dvi, pdf, etc.)
21633 .PHONY: maybe-info-intl info-intl
21634 maybe-info-intl:
21635 @if intl
21636 maybe-info-intl: info-intl
21638 info-intl: \
21639 configure-intl
21640 @[ -f ./intl/Makefile ] || exit 0; \
21641 r=`${PWD_COMMAND}`; export r; \
21642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21643 $(HOST_EXPORTS) \
21644 for flag in $(EXTRA_HOST_FLAGS) ; do \
21645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21646 done; \
21647 echo "Doing info in intl" ; \
21648 (cd $(HOST_SUBDIR)/intl && \
21649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21651 "RANLIB=$${RANLIB}" \
21652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21653 info) \
21654 || exit 1
21656 @endif intl
21658 .PHONY: maybe-dvi-intl dvi-intl
21659 maybe-dvi-intl:
21660 @if intl
21661 maybe-dvi-intl: dvi-intl
21663 dvi-intl: \
21664 configure-intl
21665 @[ -f ./intl/Makefile ] || exit 0; \
21666 r=`${PWD_COMMAND}`; export r; \
21667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21668 $(HOST_EXPORTS) \
21669 for flag in $(EXTRA_HOST_FLAGS) ; do \
21670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21671 done; \
21672 echo "Doing dvi in intl" ; \
21673 (cd $(HOST_SUBDIR)/intl && \
21674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21676 "RANLIB=$${RANLIB}" \
21677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21678 dvi) \
21679 || exit 1
21681 @endif intl
21683 .PHONY: maybe-pdf-intl pdf-intl
21684 maybe-pdf-intl:
21685 @if intl
21686 maybe-pdf-intl: pdf-intl
21688 pdf-intl: \
21689 configure-intl
21690 @[ -f ./intl/Makefile ] || exit 0; \
21691 r=`${PWD_COMMAND}`; export r; \
21692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21693 $(HOST_EXPORTS) \
21694 for flag in $(EXTRA_HOST_FLAGS) ; do \
21695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21696 done; \
21697 echo "Doing pdf in intl" ; \
21698 (cd $(HOST_SUBDIR)/intl && \
21699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21701 "RANLIB=$${RANLIB}" \
21702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21703 pdf) \
21704 || exit 1
21706 @endif intl
21708 .PHONY: maybe-html-intl html-intl
21709 maybe-html-intl:
21710 @if intl
21711 maybe-html-intl: html-intl
21713 html-intl: \
21714 configure-intl
21715 @[ -f ./intl/Makefile ] || exit 0; \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 $(HOST_EXPORTS) \
21719 for flag in $(EXTRA_HOST_FLAGS) ; do \
21720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21721 done; \
21722 echo "Doing html in intl" ; \
21723 (cd $(HOST_SUBDIR)/intl && \
21724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21726 "RANLIB=$${RANLIB}" \
21727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21728 html) \
21729 || exit 1
21731 @endif intl
21733 .PHONY: maybe-TAGS-intl TAGS-intl
21734 maybe-TAGS-intl:
21735 @if intl
21736 maybe-TAGS-intl: TAGS-intl
21738 TAGS-intl: \
21739 configure-intl
21740 @[ -f ./intl/Makefile ] || exit 0; \
21741 r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(HOST_EXPORTS) \
21744 for flag in $(EXTRA_HOST_FLAGS) ; do \
21745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21746 done; \
21747 echo "Doing TAGS in intl" ; \
21748 (cd $(HOST_SUBDIR)/intl && \
21749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21751 "RANLIB=$${RANLIB}" \
21752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21753 TAGS) \
21754 || exit 1
21756 @endif intl
21758 .PHONY: maybe-install-info-intl install-info-intl
21759 maybe-install-info-intl:
21760 @if intl
21761 maybe-install-info-intl: install-info-intl
21763 install-info-intl: \
21764 configure-intl \
21765 info-intl
21766 @[ -f ./intl/Makefile ] || exit 0; \
21767 r=`${PWD_COMMAND}`; export r; \
21768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 $(HOST_EXPORTS) \
21770 for flag in $(EXTRA_HOST_FLAGS) ; do \
21771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21772 done; \
21773 echo "Doing install-info in intl" ; \
21774 (cd $(HOST_SUBDIR)/intl && \
21775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21777 "RANLIB=$${RANLIB}" \
21778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21779 install-info) \
21780 || exit 1
21782 @endif intl
21784 .PHONY: maybe-install-pdf-intl install-pdf-intl
21785 maybe-install-pdf-intl:
21786 @if intl
21787 maybe-install-pdf-intl: install-pdf-intl
21789 install-pdf-intl: \
21790 configure-intl \
21791 pdf-intl
21792 @[ -f ./intl/Makefile ] || exit 0; \
21793 r=`${PWD_COMMAND}`; export r; \
21794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21795 $(HOST_EXPORTS) \
21796 for flag in $(EXTRA_HOST_FLAGS) ; do \
21797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21798 done; \
21799 echo "Doing install-pdf in intl" ; \
21800 (cd $(HOST_SUBDIR)/intl && \
21801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21803 "RANLIB=$${RANLIB}" \
21804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21805 install-pdf) \
21806 || exit 1
21808 @endif intl
21810 .PHONY: maybe-install-html-intl install-html-intl
21811 maybe-install-html-intl:
21812 @if intl
21813 maybe-install-html-intl: install-html-intl
21815 install-html-intl: \
21816 configure-intl \
21817 html-intl
21818 @[ -f ./intl/Makefile ] || exit 0; \
21819 r=`${PWD_COMMAND}`; export r; \
21820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21821 $(HOST_EXPORTS) \
21822 for flag in $(EXTRA_HOST_FLAGS) ; do \
21823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21824 done; \
21825 echo "Doing install-html in intl" ; \
21826 (cd $(HOST_SUBDIR)/intl && \
21827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21829 "RANLIB=$${RANLIB}" \
21830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21831 install-html) \
21832 || exit 1
21834 @endif intl
21836 .PHONY: maybe-installcheck-intl installcheck-intl
21837 maybe-installcheck-intl:
21838 @if intl
21839 maybe-installcheck-intl: installcheck-intl
21841 installcheck-intl: \
21842 configure-intl
21843 @[ -f ./intl/Makefile ] || exit 0; \
21844 r=`${PWD_COMMAND}`; export r; \
21845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21846 $(HOST_EXPORTS) \
21847 for flag in $(EXTRA_HOST_FLAGS) ; do \
21848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21849 done; \
21850 echo "Doing installcheck in intl" ; \
21851 (cd $(HOST_SUBDIR)/intl && \
21852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21854 "RANLIB=$${RANLIB}" \
21855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21856 installcheck) \
21857 || exit 1
21859 @endif intl
21861 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
21862 maybe-mostlyclean-intl:
21863 @if intl
21864 maybe-mostlyclean-intl: mostlyclean-intl
21866 mostlyclean-intl:
21867 @[ -f ./intl/Makefile ] || exit 0; \
21868 r=`${PWD_COMMAND}`; export r; \
21869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21870 $(HOST_EXPORTS) \
21871 for flag in $(EXTRA_HOST_FLAGS) ; do \
21872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21873 done; \
21874 echo "Doing mostlyclean in intl" ; \
21875 (cd $(HOST_SUBDIR)/intl && \
21876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878 "RANLIB=$${RANLIB}" \
21879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21880 mostlyclean) \
21881 || exit 1
21883 @endif intl
21885 .PHONY: maybe-clean-intl clean-intl
21886 maybe-clean-intl:
21887 @if intl
21888 maybe-clean-intl: clean-intl
21890 clean-intl:
21891 @[ -f ./intl/Makefile ] || exit 0; \
21892 r=`${PWD_COMMAND}`; export r; \
21893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21894 $(HOST_EXPORTS) \
21895 for flag in $(EXTRA_HOST_FLAGS) ; do \
21896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21897 done; \
21898 echo "Doing clean in intl" ; \
21899 (cd $(HOST_SUBDIR)/intl && \
21900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21902 "RANLIB=$${RANLIB}" \
21903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21904 clean) \
21905 || exit 1
21907 @endif intl
21909 .PHONY: maybe-distclean-intl distclean-intl
21910 maybe-distclean-intl:
21911 @if intl
21912 maybe-distclean-intl: distclean-intl
21914 distclean-intl:
21915 @[ -f ./intl/Makefile ] || exit 0; \
21916 r=`${PWD_COMMAND}`; export r; \
21917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21918 $(HOST_EXPORTS) \
21919 for flag in $(EXTRA_HOST_FLAGS) ; do \
21920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21921 done; \
21922 echo "Doing distclean in intl" ; \
21923 (cd $(HOST_SUBDIR)/intl && \
21924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21926 "RANLIB=$${RANLIB}" \
21927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21928 distclean) \
21929 || exit 1
21931 @endif intl
21933 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
21934 maybe-maintainer-clean-intl:
21935 @if intl
21936 maybe-maintainer-clean-intl: maintainer-clean-intl
21938 maintainer-clean-intl:
21939 @[ -f ./intl/Makefile ] || exit 0; \
21940 r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 $(HOST_EXPORTS) \
21943 for flag in $(EXTRA_HOST_FLAGS) ; do \
21944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21945 done; \
21946 echo "Doing maintainer-clean in intl" ; \
21947 (cd $(HOST_SUBDIR)/intl && \
21948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21950 "RANLIB=$${RANLIB}" \
21951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21952 maintainer-clean) \
21953 || exit 1
21955 @endif intl
21959 .PHONY: configure-tcl maybe-configure-tcl
21960 maybe-configure-tcl:
21961 @if gcc-bootstrap
21962 configure-tcl: stage_current
21963 @endif gcc-bootstrap
21964 @if tcl
21965 maybe-configure-tcl: configure-tcl
21966 configure-tcl:
21967 @: $(MAKE); $(unstage)
21968 @r=`${PWD_COMMAND}`; export r; \
21969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21970 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
21971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
21972 $(HOST_EXPORTS) \
21973 echo Configuring in $(HOST_SUBDIR)/tcl; \
21974 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
21975 case $(srcdir) in \
21976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21977 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
21978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21979 esac; \
21980 srcdiroption="--srcdir=$${topdir}/tcl"; \
21981 libsrcdir="$$s/tcl"; \
21982 $(SHELL) $${libsrcdir}/configure \
21983 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21984 --target=${target_alias} $${srcdiroption} \
21985 || exit 1
21986 @endif tcl
21992 .PHONY: all-tcl maybe-all-tcl
21993 maybe-all-tcl:
21994 @if gcc-bootstrap
21995 all-tcl: stage_current
21996 @endif gcc-bootstrap
21997 @if tcl
21998 TARGET-tcl=all
21999 maybe-all-tcl: all-tcl
22000 all-tcl: configure-tcl
22001 @: $(MAKE); $(unstage)
22002 @r=`${PWD_COMMAND}`; export r; \
22003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22004 $(HOST_EXPORTS) \
22005 (cd $(HOST_SUBDIR)/tcl && \
22006 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22007 $(TARGET-tcl))
22008 @endif tcl
22013 .PHONY: check-tcl maybe-check-tcl
22014 maybe-check-tcl:
22015 @if tcl
22016 maybe-check-tcl: check-tcl
22018 check-tcl:
22019 @: $(MAKE); $(unstage)
22020 @r=`${PWD_COMMAND}`; export r; \
22021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22022 $(HOST_EXPORTS) \
22023 (cd $(HOST_SUBDIR)/tcl && \
22024 $(MAKE) $(FLAGS_TO_PASS) check)
22026 @endif tcl
22028 .PHONY: install-tcl maybe-install-tcl
22029 maybe-install-tcl:
22030 @if tcl
22031 maybe-install-tcl: install-tcl
22033 install-tcl: installdirs
22034 @: $(MAKE); $(unstage)
22035 @r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037 $(HOST_EXPORTS) \
22038 (cd $(HOST_SUBDIR)/tcl && \
22039 $(MAKE) $(FLAGS_TO_PASS) install)
22041 @endif tcl
22043 # Other targets (info, dvi, pdf, etc.)
22045 .PHONY: maybe-info-tcl info-tcl
22046 maybe-info-tcl:
22047 @if tcl
22048 maybe-info-tcl: info-tcl
22050 info-tcl: \
22051 configure-tcl
22052 @: $(MAKE); $(unstage)
22053 @[ -f ./tcl/Makefile ] || exit 0; \
22054 r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(HOST_EXPORTS) \
22057 for flag in $(EXTRA_HOST_FLAGS) ; do \
22058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22059 done; \
22060 echo "Doing info in tcl" ; \
22061 (cd $(HOST_SUBDIR)/tcl && \
22062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22064 "RANLIB=$${RANLIB}" \
22065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22066 info) \
22067 || exit 1
22069 @endif tcl
22071 .PHONY: maybe-dvi-tcl dvi-tcl
22072 maybe-dvi-tcl:
22073 @if tcl
22074 maybe-dvi-tcl: dvi-tcl
22076 dvi-tcl: \
22077 configure-tcl
22078 @: $(MAKE); $(unstage)
22079 @[ -f ./tcl/Makefile ] || exit 0; \
22080 r=`${PWD_COMMAND}`; export r; \
22081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22082 $(HOST_EXPORTS) \
22083 for flag in $(EXTRA_HOST_FLAGS) ; do \
22084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22085 done; \
22086 echo "Doing dvi in tcl" ; \
22087 (cd $(HOST_SUBDIR)/tcl && \
22088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22090 "RANLIB=$${RANLIB}" \
22091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22092 dvi) \
22093 || exit 1
22095 @endif tcl
22097 .PHONY: maybe-pdf-tcl pdf-tcl
22098 maybe-pdf-tcl:
22099 @if tcl
22100 maybe-pdf-tcl: pdf-tcl
22102 pdf-tcl: \
22103 configure-tcl
22104 @: $(MAKE); $(unstage)
22105 @[ -f ./tcl/Makefile ] || exit 0; \
22106 r=`${PWD_COMMAND}`; export r; \
22107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22108 $(HOST_EXPORTS) \
22109 for flag in $(EXTRA_HOST_FLAGS) ; do \
22110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22111 done; \
22112 echo "Doing pdf in tcl" ; \
22113 (cd $(HOST_SUBDIR)/tcl && \
22114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22116 "RANLIB=$${RANLIB}" \
22117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22118 pdf) \
22119 || exit 1
22121 @endif tcl
22123 .PHONY: maybe-html-tcl html-tcl
22124 maybe-html-tcl:
22125 @if tcl
22126 maybe-html-tcl: html-tcl
22128 html-tcl: \
22129 configure-tcl
22130 @: $(MAKE); $(unstage)
22131 @[ -f ./tcl/Makefile ] || exit 0; \
22132 r=`${PWD_COMMAND}`; export r; \
22133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22134 $(HOST_EXPORTS) \
22135 for flag in $(EXTRA_HOST_FLAGS) ; do \
22136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22137 done; \
22138 echo "Doing html in tcl" ; \
22139 (cd $(HOST_SUBDIR)/tcl && \
22140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22142 "RANLIB=$${RANLIB}" \
22143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22144 html) \
22145 || exit 1
22147 @endif tcl
22149 .PHONY: maybe-TAGS-tcl TAGS-tcl
22150 maybe-TAGS-tcl:
22151 @if tcl
22152 maybe-TAGS-tcl: TAGS-tcl
22154 TAGS-tcl: \
22155 configure-tcl
22156 @: $(MAKE); $(unstage)
22157 @[ -f ./tcl/Makefile ] || exit 0; \
22158 r=`${PWD_COMMAND}`; export r; \
22159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160 $(HOST_EXPORTS) \
22161 for flag in $(EXTRA_HOST_FLAGS) ; do \
22162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22163 done; \
22164 echo "Doing TAGS in tcl" ; \
22165 (cd $(HOST_SUBDIR)/tcl && \
22166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22168 "RANLIB=$${RANLIB}" \
22169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22170 TAGS) \
22171 || exit 1
22173 @endif tcl
22175 .PHONY: maybe-install-info-tcl install-info-tcl
22176 maybe-install-info-tcl:
22177 @if tcl
22178 maybe-install-info-tcl: install-info-tcl
22180 install-info-tcl: \
22181 configure-tcl \
22182 info-tcl
22183 @: $(MAKE); $(unstage)
22184 @[ -f ./tcl/Makefile ] || exit 0; \
22185 r=`${PWD_COMMAND}`; export r; \
22186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22187 $(HOST_EXPORTS) \
22188 for flag in $(EXTRA_HOST_FLAGS) ; do \
22189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22190 done; \
22191 echo "Doing install-info in tcl" ; \
22192 (cd $(HOST_SUBDIR)/tcl && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22195 "RANLIB=$${RANLIB}" \
22196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22197 install-info) \
22198 || exit 1
22200 @endif tcl
22202 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
22203 maybe-install-pdf-tcl:
22204 @if tcl
22205 maybe-install-pdf-tcl: install-pdf-tcl
22207 install-pdf-tcl: \
22208 configure-tcl \
22209 pdf-tcl
22210 @: $(MAKE); $(unstage)
22211 @[ -f ./tcl/Makefile ] || exit 0; \
22212 r=`${PWD_COMMAND}`; export r; \
22213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22214 $(HOST_EXPORTS) \
22215 for flag in $(EXTRA_HOST_FLAGS) ; do \
22216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22217 done; \
22218 echo "Doing install-pdf in tcl" ; \
22219 (cd $(HOST_SUBDIR)/tcl && \
22220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22222 "RANLIB=$${RANLIB}" \
22223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22224 install-pdf) \
22225 || exit 1
22227 @endif tcl
22229 .PHONY: maybe-install-html-tcl install-html-tcl
22230 maybe-install-html-tcl:
22231 @if tcl
22232 maybe-install-html-tcl: install-html-tcl
22234 install-html-tcl: \
22235 configure-tcl \
22236 html-tcl
22237 @: $(MAKE); $(unstage)
22238 @[ -f ./tcl/Makefile ] || exit 0; \
22239 r=`${PWD_COMMAND}`; export r; \
22240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22241 $(HOST_EXPORTS) \
22242 for flag in $(EXTRA_HOST_FLAGS) ; do \
22243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22244 done; \
22245 echo "Doing install-html in tcl" ; \
22246 (cd $(HOST_SUBDIR)/tcl && \
22247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22249 "RANLIB=$${RANLIB}" \
22250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22251 install-html) \
22252 || exit 1
22254 @endif tcl
22256 .PHONY: maybe-installcheck-tcl installcheck-tcl
22257 maybe-installcheck-tcl:
22258 @if tcl
22259 maybe-installcheck-tcl: installcheck-tcl
22261 installcheck-tcl: \
22262 configure-tcl
22263 @: $(MAKE); $(unstage)
22264 @[ -f ./tcl/Makefile ] || exit 0; \
22265 r=`${PWD_COMMAND}`; export r; \
22266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22267 $(HOST_EXPORTS) \
22268 for flag in $(EXTRA_HOST_FLAGS) ; do \
22269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22270 done; \
22271 echo "Doing installcheck in tcl" ; \
22272 (cd $(HOST_SUBDIR)/tcl && \
22273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22275 "RANLIB=$${RANLIB}" \
22276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22277 installcheck) \
22278 || exit 1
22280 @endif tcl
22282 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
22283 maybe-mostlyclean-tcl:
22284 @if tcl
22285 maybe-mostlyclean-tcl: mostlyclean-tcl
22287 # tcl doesn't support mostlyclean.
22288 mostlyclean-tcl:
22290 @endif tcl
22292 .PHONY: maybe-clean-tcl clean-tcl
22293 maybe-clean-tcl:
22294 @if tcl
22295 maybe-clean-tcl: clean-tcl
22297 clean-tcl:
22298 @: $(MAKE); $(unstage)
22299 @[ -f ./tcl/Makefile ] || exit 0; \
22300 r=`${PWD_COMMAND}`; export r; \
22301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22302 $(HOST_EXPORTS) \
22303 for flag in $(EXTRA_HOST_FLAGS) ; do \
22304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22305 done; \
22306 echo "Doing clean in tcl" ; \
22307 (cd $(HOST_SUBDIR)/tcl && \
22308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22310 "RANLIB=$${RANLIB}" \
22311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22312 clean) \
22313 || exit 1
22315 @endif tcl
22317 .PHONY: maybe-distclean-tcl distclean-tcl
22318 maybe-distclean-tcl:
22319 @if tcl
22320 maybe-distclean-tcl: distclean-tcl
22322 distclean-tcl:
22323 @: $(MAKE); $(unstage)
22324 @[ -f ./tcl/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(HOST_EXPORTS) \
22328 for flag in $(EXTRA_HOST_FLAGS) ; do \
22329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22330 done; \
22331 echo "Doing distclean in tcl" ; \
22332 (cd $(HOST_SUBDIR)/tcl && \
22333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22335 "RANLIB=$${RANLIB}" \
22336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22337 distclean) \
22338 || exit 1
22340 @endif tcl
22342 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
22343 maybe-maintainer-clean-tcl:
22344 @if tcl
22345 maybe-maintainer-clean-tcl: maintainer-clean-tcl
22347 maintainer-clean-tcl:
22348 @: $(MAKE); $(unstage)
22349 @[ -f ./tcl/Makefile ] || exit 0; \
22350 r=`${PWD_COMMAND}`; export r; \
22351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352 $(HOST_EXPORTS) \
22353 for flag in $(EXTRA_HOST_FLAGS) ; do \
22354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22355 done; \
22356 echo "Doing maintainer-clean in tcl" ; \
22357 (cd $(HOST_SUBDIR)/tcl && \
22358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22360 "RANLIB=$${RANLIB}" \
22361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22362 maintainer-clean) \
22363 || exit 1
22365 @endif tcl
22369 .PHONY: configure-itcl maybe-configure-itcl
22370 maybe-configure-itcl:
22371 @if gcc-bootstrap
22372 configure-itcl: stage_current
22373 @endif gcc-bootstrap
22374 @if itcl
22375 maybe-configure-itcl: configure-itcl
22376 configure-itcl:
22377 @: $(MAKE); $(unstage)
22378 @r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
22381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
22382 $(HOST_EXPORTS) \
22383 echo Configuring in $(HOST_SUBDIR)/itcl; \
22384 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
22385 case $(srcdir) in \
22386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22387 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
22388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22389 esac; \
22390 srcdiroption="--srcdir=$${topdir}/itcl"; \
22391 libsrcdir="$$s/itcl"; \
22392 $(SHELL) $${libsrcdir}/configure \
22393 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22394 --target=${target_alias} $${srcdiroption} \
22395 || exit 1
22396 @endif itcl
22402 .PHONY: all-itcl maybe-all-itcl
22403 maybe-all-itcl:
22404 @if gcc-bootstrap
22405 all-itcl: stage_current
22406 @endif gcc-bootstrap
22407 @if itcl
22408 TARGET-itcl=all
22409 maybe-all-itcl: all-itcl
22410 all-itcl: configure-itcl
22411 @: $(MAKE); $(unstage)
22412 @r=`${PWD_COMMAND}`; export r; \
22413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22414 $(HOST_EXPORTS) \
22415 (cd $(HOST_SUBDIR)/itcl && \
22416 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
22417 $(TARGET-itcl))
22418 @endif itcl
22423 .PHONY: check-itcl maybe-check-itcl
22424 maybe-check-itcl:
22425 @if itcl
22426 maybe-check-itcl: check-itcl
22428 check-itcl:
22429 @: $(MAKE); $(unstage)
22430 @r=`${PWD_COMMAND}`; export r; \
22431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22432 $(HOST_EXPORTS) \
22433 (cd $(HOST_SUBDIR)/itcl && \
22434 $(MAKE) $(FLAGS_TO_PASS) check)
22436 @endif itcl
22438 .PHONY: install-itcl maybe-install-itcl
22439 maybe-install-itcl:
22440 @if itcl
22441 maybe-install-itcl: install-itcl
22443 install-itcl: installdirs
22444 @: $(MAKE); $(unstage)
22445 @r=`${PWD_COMMAND}`; export r; \
22446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22447 $(HOST_EXPORTS) \
22448 (cd $(HOST_SUBDIR)/itcl && \
22449 $(MAKE) $(FLAGS_TO_PASS) install)
22451 @endif itcl
22453 # Other targets (info, dvi, pdf, etc.)
22455 .PHONY: maybe-info-itcl info-itcl
22456 maybe-info-itcl:
22457 @if itcl
22458 maybe-info-itcl: info-itcl
22460 info-itcl: \
22461 configure-itcl
22462 @: $(MAKE); $(unstage)
22463 @[ -f ./itcl/Makefile ] || exit 0; \
22464 r=`${PWD_COMMAND}`; export r; \
22465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22466 $(HOST_EXPORTS) \
22467 for flag in $(EXTRA_HOST_FLAGS) ; do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 echo "Doing info in itcl" ; \
22471 (cd $(HOST_SUBDIR)/itcl && \
22472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22474 "RANLIB=$${RANLIB}" \
22475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22476 info) \
22477 || exit 1
22479 @endif itcl
22481 .PHONY: maybe-dvi-itcl dvi-itcl
22482 maybe-dvi-itcl:
22483 @if itcl
22484 maybe-dvi-itcl: dvi-itcl
22486 dvi-itcl: \
22487 configure-itcl
22488 @: $(MAKE); $(unstage)
22489 @[ -f ./itcl/Makefile ] || exit 0; \
22490 r=`${PWD_COMMAND}`; export r; \
22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 $(HOST_EXPORTS) \
22493 for flag in $(EXTRA_HOST_FLAGS) ; do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495 done; \
22496 echo "Doing dvi in itcl" ; \
22497 (cd $(HOST_SUBDIR)/itcl && \
22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22500 "RANLIB=$${RANLIB}" \
22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22502 dvi) \
22503 || exit 1
22505 @endif itcl
22507 .PHONY: maybe-pdf-itcl pdf-itcl
22508 maybe-pdf-itcl:
22509 @if itcl
22510 maybe-pdf-itcl: pdf-itcl
22512 pdf-itcl: \
22513 configure-itcl
22514 @: $(MAKE); $(unstage)
22515 @[ -f ./itcl/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(HOST_EXPORTS) \
22519 for flag in $(EXTRA_HOST_FLAGS) ; do \
22520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 done; \
22522 echo "Doing pdf in itcl" ; \
22523 (cd $(HOST_SUBDIR)/itcl && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22528 pdf) \
22529 || exit 1
22531 @endif itcl
22533 .PHONY: maybe-html-itcl html-itcl
22534 maybe-html-itcl:
22535 @if itcl
22536 maybe-html-itcl: html-itcl
22538 html-itcl: \
22539 configure-itcl
22540 @: $(MAKE); $(unstage)
22541 @[ -f ./itcl/Makefile ] || exit 0; \
22542 r=`${PWD_COMMAND}`; export r; \
22543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 $(HOST_EXPORTS) \
22545 for flag in $(EXTRA_HOST_FLAGS) ; do \
22546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22547 done; \
22548 echo "Doing html in itcl" ; \
22549 (cd $(HOST_SUBDIR)/itcl && \
22550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22552 "RANLIB=$${RANLIB}" \
22553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22554 html) \
22555 || exit 1
22557 @endif itcl
22559 .PHONY: maybe-TAGS-itcl TAGS-itcl
22560 maybe-TAGS-itcl:
22561 @if itcl
22562 maybe-TAGS-itcl: TAGS-itcl
22564 TAGS-itcl: \
22565 configure-itcl
22566 @: $(MAKE); $(unstage)
22567 @[ -f ./itcl/Makefile ] || exit 0; \
22568 r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22570 $(HOST_EXPORTS) \
22571 for flag in $(EXTRA_HOST_FLAGS) ; do \
22572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22573 done; \
22574 echo "Doing TAGS in itcl" ; \
22575 (cd $(HOST_SUBDIR)/itcl && \
22576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22578 "RANLIB=$${RANLIB}" \
22579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22580 TAGS) \
22581 || exit 1
22583 @endif itcl
22585 .PHONY: maybe-install-info-itcl install-info-itcl
22586 maybe-install-info-itcl:
22587 @if itcl
22588 maybe-install-info-itcl: install-info-itcl
22590 install-info-itcl: \
22591 configure-itcl \
22592 info-itcl
22593 @: $(MAKE); $(unstage)
22594 @[ -f ./itcl/Makefile ] || exit 0; \
22595 r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597 $(HOST_EXPORTS) \
22598 for flag in $(EXTRA_HOST_FLAGS) ; do \
22599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22600 done; \
22601 echo "Doing install-info in itcl" ; \
22602 (cd $(HOST_SUBDIR)/itcl && \
22603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22605 "RANLIB=$${RANLIB}" \
22606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22607 install-info) \
22608 || exit 1
22610 @endif itcl
22612 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
22613 maybe-install-pdf-itcl:
22614 @if itcl
22615 maybe-install-pdf-itcl: install-pdf-itcl
22617 install-pdf-itcl: \
22618 configure-itcl \
22619 pdf-itcl
22620 @: $(MAKE); $(unstage)
22621 @[ -f ./itcl/Makefile ] || exit 0; \
22622 r=`${PWD_COMMAND}`; export r; \
22623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22624 $(HOST_EXPORTS) \
22625 for flag in $(EXTRA_HOST_FLAGS) ; do \
22626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22627 done; \
22628 echo "Doing install-pdf in itcl" ; \
22629 (cd $(HOST_SUBDIR)/itcl && \
22630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22632 "RANLIB=$${RANLIB}" \
22633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22634 install-pdf) \
22635 || exit 1
22637 @endif itcl
22639 .PHONY: maybe-install-html-itcl install-html-itcl
22640 maybe-install-html-itcl:
22641 @if itcl
22642 maybe-install-html-itcl: install-html-itcl
22644 install-html-itcl: \
22645 configure-itcl \
22646 html-itcl
22647 @: $(MAKE); $(unstage)
22648 @[ -f ./itcl/Makefile ] || exit 0; \
22649 r=`${PWD_COMMAND}`; export r; \
22650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22651 $(HOST_EXPORTS) \
22652 for flag in $(EXTRA_HOST_FLAGS) ; do \
22653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22654 done; \
22655 echo "Doing install-html in itcl" ; \
22656 (cd $(HOST_SUBDIR)/itcl && \
22657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22659 "RANLIB=$${RANLIB}" \
22660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22661 install-html) \
22662 || exit 1
22664 @endif itcl
22666 .PHONY: maybe-installcheck-itcl installcheck-itcl
22667 maybe-installcheck-itcl:
22668 @if itcl
22669 maybe-installcheck-itcl: installcheck-itcl
22671 installcheck-itcl: \
22672 configure-itcl
22673 @: $(MAKE); $(unstage)
22674 @[ -f ./itcl/Makefile ] || exit 0; \
22675 r=`${PWD_COMMAND}`; export r; \
22676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22677 $(HOST_EXPORTS) \
22678 for flag in $(EXTRA_HOST_FLAGS) ; do \
22679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22680 done; \
22681 echo "Doing installcheck in itcl" ; \
22682 (cd $(HOST_SUBDIR)/itcl && \
22683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22685 "RANLIB=$${RANLIB}" \
22686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22687 installcheck) \
22688 || exit 1
22690 @endif itcl
22692 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
22693 maybe-mostlyclean-itcl:
22694 @if itcl
22695 maybe-mostlyclean-itcl: mostlyclean-itcl
22697 mostlyclean-itcl:
22698 @: $(MAKE); $(unstage)
22699 @[ -f ./itcl/Makefile ] || exit 0; \
22700 r=`${PWD_COMMAND}`; export r; \
22701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22702 $(HOST_EXPORTS) \
22703 for flag in $(EXTRA_HOST_FLAGS) ; do \
22704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22705 done; \
22706 echo "Doing mostlyclean in itcl" ; \
22707 (cd $(HOST_SUBDIR)/itcl && \
22708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22710 "RANLIB=$${RANLIB}" \
22711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22712 mostlyclean) \
22713 || exit 1
22715 @endif itcl
22717 .PHONY: maybe-clean-itcl clean-itcl
22718 maybe-clean-itcl:
22719 @if itcl
22720 maybe-clean-itcl: clean-itcl
22722 clean-itcl:
22723 @: $(MAKE); $(unstage)
22724 @[ -f ./itcl/Makefile ] || exit 0; \
22725 r=`${PWD_COMMAND}`; export r; \
22726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22727 $(HOST_EXPORTS) \
22728 for flag in $(EXTRA_HOST_FLAGS) ; do \
22729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22730 done; \
22731 echo "Doing clean in itcl" ; \
22732 (cd $(HOST_SUBDIR)/itcl && \
22733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22735 "RANLIB=$${RANLIB}" \
22736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22737 clean) \
22738 || exit 1
22740 @endif itcl
22742 .PHONY: maybe-distclean-itcl distclean-itcl
22743 maybe-distclean-itcl:
22744 @if itcl
22745 maybe-distclean-itcl: distclean-itcl
22747 distclean-itcl:
22748 @: $(MAKE); $(unstage)
22749 @[ -f ./itcl/Makefile ] || exit 0; \
22750 r=`${PWD_COMMAND}`; export r; \
22751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22752 $(HOST_EXPORTS) \
22753 for flag in $(EXTRA_HOST_FLAGS) ; do \
22754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22755 done; \
22756 echo "Doing distclean in itcl" ; \
22757 (cd $(HOST_SUBDIR)/itcl && \
22758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22760 "RANLIB=$${RANLIB}" \
22761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22762 distclean) \
22763 || exit 1
22765 @endif itcl
22767 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
22768 maybe-maintainer-clean-itcl:
22769 @if itcl
22770 maybe-maintainer-clean-itcl: maintainer-clean-itcl
22772 maintainer-clean-itcl:
22773 @: $(MAKE); $(unstage)
22774 @[ -f ./itcl/Makefile ] || exit 0; \
22775 r=`${PWD_COMMAND}`; export r; \
22776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22777 $(HOST_EXPORTS) \
22778 for flag in $(EXTRA_HOST_FLAGS) ; do \
22779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22780 done; \
22781 echo "Doing maintainer-clean in itcl" ; \
22782 (cd $(HOST_SUBDIR)/itcl && \
22783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22785 "RANLIB=$${RANLIB}" \
22786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22787 maintainer-clean) \
22788 || exit 1
22790 @endif itcl
22794 .PHONY: configure-ld maybe-configure-ld
22795 maybe-configure-ld:
22796 @if gcc-bootstrap
22797 configure-ld: stage_current
22798 @endif gcc-bootstrap
22799 @if ld
22800 maybe-configure-ld: configure-ld
22801 configure-ld:
22802 @r=`${PWD_COMMAND}`; export r; \
22803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22804 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22806 $(HOST_EXPORTS) \
22807 echo Configuring in $(HOST_SUBDIR)/ld; \
22808 cd "$(HOST_SUBDIR)/ld" || exit 1; \
22809 case $(srcdir) in \
22810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22811 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22813 esac; \
22814 srcdiroption="--srcdir=$${topdir}/ld"; \
22815 libsrcdir="$$s/ld"; \
22816 $(SHELL) $${libsrcdir}/configure \
22817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22818 --target=${target_alias} $${srcdiroption} \
22819 || exit 1
22820 @endif ld
22824 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
22825 maybe-configure-stage1-ld:
22826 @if ld-bootstrap
22827 maybe-configure-stage1-ld: configure-stage1-ld
22828 configure-stage1-ld:
22829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22830 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22831 @r=`${PWD_COMMAND}`; export r; \
22832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22833 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22834 $(HOST_EXPORTS) \
22835 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22836 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
22837 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
22838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22839 cd $(HOST_SUBDIR)/ld || exit 1; \
22840 case $(srcdir) in \
22841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22842 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22844 esac; \
22845 srcdiroption="--srcdir=$${topdir}/ld"; \
22846 libsrcdir="$$s/ld"; \
22847 $(SHELL) $${libsrcdir}/configure \
22848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22849 --target=${target_alias} $${srcdiroption} \
22851 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
22852 @endif ld-bootstrap
22854 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
22855 maybe-configure-stage2-ld:
22856 @if ld-bootstrap
22857 maybe-configure-stage2-ld: configure-stage2-ld
22858 configure-stage2-ld:
22859 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22861 @r=`${PWD_COMMAND}`; export r; \
22862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22863 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22864 $(HOST_EXPORTS) \
22865 $(POSTSTAGE1_HOST_EXPORTS) \
22866 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22867 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
22868 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
22869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22870 cd $(HOST_SUBDIR)/ld || exit 1; \
22871 case $(srcdir) in \
22872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22873 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22875 esac; \
22876 srcdiroption="--srcdir=$${topdir}/ld"; \
22877 libsrcdir="$$s/ld"; \
22878 $(SHELL) $${libsrcdir}/configure \
22879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22880 --target=${target_alias} $${srcdiroption} \
22881 --with-build-libsubdir=$(HOST_SUBDIR) \
22882 @stage2_werror_flag@
22883 @endif ld-bootstrap
22885 .PHONY: configure-stageb2g0-ld maybe-configure-stageb2g0-ld
22886 maybe-configure-stageb2g0-ld:
22887 @if ld-bootstrap
22888 maybe-configure-stageb2g0-ld: configure-stageb2g0-ld
22889 configure-stageb2g0-ld:
22890 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
22891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22892 @r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22895 $(HOST_EXPORTS) \
22896 $(POSTSTAGE1_HOST_EXPORTS) \
22897 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
22898 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
22899 echo Configuring stage b2g0 in $(HOST_SUBDIR)/ld ; \
22900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22901 cd $(HOST_SUBDIR)/ld || exit 1; \
22902 case $(srcdir) in \
22903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22904 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22906 esac; \
22907 srcdiroption="--srcdir=$${topdir}/ld"; \
22908 libsrcdir="$$s/ld"; \
22909 $(SHELL) $${libsrcdir}/configure \
22910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22911 --target=${target_alias} $${srcdiroption} \
22912 --with-build-libsubdir=$(HOST_SUBDIR) \
22913 @stage2_werror_flag@
22914 @endif ld-bootstrap
22916 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
22917 maybe-configure-stage3-ld:
22918 @if ld-bootstrap
22919 maybe-configure-stage3-ld: configure-stage3-ld
22920 configure-stage3-ld:
22921 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22923 @r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22926 $(HOST_EXPORTS) \
22927 $(POSTSTAGE1_HOST_EXPORTS) \
22928 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22929 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
22930 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
22931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22932 cd $(HOST_SUBDIR)/ld || exit 1; \
22933 case $(srcdir) in \
22934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22935 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22937 esac; \
22938 srcdiroption="--srcdir=$${topdir}/ld"; \
22939 libsrcdir="$$s/ld"; \
22940 $(SHELL) $${libsrcdir}/configure \
22941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22942 --target=${target_alias} $${srcdiroption} \
22943 --with-build-libsubdir=$(HOST_SUBDIR) \
22944 @stage2_werror_flag@
22945 @endif ld-bootstrap
22947 .PHONY: configure-stageb3g2-ld maybe-configure-stageb3g2-ld
22948 maybe-configure-stageb3g2-ld:
22949 @if ld-bootstrap
22950 maybe-configure-stageb3g2-ld: configure-stageb3g2-ld
22951 configure-stageb3g2-ld:
22952 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
22953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22954 @r=`${PWD_COMMAND}`; export r; \
22955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22956 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22957 $(HOST_EXPORTS) \
22958 $(POSTSTAGE1_HOST_EXPORTS) \
22959 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
22960 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
22961 echo Configuring stage b3g2 in $(HOST_SUBDIR)/ld ; \
22962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22963 cd $(HOST_SUBDIR)/ld || exit 1; \
22964 case $(srcdir) in \
22965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22966 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22968 esac; \
22969 srcdiroption="--srcdir=$${topdir}/ld"; \
22970 libsrcdir="$$s/ld"; \
22971 $(SHELL) $${libsrcdir}/configure \
22972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22973 --target=${target_alias} $${srcdiroption} \
22974 --with-build-libsubdir=$(HOST_SUBDIR) \
22975 @stage2_werror_flag@
22976 @endif ld-bootstrap
22978 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
22979 maybe-configure-stage4-ld:
22980 @if ld-bootstrap
22981 maybe-configure-stage4-ld: configure-stage4-ld
22982 configure-stage4-ld:
22983 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
22985 @r=`${PWD_COMMAND}`; export r; \
22986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22987 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
22988 $(HOST_EXPORTS) \
22989 $(POSTSTAGE1_HOST_EXPORTS) \
22990 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22991 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
22992 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
22993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
22994 cd $(HOST_SUBDIR)/ld || exit 1; \
22995 case $(srcdir) in \
22996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22997 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
22998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22999 esac; \
23000 srcdiroption="--srcdir=$${topdir}/ld"; \
23001 libsrcdir="$$s/ld"; \
23002 $(SHELL) $${libsrcdir}/configure \
23003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23004 --target=${target_alias} $${srcdiroption} \
23005 --with-build-libsubdir=$(HOST_SUBDIR) \
23006 @stage2_werror_flag@
23007 @endif ld-bootstrap
23009 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
23010 maybe-configure-stageprofile-ld:
23011 @if ld-bootstrap
23012 maybe-configure-stageprofile-ld: configure-stageprofile-ld
23013 configure-stageprofile-ld:
23014 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23016 @r=`${PWD_COMMAND}`; export r; \
23017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23018 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23019 $(HOST_EXPORTS) \
23020 $(POSTSTAGE1_HOST_EXPORTS) \
23021 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
23022 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
23023 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
23024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
23025 cd $(HOST_SUBDIR)/ld || exit 1; \
23026 case $(srcdir) in \
23027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23028 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23030 esac; \
23031 srcdiroption="--srcdir=$${topdir}/ld"; \
23032 libsrcdir="$$s/ld"; \
23033 $(SHELL) $${libsrcdir}/configure \
23034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23035 --target=${target_alias} $${srcdiroption} \
23036 --with-build-libsubdir=$(HOST_SUBDIR) \
23037 @stage2_werror_flag@
23038 @endif ld-bootstrap
23040 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
23041 maybe-configure-stagefeedback-ld:
23042 @if ld-bootstrap
23043 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
23044 configure-stagefeedback-ld:
23045 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
23047 @r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
23050 $(HOST_EXPORTS) \
23051 $(POSTSTAGE1_HOST_EXPORTS) \
23052 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
23053 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
23054 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
23055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
23056 cd $(HOST_SUBDIR)/ld || exit 1; \
23057 case $(srcdir) in \
23058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23059 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
23060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23061 esac; \
23062 srcdiroption="--srcdir=$${topdir}/ld"; \
23063 libsrcdir="$$s/ld"; \
23064 $(SHELL) $${libsrcdir}/configure \
23065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23066 --target=${target_alias} $${srcdiroption} \
23067 --with-build-libsubdir=$(HOST_SUBDIR) \
23068 @stage2_werror_flag@
23069 @endif ld-bootstrap
23075 .PHONY: all-ld maybe-all-ld
23076 maybe-all-ld:
23077 @if gcc-bootstrap
23078 all-ld: stage_current
23079 @endif gcc-bootstrap
23080 @if ld
23081 TARGET-ld=all
23082 maybe-all-ld: all-ld
23083 all-ld: configure-ld
23084 @r=`${PWD_COMMAND}`; export r; \
23085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23086 $(HOST_EXPORTS) \
23087 (cd $(HOST_SUBDIR)/ld && \
23088 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
23089 $(TARGET-ld))
23090 @endif ld
23094 .PHONY: all-stage1-ld maybe-all-stage1-ld
23095 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
23096 maybe-all-stage1-ld:
23097 maybe-clean-stage1-ld:
23098 @if ld-bootstrap
23099 maybe-all-stage1-ld: all-stage1-ld
23100 all-stage1: all-stage1-ld
23101 TARGET-stage1-ld = $(TARGET-ld)
23102 all-stage1-ld: configure-stage1-ld
23103 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23104 @r=`${PWD_COMMAND}`; export r; \
23105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23106 $(HOST_EXPORTS) \
23107 cd $(HOST_SUBDIR)/ld && \
23108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23109 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
23110 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
23111 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
23112 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
23113 $(TARGET-stage1-ld)
23115 maybe-clean-stage1-ld: clean-stage1-ld
23116 clean-stage1: clean-stage1-ld
23117 clean-stage1-ld:
23118 @if [ $(current_stage) = stage1 ]; then \
23119 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23120 else \
23121 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
23122 $(MAKE) stage1-start; \
23123 fi; \
23124 cd $(HOST_SUBDIR)/ld && \
23125 $(MAKE) $(EXTRA_HOST_FLAGS) \
23126 clean
23127 @endif ld-bootstrap
23130 .PHONY: all-stage2-ld maybe-all-stage2-ld
23131 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
23132 maybe-all-stage2-ld:
23133 maybe-clean-stage2-ld:
23134 @if ld-bootstrap
23135 maybe-all-stage2-ld: all-stage2-ld
23136 all-stage2: all-stage2-ld
23137 TARGET-stage2-ld = $(TARGET-ld)
23138 all-stage2-ld: configure-stage2-ld
23139 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23140 @r=`${PWD_COMMAND}`; export r; \
23141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23142 $(HOST_EXPORTS) \
23143 $(POSTSTAGE1_HOST_EXPORTS) \
23144 cd $(HOST_SUBDIR)/ld && \
23145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23146 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
23147 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
23148 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
23149 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23150 $(TARGET-stage2-ld)
23152 maybe-clean-stage2-ld: clean-stage2-ld
23153 clean-stage2: clean-stage2-ld
23154 clean-stage2-ld:
23155 @if [ $(current_stage) = stage2 ]; then \
23156 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23157 else \
23158 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
23159 $(MAKE) stage2-start; \
23160 fi; \
23161 cd $(HOST_SUBDIR)/ld && \
23162 $(MAKE) $(EXTRA_HOST_FLAGS) \
23163 $(POSTSTAGE1_FLAGS_TO_PASS) \
23164 clean
23165 @endif ld-bootstrap
23168 .PHONY: all-stageb2g0-ld maybe-all-stageb2g0-ld
23169 .PHONY: clean-stageb2g0-ld maybe-clean-stageb2g0-ld
23170 maybe-all-stageb2g0-ld:
23171 maybe-clean-stageb2g0-ld:
23172 @if ld-bootstrap
23173 maybe-all-stageb2g0-ld: all-stageb2g0-ld
23174 all-stageb2g0: all-stageb2g0-ld
23175 TARGET-stageb2g0-ld = $(TARGET-ld)
23176 all-stageb2g0-ld: configure-stageb2g0-ld
23177 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
23178 @r=`${PWD_COMMAND}`; export r; \
23179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23180 $(HOST_EXPORTS) \
23181 $(POSTSTAGE1_HOST_EXPORTS) \
23182 cd $(HOST_SUBDIR)/ld && \
23183 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23184 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
23185 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
23186 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
23187 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23188 $(TARGET-stageb2g0-ld)
23190 maybe-clean-stageb2g0-ld: clean-stageb2g0-ld
23191 clean-stageb2g0: clean-stageb2g0-ld
23192 clean-stageb2g0-ld:
23193 @if [ $(current_stage) = stageb2g0 ]; then \
23194 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23195 else \
23196 [ -f $(HOST_SUBDIR)/stageb2g0-ld/Makefile ] || exit 0; \
23197 $(MAKE) stageb2g0-start; \
23198 fi; \
23199 cd $(HOST_SUBDIR)/ld && \
23200 $(MAKE) $(EXTRA_HOST_FLAGS) \
23201 $(POSTSTAGE1_FLAGS_TO_PASS) \
23202 clean
23203 @endif ld-bootstrap
23206 .PHONY: all-stage3-ld maybe-all-stage3-ld
23207 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
23208 maybe-all-stage3-ld:
23209 maybe-clean-stage3-ld:
23210 @if ld-bootstrap
23211 maybe-all-stage3-ld: all-stage3-ld
23212 all-stage3: all-stage3-ld
23213 TARGET-stage3-ld = $(TARGET-ld)
23214 all-stage3-ld: configure-stage3-ld
23215 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23216 @r=`${PWD_COMMAND}`; export r; \
23217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23218 $(HOST_EXPORTS) \
23219 $(POSTSTAGE1_HOST_EXPORTS) \
23220 cd $(HOST_SUBDIR)/ld && \
23221 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23222 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
23223 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
23224 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
23225 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23226 $(TARGET-stage3-ld)
23228 maybe-clean-stage3-ld: clean-stage3-ld
23229 clean-stage3: clean-stage3-ld
23230 clean-stage3-ld:
23231 @if [ $(current_stage) = stage3 ]; then \
23232 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23233 else \
23234 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
23235 $(MAKE) stage3-start; \
23236 fi; \
23237 cd $(HOST_SUBDIR)/ld && \
23238 $(MAKE) $(EXTRA_HOST_FLAGS) \
23239 $(POSTSTAGE1_FLAGS_TO_PASS) \
23240 clean
23241 @endif ld-bootstrap
23244 .PHONY: all-stageb3g2-ld maybe-all-stageb3g2-ld
23245 .PHONY: clean-stageb3g2-ld maybe-clean-stageb3g2-ld
23246 maybe-all-stageb3g2-ld:
23247 maybe-clean-stageb3g2-ld:
23248 @if ld-bootstrap
23249 maybe-all-stageb3g2-ld: all-stageb3g2-ld
23250 all-stageb3g2: all-stageb3g2-ld
23251 TARGET-stageb3g2-ld = $(TARGET-ld)
23252 all-stageb3g2-ld: configure-stageb3g2-ld
23253 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
23254 @r=`${PWD_COMMAND}`; export r; \
23255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23256 $(HOST_EXPORTS) \
23257 $(POSTSTAGE1_HOST_EXPORTS) \
23258 cd $(HOST_SUBDIR)/ld && \
23259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23260 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
23261 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
23262 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
23263 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23264 $(TARGET-stageb3g2-ld)
23266 maybe-clean-stageb3g2-ld: clean-stageb3g2-ld
23267 clean-stageb3g2: clean-stageb3g2-ld
23268 clean-stageb3g2-ld:
23269 @if [ $(current_stage) = stageb3g2 ]; then \
23270 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23271 else \
23272 [ -f $(HOST_SUBDIR)/stageb3g2-ld/Makefile ] || exit 0; \
23273 $(MAKE) stageb3g2-start; \
23274 fi; \
23275 cd $(HOST_SUBDIR)/ld && \
23276 $(MAKE) $(EXTRA_HOST_FLAGS) \
23277 $(POSTSTAGE1_FLAGS_TO_PASS) \
23278 clean
23279 @endif ld-bootstrap
23282 .PHONY: all-stage4-ld maybe-all-stage4-ld
23283 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
23284 maybe-all-stage4-ld:
23285 maybe-clean-stage4-ld:
23286 @if ld-bootstrap
23287 maybe-all-stage4-ld: all-stage4-ld
23288 all-stage4: all-stage4-ld
23289 TARGET-stage4-ld = $(TARGET-ld)
23290 all-stage4-ld: configure-stage4-ld
23291 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23292 @r=`${PWD_COMMAND}`; export r; \
23293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23294 $(HOST_EXPORTS) \
23295 $(POSTSTAGE1_HOST_EXPORTS) \
23296 cd $(HOST_SUBDIR)/ld && \
23297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23298 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
23299 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23300 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
23301 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23302 $(TARGET-stage4-ld)
23304 maybe-clean-stage4-ld: clean-stage4-ld
23305 clean-stage4: clean-stage4-ld
23306 clean-stage4-ld:
23307 @if [ $(current_stage) = stage4 ]; then \
23308 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23309 else \
23310 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
23311 $(MAKE) stage4-start; \
23312 fi; \
23313 cd $(HOST_SUBDIR)/ld && \
23314 $(MAKE) $(EXTRA_HOST_FLAGS) \
23315 $(POSTSTAGE1_FLAGS_TO_PASS) \
23316 clean
23317 @endif ld-bootstrap
23320 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
23321 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
23322 maybe-all-stageprofile-ld:
23323 maybe-clean-stageprofile-ld:
23324 @if ld-bootstrap
23325 maybe-all-stageprofile-ld: all-stageprofile-ld
23326 all-stageprofile: all-stageprofile-ld
23327 TARGET-stageprofile-ld = $(TARGET-ld)
23328 all-stageprofile-ld: configure-stageprofile-ld
23329 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23330 @r=`${PWD_COMMAND}`; export r; \
23331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23332 $(HOST_EXPORTS) \
23333 $(POSTSTAGE1_HOST_EXPORTS) \
23334 cd $(HOST_SUBDIR)/ld && \
23335 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23336 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
23337 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
23338 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
23339 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23340 $(TARGET-stageprofile-ld)
23342 maybe-clean-stageprofile-ld: clean-stageprofile-ld
23343 clean-stageprofile: clean-stageprofile-ld
23344 clean-stageprofile-ld:
23345 @if [ $(current_stage) = stageprofile ]; then \
23346 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23347 else \
23348 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
23349 $(MAKE) stageprofile-start; \
23350 fi; \
23351 cd $(HOST_SUBDIR)/ld && \
23352 $(MAKE) $(EXTRA_HOST_FLAGS) \
23353 $(POSTSTAGE1_FLAGS_TO_PASS) \
23354 clean
23355 @endif ld-bootstrap
23358 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
23359 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
23360 maybe-all-stagefeedback-ld:
23361 maybe-clean-stagefeedback-ld:
23362 @if ld-bootstrap
23363 maybe-all-stagefeedback-ld: all-stagefeedback-ld
23364 all-stagefeedback: all-stagefeedback-ld
23365 TARGET-stagefeedback-ld = $(TARGET-ld)
23366 all-stagefeedback-ld: configure-stagefeedback-ld
23367 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23368 @r=`${PWD_COMMAND}`; export r; \
23369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23370 $(HOST_EXPORTS) \
23371 $(POSTSTAGE1_HOST_EXPORTS) \
23372 cd $(HOST_SUBDIR)/ld && \
23373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23374 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
23375 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
23376 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
23377 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23378 $(TARGET-stagefeedback-ld)
23380 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
23381 clean-stagefeedback: clean-stagefeedback-ld
23382 clean-stagefeedback-ld:
23383 @if [ $(current_stage) = stagefeedback ]; then \
23384 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
23385 else \
23386 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
23387 $(MAKE) stagefeedback-start; \
23388 fi; \
23389 cd $(HOST_SUBDIR)/ld && \
23390 $(MAKE) $(EXTRA_HOST_FLAGS) \
23391 $(POSTSTAGE1_FLAGS_TO_PASS) \
23392 clean
23393 @endif ld-bootstrap
23399 .PHONY: check-ld maybe-check-ld
23400 maybe-check-ld:
23401 @if ld
23402 maybe-check-ld: check-ld
23404 check-ld:
23405 @: $(MAKE); $(unstage)
23406 @r=`${PWD_COMMAND}`; export r; \
23407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 $(HOST_EXPORTS) \
23409 (cd $(HOST_SUBDIR)/ld && \
23410 $(MAKE) $(FLAGS_TO_PASS) check)
23412 @endif ld
23414 .PHONY: install-ld maybe-install-ld
23415 maybe-install-ld:
23416 @if ld
23417 maybe-install-ld: install-ld
23419 install-ld: installdirs
23420 @: $(MAKE); $(unstage)
23421 @r=`${PWD_COMMAND}`; export r; \
23422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23423 $(HOST_EXPORTS) \
23424 (cd $(HOST_SUBDIR)/ld && \
23425 $(MAKE) $(FLAGS_TO_PASS) install)
23427 @endif ld
23429 # Other targets (info, dvi, pdf, etc.)
23431 .PHONY: maybe-info-ld info-ld
23432 maybe-info-ld:
23433 @if ld
23434 maybe-info-ld: info-ld
23436 info-ld: \
23437 configure-ld
23438 @[ -f ./ld/Makefile ] || exit 0; \
23439 r=`${PWD_COMMAND}`; export r; \
23440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23441 $(HOST_EXPORTS) \
23442 for flag in $(EXTRA_HOST_FLAGS) ; do \
23443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23444 done; \
23445 echo "Doing info in ld" ; \
23446 (cd $(HOST_SUBDIR)/ld && \
23447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23449 "RANLIB=$${RANLIB}" \
23450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23451 info) \
23452 || exit 1
23454 @endif ld
23456 .PHONY: maybe-dvi-ld dvi-ld
23457 maybe-dvi-ld:
23458 @if ld
23459 maybe-dvi-ld: dvi-ld
23461 dvi-ld: \
23462 configure-ld
23463 @[ -f ./ld/Makefile ] || exit 0; \
23464 r=`${PWD_COMMAND}`; export r; \
23465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23466 $(HOST_EXPORTS) \
23467 for flag in $(EXTRA_HOST_FLAGS) ; do \
23468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23469 done; \
23470 echo "Doing dvi in ld" ; \
23471 (cd $(HOST_SUBDIR)/ld && \
23472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23474 "RANLIB=$${RANLIB}" \
23475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23476 dvi) \
23477 || exit 1
23479 @endif ld
23481 .PHONY: maybe-pdf-ld pdf-ld
23482 maybe-pdf-ld:
23483 @if ld
23484 maybe-pdf-ld: pdf-ld
23486 pdf-ld: \
23487 configure-ld
23488 @[ -f ./ld/Makefile ] || exit 0; \
23489 r=`${PWD_COMMAND}`; export r; \
23490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23491 $(HOST_EXPORTS) \
23492 for flag in $(EXTRA_HOST_FLAGS) ; do \
23493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23494 done; \
23495 echo "Doing pdf in ld" ; \
23496 (cd $(HOST_SUBDIR)/ld && \
23497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23499 "RANLIB=$${RANLIB}" \
23500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23501 pdf) \
23502 || exit 1
23504 @endif ld
23506 .PHONY: maybe-html-ld html-ld
23507 maybe-html-ld:
23508 @if ld
23509 maybe-html-ld: html-ld
23511 html-ld: \
23512 configure-ld
23513 @[ -f ./ld/Makefile ] || exit 0; \
23514 r=`${PWD_COMMAND}`; export r; \
23515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23516 $(HOST_EXPORTS) \
23517 for flag in $(EXTRA_HOST_FLAGS) ; do \
23518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23519 done; \
23520 echo "Doing html in ld" ; \
23521 (cd $(HOST_SUBDIR)/ld && \
23522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23524 "RANLIB=$${RANLIB}" \
23525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23526 html) \
23527 || exit 1
23529 @endif ld
23531 .PHONY: maybe-TAGS-ld TAGS-ld
23532 maybe-TAGS-ld:
23533 @if ld
23534 maybe-TAGS-ld: TAGS-ld
23536 TAGS-ld: \
23537 configure-ld
23538 @[ -f ./ld/Makefile ] || exit 0; \
23539 r=`${PWD_COMMAND}`; export r; \
23540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 $(HOST_EXPORTS) \
23542 for flag in $(EXTRA_HOST_FLAGS) ; do \
23543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544 done; \
23545 echo "Doing TAGS in ld" ; \
23546 (cd $(HOST_SUBDIR)/ld && \
23547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23549 "RANLIB=$${RANLIB}" \
23550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23551 TAGS) \
23552 || exit 1
23554 @endif ld
23556 .PHONY: maybe-install-info-ld install-info-ld
23557 maybe-install-info-ld:
23558 @if ld
23559 maybe-install-info-ld: install-info-ld
23561 install-info-ld: \
23562 configure-ld \
23563 info-ld
23564 @[ -f ./ld/Makefile ] || exit 0; \
23565 r=`${PWD_COMMAND}`; export r; \
23566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23567 $(HOST_EXPORTS) \
23568 for flag in $(EXTRA_HOST_FLAGS) ; do \
23569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23570 done; \
23571 echo "Doing install-info in ld" ; \
23572 (cd $(HOST_SUBDIR)/ld && \
23573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23575 "RANLIB=$${RANLIB}" \
23576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23577 install-info) \
23578 || exit 1
23580 @endif ld
23582 .PHONY: maybe-install-pdf-ld install-pdf-ld
23583 maybe-install-pdf-ld:
23584 @if ld
23585 maybe-install-pdf-ld: install-pdf-ld
23587 install-pdf-ld: \
23588 configure-ld \
23589 pdf-ld
23590 @[ -f ./ld/Makefile ] || exit 0; \
23591 r=`${PWD_COMMAND}`; export r; \
23592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23593 $(HOST_EXPORTS) \
23594 for flag in $(EXTRA_HOST_FLAGS) ; do \
23595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23596 done; \
23597 echo "Doing install-pdf in ld" ; \
23598 (cd $(HOST_SUBDIR)/ld && \
23599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23601 "RANLIB=$${RANLIB}" \
23602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23603 install-pdf) \
23604 || exit 1
23606 @endif ld
23608 .PHONY: maybe-install-html-ld install-html-ld
23609 maybe-install-html-ld:
23610 @if ld
23611 maybe-install-html-ld: install-html-ld
23613 install-html-ld: \
23614 configure-ld \
23615 html-ld
23616 @[ -f ./ld/Makefile ] || exit 0; \
23617 r=`${PWD_COMMAND}`; export r; \
23618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23619 $(HOST_EXPORTS) \
23620 for flag in $(EXTRA_HOST_FLAGS) ; do \
23621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23622 done; \
23623 echo "Doing install-html in ld" ; \
23624 (cd $(HOST_SUBDIR)/ld && \
23625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23627 "RANLIB=$${RANLIB}" \
23628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23629 install-html) \
23630 || exit 1
23632 @endif ld
23634 .PHONY: maybe-installcheck-ld installcheck-ld
23635 maybe-installcheck-ld:
23636 @if ld
23637 maybe-installcheck-ld: installcheck-ld
23639 installcheck-ld: \
23640 configure-ld
23641 @[ -f ./ld/Makefile ] || exit 0; \
23642 r=`${PWD_COMMAND}`; export r; \
23643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23644 $(HOST_EXPORTS) \
23645 for flag in $(EXTRA_HOST_FLAGS) ; do \
23646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23647 done; \
23648 echo "Doing installcheck in ld" ; \
23649 (cd $(HOST_SUBDIR)/ld && \
23650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23652 "RANLIB=$${RANLIB}" \
23653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23654 installcheck) \
23655 || exit 1
23657 @endif ld
23659 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
23660 maybe-mostlyclean-ld:
23661 @if ld
23662 maybe-mostlyclean-ld: mostlyclean-ld
23664 mostlyclean-ld:
23665 @[ -f ./ld/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing mostlyclean in ld" ; \
23673 (cd $(HOST_SUBDIR)/ld && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23678 mostlyclean) \
23679 || exit 1
23681 @endif ld
23683 .PHONY: maybe-clean-ld clean-ld
23684 maybe-clean-ld:
23685 @if ld
23686 maybe-clean-ld: clean-ld
23688 clean-ld:
23689 @[ -f ./ld/Makefile ] || exit 0; \
23690 r=`${PWD_COMMAND}`; export r; \
23691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23692 $(HOST_EXPORTS) \
23693 for flag in $(EXTRA_HOST_FLAGS) ; do \
23694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23695 done; \
23696 echo "Doing clean in ld" ; \
23697 (cd $(HOST_SUBDIR)/ld && \
23698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23700 "RANLIB=$${RANLIB}" \
23701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23702 clean) \
23703 || exit 1
23705 @endif ld
23707 .PHONY: maybe-distclean-ld distclean-ld
23708 maybe-distclean-ld:
23709 @if ld
23710 maybe-distclean-ld: distclean-ld
23712 distclean-ld:
23713 @[ -f ./ld/Makefile ] || exit 0; \
23714 r=`${PWD_COMMAND}`; export r; \
23715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23716 $(HOST_EXPORTS) \
23717 for flag in $(EXTRA_HOST_FLAGS) ; do \
23718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23719 done; \
23720 echo "Doing distclean in ld" ; \
23721 (cd $(HOST_SUBDIR)/ld && \
23722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23724 "RANLIB=$${RANLIB}" \
23725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23726 distclean) \
23727 || exit 1
23729 @endif ld
23731 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
23732 maybe-maintainer-clean-ld:
23733 @if ld
23734 maybe-maintainer-clean-ld: maintainer-clean-ld
23736 maintainer-clean-ld:
23737 @[ -f ./ld/Makefile ] || exit 0; \
23738 r=`${PWD_COMMAND}`; export r; \
23739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23740 $(HOST_EXPORTS) \
23741 for flag in $(EXTRA_HOST_FLAGS) ; do \
23742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23743 done; \
23744 echo "Doing maintainer-clean in ld" ; \
23745 (cd $(HOST_SUBDIR)/ld && \
23746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23748 "RANLIB=$${RANLIB}" \
23749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23750 maintainer-clean) \
23751 || exit 1
23753 @endif ld
23757 .PHONY: configure-libcpp maybe-configure-libcpp
23758 maybe-configure-libcpp:
23759 @if gcc-bootstrap
23760 configure-libcpp: stage_current
23761 @endif gcc-bootstrap
23762 @if libcpp
23763 maybe-configure-libcpp: configure-libcpp
23764 configure-libcpp:
23765 @r=`${PWD_COMMAND}`; export r; \
23766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23767 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23769 $(HOST_EXPORTS) \
23770 echo Configuring in $(HOST_SUBDIR)/libcpp; \
23771 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
23772 case $(srcdir) in \
23773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23774 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23776 esac; \
23777 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23778 libsrcdir="$$s/libcpp"; \
23779 $(SHELL) $${libsrcdir}/configure \
23780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23781 --target=${target_alias} $${srcdiroption} \
23782 || exit 1
23783 @endif libcpp
23787 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
23788 maybe-configure-stage1-libcpp:
23789 @if libcpp-bootstrap
23790 maybe-configure-stage1-libcpp: configure-stage1-libcpp
23791 configure-stage1-libcpp:
23792 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23794 @r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23797 $(HOST_EXPORTS) \
23798 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23799 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
23800 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
23801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23802 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23803 case $(srcdir) in \
23804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23805 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23807 esac; \
23808 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23809 libsrcdir="$$s/libcpp"; \
23810 $(SHELL) $${libsrcdir}/configure \
23811 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23812 --target=${target_alias} $${srcdiroption} \
23814 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
23815 @endif libcpp-bootstrap
23817 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
23818 maybe-configure-stage2-libcpp:
23819 @if libcpp-bootstrap
23820 maybe-configure-stage2-libcpp: configure-stage2-libcpp
23821 configure-stage2-libcpp:
23822 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23823 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23824 @r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23827 $(HOST_EXPORTS) \
23828 $(POSTSTAGE1_HOST_EXPORTS) \
23829 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23830 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
23831 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
23832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23833 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23834 case $(srcdir) in \
23835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23836 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23838 esac; \
23839 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23840 libsrcdir="$$s/libcpp"; \
23841 $(SHELL) $${libsrcdir}/configure \
23842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23843 --target=${target_alias} $${srcdiroption} \
23844 --with-build-libsubdir=$(HOST_SUBDIR) \
23845 @stage2_werror_flag@
23846 @endif libcpp-bootstrap
23848 .PHONY: configure-stageb2g0-libcpp maybe-configure-stageb2g0-libcpp
23849 maybe-configure-stageb2g0-libcpp:
23850 @if libcpp-bootstrap
23851 maybe-configure-stageb2g0-libcpp: configure-stageb2g0-libcpp
23852 configure-stageb2g0-libcpp:
23853 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
23854 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23855 @r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23858 $(HOST_EXPORTS) \
23859 $(POSTSTAGE1_HOST_EXPORTS) \
23860 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
23861 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
23862 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libcpp ; \
23863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23864 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23865 case $(srcdir) in \
23866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23867 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23869 esac; \
23870 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23871 libsrcdir="$$s/libcpp"; \
23872 $(SHELL) $${libsrcdir}/configure \
23873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23874 --target=${target_alias} $${srcdiroption} \
23875 --with-build-libsubdir=$(HOST_SUBDIR) \
23876 @stage2_werror_flag@
23877 @endif libcpp-bootstrap
23879 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
23880 maybe-configure-stage3-libcpp:
23881 @if libcpp-bootstrap
23882 maybe-configure-stage3-libcpp: configure-stage3-libcpp
23883 configure-stage3-libcpp:
23884 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23885 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23886 @r=`${PWD_COMMAND}`; export r; \
23887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23888 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23889 $(HOST_EXPORTS) \
23890 $(POSTSTAGE1_HOST_EXPORTS) \
23891 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23892 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
23893 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
23894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23895 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23896 case $(srcdir) in \
23897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23898 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23900 esac; \
23901 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23902 libsrcdir="$$s/libcpp"; \
23903 $(SHELL) $${libsrcdir}/configure \
23904 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23905 --target=${target_alias} $${srcdiroption} \
23906 --with-build-libsubdir=$(HOST_SUBDIR) \
23907 @stage2_werror_flag@
23908 @endif libcpp-bootstrap
23910 .PHONY: configure-stageb3g2-libcpp maybe-configure-stageb3g2-libcpp
23911 maybe-configure-stageb3g2-libcpp:
23912 @if libcpp-bootstrap
23913 maybe-configure-stageb3g2-libcpp: configure-stageb3g2-libcpp
23914 configure-stageb3g2-libcpp:
23915 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
23916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23917 @r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23920 $(HOST_EXPORTS) \
23921 $(POSTSTAGE1_HOST_EXPORTS) \
23922 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
23923 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
23924 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libcpp ; \
23925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23926 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23927 case $(srcdir) in \
23928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23929 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23931 esac; \
23932 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23933 libsrcdir="$$s/libcpp"; \
23934 $(SHELL) $${libsrcdir}/configure \
23935 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23936 --target=${target_alias} $${srcdiroption} \
23937 --with-build-libsubdir=$(HOST_SUBDIR) \
23938 @stage2_werror_flag@
23939 @endif libcpp-bootstrap
23941 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
23942 maybe-configure-stage4-libcpp:
23943 @if libcpp-bootstrap
23944 maybe-configure-stage4-libcpp: configure-stage4-libcpp
23945 configure-stage4-libcpp:
23946 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23947 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23948 @r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23950 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23951 $(HOST_EXPORTS) \
23952 $(POSTSTAGE1_HOST_EXPORTS) \
23953 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23954 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
23955 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
23956 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23957 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23958 case $(srcdir) in \
23959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23960 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23962 esac; \
23963 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23964 libsrcdir="$$s/libcpp"; \
23965 $(SHELL) $${libsrcdir}/configure \
23966 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23967 --target=${target_alias} $${srcdiroption} \
23968 --with-build-libsubdir=$(HOST_SUBDIR) \
23969 @stage2_werror_flag@
23970 @endif libcpp-bootstrap
23972 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
23973 maybe-configure-stageprofile-libcpp:
23974 @if libcpp-bootstrap
23975 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
23976 configure-stageprofile-libcpp:
23977 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23978 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
23979 @r=`${PWD_COMMAND}`; export r; \
23980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
23982 $(HOST_EXPORTS) \
23983 $(POSTSTAGE1_HOST_EXPORTS) \
23984 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
23985 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
23986 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
23987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
23988 cd $(HOST_SUBDIR)/libcpp || exit 1; \
23989 case $(srcdir) in \
23990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23991 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
23992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23993 esac; \
23994 srcdiroption="--srcdir=$${topdir}/libcpp"; \
23995 libsrcdir="$$s/libcpp"; \
23996 $(SHELL) $${libsrcdir}/configure \
23997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23998 --target=${target_alias} $${srcdiroption} \
23999 --with-build-libsubdir=$(HOST_SUBDIR) \
24000 @stage2_werror_flag@
24001 @endif libcpp-bootstrap
24003 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
24004 maybe-configure-stagefeedback-libcpp:
24005 @if libcpp-bootstrap
24006 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
24007 configure-stagefeedback-libcpp:
24008 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24009 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
24010 @r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
24013 $(HOST_EXPORTS) \
24014 $(POSTSTAGE1_HOST_EXPORTS) \
24015 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
24016 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
24017 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
24018 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
24019 cd $(HOST_SUBDIR)/libcpp || exit 1; \
24020 case $(srcdir) in \
24021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24022 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
24023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24024 esac; \
24025 srcdiroption="--srcdir=$${topdir}/libcpp"; \
24026 libsrcdir="$$s/libcpp"; \
24027 $(SHELL) $${libsrcdir}/configure \
24028 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24029 --target=${target_alias} $${srcdiroption} \
24030 --with-build-libsubdir=$(HOST_SUBDIR) \
24031 @stage2_werror_flag@
24032 @endif libcpp-bootstrap
24038 .PHONY: all-libcpp maybe-all-libcpp
24039 maybe-all-libcpp:
24040 @if gcc-bootstrap
24041 all-libcpp: stage_current
24042 @endif gcc-bootstrap
24043 @if libcpp
24044 TARGET-libcpp=all
24045 maybe-all-libcpp: all-libcpp
24046 all-libcpp: configure-libcpp
24047 @r=`${PWD_COMMAND}`; export r; \
24048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 $(HOST_EXPORTS) \
24050 (cd $(HOST_SUBDIR)/libcpp && \
24051 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
24052 $(TARGET-libcpp))
24053 @endif libcpp
24057 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
24058 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
24059 maybe-all-stage1-libcpp:
24060 maybe-clean-stage1-libcpp:
24061 @if libcpp-bootstrap
24062 maybe-all-stage1-libcpp: all-stage1-libcpp
24063 all-stage1: all-stage1-libcpp
24064 TARGET-stage1-libcpp = $(TARGET-libcpp)
24065 all-stage1-libcpp: configure-stage1-libcpp
24066 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24067 @r=`${PWD_COMMAND}`; export r; \
24068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24069 $(HOST_EXPORTS) \
24070 cd $(HOST_SUBDIR)/libcpp && \
24071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24072 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
24073 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
24074 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
24075 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
24076 $(TARGET-stage1-libcpp)
24078 maybe-clean-stage1-libcpp: clean-stage1-libcpp
24079 clean-stage1: clean-stage1-libcpp
24080 clean-stage1-libcpp:
24081 @if [ $(current_stage) = stage1 ]; then \
24082 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24083 else \
24084 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
24085 $(MAKE) stage1-start; \
24086 fi; \
24087 cd $(HOST_SUBDIR)/libcpp && \
24088 $(MAKE) $(EXTRA_HOST_FLAGS) \
24089 clean
24090 @endif libcpp-bootstrap
24093 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
24094 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
24095 maybe-all-stage2-libcpp:
24096 maybe-clean-stage2-libcpp:
24097 @if libcpp-bootstrap
24098 maybe-all-stage2-libcpp: all-stage2-libcpp
24099 all-stage2: all-stage2-libcpp
24100 TARGET-stage2-libcpp = $(TARGET-libcpp)
24101 all-stage2-libcpp: configure-stage2-libcpp
24102 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24103 @r=`${PWD_COMMAND}`; export r; \
24104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24105 $(HOST_EXPORTS) \
24106 $(POSTSTAGE1_HOST_EXPORTS) \
24107 cd $(HOST_SUBDIR)/libcpp && \
24108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24109 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
24110 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
24111 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
24112 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24113 $(TARGET-stage2-libcpp)
24115 maybe-clean-stage2-libcpp: clean-stage2-libcpp
24116 clean-stage2: clean-stage2-libcpp
24117 clean-stage2-libcpp:
24118 @if [ $(current_stage) = stage2 ]; then \
24119 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24120 else \
24121 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
24122 $(MAKE) stage2-start; \
24123 fi; \
24124 cd $(HOST_SUBDIR)/libcpp && \
24125 $(MAKE) $(EXTRA_HOST_FLAGS) \
24126 $(POSTSTAGE1_FLAGS_TO_PASS) \
24127 clean
24128 @endif libcpp-bootstrap
24131 .PHONY: all-stageb2g0-libcpp maybe-all-stageb2g0-libcpp
24132 .PHONY: clean-stageb2g0-libcpp maybe-clean-stageb2g0-libcpp
24133 maybe-all-stageb2g0-libcpp:
24134 maybe-clean-stageb2g0-libcpp:
24135 @if libcpp-bootstrap
24136 maybe-all-stageb2g0-libcpp: all-stageb2g0-libcpp
24137 all-stageb2g0: all-stageb2g0-libcpp
24138 TARGET-stageb2g0-libcpp = $(TARGET-libcpp)
24139 all-stageb2g0-libcpp: configure-stageb2g0-libcpp
24140 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
24141 @r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(HOST_EXPORTS) \
24144 $(POSTSTAGE1_HOST_EXPORTS) \
24145 cd $(HOST_SUBDIR)/libcpp && \
24146 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24147 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
24148 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
24149 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
24150 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24151 $(TARGET-stageb2g0-libcpp)
24153 maybe-clean-stageb2g0-libcpp: clean-stageb2g0-libcpp
24154 clean-stageb2g0: clean-stageb2g0-libcpp
24155 clean-stageb2g0-libcpp:
24156 @if [ $(current_stage) = stageb2g0 ]; then \
24157 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24158 else \
24159 [ -f $(HOST_SUBDIR)/stageb2g0-libcpp/Makefile ] || exit 0; \
24160 $(MAKE) stageb2g0-start; \
24161 fi; \
24162 cd $(HOST_SUBDIR)/libcpp && \
24163 $(MAKE) $(EXTRA_HOST_FLAGS) \
24164 $(POSTSTAGE1_FLAGS_TO_PASS) \
24165 clean
24166 @endif libcpp-bootstrap
24169 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
24170 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
24171 maybe-all-stage3-libcpp:
24172 maybe-clean-stage3-libcpp:
24173 @if libcpp-bootstrap
24174 maybe-all-stage3-libcpp: all-stage3-libcpp
24175 all-stage3: all-stage3-libcpp
24176 TARGET-stage3-libcpp = $(TARGET-libcpp)
24177 all-stage3-libcpp: configure-stage3-libcpp
24178 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24179 @r=`${PWD_COMMAND}`; export r; \
24180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24181 $(HOST_EXPORTS) \
24182 $(POSTSTAGE1_HOST_EXPORTS) \
24183 cd $(HOST_SUBDIR)/libcpp && \
24184 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24185 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
24186 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
24187 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
24188 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24189 $(TARGET-stage3-libcpp)
24191 maybe-clean-stage3-libcpp: clean-stage3-libcpp
24192 clean-stage3: clean-stage3-libcpp
24193 clean-stage3-libcpp:
24194 @if [ $(current_stage) = stage3 ]; then \
24195 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24196 else \
24197 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
24198 $(MAKE) stage3-start; \
24199 fi; \
24200 cd $(HOST_SUBDIR)/libcpp && \
24201 $(MAKE) $(EXTRA_HOST_FLAGS) \
24202 $(POSTSTAGE1_FLAGS_TO_PASS) \
24203 clean
24204 @endif libcpp-bootstrap
24207 .PHONY: all-stageb3g2-libcpp maybe-all-stageb3g2-libcpp
24208 .PHONY: clean-stageb3g2-libcpp maybe-clean-stageb3g2-libcpp
24209 maybe-all-stageb3g2-libcpp:
24210 maybe-clean-stageb3g2-libcpp:
24211 @if libcpp-bootstrap
24212 maybe-all-stageb3g2-libcpp: all-stageb3g2-libcpp
24213 all-stageb3g2: all-stageb3g2-libcpp
24214 TARGET-stageb3g2-libcpp = $(TARGET-libcpp)
24215 all-stageb3g2-libcpp: configure-stageb3g2-libcpp
24216 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
24217 @r=`${PWD_COMMAND}`; export r; \
24218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24219 $(HOST_EXPORTS) \
24220 $(POSTSTAGE1_HOST_EXPORTS) \
24221 cd $(HOST_SUBDIR)/libcpp && \
24222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24223 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
24224 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
24225 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
24226 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24227 $(TARGET-stageb3g2-libcpp)
24229 maybe-clean-stageb3g2-libcpp: clean-stageb3g2-libcpp
24230 clean-stageb3g2: clean-stageb3g2-libcpp
24231 clean-stageb3g2-libcpp:
24232 @if [ $(current_stage) = stageb3g2 ]; then \
24233 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24234 else \
24235 [ -f $(HOST_SUBDIR)/stageb3g2-libcpp/Makefile ] || exit 0; \
24236 $(MAKE) stageb3g2-start; \
24237 fi; \
24238 cd $(HOST_SUBDIR)/libcpp && \
24239 $(MAKE) $(EXTRA_HOST_FLAGS) \
24240 $(POSTSTAGE1_FLAGS_TO_PASS) \
24241 clean
24242 @endif libcpp-bootstrap
24245 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
24246 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
24247 maybe-all-stage4-libcpp:
24248 maybe-clean-stage4-libcpp:
24249 @if libcpp-bootstrap
24250 maybe-all-stage4-libcpp: all-stage4-libcpp
24251 all-stage4: all-stage4-libcpp
24252 TARGET-stage4-libcpp = $(TARGET-libcpp)
24253 all-stage4-libcpp: configure-stage4-libcpp
24254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24255 @r=`${PWD_COMMAND}`; export r; \
24256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24257 $(HOST_EXPORTS) \
24258 $(POSTSTAGE1_HOST_EXPORTS) \
24259 cd $(HOST_SUBDIR)/libcpp && \
24260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24261 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
24262 LIBCFLAGS="$(STAGE4_CFLAGS)" \
24263 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
24264 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24265 $(TARGET-stage4-libcpp)
24267 maybe-clean-stage4-libcpp: clean-stage4-libcpp
24268 clean-stage4: clean-stage4-libcpp
24269 clean-stage4-libcpp:
24270 @if [ $(current_stage) = stage4 ]; then \
24271 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24272 else \
24273 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
24274 $(MAKE) stage4-start; \
24275 fi; \
24276 cd $(HOST_SUBDIR)/libcpp && \
24277 $(MAKE) $(EXTRA_HOST_FLAGS) \
24278 $(POSTSTAGE1_FLAGS_TO_PASS) \
24279 clean
24280 @endif libcpp-bootstrap
24283 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
24284 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
24285 maybe-all-stageprofile-libcpp:
24286 maybe-clean-stageprofile-libcpp:
24287 @if libcpp-bootstrap
24288 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
24289 all-stageprofile: all-stageprofile-libcpp
24290 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
24291 all-stageprofile-libcpp: configure-stageprofile-libcpp
24292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24293 @r=`${PWD_COMMAND}`; export r; \
24294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 $(HOST_EXPORTS) \
24296 $(POSTSTAGE1_HOST_EXPORTS) \
24297 cd $(HOST_SUBDIR)/libcpp && \
24298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24299 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
24300 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
24301 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
24302 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24303 $(TARGET-stageprofile-libcpp)
24305 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
24306 clean-stageprofile: clean-stageprofile-libcpp
24307 clean-stageprofile-libcpp:
24308 @if [ $(current_stage) = stageprofile ]; then \
24309 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24310 else \
24311 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
24312 $(MAKE) stageprofile-start; \
24313 fi; \
24314 cd $(HOST_SUBDIR)/libcpp && \
24315 $(MAKE) $(EXTRA_HOST_FLAGS) \
24316 $(POSTSTAGE1_FLAGS_TO_PASS) \
24317 clean
24318 @endif libcpp-bootstrap
24321 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
24322 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
24323 maybe-all-stagefeedback-libcpp:
24324 maybe-clean-stagefeedback-libcpp:
24325 @if libcpp-bootstrap
24326 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
24327 all-stagefeedback: all-stagefeedback-libcpp
24328 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
24329 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
24330 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(HOST_EXPORTS) \
24334 $(POSTSTAGE1_HOST_EXPORTS) \
24335 cd $(HOST_SUBDIR)/libcpp && \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) \
24337 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
24338 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
24339 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
24340 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
24341 $(TARGET-stagefeedback-libcpp)
24343 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
24344 clean-stagefeedback: clean-stagefeedback-libcpp
24345 clean-stagefeedback-libcpp:
24346 @if [ $(current_stage) = stagefeedback ]; then \
24347 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
24348 else \
24349 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
24350 $(MAKE) stagefeedback-start; \
24351 fi; \
24352 cd $(HOST_SUBDIR)/libcpp && \
24353 $(MAKE) $(EXTRA_HOST_FLAGS) \
24354 $(POSTSTAGE1_FLAGS_TO_PASS) \
24355 clean
24356 @endif libcpp-bootstrap
24362 .PHONY: check-libcpp maybe-check-libcpp
24363 maybe-check-libcpp:
24364 @if libcpp
24365 maybe-check-libcpp: check-libcpp
24367 check-libcpp:
24368 @: $(MAKE); $(unstage)
24369 @r=`${PWD_COMMAND}`; export r; \
24370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24371 $(HOST_EXPORTS) \
24372 (cd $(HOST_SUBDIR)/libcpp && \
24373 $(MAKE) $(FLAGS_TO_PASS) check)
24375 @endif libcpp
24377 .PHONY: install-libcpp maybe-install-libcpp
24378 maybe-install-libcpp:
24379 @if libcpp
24380 maybe-install-libcpp: install-libcpp
24382 install-libcpp: installdirs
24383 @: $(MAKE); $(unstage)
24384 @r=`${PWD_COMMAND}`; export r; \
24385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24386 $(HOST_EXPORTS) \
24387 (cd $(HOST_SUBDIR)/libcpp && \
24388 $(MAKE) $(FLAGS_TO_PASS) install)
24390 @endif libcpp
24392 # Other targets (info, dvi, pdf, etc.)
24394 .PHONY: maybe-info-libcpp info-libcpp
24395 maybe-info-libcpp:
24396 @if libcpp
24397 maybe-info-libcpp: info-libcpp
24399 info-libcpp: \
24400 configure-libcpp
24401 @[ -f ./libcpp/Makefile ] || exit 0; \
24402 r=`${PWD_COMMAND}`; export r; \
24403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24404 $(HOST_EXPORTS) \
24405 for flag in $(EXTRA_HOST_FLAGS) ; do \
24406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24407 done; \
24408 echo "Doing info in libcpp" ; \
24409 (cd $(HOST_SUBDIR)/libcpp && \
24410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24412 "RANLIB=$${RANLIB}" \
24413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24414 info) \
24415 || exit 1
24417 @endif libcpp
24419 .PHONY: maybe-dvi-libcpp dvi-libcpp
24420 maybe-dvi-libcpp:
24421 @if libcpp
24422 maybe-dvi-libcpp: dvi-libcpp
24424 dvi-libcpp: \
24425 configure-libcpp
24426 @[ -f ./libcpp/Makefile ] || exit 0; \
24427 r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(HOST_EXPORTS) \
24430 for flag in $(EXTRA_HOST_FLAGS) ; do \
24431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24432 done; \
24433 echo "Doing dvi in libcpp" ; \
24434 (cd $(HOST_SUBDIR)/libcpp && \
24435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24437 "RANLIB=$${RANLIB}" \
24438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24439 dvi) \
24440 || exit 1
24442 @endif libcpp
24444 .PHONY: maybe-pdf-libcpp pdf-libcpp
24445 maybe-pdf-libcpp:
24446 @if libcpp
24447 maybe-pdf-libcpp: pdf-libcpp
24449 pdf-libcpp: \
24450 configure-libcpp
24451 @[ -f ./libcpp/Makefile ] || exit 0; \
24452 r=`${PWD_COMMAND}`; export r; \
24453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24454 $(HOST_EXPORTS) \
24455 for flag in $(EXTRA_HOST_FLAGS) ; do \
24456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24457 done; \
24458 echo "Doing pdf in libcpp" ; \
24459 (cd $(HOST_SUBDIR)/libcpp && \
24460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24462 "RANLIB=$${RANLIB}" \
24463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24464 pdf) \
24465 || exit 1
24467 @endif libcpp
24469 .PHONY: maybe-html-libcpp html-libcpp
24470 maybe-html-libcpp:
24471 @if libcpp
24472 maybe-html-libcpp: html-libcpp
24474 html-libcpp: \
24475 configure-libcpp
24476 @[ -f ./libcpp/Makefile ] || exit 0; \
24477 r=`${PWD_COMMAND}`; export r; \
24478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24479 $(HOST_EXPORTS) \
24480 for flag in $(EXTRA_HOST_FLAGS) ; do \
24481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24482 done; \
24483 echo "Doing html in libcpp" ; \
24484 (cd $(HOST_SUBDIR)/libcpp && \
24485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24487 "RANLIB=$${RANLIB}" \
24488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24489 html) \
24490 || exit 1
24492 @endif libcpp
24494 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
24495 maybe-TAGS-libcpp:
24496 @if libcpp
24497 maybe-TAGS-libcpp: TAGS-libcpp
24499 TAGS-libcpp: \
24500 configure-libcpp
24501 @[ -f ./libcpp/Makefile ] || exit 0; \
24502 r=`${PWD_COMMAND}`; export r; \
24503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24504 $(HOST_EXPORTS) \
24505 for flag in $(EXTRA_HOST_FLAGS) ; do \
24506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24507 done; \
24508 echo "Doing TAGS in libcpp" ; \
24509 (cd $(HOST_SUBDIR)/libcpp && \
24510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24512 "RANLIB=$${RANLIB}" \
24513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24514 TAGS) \
24515 || exit 1
24517 @endif libcpp
24519 .PHONY: maybe-install-info-libcpp install-info-libcpp
24520 maybe-install-info-libcpp:
24521 @if libcpp
24522 maybe-install-info-libcpp: install-info-libcpp
24524 install-info-libcpp: \
24525 configure-libcpp \
24526 info-libcpp
24527 @[ -f ./libcpp/Makefile ] || exit 0; \
24528 r=`${PWD_COMMAND}`; export r; \
24529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24530 $(HOST_EXPORTS) \
24531 for flag in $(EXTRA_HOST_FLAGS) ; do \
24532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24533 done; \
24534 echo "Doing install-info in libcpp" ; \
24535 (cd $(HOST_SUBDIR)/libcpp && \
24536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24538 "RANLIB=$${RANLIB}" \
24539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24540 install-info) \
24541 || exit 1
24543 @endif libcpp
24545 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
24546 maybe-install-pdf-libcpp:
24547 @if libcpp
24548 maybe-install-pdf-libcpp: install-pdf-libcpp
24550 install-pdf-libcpp: \
24551 configure-libcpp \
24552 pdf-libcpp
24553 @[ -f ./libcpp/Makefile ] || exit 0; \
24554 r=`${PWD_COMMAND}`; export r; \
24555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24556 $(HOST_EXPORTS) \
24557 for flag in $(EXTRA_HOST_FLAGS) ; do \
24558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24559 done; \
24560 echo "Doing install-pdf in libcpp" ; \
24561 (cd $(HOST_SUBDIR)/libcpp && \
24562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24564 "RANLIB=$${RANLIB}" \
24565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24566 install-pdf) \
24567 || exit 1
24569 @endif libcpp
24571 .PHONY: maybe-install-html-libcpp install-html-libcpp
24572 maybe-install-html-libcpp:
24573 @if libcpp
24574 maybe-install-html-libcpp: install-html-libcpp
24576 install-html-libcpp: \
24577 configure-libcpp \
24578 html-libcpp
24579 @[ -f ./libcpp/Makefile ] || exit 0; \
24580 r=`${PWD_COMMAND}`; export r; \
24581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24582 $(HOST_EXPORTS) \
24583 for flag in $(EXTRA_HOST_FLAGS) ; do \
24584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24585 done; \
24586 echo "Doing install-html in libcpp" ; \
24587 (cd $(HOST_SUBDIR)/libcpp && \
24588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24590 "RANLIB=$${RANLIB}" \
24591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24592 install-html) \
24593 || exit 1
24595 @endif libcpp
24597 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
24598 maybe-installcheck-libcpp:
24599 @if libcpp
24600 maybe-installcheck-libcpp: installcheck-libcpp
24602 installcheck-libcpp: \
24603 configure-libcpp
24604 @[ -f ./libcpp/Makefile ] || exit 0; \
24605 r=`${PWD_COMMAND}`; export r; \
24606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24607 $(HOST_EXPORTS) \
24608 for flag in $(EXTRA_HOST_FLAGS) ; do \
24609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24610 done; \
24611 echo "Doing installcheck in libcpp" ; \
24612 (cd $(HOST_SUBDIR)/libcpp && \
24613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24615 "RANLIB=$${RANLIB}" \
24616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24617 installcheck) \
24618 || exit 1
24620 @endif libcpp
24622 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
24623 maybe-mostlyclean-libcpp:
24624 @if libcpp
24625 maybe-mostlyclean-libcpp: mostlyclean-libcpp
24627 mostlyclean-libcpp:
24628 @[ -f ./libcpp/Makefile ] || exit 0; \
24629 r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24631 $(HOST_EXPORTS) \
24632 for flag in $(EXTRA_HOST_FLAGS) ; do \
24633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24634 done; \
24635 echo "Doing mostlyclean in libcpp" ; \
24636 (cd $(HOST_SUBDIR)/libcpp && \
24637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24639 "RANLIB=$${RANLIB}" \
24640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24641 mostlyclean) \
24642 || exit 1
24644 @endif libcpp
24646 .PHONY: maybe-clean-libcpp clean-libcpp
24647 maybe-clean-libcpp:
24648 @if libcpp
24649 maybe-clean-libcpp: clean-libcpp
24651 clean-libcpp:
24652 @[ -f ./libcpp/Makefile ] || exit 0; \
24653 r=`${PWD_COMMAND}`; export r; \
24654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24655 $(HOST_EXPORTS) \
24656 for flag in $(EXTRA_HOST_FLAGS) ; do \
24657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24658 done; \
24659 echo "Doing clean in libcpp" ; \
24660 (cd $(HOST_SUBDIR)/libcpp && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24663 "RANLIB=$${RANLIB}" \
24664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24665 clean) \
24666 || exit 1
24668 @endif libcpp
24670 .PHONY: maybe-distclean-libcpp distclean-libcpp
24671 maybe-distclean-libcpp:
24672 @if libcpp
24673 maybe-distclean-libcpp: distclean-libcpp
24675 distclean-libcpp:
24676 @[ -f ./libcpp/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing distclean in libcpp" ; \
24684 (cd $(HOST_SUBDIR)/libcpp && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24689 distclean) \
24690 || exit 1
24692 @endif libcpp
24694 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
24695 maybe-maintainer-clean-libcpp:
24696 @if libcpp
24697 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
24699 maintainer-clean-libcpp:
24700 @[ -f ./libcpp/Makefile ] || exit 0; \
24701 r=`${PWD_COMMAND}`; export r; \
24702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24703 $(HOST_EXPORTS) \
24704 for flag in $(EXTRA_HOST_FLAGS) ; do \
24705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24706 done; \
24707 echo "Doing maintainer-clean in libcpp" ; \
24708 (cd $(HOST_SUBDIR)/libcpp && \
24709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24711 "RANLIB=$${RANLIB}" \
24712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24713 maintainer-clean) \
24714 || exit 1
24716 @endif libcpp
24720 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
24721 maybe-configure-libdecnumber:
24722 @if gcc-bootstrap
24723 configure-libdecnumber: stage_current
24724 @endif gcc-bootstrap
24725 @if libdecnumber
24726 maybe-configure-libdecnumber: configure-libdecnumber
24727 configure-libdecnumber:
24728 @r=`${PWD_COMMAND}`; export r; \
24729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24730 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24732 $(HOST_EXPORTS) \
24733 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
24734 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
24735 case $(srcdir) in \
24736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24737 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24739 esac; \
24740 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24741 libsrcdir="$$s/libdecnumber"; \
24742 $(SHELL) $${libsrcdir}/configure \
24743 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24744 --target=${target_alias} $${srcdiroption} \
24745 || exit 1
24746 @endif libdecnumber
24750 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
24751 maybe-configure-stage1-libdecnumber:
24752 @if libdecnumber-bootstrap
24753 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
24754 configure-stage1-libdecnumber:
24755 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
24756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24757 @r=`${PWD_COMMAND}`; export r; \
24758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24760 $(HOST_EXPORTS) \
24761 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
24762 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
24763 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
24764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24765 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24766 case $(srcdir) in \
24767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24768 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24770 esac; \
24771 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24772 libsrcdir="$$s/libdecnumber"; \
24773 $(SHELL) $${libsrcdir}/configure \
24774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24775 --target=${target_alias} $${srcdiroption} \
24777 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24778 @endif libdecnumber-bootstrap
24780 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
24781 maybe-configure-stage2-libdecnumber:
24782 @if libdecnumber-bootstrap
24783 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
24784 configure-stage2-libdecnumber:
24785 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
24786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24787 @r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24790 $(HOST_EXPORTS) \
24791 $(POSTSTAGE1_HOST_EXPORTS) \
24792 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
24793 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
24794 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
24795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24796 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24797 case $(srcdir) in \
24798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24799 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24801 esac; \
24802 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24803 libsrcdir="$$s/libdecnumber"; \
24804 $(SHELL) $${libsrcdir}/configure \
24805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24806 --target=${target_alias} $${srcdiroption} \
24807 --with-build-libsubdir=$(HOST_SUBDIR) \
24808 @stage2_werror_flag@
24809 @endif libdecnumber-bootstrap
24811 .PHONY: configure-stageb2g0-libdecnumber maybe-configure-stageb2g0-libdecnumber
24812 maybe-configure-stageb2g0-libdecnumber:
24813 @if libdecnumber-bootstrap
24814 maybe-configure-stageb2g0-libdecnumber: configure-stageb2g0-libdecnumber
24815 configure-stageb2g0-libdecnumber:
24816 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
24817 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24818 @r=`${PWD_COMMAND}`; export r; \
24819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24820 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24821 $(HOST_EXPORTS) \
24822 $(POSTSTAGE1_HOST_EXPORTS) \
24823 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
24824 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
24825 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libdecnumber ; \
24826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24827 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24828 case $(srcdir) in \
24829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24830 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24832 esac; \
24833 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24834 libsrcdir="$$s/libdecnumber"; \
24835 $(SHELL) $${libsrcdir}/configure \
24836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24837 --target=${target_alias} $${srcdiroption} \
24838 --with-build-libsubdir=$(HOST_SUBDIR) \
24839 @stage2_werror_flag@
24840 @endif libdecnumber-bootstrap
24842 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
24843 maybe-configure-stage3-libdecnumber:
24844 @if libdecnumber-bootstrap
24845 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
24846 configure-stage3-libdecnumber:
24847 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
24848 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24849 @r=`${PWD_COMMAND}`; export r; \
24850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24851 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24852 $(HOST_EXPORTS) \
24853 $(POSTSTAGE1_HOST_EXPORTS) \
24854 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
24855 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
24856 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
24857 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24858 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24859 case $(srcdir) in \
24860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24861 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24863 esac; \
24864 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24865 libsrcdir="$$s/libdecnumber"; \
24866 $(SHELL) $${libsrcdir}/configure \
24867 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24868 --target=${target_alias} $${srcdiroption} \
24869 --with-build-libsubdir=$(HOST_SUBDIR) \
24870 @stage2_werror_flag@
24871 @endif libdecnumber-bootstrap
24873 .PHONY: configure-stageb3g2-libdecnumber maybe-configure-stageb3g2-libdecnumber
24874 maybe-configure-stageb3g2-libdecnumber:
24875 @if libdecnumber-bootstrap
24876 maybe-configure-stageb3g2-libdecnumber: configure-stageb3g2-libdecnumber
24877 configure-stageb3g2-libdecnumber:
24878 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
24879 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24880 @r=`${PWD_COMMAND}`; export r; \
24881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24882 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24883 $(HOST_EXPORTS) \
24884 $(POSTSTAGE1_HOST_EXPORTS) \
24885 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
24886 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
24887 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libdecnumber ; \
24888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24889 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24890 case $(srcdir) in \
24891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24892 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24894 esac; \
24895 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24896 libsrcdir="$$s/libdecnumber"; \
24897 $(SHELL) $${libsrcdir}/configure \
24898 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24899 --target=${target_alias} $${srcdiroption} \
24900 --with-build-libsubdir=$(HOST_SUBDIR) \
24901 @stage2_werror_flag@
24902 @endif libdecnumber-bootstrap
24904 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
24905 maybe-configure-stage4-libdecnumber:
24906 @if libdecnumber-bootstrap
24907 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
24908 configure-stage4-libdecnumber:
24909 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
24910 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24911 @r=`${PWD_COMMAND}`; export r; \
24912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24914 $(HOST_EXPORTS) \
24915 $(POSTSTAGE1_HOST_EXPORTS) \
24916 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
24917 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
24918 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
24919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24920 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24921 case $(srcdir) in \
24922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24923 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24925 esac; \
24926 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24927 libsrcdir="$$s/libdecnumber"; \
24928 $(SHELL) $${libsrcdir}/configure \
24929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24930 --target=${target_alias} $${srcdiroption} \
24931 --with-build-libsubdir=$(HOST_SUBDIR) \
24932 @stage2_werror_flag@
24933 @endif libdecnumber-bootstrap
24935 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
24936 maybe-configure-stageprofile-libdecnumber:
24937 @if libdecnumber-bootstrap
24938 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
24939 configure-stageprofile-libdecnumber:
24940 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
24941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24942 @r=`${PWD_COMMAND}`; export r; \
24943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24944 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24945 $(HOST_EXPORTS) \
24946 $(POSTSTAGE1_HOST_EXPORTS) \
24947 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
24948 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
24949 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
24950 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24951 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24952 case $(srcdir) in \
24953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24954 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24956 esac; \
24957 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24958 libsrcdir="$$s/libdecnumber"; \
24959 $(SHELL) $${libsrcdir}/configure \
24960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24961 --target=${target_alias} $${srcdiroption} \
24962 --with-build-libsubdir=$(HOST_SUBDIR) \
24963 @stage2_werror_flag@
24964 @endif libdecnumber-bootstrap
24966 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
24967 maybe-configure-stagefeedback-libdecnumber:
24968 @if libdecnumber-bootstrap
24969 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
24970 configure-stagefeedback-libdecnumber:
24971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
24972 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
24973 @r=`${PWD_COMMAND}`; export r; \
24974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
24976 $(HOST_EXPORTS) \
24977 $(POSTSTAGE1_HOST_EXPORTS) \
24978 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
24979 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
24980 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
24981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
24982 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
24983 case $(srcdir) in \
24984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24985 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
24986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24987 esac; \
24988 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
24989 libsrcdir="$$s/libdecnumber"; \
24990 $(SHELL) $${libsrcdir}/configure \
24991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24992 --target=${target_alias} $${srcdiroption} \
24993 --with-build-libsubdir=$(HOST_SUBDIR) \
24994 @stage2_werror_flag@
24995 @endif libdecnumber-bootstrap
25001 .PHONY: all-libdecnumber maybe-all-libdecnumber
25002 maybe-all-libdecnumber:
25003 @if gcc-bootstrap
25004 all-libdecnumber: stage_current
25005 @endif gcc-bootstrap
25006 @if libdecnumber
25007 TARGET-libdecnumber=all
25008 maybe-all-libdecnumber: all-libdecnumber
25009 all-libdecnumber: configure-libdecnumber
25010 @r=`${PWD_COMMAND}`; export r; \
25011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25012 $(HOST_EXPORTS) \
25013 (cd $(HOST_SUBDIR)/libdecnumber && \
25014 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25015 $(TARGET-libdecnumber))
25016 @endif libdecnumber
25020 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
25021 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
25022 maybe-all-stage1-libdecnumber:
25023 maybe-clean-stage1-libdecnumber:
25024 @if libdecnumber-bootstrap
25025 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
25026 all-stage1: all-stage1-libdecnumber
25027 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
25028 all-stage1-libdecnumber: configure-stage1-libdecnumber
25029 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
25030 @r=`${PWD_COMMAND}`; export r; \
25031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25032 $(HOST_EXPORTS) \
25033 cd $(HOST_SUBDIR)/libdecnumber && \
25034 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25035 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
25036 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
25037 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
25038 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
25039 $(TARGET-stage1-libdecnumber)
25041 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
25042 clean-stage1: clean-stage1-libdecnumber
25043 clean-stage1-libdecnumber:
25044 @if [ $(current_stage) = stage1 ]; then \
25045 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25046 else \
25047 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
25048 $(MAKE) stage1-start; \
25049 fi; \
25050 cd $(HOST_SUBDIR)/libdecnumber && \
25051 $(MAKE) $(EXTRA_HOST_FLAGS) \
25052 clean
25053 @endif libdecnumber-bootstrap
25056 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
25057 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
25058 maybe-all-stage2-libdecnumber:
25059 maybe-clean-stage2-libdecnumber:
25060 @if libdecnumber-bootstrap
25061 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
25062 all-stage2: all-stage2-libdecnumber
25063 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
25064 all-stage2-libdecnumber: configure-stage2-libdecnumber
25065 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
25066 @r=`${PWD_COMMAND}`; export r; \
25067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25068 $(HOST_EXPORTS) \
25069 $(POSTSTAGE1_HOST_EXPORTS) \
25070 cd $(HOST_SUBDIR)/libdecnumber && \
25071 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25072 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
25073 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
25074 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
25075 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25076 $(TARGET-stage2-libdecnumber)
25078 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
25079 clean-stage2: clean-stage2-libdecnumber
25080 clean-stage2-libdecnumber:
25081 @if [ $(current_stage) = stage2 ]; then \
25082 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25083 else \
25084 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
25085 $(MAKE) stage2-start; \
25086 fi; \
25087 cd $(HOST_SUBDIR)/libdecnumber && \
25088 $(MAKE) $(EXTRA_HOST_FLAGS) \
25089 $(POSTSTAGE1_FLAGS_TO_PASS) \
25090 clean
25091 @endif libdecnumber-bootstrap
25094 .PHONY: all-stageb2g0-libdecnumber maybe-all-stageb2g0-libdecnumber
25095 .PHONY: clean-stageb2g0-libdecnumber maybe-clean-stageb2g0-libdecnumber
25096 maybe-all-stageb2g0-libdecnumber:
25097 maybe-clean-stageb2g0-libdecnumber:
25098 @if libdecnumber-bootstrap
25099 maybe-all-stageb2g0-libdecnumber: all-stageb2g0-libdecnumber
25100 all-stageb2g0: all-stageb2g0-libdecnumber
25101 TARGET-stageb2g0-libdecnumber = $(TARGET-libdecnumber)
25102 all-stageb2g0-libdecnumber: configure-stageb2g0-libdecnumber
25103 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
25104 @r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25106 $(HOST_EXPORTS) \
25107 $(POSTSTAGE1_HOST_EXPORTS) \
25108 cd $(HOST_SUBDIR)/libdecnumber && \
25109 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25110 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
25111 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
25112 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
25113 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25114 $(TARGET-stageb2g0-libdecnumber)
25116 maybe-clean-stageb2g0-libdecnumber: clean-stageb2g0-libdecnumber
25117 clean-stageb2g0: clean-stageb2g0-libdecnumber
25118 clean-stageb2g0-libdecnumber:
25119 @if [ $(current_stage) = stageb2g0 ]; then \
25120 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25121 else \
25122 [ -f $(HOST_SUBDIR)/stageb2g0-libdecnumber/Makefile ] || exit 0; \
25123 $(MAKE) stageb2g0-start; \
25124 fi; \
25125 cd $(HOST_SUBDIR)/libdecnumber && \
25126 $(MAKE) $(EXTRA_HOST_FLAGS) \
25127 $(POSTSTAGE1_FLAGS_TO_PASS) \
25128 clean
25129 @endif libdecnumber-bootstrap
25132 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
25133 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
25134 maybe-all-stage3-libdecnumber:
25135 maybe-clean-stage3-libdecnumber:
25136 @if libdecnumber-bootstrap
25137 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
25138 all-stage3: all-stage3-libdecnumber
25139 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
25140 all-stage3-libdecnumber: configure-stage3-libdecnumber
25141 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
25142 @r=`${PWD_COMMAND}`; export r; \
25143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 $(HOST_EXPORTS) \
25145 $(POSTSTAGE1_HOST_EXPORTS) \
25146 cd $(HOST_SUBDIR)/libdecnumber && \
25147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25148 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
25149 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
25150 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
25151 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25152 $(TARGET-stage3-libdecnumber)
25154 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
25155 clean-stage3: clean-stage3-libdecnumber
25156 clean-stage3-libdecnumber:
25157 @if [ $(current_stage) = stage3 ]; then \
25158 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25159 else \
25160 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
25161 $(MAKE) stage3-start; \
25162 fi; \
25163 cd $(HOST_SUBDIR)/libdecnumber && \
25164 $(MAKE) $(EXTRA_HOST_FLAGS) \
25165 $(POSTSTAGE1_FLAGS_TO_PASS) \
25166 clean
25167 @endif libdecnumber-bootstrap
25170 .PHONY: all-stageb3g2-libdecnumber maybe-all-stageb3g2-libdecnumber
25171 .PHONY: clean-stageb3g2-libdecnumber maybe-clean-stageb3g2-libdecnumber
25172 maybe-all-stageb3g2-libdecnumber:
25173 maybe-clean-stageb3g2-libdecnumber:
25174 @if libdecnumber-bootstrap
25175 maybe-all-stageb3g2-libdecnumber: all-stageb3g2-libdecnumber
25176 all-stageb3g2: all-stageb3g2-libdecnumber
25177 TARGET-stageb3g2-libdecnumber = $(TARGET-libdecnumber)
25178 all-stageb3g2-libdecnumber: configure-stageb3g2-libdecnumber
25179 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
25180 @r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 $(HOST_EXPORTS) \
25183 $(POSTSTAGE1_HOST_EXPORTS) \
25184 cd $(HOST_SUBDIR)/libdecnumber && \
25185 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25186 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
25187 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
25188 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
25189 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25190 $(TARGET-stageb3g2-libdecnumber)
25192 maybe-clean-stageb3g2-libdecnumber: clean-stageb3g2-libdecnumber
25193 clean-stageb3g2: clean-stageb3g2-libdecnumber
25194 clean-stageb3g2-libdecnumber:
25195 @if [ $(current_stage) = stageb3g2 ]; then \
25196 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25197 else \
25198 [ -f $(HOST_SUBDIR)/stageb3g2-libdecnumber/Makefile ] || exit 0; \
25199 $(MAKE) stageb3g2-start; \
25200 fi; \
25201 cd $(HOST_SUBDIR)/libdecnumber && \
25202 $(MAKE) $(EXTRA_HOST_FLAGS) \
25203 $(POSTSTAGE1_FLAGS_TO_PASS) \
25204 clean
25205 @endif libdecnumber-bootstrap
25208 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
25209 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
25210 maybe-all-stage4-libdecnumber:
25211 maybe-clean-stage4-libdecnumber:
25212 @if libdecnumber-bootstrap
25213 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
25214 all-stage4: all-stage4-libdecnumber
25215 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
25216 all-stage4-libdecnumber: configure-stage4-libdecnumber
25217 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
25218 @r=`${PWD_COMMAND}`; export r; \
25219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25220 $(HOST_EXPORTS) \
25221 $(POSTSTAGE1_HOST_EXPORTS) \
25222 cd $(HOST_SUBDIR)/libdecnumber && \
25223 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25224 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
25225 LIBCFLAGS="$(STAGE4_CFLAGS)" \
25226 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
25227 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25228 $(TARGET-stage4-libdecnumber)
25230 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
25231 clean-stage4: clean-stage4-libdecnumber
25232 clean-stage4-libdecnumber:
25233 @if [ $(current_stage) = stage4 ]; then \
25234 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25235 else \
25236 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
25237 $(MAKE) stage4-start; \
25238 fi; \
25239 cd $(HOST_SUBDIR)/libdecnumber && \
25240 $(MAKE) $(EXTRA_HOST_FLAGS) \
25241 $(POSTSTAGE1_FLAGS_TO_PASS) \
25242 clean
25243 @endif libdecnumber-bootstrap
25246 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
25247 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
25248 maybe-all-stageprofile-libdecnumber:
25249 maybe-clean-stageprofile-libdecnumber:
25250 @if libdecnumber-bootstrap
25251 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
25252 all-stageprofile: all-stageprofile-libdecnumber
25253 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
25254 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
25255 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
25256 @r=`${PWD_COMMAND}`; export r; \
25257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25258 $(HOST_EXPORTS) \
25259 $(POSTSTAGE1_HOST_EXPORTS) \
25260 cd $(HOST_SUBDIR)/libdecnumber && \
25261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25262 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
25263 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
25264 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
25265 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25266 $(TARGET-stageprofile-libdecnumber)
25268 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
25269 clean-stageprofile: clean-stageprofile-libdecnumber
25270 clean-stageprofile-libdecnumber:
25271 @if [ $(current_stage) = stageprofile ]; then \
25272 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25273 else \
25274 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
25275 $(MAKE) stageprofile-start; \
25276 fi; \
25277 cd $(HOST_SUBDIR)/libdecnumber && \
25278 $(MAKE) $(EXTRA_HOST_FLAGS) \
25279 $(POSTSTAGE1_FLAGS_TO_PASS) \
25280 clean
25281 @endif libdecnumber-bootstrap
25284 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
25285 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
25286 maybe-all-stagefeedback-libdecnumber:
25287 maybe-clean-stagefeedback-libdecnumber:
25288 @if libdecnumber-bootstrap
25289 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
25290 all-stagefeedback: all-stagefeedback-libdecnumber
25291 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
25292 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
25293 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
25294 @r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296 $(HOST_EXPORTS) \
25297 $(POSTSTAGE1_HOST_EXPORTS) \
25298 cd $(HOST_SUBDIR)/libdecnumber && \
25299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
25300 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
25301 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
25302 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
25303 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25304 $(TARGET-stagefeedback-libdecnumber)
25306 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
25307 clean-stagefeedback: clean-stagefeedback-libdecnumber
25308 clean-stagefeedback-libdecnumber:
25309 @if [ $(current_stage) = stagefeedback ]; then \
25310 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
25311 else \
25312 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
25313 $(MAKE) stagefeedback-start; \
25314 fi; \
25315 cd $(HOST_SUBDIR)/libdecnumber && \
25316 $(MAKE) $(EXTRA_HOST_FLAGS) \
25317 $(POSTSTAGE1_FLAGS_TO_PASS) \
25318 clean
25319 @endif libdecnumber-bootstrap
25325 .PHONY: check-libdecnumber maybe-check-libdecnumber
25326 maybe-check-libdecnumber:
25327 @if libdecnumber
25328 maybe-check-libdecnumber: check-libdecnumber
25330 check-libdecnumber:
25331 @: $(MAKE); $(unstage)
25332 @r=`${PWD_COMMAND}`; export r; \
25333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25334 $(HOST_EXPORTS) \
25335 (cd $(HOST_SUBDIR)/libdecnumber && \
25336 $(MAKE) $(FLAGS_TO_PASS) check)
25338 @endif libdecnumber
25340 .PHONY: install-libdecnumber maybe-install-libdecnumber
25341 maybe-install-libdecnumber:
25342 @if libdecnumber
25343 maybe-install-libdecnumber: install-libdecnumber
25345 install-libdecnumber: installdirs
25346 @: $(MAKE); $(unstage)
25347 @r=`${PWD_COMMAND}`; export r; \
25348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25349 $(HOST_EXPORTS) \
25350 (cd $(HOST_SUBDIR)/libdecnumber && \
25351 $(MAKE) $(FLAGS_TO_PASS) install)
25353 @endif libdecnumber
25355 # Other targets (info, dvi, pdf, etc.)
25357 .PHONY: maybe-info-libdecnumber info-libdecnumber
25358 maybe-info-libdecnumber:
25359 @if libdecnumber
25360 maybe-info-libdecnumber: info-libdecnumber
25362 info-libdecnumber: \
25363 configure-libdecnumber
25364 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25365 r=`${PWD_COMMAND}`; export r; \
25366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25367 $(HOST_EXPORTS) \
25368 for flag in $(EXTRA_HOST_FLAGS) ; do \
25369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25370 done; \
25371 echo "Doing info in libdecnumber" ; \
25372 (cd $(HOST_SUBDIR)/libdecnumber && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25375 "RANLIB=$${RANLIB}" \
25376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25377 info) \
25378 || exit 1
25380 @endif libdecnumber
25382 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
25383 maybe-dvi-libdecnumber:
25384 @if libdecnumber
25385 maybe-dvi-libdecnumber: dvi-libdecnumber
25387 dvi-libdecnumber: \
25388 configure-libdecnumber
25389 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25390 r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(HOST_EXPORTS) \
25393 for flag in $(EXTRA_HOST_FLAGS) ; do \
25394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25395 done; \
25396 echo "Doing dvi in libdecnumber" ; \
25397 (cd $(HOST_SUBDIR)/libdecnumber && \
25398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25400 "RANLIB=$${RANLIB}" \
25401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25402 dvi) \
25403 || exit 1
25405 @endif libdecnumber
25407 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
25408 maybe-pdf-libdecnumber:
25409 @if libdecnumber
25410 maybe-pdf-libdecnumber: pdf-libdecnumber
25412 pdf-libdecnumber: \
25413 configure-libdecnumber
25414 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25415 r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(HOST_EXPORTS) \
25418 for flag in $(EXTRA_HOST_FLAGS) ; do \
25419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25420 done; \
25421 echo "Doing pdf in libdecnumber" ; \
25422 (cd $(HOST_SUBDIR)/libdecnumber && \
25423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25425 "RANLIB=$${RANLIB}" \
25426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25427 pdf) \
25428 || exit 1
25430 @endif libdecnumber
25432 .PHONY: maybe-html-libdecnumber html-libdecnumber
25433 maybe-html-libdecnumber:
25434 @if libdecnumber
25435 maybe-html-libdecnumber: html-libdecnumber
25437 html-libdecnumber: \
25438 configure-libdecnumber
25439 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(HOST_EXPORTS) \
25443 for flag in $(EXTRA_HOST_FLAGS) ; do \
25444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25445 done; \
25446 echo "Doing html in libdecnumber" ; \
25447 (cd $(HOST_SUBDIR)/libdecnumber && \
25448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25450 "RANLIB=$${RANLIB}" \
25451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25452 html) \
25453 || exit 1
25455 @endif libdecnumber
25457 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
25458 maybe-TAGS-libdecnumber:
25459 @if libdecnumber
25460 maybe-TAGS-libdecnumber: TAGS-libdecnumber
25462 TAGS-libdecnumber: \
25463 configure-libdecnumber
25464 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25465 r=`${PWD_COMMAND}`; export r; \
25466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25467 $(HOST_EXPORTS) \
25468 for flag in $(EXTRA_HOST_FLAGS) ; do \
25469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25470 done; \
25471 echo "Doing TAGS in libdecnumber" ; \
25472 (cd $(HOST_SUBDIR)/libdecnumber && \
25473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25475 "RANLIB=$${RANLIB}" \
25476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25477 TAGS) \
25478 || exit 1
25480 @endif libdecnumber
25482 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
25483 maybe-install-info-libdecnumber:
25484 @if libdecnumber
25485 maybe-install-info-libdecnumber: install-info-libdecnumber
25487 install-info-libdecnumber: \
25488 configure-libdecnumber \
25489 info-libdecnumber
25490 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25491 r=`${PWD_COMMAND}`; export r; \
25492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25493 $(HOST_EXPORTS) \
25494 for flag in $(EXTRA_HOST_FLAGS) ; do \
25495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25496 done; \
25497 echo "Doing install-info in libdecnumber" ; \
25498 (cd $(HOST_SUBDIR)/libdecnumber && \
25499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25501 "RANLIB=$${RANLIB}" \
25502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25503 install-info) \
25504 || exit 1
25506 @endif libdecnumber
25508 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
25509 maybe-install-pdf-libdecnumber:
25510 @if libdecnumber
25511 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
25513 install-pdf-libdecnumber: \
25514 configure-libdecnumber \
25515 pdf-libdecnumber
25516 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25517 r=`${PWD_COMMAND}`; export r; \
25518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25519 $(HOST_EXPORTS) \
25520 for flag in $(EXTRA_HOST_FLAGS) ; do \
25521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25522 done; \
25523 echo "Doing install-pdf in libdecnumber" ; \
25524 (cd $(HOST_SUBDIR)/libdecnumber && \
25525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25527 "RANLIB=$${RANLIB}" \
25528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25529 install-pdf) \
25530 || exit 1
25532 @endif libdecnumber
25534 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
25535 maybe-install-html-libdecnumber:
25536 @if libdecnumber
25537 maybe-install-html-libdecnumber: install-html-libdecnumber
25539 install-html-libdecnumber: \
25540 configure-libdecnumber \
25541 html-libdecnumber
25542 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25543 r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(HOST_EXPORTS) \
25546 for flag in $(EXTRA_HOST_FLAGS) ; do \
25547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25548 done; \
25549 echo "Doing install-html in libdecnumber" ; \
25550 (cd $(HOST_SUBDIR)/libdecnumber && \
25551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25553 "RANLIB=$${RANLIB}" \
25554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25555 install-html) \
25556 || exit 1
25558 @endif libdecnumber
25560 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
25561 maybe-installcheck-libdecnumber:
25562 @if libdecnumber
25563 maybe-installcheck-libdecnumber: installcheck-libdecnumber
25565 installcheck-libdecnumber: \
25566 configure-libdecnumber
25567 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25568 r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 $(HOST_EXPORTS) \
25571 for flag in $(EXTRA_HOST_FLAGS) ; do \
25572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25573 done; \
25574 echo "Doing installcheck in libdecnumber" ; \
25575 (cd $(HOST_SUBDIR)/libdecnumber && \
25576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25578 "RANLIB=$${RANLIB}" \
25579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25580 installcheck) \
25581 || exit 1
25583 @endif libdecnumber
25585 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
25586 maybe-mostlyclean-libdecnumber:
25587 @if libdecnumber
25588 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
25590 mostlyclean-libdecnumber:
25591 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25592 r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25594 $(HOST_EXPORTS) \
25595 for flag in $(EXTRA_HOST_FLAGS) ; do \
25596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25597 done; \
25598 echo "Doing mostlyclean in libdecnumber" ; \
25599 (cd $(HOST_SUBDIR)/libdecnumber && \
25600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25602 "RANLIB=$${RANLIB}" \
25603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25604 mostlyclean) \
25605 || exit 1
25607 @endif libdecnumber
25609 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
25610 maybe-clean-libdecnumber:
25611 @if libdecnumber
25612 maybe-clean-libdecnumber: clean-libdecnumber
25614 clean-libdecnumber:
25615 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25616 r=`${PWD_COMMAND}`; export r; \
25617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25618 $(HOST_EXPORTS) \
25619 for flag in $(EXTRA_HOST_FLAGS) ; do \
25620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25621 done; \
25622 echo "Doing clean in libdecnumber" ; \
25623 (cd $(HOST_SUBDIR)/libdecnumber && \
25624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25626 "RANLIB=$${RANLIB}" \
25627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25628 clean) \
25629 || exit 1
25631 @endif libdecnumber
25633 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
25634 maybe-distclean-libdecnumber:
25635 @if libdecnumber
25636 maybe-distclean-libdecnumber: distclean-libdecnumber
25638 distclean-libdecnumber:
25639 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25640 r=`${PWD_COMMAND}`; export r; \
25641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25642 $(HOST_EXPORTS) \
25643 for flag in $(EXTRA_HOST_FLAGS) ; do \
25644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25645 done; \
25646 echo "Doing distclean in libdecnumber" ; \
25647 (cd $(HOST_SUBDIR)/libdecnumber && \
25648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25650 "RANLIB=$${RANLIB}" \
25651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25652 distclean) \
25653 || exit 1
25655 @endif libdecnumber
25657 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
25658 maybe-maintainer-clean-libdecnumber:
25659 @if libdecnumber
25660 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
25662 maintainer-clean-libdecnumber:
25663 @[ -f ./libdecnumber/Makefile ] || exit 0; \
25664 r=`${PWD_COMMAND}`; export r; \
25665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25666 $(HOST_EXPORTS) \
25667 for flag in $(EXTRA_HOST_FLAGS) ; do \
25668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25669 done; \
25670 echo "Doing maintainer-clean in libdecnumber" ; \
25671 (cd $(HOST_SUBDIR)/libdecnumber && \
25672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25674 "RANLIB=$${RANLIB}" \
25675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25676 maintainer-clean) \
25677 || exit 1
25679 @endif libdecnumber
25683 .PHONY: configure-libgui maybe-configure-libgui
25684 maybe-configure-libgui:
25685 @if gcc-bootstrap
25686 configure-libgui: stage_current
25687 @endif gcc-bootstrap
25688 @if libgui
25689 maybe-configure-libgui: configure-libgui
25690 configure-libgui:
25691 @: $(MAKE); $(unstage)
25692 @r=`${PWD_COMMAND}`; export r; \
25693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25694 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
25695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
25696 $(HOST_EXPORTS) \
25697 echo Configuring in $(HOST_SUBDIR)/libgui; \
25698 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
25699 case $(srcdir) in \
25700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25701 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
25702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25703 esac; \
25704 srcdiroption="--srcdir=$${topdir}/libgui"; \
25705 libsrcdir="$$s/libgui"; \
25706 $(SHELL) $${libsrcdir}/configure \
25707 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25708 --target=${target_alias} $${srcdiroption} \
25709 || exit 1
25710 @endif libgui
25716 .PHONY: all-libgui maybe-all-libgui
25717 maybe-all-libgui:
25718 @if gcc-bootstrap
25719 all-libgui: stage_current
25720 @endif gcc-bootstrap
25721 @if libgui
25722 TARGET-libgui=all
25723 maybe-all-libgui: all-libgui
25724 all-libgui: configure-libgui
25725 @: $(MAKE); $(unstage)
25726 @r=`${PWD_COMMAND}`; export r; \
25727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25728 $(HOST_EXPORTS) \
25729 (cd $(HOST_SUBDIR)/libgui && \
25730 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
25731 $(TARGET-libgui))
25732 @endif libgui
25737 .PHONY: check-libgui maybe-check-libgui
25738 maybe-check-libgui:
25739 @if libgui
25740 maybe-check-libgui: check-libgui
25742 check-libgui:
25743 @: $(MAKE); $(unstage)
25744 @r=`${PWD_COMMAND}`; export r; \
25745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25746 $(HOST_EXPORTS) \
25747 (cd $(HOST_SUBDIR)/libgui && \
25748 $(MAKE) $(FLAGS_TO_PASS) check)
25750 @endif libgui
25752 .PHONY: install-libgui maybe-install-libgui
25753 maybe-install-libgui:
25754 @if libgui
25755 maybe-install-libgui: install-libgui
25757 install-libgui: installdirs
25758 @: $(MAKE); $(unstage)
25759 @r=`${PWD_COMMAND}`; export r; \
25760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25761 $(HOST_EXPORTS) \
25762 (cd $(HOST_SUBDIR)/libgui && \
25763 $(MAKE) $(FLAGS_TO_PASS) install)
25765 @endif libgui
25767 # Other targets (info, dvi, pdf, etc.)
25769 .PHONY: maybe-info-libgui info-libgui
25770 maybe-info-libgui:
25771 @if libgui
25772 maybe-info-libgui: info-libgui
25774 info-libgui: \
25775 configure-libgui
25776 @: $(MAKE); $(unstage)
25777 @[ -f ./libgui/Makefile ] || exit 0; \
25778 r=`${PWD_COMMAND}`; export r; \
25779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25780 $(HOST_EXPORTS) \
25781 for flag in $(EXTRA_HOST_FLAGS) ; do \
25782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25783 done; \
25784 echo "Doing info in libgui" ; \
25785 (cd $(HOST_SUBDIR)/libgui && \
25786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25788 "RANLIB=$${RANLIB}" \
25789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25790 info) \
25791 || exit 1
25793 @endif libgui
25795 .PHONY: maybe-dvi-libgui dvi-libgui
25796 maybe-dvi-libgui:
25797 @if libgui
25798 maybe-dvi-libgui: dvi-libgui
25800 dvi-libgui: \
25801 configure-libgui
25802 @: $(MAKE); $(unstage)
25803 @[ -f ./libgui/Makefile ] || exit 0; \
25804 r=`${PWD_COMMAND}`; export r; \
25805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25806 $(HOST_EXPORTS) \
25807 for flag in $(EXTRA_HOST_FLAGS) ; do \
25808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25809 done; \
25810 echo "Doing dvi in libgui" ; \
25811 (cd $(HOST_SUBDIR)/libgui && \
25812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25814 "RANLIB=$${RANLIB}" \
25815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25816 dvi) \
25817 || exit 1
25819 @endif libgui
25821 .PHONY: maybe-pdf-libgui pdf-libgui
25822 maybe-pdf-libgui:
25823 @if libgui
25824 maybe-pdf-libgui: pdf-libgui
25826 pdf-libgui: \
25827 configure-libgui
25828 @: $(MAKE); $(unstage)
25829 @[ -f ./libgui/Makefile ] || exit 0; \
25830 r=`${PWD_COMMAND}`; export r; \
25831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25832 $(HOST_EXPORTS) \
25833 for flag in $(EXTRA_HOST_FLAGS) ; do \
25834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25835 done; \
25836 echo "Doing pdf in libgui" ; \
25837 (cd $(HOST_SUBDIR)/libgui && \
25838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25840 "RANLIB=$${RANLIB}" \
25841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25842 pdf) \
25843 || exit 1
25845 @endif libgui
25847 .PHONY: maybe-html-libgui html-libgui
25848 maybe-html-libgui:
25849 @if libgui
25850 maybe-html-libgui: html-libgui
25852 html-libgui: \
25853 configure-libgui
25854 @: $(MAKE); $(unstage)
25855 @[ -f ./libgui/Makefile ] || exit 0; \
25856 r=`${PWD_COMMAND}`; export r; \
25857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25858 $(HOST_EXPORTS) \
25859 for flag in $(EXTRA_HOST_FLAGS) ; do \
25860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25861 done; \
25862 echo "Doing html in libgui" ; \
25863 (cd $(HOST_SUBDIR)/libgui && \
25864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25866 "RANLIB=$${RANLIB}" \
25867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25868 html) \
25869 || exit 1
25871 @endif libgui
25873 .PHONY: maybe-TAGS-libgui TAGS-libgui
25874 maybe-TAGS-libgui:
25875 @if libgui
25876 maybe-TAGS-libgui: TAGS-libgui
25878 TAGS-libgui: \
25879 configure-libgui
25880 @: $(MAKE); $(unstage)
25881 @[ -f ./libgui/Makefile ] || exit 0; \
25882 r=`${PWD_COMMAND}`; export r; \
25883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25884 $(HOST_EXPORTS) \
25885 for flag in $(EXTRA_HOST_FLAGS) ; do \
25886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25887 done; \
25888 echo "Doing TAGS in libgui" ; \
25889 (cd $(HOST_SUBDIR)/libgui && \
25890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25892 "RANLIB=$${RANLIB}" \
25893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25894 TAGS) \
25895 || exit 1
25897 @endif libgui
25899 .PHONY: maybe-install-info-libgui install-info-libgui
25900 maybe-install-info-libgui:
25901 @if libgui
25902 maybe-install-info-libgui: install-info-libgui
25904 install-info-libgui: \
25905 configure-libgui \
25906 info-libgui
25907 @: $(MAKE); $(unstage)
25908 @[ -f ./libgui/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25914 done; \
25915 echo "Doing install-info in libgui" ; \
25916 (cd $(HOST_SUBDIR)/libgui && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25921 install-info) \
25922 || exit 1
25924 @endif libgui
25926 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
25927 maybe-install-pdf-libgui:
25928 @if libgui
25929 maybe-install-pdf-libgui: install-pdf-libgui
25931 install-pdf-libgui: \
25932 configure-libgui \
25933 pdf-libgui
25934 @: $(MAKE); $(unstage)
25935 @[ -f ./libgui/Makefile ] || exit 0; \
25936 r=`${PWD_COMMAND}`; export r; \
25937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25938 $(HOST_EXPORTS) \
25939 for flag in $(EXTRA_HOST_FLAGS) ; do \
25940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25941 done; \
25942 echo "Doing install-pdf in libgui" ; \
25943 (cd $(HOST_SUBDIR)/libgui && \
25944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25946 "RANLIB=$${RANLIB}" \
25947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25948 install-pdf) \
25949 || exit 1
25951 @endif libgui
25953 .PHONY: maybe-install-html-libgui install-html-libgui
25954 maybe-install-html-libgui:
25955 @if libgui
25956 maybe-install-html-libgui: install-html-libgui
25958 install-html-libgui: \
25959 configure-libgui \
25960 html-libgui
25961 @: $(MAKE); $(unstage)
25962 @[ -f ./libgui/Makefile ] || exit 0; \
25963 r=`${PWD_COMMAND}`; export r; \
25964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25965 $(HOST_EXPORTS) \
25966 for flag in $(EXTRA_HOST_FLAGS) ; do \
25967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25968 done; \
25969 echo "Doing install-html in libgui" ; \
25970 (cd $(HOST_SUBDIR)/libgui && \
25971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25973 "RANLIB=$${RANLIB}" \
25974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25975 install-html) \
25976 || exit 1
25978 @endif libgui
25980 .PHONY: maybe-installcheck-libgui installcheck-libgui
25981 maybe-installcheck-libgui:
25982 @if libgui
25983 maybe-installcheck-libgui: installcheck-libgui
25985 installcheck-libgui: \
25986 configure-libgui
25987 @: $(MAKE); $(unstage)
25988 @[ -f ./libgui/Makefile ] || exit 0; \
25989 r=`${PWD_COMMAND}`; export r; \
25990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25991 $(HOST_EXPORTS) \
25992 for flag in $(EXTRA_HOST_FLAGS) ; do \
25993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25994 done; \
25995 echo "Doing installcheck in libgui" ; \
25996 (cd $(HOST_SUBDIR)/libgui && \
25997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25999 "RANLIB=$${RANLIB}" \
26000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26001 installcheck) \
26002 || exit 1
26004 @endif libgui
26006 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
26007 maybe-mostlyclean-libgui:
26008 @if libgui
26009 maybe-mostlyclean-libgui: mostlyclean-libgui
26011 mostlyclean-libgui:
26012 @: $(MAKE); $(unstage)
26013 @[ -f ./libgui/Makefile ] || exit 0; \
26014 r=`${PWD_COMMAND}`; export r; \
26015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26016 $(HOST_EXPORTS) \
26017 for flag in $(EXTRA_HOST_FLAGS) ; do \
26018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26019 done; \
26020 echo "Doing mostlyclean in libgui" ; \
26021 (cd $(HOST_SUBDIR)/libgui && \
26022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26024 "RANLIB=$${RANLIB}" \
26025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26026 mostlyclean) \
26027 || exit 1
26029 @endif libgui
26031 .PHONY: maybe-clean-libgui clean-libgui
26032 maybe-clean-libgui:
26033 @if libgui
26034 maybe-clean-libgui: clean-libgui
26036 clean-libgui:
26037 @: $(MAKE); $(unstage)
26038 @[ -f ./libgui/Makefile ] || exit 0; \
26039 r=`${PWD_COMMAND}`; export r; \
26040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26041 $(HOST_EXPORTS) \
26042 for flag in $(EXTRA_HOST_FLAGS) ; do \
26043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26044 done; \
26045 echo "Doing clean in libgui" ; \
26046 (cd $(HOST_SUBDIR)/libgui && \
26047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26049 "RANLIB=$${RANLIB}" \
26050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26051 clean) \
26052 || exit 1
26054 @endif libgui
26056 .PHONY: maybe-distclean-libgui distclean-libgui
26057 maybe-distclean-libgui:
26058 @if libgui
26059 maybe-distclean-libgui: distclean-libgui
26061 distclean-libgui:
26062 @: $(MAKE); $(unstage)
26063 @[ -f ./libgui/Makefile ] || exit 0; \
26064 r=`${PWD_COMMAND}`; export r; \
26065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26066 $(HOST_EXPORTS) \
26067 for flag in $(EXTRA_HOST_FLAGS) ; do \
26068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26069 done; \
26070 echo "Doing distclean in libgui" ; \
26071 (cd $(HOST_SUBDIR)/libgui && \
26072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26074 "RANLIB=$${RANLIB}" \
26075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26076 distclean) \
26077 || exit 1
26079 @endif libgui
26081 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
26082 maybe-maintainer-clean-libgui:
26083 @if libgui
26084 maybe-maintainer-clean-libgui: maintainer-clean-libgui
26086 maintainer-clean-libgui:
26087 @: $(MAKE); $(unstage)
26088 @[ -f ./libgui/Makefile ] || exit 0; \
26089 r=`${PWD_COMMAND}`; export r; \
26090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26091 $(HOST_EXPORTS) \
26092 for flag in $(EXTRA_HOST_FLAGS) ; do \
26093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26094 done; \
26095 echo "Doing maintainer-clean in libgui" ; \
26096 (cd $(HOST_SUBDIR)/libgui && \
26097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26099 "RANLIB=$${RANLIB}" \
26100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26101 maintainer-clean) \
26102 || exit 1
26104 @endif libgui
26108 .PHONY: configure-libiberty maybe-configure-libiberty
26109 maybe-configure-libiberty:
26110 @if gcc-bootstrap
26111 configure-libiberty: stage_current
26112 @endif gcc-bootstrap
26113 @if libiberty
26114 maybe-configure-libiberty: configure-libiberty
26115 configure-libiberty:
26116 @r=`${PWD_COMMAND}`; export r; \
26117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26118 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26120 $(HOST_EXPORTS) \
26121 echo Configuring in $(HOST_SUBDIR)/libiberty; \
26122 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
26123 case $(srcdir) in \
26124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26125 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26127 esac; \
26128 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26129 libsrcdir="$$s/libiberty"; \
26130 $(SHELL) $${libsrcdir}/configure \
26131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26132 --target=${target_alias} $${srcdiroption} \
26133 || exit 1
26134 @endif libiberty
26138 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
26139 maybe-configure-stage1-libiberty:
26140 @if libiberty-bootstrap
26141 maybe-configure-stage1-libiberty: configure-stage1-libiberty
26142 configure-stage1-libiberty:
26143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26145 @r=`${PWD_COMMAND}`; export r; \
26146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26147 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26148 $(HOST_EXPORTS) \
26149 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26150 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
26151 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
26152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26153 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26154 case $(srcdir) in \
26155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26156 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26158 esac; \
26159 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26160 libsrcdir="$$s/libiberty"; \
26161 $(SHELL) $${libsrcdir}/configure \
26162 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26163 --target=${target_alias} $${srcdiroption} \
26165 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26166 @endif libiberty-bootstrap
26168 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
26169 maybe-configure-stage2-libiberty:
26170 @if libiberty-bootstrap
26171 maybe-configure-stage2-libiberty: configure-stage2-libiberty
26172 configure-stage2-libiberty:
26173 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26174 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26175 @r=`${PWD_COMMAND}`; export r; \
26176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26177 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26178 $(HOST_EXPORTS) \
26179 $(POSTSTAGE1_HOST_EXPORTS) \
26180 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26181 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
26182 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
26183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26184 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26185 case $(srcdir) in \
26186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26187 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26189 esac; \
26190 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26191 libsrcdir="$$s/libiberty"; \
26192 $(SHELL) $${libsrcdir}/configure \
26193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26194 --target=${target_alias} $${srcdiroption} \
26195 --with-build-libsubdir=$(HOST_SUBDIR) \
26196 @stage2_werror_flag@
26197 @endif libiberty-bootstrap
26199 .PHONY: configure-stageb2g0-libiberty maybe-configure-stageb2g0-libiberty
26200 maybe-configure-stageb2g0-libiberty:
26201 @if libiberty-bootstrap
26202 maybe-configure-stageb2g0-libiberty: configure-stageb2g0-libiberty
26203 configure-stageb2g0-libiberty:
26204 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
26205 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26206 @r=`${PWD_COMMAND}`; export r; \
26207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26208 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26209 $(HOST_EXPORTS) \
26210 $(POSTSTAGE1_HOST_EXPORTS) \
26211 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
26212 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
26213 echo Configuring stage b2g0 in $(HOST_SUBDIR)/libiberty ; \
26214 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26215 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26216 case $(srcdir) in \
26217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26218 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26220 esac; \
26221 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26222 libsrcdir="$$s/libiberty"; \
26223 $(SHELL) $${libsrcdir}/configure \
26224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26225 --target=${target_alias} $${srcdiroption} \
26226 --with-build-libsubdir=$(HOST_SUBDIR) \
26227 @stage2_werror_flag@
26228 @endif libiberty-bootstrap
26230 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
26231 maybe-configure-stage3-libiberty:
26232 @if libiberty-bootstrap
26233 maybe-configure-stage3-libiberty: configure-stage3-libiberty
26234 configure-stage3-libiberty:
26235 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26236 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26237 @r=`${PWD_COMMAND}`; export r; \
26238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26239 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26240 $(HOST_EXPORTS) \
26241 $(POSTSTAGE1_HOST_EXPORTS) \
26242 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26243 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
26244 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
26245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26246 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26247 case $(srcdir) in \
26248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26249 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26251 esac; \
26252 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26253 libsrcdir="$$s/libiberty"; \
26254 $(SHELL) $${libsrcdir}/configure \
26255 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26256 --target=${target_alias} $${srcdiroption} \
26257 --with-build-libsubdir=$(HOST_SUBDIR) \
26258 @stage2_werror_flag@
26259 @endif libiberty-bootstrap
26261 .PHONY: configure-stageb3g2-libiberty maybe-configure-stageb3g2-libiberty
26262 maybe-configure-stageb3g2-libiberty:
26263 @if libiberty-bootstrap
26264 maybe-configure-stageb3g2-libiberty: configure-stageb3g2-libiberty
26265 configure-stageb3g2-libiberty:
26266 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
26267 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26268 @r=`${PWD_COMMAND}`; export r; \
26269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26270 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26271 $(HOST_EXPORTS) \
26272 $(POSTSTAGE1_HOST_EXPORTS) \
26273 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
26274 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
26275 echo Configuring stage b3g2 in $(HOST_SUBDIR)/libiberty ; \
26276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26277 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26278 case $(srcdir) in \
26279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26280 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26282 esac; \
26283 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26284 libsrcdir="$$s/libiberty"; \
26285 $(SHELL) $${libsrcdir}/configure \
26286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26287 --target=${target_alias} $${srcdiroption} \
26288 --with-build-libsubdir=$(HOST_SUBDIR) \
26289 @stage2_werror_flag@
26290 @endif libiberty-bootstrap
26292 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
26293 maybe-configure-stage4-libiberty:
26294 @if libiberty-bootstrap
26295 maybe-configure-stage4-libiberty: configure-stage4-libiberty
26296 configure-stage4-libiberty:
26297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26299 @r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26302 $(HOST_EXPORTS) \
26303 $(POSTSTAGE1_HOST_EXPORTS) \
26304 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26305 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
26306 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
26307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26308 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26309 case $(srcdir) in \
26310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26311 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26313 esac; \
26314 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26315 libsrcdir="$$s/libiberty"; \
26316 $(SHELL) $${libsrcdir}/configure \
26317 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26318 --target=${target_alias} $${srcdiroption} \
26319 --with-build-libsubdir=$(HOST_SUBDIR) \
26320 @stage2_werror_flag@
26321 @endif libiberty-bootstrap
26323 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
26324 maybe-configure-stageprofile-libiberty:
26325 @if libiberty-bootstrap
26326 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
26327 configure-stageprofile-libiberty:
26328 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26330 @r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26333 $(HOST_EXPORTS) \
26334 $(POSTSTAGE1_HOST_EXPORTS) \
26335 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
26336 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
26337 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
26338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26339 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26340 case $(srcdir) in \
26341 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26342 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26343 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26344 esac; \
26345 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26346 libsrcdir="$$s/libiberty"; \
26347 $(SHELL) $${libsrcdir}/configure \
26348 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26349 --target=${target_alias} $${srcdiroption} \
26350 --with-build-libsubdir=$(HOST_SUBDIR) \
26351 @stage2_werror_flag@
26352 @endif libiberty-bootstrap
26354 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
26355 maybe-configure-stagefeedback-libiberty:
26356 @if libiberty-bootstrap
26357 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
26358 configure-stagefeedback-libiberty:
26359 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26360 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
26361 @r=`${PWD_COMMAND}`; export r; \
26362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26363 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
26364 $(HOST_EXPORTS) \
26365 $(POSTSTAGE1_HOST_EXPORTS) \
26366 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
26367 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
26368 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
26369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
26370 cd $(HOST_SUBDIR)/libiberty || exit 1; \
26371 case $(srcdir) in \
26372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26373 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
26374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26375 esac; \
26376 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26377 libsrcdir="$$s/libiberty"; \
26378 $(SHELL) $${libsrcdir}/configure \
26379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26380 --target=${target_alias} $${srcdiroption} \
26381 --with-build-libsubdir=$(HOST_SUBDIR) \
26382 @stage2_werror_flag@
26383 @endif libiberty-bootstrap
26389 .PHONY: all-libiberty maybe-all-libiberty
26390 maybe-all-libiberty:
26391 @if gcc-bootstrap
26392 all-libiberty: stage_current
26393 @endif gcc-bootstrap
26394 @if libiberty
26395 TARGET-libiberty=all
26396 maybe-all-libiberty: all-libiberty
26397 all-libiberty: configure-libiberty
26398 @r=`${PWD_COMMAND}`; export r; \
26399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26400 $(HOST_EXPORTS) \
26401 (cd $(HOST_SUBDIR)/libiberty && \
26402 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
26403 $(TARGET-libiberty))
26404 @endif libiberty
26408 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
26409 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
26410 maybe-all-stage1-libiberty:
26411 maybe-clean-stage1-libiberty:
26412 @if libiberty-bootstrap
26413 maybe-all-stage1-libiberty: all-stage1-libiberty
26414 all-stage1: all-stage1-libiberty
26415 TARGET-stage1-libiberty = $(TARGET-libiberty)
26416 all-stage1-libiberty: configure-stage1-libiberty
26417 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26418 @r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(HOST_EXPORTS) \
26421 cd $(HOST_SUBDIR)/libiberty && \
26422 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26423 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
26424 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
26425 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
26426 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
26427 $(TARGET-stage1-libiberty)
26429 maybe-clean-stage1-libiberty: clean-stage1-libiberty
26430 clean-stage1: clean-stage1-libiberty
26431 clean-stage1-libiberty:
26432 @if [ $(current_stage) = stage1 ]; then \
26433 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26434 else \
26435 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
26436 $(MAKE) stage1-start; \
26437 fi; \
26438 cd $(HOST_SUBDIR)/libiberty && \
26439 $(MAKE) $(EXTRA_HOST_FLAGS) \
26440 clean
26441 @endif libiberty-bootstrap
26444 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
26445 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
26446 maybe-all-stage2-libiberty:
26447 maybe-clean-stage2-libiberty:
26448 @if libiberty-bootstrap
26449 maybe-all-stage2-libiberty: all-stage2-libiberty
26450 all-stage2: all-stage2-libiberty
26451 TARGET-stage2-libiberty = $(TARGET-libiberty)
26452 all-stage2-libiberty: configure-stage2-libiberty
26453 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26454 @r=`${PWD_COMMAND}`; export r; \
26455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26456 $(HOST_EXPORTS) \
26457 $(POSTSTAGE1_HOST_EXPORTS) \
26458 cd $(HOST_SUBDIR)/libiberty && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26460 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
26461 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
26462 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
26463 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26464 $(TARGET-stage2-libiberty)
26466 maybe-clean-stage2-libiberty: clean-stage2-libiberty
26467 clean-stage2: clean-stage2-libiberty
26468 clean-stage2-libiberty:
26469 @if [ $(current_stage) = stage2 ]; then \
26470 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26471 else \
26472 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
26473 $(MAKE) stage2-start; \
26474 fi; \
26475 cd $(HOST_SUBDIR)/libiberty && \
26476 $(MAKE) $(EXTRA_HOST_FLAGS) \
26477 $(POSTSTAGE1_FLAGS_TO_PASS) \
26478 clean
26479 @endif libiberty-bootstrap
26482 .PHONY: all-stageb2g0-libiberty maybe-all-stageb2g0-libiberty
26483 .PHONY: clean-stageb2g0-libiberty maybe-clean-stageb2g0-libiberty
26484 maybe-all-stageb2g0-libiberty:
26485 maybe-clean-stageb2g0-libiberty:
26486 @if libiberty-bootstrap
26487 maybe-all-stageb2g0-libiberty: all-stageb2g0-libiberty
26488 all-stageb2g0: all-stageb2g0-libiberty
26489 TARGET-stageb2g0-libiberty = $(TARGET-libiberty)
26490 all-stageb2g0-libiberty: configure-stageb2g0-libiberty
26491 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
26492 @r=`${PWD_COMMAND}`; export r; \
26493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26494 $(HOST_EXPORTS) \
26495 $(POSTSTAGE1_HOST_EXPORTS) \
26496 cd $(HOST_SUBDIR)/libiberty && \
26497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26498 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
26499 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
26500 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
26501 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26502 $(TARGET-stageb2g0-libiberty)
26504 maybe-clean-stageb2g0-libiberty: clean-stageb2g0-libiberty
26505 clean-stageb2g0: clean-stageb2g0-libiberty
26506 clean-stageb2g0-libiberty:
26507 @if [ $(current_stage) = stageb2g0 ]; then \
26508 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26509 else \
26510 [ -f $(HOST_SUBDIR)/stageb2g0-libiberty/Makefile ] || exit 0; \
26511 $(MAKE) stageb2g0-start; \
26512 fi; \
26513 cd $(HOST_SUBDIR)/libiberty && \
26514 $(MAKE) $(EXTRA_HOST_FLAGS) \
26515 $(POSTSTAGE1_FLAGS_TO_PASS) \
26516 clean
26517 @endif libiberty-bootstrap
26520 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
26521 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
26522 maybe-all-stage3-libiberty:
26523 maybe-clean-stage3-libiberty:
26524 @if libiberty-bootstrap
26525 maybe-all-stage3-libiberty: all-stage3-libiberty
26526 all-stage3: all-stage3-libiberty
26527 TARGET-stage3-libiberty = $(TARGET-libiberty)
26528 all-stage3-libiberty: configure-stage3-libiberty
26529 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26530 @r=`${PWD_COMMAND}`; export r; \
26531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26532 $(HOST_EXPORTS) \
26533 $(POSTSTAGE1_HOST_EXPORTS) \
26534 cd $(HOST_SUBDIR)/libiberty && \
26535 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26536 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
26537 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
26538 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
26539 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26540 $(TARGET-stage3-libiberty)
26542 maybe-clean-stage3-libiberty: clean-stage3-libiberty
26543 clean-stage3: clean-stage3-libiberty
26544 clean-stage3-libiberty:
26545 @if [ $(current_stage) = stage3 ]; then \
26546 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26547 else \
26548 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
26549 $(MAKE) stage3-start; \
26550 fi; \
26551 cd $(HOST_SUBDIR)/libiberty && \
26552 $(MAKE) $(EXTRA_HOST_FLAGS) \
26553 $(POSTSTAGE1_FLAGS_TO_PASS) \
26554 clean
26555 @endif libiberty-bootstrap
26558 .PHONY: all-stageb3g2-libiberty maybe-all-stageb3g2-libiberty
26559 .PHONY: clean-stageb3g2-libiberty maybe-clean-stageb3g2-libiberty
26560 maybe-all-stageb3g2-libiberty:
26561 maybe-clean-stageb3g2-libiberty:
26562 @if libiberty-bootstrap
26563 maybe-all-stageb3g2-libiberty: all-stageb3g2-libiberty
26564 all-stageb3g2: all-stageb3g2-libiberty
26565 TARGET-stageb3g2-libiberty = $(TARGET-libiberty)
26566 all-stageb3g2-libiberty: configure-stageb3g2-libiberty
26567 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
26568 @r=`${PWD_COMMAND}`; export r; \
26569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26570 $(HOST_EXPORTS) \
26571 $(POSTSTAGE1_HOST_EXPORTS) \
26572 cd $(HOST_SUBDIR)/libiberty && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26574 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
26575 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
26576 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
26577 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26578 $(TARGET-stageb3g2-libiberty)
26580 maybe-clean-stageb3g2-libiberty: clean-stageb3g2-libiberty
26581 clean-stageb3g2: clean-stageb3g2-libiberty
26582 clean-stageb3g2-libiberty:
26583 @if [ $(current_stage) = stageb3g2 ]; then \
26584 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26585 else \
26586 [ -f $(HOST_SUBDIR)/stageb3g2-libiberty/Makefile ] || exit 0; \
26587 $(MAKE) stageb3g2-start; \
26588 fi; \
26589 cd $(HOST_SUBDIR)/libiberty && \
26590 $(MAKE) $(EXTRA_HOST_FLAGS) \
26591 $(POSTSTAGE1_FLAGS_TO_PASS) \
26592 clean
26593 @endif libiberty-bootstrap
26596 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
26597 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
26598 maybe-all-stage4-libiberty:
26599 maybe-clean-stage4-libiberty:
26600 @if libiberty-bootstrap
26601 maybe-all-stage4-libiberty: all-stage4-libiberty
26602 all-stage4: all-stage4-libiberty
26603 TARGET-stage4-libiberty = $(TARGET-libiberty)
26604 all-stage4-libiberty: configure-stage4-libiberty
26605 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26606 @r=`${PWD_COMMAND}`; export r; \
26607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26608 $(HOST_EXPORTS) \
26609 $(POSTSTAGE1_HOST_EXPORTS) \
26610 cd $(HOST_SUBDIR)/libiberty && \
26611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26612 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
26613 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26614 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
26615 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26616 $(TARGET-stage4-libiberty)
26618 maybe-clean-stage4-libiberty: clean-stage4-libiberty
26619 clean-stage4: clean-stage4-libiberty
26620 clean-stage4-libiberty:
26621 @if [ $(current_stage) = stage4 ]; then \
26622 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26623 else \
26624 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
26625 $(MAKE) stage4-start; \
26626 fi; \
26627 cd $(HOST_SUBDIR)/libiberty && \
26628 $(MAKE) $(EXTRA_HOST_FLAGS) \
26629 $(POSTSTAGE1_FLAGS_TO_PASS) \
26630 clean
26631 @endif libiberty-bootstrap
26634 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
26635 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
26636 maybe-all-stageprofile-libiberty:
26637 maybe-clean-stageprofile-libiberty:
26638 @if libiberty-bootstrap
26639 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
26640 all-stageprofile: all-stageprofile-libiberty
26641 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
26642 all-stageprofile-libiberty: configure-stageprofile-libiberty
26643 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26644 @r=`${PWD_COMMAND}`; export r; \
26645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26646 $(HOST_EXPORTS) \
26647 $(POSTSTAGE1_HOST_EXPORTS) \
26648 cd $(HOST_SUBDIR)/libiberty && \
26649 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26650 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
26651 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
26652 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
26653 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26654 $(TARGET-stageprofile-libiberty)
26656 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
26657 clean-stageprofile: clean-stageprofile-libiberty
26658 clean-stageprofile-libiberty:
26659 @if [ $(current_stage) = stageprofile ]; then \
26660 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26661 else \
26662 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
26663 $(MAKE) stageprofile-start; \
26664 fi; \
26665 cd $(HOST_SUBDIR)/libiberty && \
26666 $(MAKE) $(EXTRA_HOST_FLAGS) \
26667 $(POSTSTAGE1_FLAGS_TO_PASS) \
26668 clean
26669 @endif libiberty-bootstrap
26672 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
26673 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
26674 maybe-all-stagefeedback-libiberty:
26675 maybe-clean-stagefeedback-libiberty:
26676 @if libiberty-bootstrap
26677 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
26678 all-stagefeedback: all-stagefeedback-libiberty
26679 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
26680 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
26681 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26682 @r=`${PWD_COMMAND}`; export r; \
26683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26684 $(HOST_EXPORTS) \
26685 $(POSTSTAGE1_HOST_EXPORTS) \
26686 cd $(HOST_SUBDIR)/libiberty && \
26687 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26688 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
26689 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
26690 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
26691 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26692 $(TARGET-stagefeedback-libiberty)
26694 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
26695 clean-stagefeedback: clean-stagefeedback-libiberty
26696 clean-stagefeedback-libiberty:
26697 @if [ $(current_stage) = stagefeedback ]; then \
26698 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
26699 else \
26700 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
26701 $(MAKE) stagefeedback-start; \
26702 fi; \
26703 cd $(HOST_SUBDIR)/libiberty && \
26704 $(MAKE) $(EXTRA_HOST_FLAGS) \
26705 $(POSTSTAGE1_FLAGS_TO_PASS) \
26706 clean
26707 @endif libiberty-bootstrap
26713 .PHONY: check-libiberty maybe-check-libiberty
26714 maybe-check-libiberty:
26715 @if libiberty
26716 maybe-check-libiberty: check-libiberty
26718 check-libiberty:
26719 @: $(MAKE); $(unstage)
26720 @r=`${PWD_COMMAND}`; export r; \
26721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26722 $(HOST_EXPORTS) \
26723 (cd $(HOST_SUBDIR)/libiberty && \
26724 $(MAKE) $(FLAGS_TO_PASS) check)
26726 @endif libiberty
26728 .PHONY: install-libiberty maybe-install-libiberty
26729 maybe-install-libiberty:
26730 @if libiberty
26731 maybe-install-libiberty: install-libiberty
26733 install-libiberty: installdirs
26734 @: $(MAKE); $(unstage)
26735 @r=`${PWD_COMMAND}`; export r; \
26736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26737 $(HOST_EXPORTS) \
26738 (cd $(HOST_SUBDIR)/libiberty && \
26739 $(MAKE) $(FLAGS_TO_PASS) install)
26741 @endif libiberty
26743 # Other targets (info, dvi, pdf, etc.)
26745 .PHONY: maybe-info-libiberty info-libiberty
26746 maybe-info-libiberty:
26747 @if libiberty
26748 maybe-info-libiberty: info-libiberty
26750 info-libiberty: \
26751 configure-libiberty
26752 @[ -f ./libiberty/Makefile ] || exit 0; \
26753 r=`${PWD_COMMAND}`; export r; \
26754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26755 $(HOST_EXPORTS) \
26756 for flag in $(EXTRA_HOST_FLAGS) ; do \
26757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26758 done; \
26759 echo "Doing info in libiberty" ; \
26760 (cd $(HOST_SUBDIR)/libiberty && \
26761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26763 "RANLIB=$${RANLIB}" \
26764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26765 info) \
26766 || exit 1
26768 @endif libiberty
26770 .PHONY: maybe-dvi-libiberty dvi-libiberty
26771 maybe-dvi-libiberty:
26772 @if libiberty
26773 maybe-dvi-libiberty: dvi-libiberty
26775 dvi-libiberty: \
26776 configure-libiberty
26777 @[ -f ./libiberty/Makefile ] || exit 0; \
26778 r=`${PWD_COMMAND}`; export r; \
26779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26780 $(HOST_EXPORTS) \
26781 for flag in $(EXTRA_HOST_FLAGS) ; do \
26782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26783 done; \
26784 echo "Doing dvi in libiberty" ; \
26785 (cd $(HOST_SUBDIR)/libiberty && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26788 "RANLIB=$${RANLIB}" \
26789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26790 dvi) \
26791 || exit 1
26793 @endif libiberty
26795 .PHONY: maybe-pdf-libiberty pdf-libiberty
26796 maybe-pdf-libiberty:
26797 @if libiberty
26798 maybe-pdf-libiberty: pdf-libiberty
26800 pdf-libiberty: \
26801 configure-libiberty
26802 @[ -f ./libiberty/Makefile ] || exit 0; \
26803 r=`${PWD_COMMAND}`; export r; \
26804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(HOST_EXPORTS) \
26806 for flag in $(EXTRA_HOST_FLAGS) ; do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 echo "Doing pdf in libiberty" ; \
26810 (cd $(HOST_SUBDIR)/libiberty && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26815 pdf) \
26816 || exit 1
26818 @endif libiberty
26820 .PHONY: maybe-html-libiberty html-libiberty
26821 maybe-html-libiberty:
26822 @if libiberty
26823 maybe-html-libiberty: html-libiberty
26825 html-libiberty: \
26826 configure-libiberty
26827 @[ -f ./libiberty/Makefile ] || exit 0; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(HOST_EXPORTS) \
26831 for flag in $(EXTRA_HOST_FLAGS) ; do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 done; \
26834 echo "Doing html in libiberty" ; \
26835 (cd $(HOST_SUBDIR)/libiberty && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26840 html) \
26841 || exit 1
26843 @endif libiberty
26845 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
26846 maybe-TAGS-libiberty:
26847 @if libiberty
26848 maybe-TAGS-libiberty: TAGS-libiberty
26850 TAGS-libiberty: \
26851 configure-libiberty
26852 @[ -f ./libiberty/Makefile ] || exit 0; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(HOST_EXPORTS) \
26856 for flag in $(EXTRA_HOST_FLAGS) ; do \
26857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 done; \
26859 echo "Doing TAGS in libiberty" ; \
26860 (cd $(HOST_SUBDIR)/libiberty && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26865 TAGS) \
26866 || exit 1
26868 @endif libiberty
26870 .PHONY: maybe-install-info-libiberty install-info-libiberty
26871 maybe-install-info-libiberty:
26872 @if libiberty
26873 maybe-install-info-libiberty: install-info-libiberty
26875 install-info-libiberty: \
26876 configure-libiberty \
26877 info-libiberty
26878 @[ -f ./libiberty/Makefile ] || exit 0; \
26879 r=`${PWD_COMMAND}`; export r; \
26880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26881 $(HOST_EXPORTS) \
26882 for flag in $(EXTRA_HOST_FLAGS) ; do \
26883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26884 done; \
26885 echo "Doing install-info in libiberty" ; \
26886 (cd $(HOST_SUBDIR)/libiberty && \
26887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26889 "RANLIB=$${RANLIB}" \
26890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26891 install-info) \
26892 || exit 1
26894 @endif libiberty
26896 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
26897 maybe-install-pdf-libiberty:
26898 @if libiberty
26899 maybe-install-pdf-libiberty: install-pdf-libiberty
26901 install-pdf-libiberty: \
26902 configure-libiberty \
26903 pdf-libiberty
26904 @[ -f ./libiberty/Makefile ] || exit 0; \
26905 r=`${PWD_COMMAND}`; export r; \
26906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26907 $(HOST_EXPORTS) \
26908 for flag in $(EXTRA_HOST_FLAGS) ; do \
26909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26910 done; \
26911 echo "Doing install-pdf in libiberty" ; \
26912 (cd $(HOST_SUBDIR)/libiberty && \
26913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26915 "RANLIB=$${RANLIB}" \
26916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26917 install-pdf) \
26918 || exit 1
26920 @endif libiberty
26922 .PHONY: maybe-install-html-libiberty install-html-libiberty
26923 maybe-install-html-libiberty:
26924 @if libiberty
26925 maybe-install-html-libiberty: install-html-libiberty
26927 install-html-libiberty: \
26928 configure-libiberty \
26929 html-libiberty
26930 @[ -f ./libiberty/Makefile ] || exit 0; \
26931 r=`${PWD_COMMAND}`; export r; \
26932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26933 $(HOST_EXPORTS) \
26934 for flag in $(EXTRA_HOST_FLAGS) ; do \
26935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26936 done; \
26937 echo "Doing install-html in libiberty" ; \
26938 (cd $(HOST_SUBDIR)/libiberty && \
26939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26941 "RANLIB=$${RANLIB}" \
26942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26943 install-html) \
26944 || exit 1
26946 @endif libiberty
26948 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
26949 maybe-installcheck-libiberty:
26950 @if libiberty
26951 maybe-installcheck-libiberty: installcheck-libiberty
26953 installcheck-libiberty: \
26954 configure-libiberty
26955 @[ -f ./libiberty/Makefile ] || exit 0; \
26956 r=`${PWD_COMMAND}`; export r; \
26957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26958 $(HOST_EXPORTS) \
26959 for flag in $(EXTRA_HOST_FLAGS) ; do \
26960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26961 done; \
26962 echo "Doing installcheck in libiberty" ; \
26963 (cd $(HOST_SUBDIR)/libiberty && \
26964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26966 "RANLIB=$${RANLIB}" \
26967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26968 installcheck) \
26969 || exit 1
26971 @endif libiberty
26973 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
26974 maybe-mostlyclean-libiberty:
26975 @if libiberty
26976 maybe-mostlyclean-libiberty: mostlyclean-libiberty
26978 mostlyclean-libiberty:
26979 @[ -f ./libiberty/Makefile ] || exit 0; \
26980 r=`${PWD_COMMAND}`; export r; \
26981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26982 $(HOST_EXPORTS) \
26983 for flag in $(EXTRA_HOST_FLAGS) ; do \
26984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26985 done; \
26986 echo "Doing mostlyclean in libiberty" ; \
26987 (cd $(HOST_SUBDIR)/libiberty && \
26988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26990 "RANLIB=$${RANLIB}" \
26991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26992 mostlyclean) \
26993 || exit 1
26995 @endif libiberty
26997 .PHONY: maybe-clean-libiberty clean-libiberty
26998 maybe-clean-libiberty:
26999 @if libiberty
27000 maybe-clean-libiberty: clean-libiberty
27002 clean-libiberty:
27003 @[ -f ./libiberty/Makefile ] || exit 0; \
27004 r=`${PWD_COMMAND}`; export r; \
27005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27006 $(HOST_EXPORTS) \
27007 for flag in $(EXTRA_HOST_FLAGS) ; do \
27008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27009 done; \
27010 echo "Doing clean in libiberty" ; \
27011 (cd $(HOST_SUBDIR)/libiberty && \
27012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27014 "RANLIB=$${RANLIB}" \
27015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27016 clean) \
27017 || exit 1
27019 @endif libiberty
27021 .PHONY: maybe-distclean-libiberty distclean-libiberty
27022 maybe-distclean-libiberty:
27023 @if libiberty
27024 maybe-distclean-libiberty: distclean-libiberty
27026 distclean-libiberty:
27027 @[ -f ./libiberty/Makefile ] || exit 0; \
27028 r=`${PWD_COMMAND}`; export r; \
27029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27030 $(HOST_EXPORTS) \
27031 for flag in $(EXTRA_HOST_FLAGS) ; do \
27032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27033 done; \
27034 echo "Doing distclean in libiberty" ; \
27035 (cd $(HOST_SUBDIR)/libiberty && \
27036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27038 "RANLIB=$${RANLIB}" \
27039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27040 distclean) \
27041 || exit 1
27043 @endif libiberty
27045 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
27046 maybe-maintainer-clean-libiberty:
27047 @if libiberty
27048 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
27050 maintainer-clean-libiberty:
27051 @[ -f ./libiberty/Makefile ] || exit 0; \
27052 r=`${PWD_COMMAND}`; export r; \
27053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27054 $(HOST_EXPORTS) \
27055 for flag in $(EXTRA_HOST_FLAGS) ; do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 done; \
27058 echo "Doing maintainer-clean in libiberty" ; \
27059 (cd $(HOST_SUBDIR)/libiberty && \
27060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27062 "RANLIB=$${RANLIB}" \
27063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27064 maintainer-clean) \
27065 || exit 1
27067 @endif libiberty
27071 .PHONY: configure-libtool maybe-configure-libtool
27072 maybe-configure-libtool:
27073 @if gcc-bootstrap
27074 configure-libtool: stage_current
27075 @endif gcc-bootstrap
27076 @if libtool
27077 maybe-configure-libtool: configure-libtool
27078 configure-libtool:
27079 @: $(MAKE); $(unstage)
27080 @r=`${PWD_COMMAND}`; export r; \
27081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27082 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
27083 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
27084 $(HOST_EXPORTS) \
27085 echo Configuring in $(HOST_SUBDIR)/libtool; \
27086 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
27087 case $(srcdir) in \
27088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27089 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
27090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27091 esac; \
27092 srcdiroption="--srcdir=$${topdir}/libtool"; \
27093 libsrcdir="$$s/libtool"; \
27094 $(SHELL) $${libsrcdir}/configure \
27095 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27096 --target=${target_alias} $${srcdiroption} \
27097 || exit 1
27098 @endif libtool
27104 .PHONY: all-libtool maybe-all-libtool
27105 maybe-all-libtool:
27106 @if gcc-bootstrap
27107 all-libtool: stage_current
27108 @endif gcc-bootstrap
27109 @if libtool
27110 TARGET-libtool=all
27111 maybe-all-libtool: all-libtool
27112 all-libtool: configure-libtool
27113 @: $(MAKE); $(unstage)
27114 @r=`${PWD_COMMAND}`; export r; \
27115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27116 $(HOST_EXPORTS) \
27117 (cd $(HOST_SUBDIR)/libtool && \
27118 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27119 $(TARGET-libtool))
27120 @endif libtool
27125 .PHONY: check-libtool maybe-check-libtool
27126 maybe-check-libtool:
27127 @if libtool
27128 maybe-check-libtool: check-libtool
27130 check-libtool:
27131 @: $(MAKE); $(unstage)
27132 @r=`${PWD_COMMAND}`; export r; \
27133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27134 $(HOST_EXPORTS) \
27135 (cd $(HOST_SUBDIR)/libtool && \
27136 $(MAKE) $(FLAGS_TO_PASS) check)
27138 @endif libtool
27140 .PHONY: install-libtool maybe-install-libtool
27141 maybe-install-libtool:
27142 @if libtool
27143 maybe-install-libtool: install-libtool
27145 install-libtool: installdirs
27146 @: $(MAKE); $(unstage)
27147 @r=`${PWD_COMMAND}`; export r; \
27148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27149 $(HOST_EXPORTS) \
27150 (cd $(HOST_SUBDIR)/libtool && \
27151 $(MAKE) $(FLAGS_TO_PASS) install)
27153 @endif libtool
27155 # Other targets (info, dvi, pdf, etc.)
27157 .PHONY: maybe-info-libtool info-libtool
27158 maybe-info-libtool:
27159 @if libtool
27160 maybe-info-libtool: info-libtool
27162 info-libtool: \
27163 configure-libtool
27164 @: $(MAKE); $(unstage)
27165 @[ -f ./libtool/Makefile ] || exit 0; \
27166 r=`${PWD_COMMAND}`; export r; \
27167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27168 $(HOST_EXPORTS) \
27169 for flag in $(EXTRA_HOST_FLAGS) ; do \
27170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27171 done; \
27172 echo "Doing info in libtool" ; \
27173 (cd $(HOST_SUBDIR)/libtool && \
27174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27176 "RANLIB=$${RANLIB}" \
27177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27178 info) \
27179 || exit 1
27181 @endif libtool
27183 .PHONY: maybe-dvi-libtool dvi-libtool
27184 maybe-dvi-libtool:
27185 @if libtool
27186 maybe-dvi-libtool: dvi-libtool
27188 dvi-libtool: \
27189 configure-libtool
27190 @: $(MAKE); $(unstage)
27191 @[ -f ./libtool/Makefile ] || exit 0; \
27192 r=`${PWD_COMMAND}`; export r; \
27193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27194 $(HOST_EXPORTS) \
27195 for flag in $(EXTRA_HOST_FLAGS) ; do \
27196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27197 done; \
27198 echo "Doing dvi in libtool" ; \
27199 (cd $(HOST_SUBDIR)/libtool && \
27200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27202 "RANLIB=$${RANLIB}" \
27203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27204 dvi) \
27205 || exit 1
27207 @endif libtool
27209 .PHONY: maybe-pdf-libtool pdf-libtool
27210 maybe-pdf-libtool:
27211 @if libtool
27212 maybe-pdf-libtool: pdf-libtool
27214 pdf-libtool: \
27215 configure-libtool
27216 @: $(MAKE); $(unstage)
27217 @[ -f ./libtool/Makefile ] || exit 0; \
27218 r=`${PWD_COMMAND}`; export r; \
27219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27220 $(HOST_EXPORTS) \
27221 for flag in $(EXTRA_HOST_FLAGS) ; do \
27222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27223 done; \
27224 echo "Doing pdf in libtool" ; \
27225 (cd $(HOST_SUBDIR)/libtool && \
27226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27228 "RANLIB=$${RANLIB}" \
27229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27230 pdf) \
27231 || exit 1
27233 @endif libtool
27235 .PHONY: maybe-html-libtool html-libtool
27236 maybe-html-libtool:
27237 @if libtool
27238 maybe-html-libtool: html-libtool
27240 html-libtool: \
27241 configure-libtool
27242 @: $(MAKE); $(unstage)
27243 @[ -f ./libtool/Makefile ] || exit 0; \
27244 r=`${PWD_COMMAND}`; export r; \
27245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27246 $(HOST_EXPORTS) \
27247 for flag in $(EXTRA_HOST_FLAGS) ; do \
27248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27249 done; \
27250 echo "Doing html in libtool" ; \
27251 (cd $(HOST_SUBDIR)/libtool && \
27252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27254 "RANLIB=$${RANLIB}" \
27255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27256 html) \
27257 || exit 1
27259 @endif libtool
27261 .PHONY: maybe-TAGS-libtool TAGS-libtool
27262 maybe-TAGS-libtool:
27263 @if libtool
27264 maybe-TAGS-libtool: TAGS-libtool
27266 TAGS-libtool: \
27267 configure-libtool
27268 @: $(MAKE); $(unstage)
27269 @[ -f ./libtool/Makefile ] || exit 0; \
27270 r=`${PWD_COMMAND}`; export r; \
27271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27272 $(HOST_EXPORTS) \
27273 for flag in $(EXTRA_HOST_FLAGS) ; do \
27274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27275 done; \
27276 echo "Doing TAGS in libtool" ; \
27277 (cd $(HOST_SUBDIR)/libtool && \
27278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27280 "RANLIB=$${RANLIB}" \
27281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27282 TAGS) \
27283 || exit 1
27285 @endif libtool
27287 .PHONY: maybe-install-info-libtool install-info-libtool
27288 maybe-install-info-libtool:
27289 @if libtool
27290 maybe-install-info-libtool: install-info-libtool
27292 install-info-libtool: \
27293 configure-libtool \
27294 info-libtool
27295 @: $(MAKE); $(unstage)
27296 @[ -f ./libtool/Makefile ] || exit 0; \
27297 r=`${PWD_COMMAND}`; export r; \
27298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27299 $(HOST_EXPORTS) \
27300 for flag in $(EXTRA_HOST_FLAGS) ; do \
27301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27302 done; \
27303 echo "Doing install-info in libtool" ; \
27304 (cd $(HOST_SUBDIR)/libtool && \
27305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27307 "RANLIB=$${RANLIB}" \
27308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27309 install-info) \
27310 || exit 1
27312 @endif libtool
27314 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
27315 maybe-install-pdf-libtool:
27316 @if libtool
27317 maybe-install-pdf-libtool: install-pdf-libtool
27319 install-pdf-libtool: \
27320 configure-libtool \
27321 pdf-libtool
27322 @: $(MAKE); $(unstage)
27323 @[ -f ./libtool/Makefile ] || exit 0; \
27324 r=`${PWD_COMMAND}`; export r; \
27325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27326 $(HOST_EXPORTS) \
27327 for flag in $(EXTRA_HOST_FLAGS) ; do \
27328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27329 done; \
27330 echo "Doing install-pdf in libtool" ; \
27331 (cd $(HOST_SUBDIR)/libtool && \
27332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27334 "RANLIB=$${RANLIB}" \
27335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27336 install-pdf) \
27337 || exit 1
27339 @endif libtool
27341 .PHONY: maybe-install-html-libtool install-html-libtool
27342 maybe-install-html-libtool:
27343 @if libtool
27344 maybe-install-html-libtool: install-html-libtool
27346 install-html-libtool: \
27347 configure-libtool \
27348 html-libtool
27349 @: $(MAKE); $(unstage)
27350 @[ -f ./libtool/Makefile ] || exit 0; \
27351 r=`${PWD_COMMAND}`; export r; \
27352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27353 $(HOST_EXPORTS) \
27354 for flag in $(EXTRA_HOST_FLAGS) ; do \
27355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27356 done; \
27357 echo "Doing install-html in libtool" ; \
27358 (cd $(HOST_SUBDIR)/libtool && \
27359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27361 "RANLIB=$${RANLIB}" \
27362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27363 install-html) \
27364 || exit 1
27366 @endif libtool
27368 .PHONY: maybe-installcheck-libtool installcheck-libtool
27369 maybe-installcheck-libtool:
27370 @if libtool
27371 maybe-installcheck-libtool: installcheck-libtool
27373 installcheck-libtool: \
27374 configure-libtool
27375 @: $(MAKE); $(unstage)
27376 @[ -f ./libtool/Makefile ] || exit 0; \
27377 r=`${PWD_COMMAND}`; export r; \
27378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27379 $(HOST_EXPORTS) \
27380 for flag in $(EXTRA_HOST_FLAGS) ; do \
27381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27382 done; \
27383 echo "Doing installcheck in libtool" ; \
27384 (cd $(HOST_SUBDIR)/libtool && \
27385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27387 "RANLIB=$${RANLIB}" \
27388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27389 installcheck) \
27390 || exit 1
27392 @endif libtool
27394 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
27395 maybe-mostlyclean-libtool:
27396 @if libtool
27397 maybe-mostlyclean-libtool: mostlyclean-libtool
27399 mostlyclean-libtool:
27400 @: $(MAKE); $(unstage)
27401 @[ -f ./libtool/Makefile ] || exit 0; \
27402 r=`${PWD_COMMAND}`; export r; \
27403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27404 $(HOST_EXPORTS) \
27405 for flag in $(EXTRA_HOST_FLAGS) ; do \
27406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27407 done; \
27408 echo "Doing mostlyclean in libtool" ; \
27409 (cd $(HOST_SUBDIR)/libtool && \
27410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27412 "RANLIB=$${RANLIB}" \
27413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27414 mostlyclean) \
27415 || exit 1
27417 @endif libtool
27419 .PHONY: maybe-clean-libtool clean-libtool
27420 maybe-clean-libtool:
27421 @if libtool
27422 maybe-clean-libtool: clean-libtool
27424 clean-libtool:
27425 @: $(MAKE); $(unstage)
27426 @[ -f ./libtool/Makefile ] || exit 0; \
27427 r=`${PWD_COMMAND}`; export r; \
27428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27429 $(HOST_EXPORTS) \
27430 for flag in $(EXTRA_HOST_FLAGS) ; do \
27431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27432 done; \
27433 echo "Doing clean in libtool" ; \
27434 (cd $(HOST_SUBDIR)/libtool && \
27435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27437 "RANLIB=$${RANLIB}" \
27438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27439 clean) \
27440 || exit 1
27442 @endif libtool
27444 .PHONY: maybe-distclean-libtool distclean-libtool
27445 maybe-distclean-libtool:
27446 @if libtool
27447 maybe-distclean-libtool: distclean-libtool
27449 distclean-libtool:
27450 @: $(MAKE); $(unstage)
27451 @[ -f ./libtool/Makefile ] || exit 0; \
27452 r=`${PWD_COMMAND}`; export r; \
27453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27454 $(HOST_EXPORTS) \
27455 for flag in $(EXTRA_HOST_FLAGS) ; do \
27456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27457 done; \
27458 echo "Doing distclean in libtool" ; \
27459 (cd $(HOST_SUBDIR)/libtool && \
27460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27462 "RANLIB=$${RANLIB}" \
27463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27464 distclean) \
27465 || exit 1
27467 @endif libtool
27469 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
27470 maybe-maintainer-clean-libtool:
27471 @if libtool
27472 maybe-maintainer-clean-libtool: maintainer-clean-libtool
27474 maintainer-clean-libtool:
27475 @: $(MAKE); $(unstage)
27476 @[ -f ./libtool/Makefile ] || exit 0; \
27477 r=`${PWD_COMMAND}`; export r; \
27478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27479 $(HOST_EXPORTS) \
27480 for flag in $(EXTRA_HOST_FLAGS) ; do \
27481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27482 done; \
27483 echo "Doing maintainer-clean in libtool" ; \
27484 (cd $(HOST_SUBDIR)/libtool && \
27485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27487 "RANLIB=$${RANLIB}" \
27488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27489 maintainer-clean) \
27490 || exit 1
27492 @endif libtool
27496 .PHONY: configure-m4 maybe-configure-m4
27497 maybe-configure-m4:
27498 @if gcc-bootstrap
27499 configure-m4: stage_current
27500 @endif gcc-bootstrap
27501 @if m4
27502 maybe-configure-m4: configure-m4
27503 configure-m4:
27504 @: $(MAKE); $(unstage)
27505 @r=`${PWD_COMMAND}`; export r; \
27506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27507 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
27508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
27509 $(HOST_EXPORTS) \
27510 echo Configuring in $(HOST_SUBDIR)/m4; \
27511 cd "$(HOST_SUBDIR)/m4" || exit 1; \
27512 case $(srcdir) in \
27513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27514 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
27515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27516 esac; \
27517 srcdiroption="--srcdir=$${topdir}/m4"; \
27518 libsrcdir="$$s/m4"; \
27519 $(SHELL) $${libsrcdir}/configure \
27520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27521 --target=${target_alias} $${srcdiroption} \
27522 || exit 1
27523 @endif m4
27529 .PHONY: all-m4 maybe-all-m4
27530 maybe-all-m4:
27531 @if gcc-bootstrap
27532 all-m4: stage_current
27533 @endif gcc-bootstrap
27534 @if m4
27535 TARGET-m4=all
27536 maybe-all-m4: all-m4
27537 all-m4: configure-m4
27538 @: $(MAKE); $(unstage)
27539 @r=`${PWD_COMMAND}`; export r; \
27540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27541 $(HOST_EXPORTS) \
27542 (cd $(HOST_SUBDIR)/m4 && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27544 $(TARGET-m4))
27545 @endif m4
27550 .PHONY: check-m4 maybe-check-m4
27551 maybe-check-m4:
27552 @if m4
27553 maybe-check-m4: check-m4
27555 check-m4:
27556 @: $(MAKE); $(unstage)
27557 @r=`${PWD_COMMAND}`; export r; \
27558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27559 $(HOST_EXPORTS) \
27560 (cd $(HOST_SUBDIR)/m4 && \
27561 $(MAKE) $(FLAGS_TO_PASS) check)
27563 @endif m4
27565 .PHONY: install-m4 maybe-install-m4
27566 maybe-install-m4:
27567 @if m4
27568 maybe-install-m4: install-m4
27570 install-m4: installdirs
27571 @: $(MAKE); $(unstage)
27572 @r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 $(HOST_EXPORTS) \
27575 (cd $(HOST_SUBDIR)/m4 && \
27576 $(MAKE) $(FLAGS_TO_PASS) install)
27578 @endif m4
27580 # Other targets (info, dvi, pdf, etc.)
27582 .PHONY: maybe-info-m4 info-m4
27583 maybe-info-m4:
27584 @if m4
27585 maybe-info-m4: info-m4
27587 info-m4: \
27588 configure-m4
27589 @: $(MAKE); $(unstage)
27590 @[ -f ./m4/Makefile ] || exit 0; \
27591 r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27593 $(HOST_EXPORTS) \
27594 for flag in $(EXTRA_HOST_FLAGS) ; do \
27595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27596 done; \
27597 echo "Doing info in m4" ; \
27598 (cd $(HOST_SUBDIR)/m4 && \
27599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27601 "RANLIB=$${RANLIB}" \
27602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27603 info) \
27604 || exit 1
27606 @endif m4
27608 .PHONY: maybe-dvi-m4 dvi-m4
27609 maybe-dvi-m4:
27610 @if m4
27611 maybe-dvi-m4: dvi-m4
27613 dvi-m4: \
27614 configure-m4
27615 @: $(MAKE); $(unstage)
27616 @[ -f ./m4/Makefile ] || exit 0; \
27617 r=`${PWD_COMMAND}`; export r; \
27618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27619 $(HOST_EXPORTS) \
27620 for flag in $(EXTRA_HOST_FLAGS) ; do \
27621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27622 done; \
27623 echo "Doing dvi in m4" ; \
27624 (cd $(HOST_SUBDIR)/m4 && \
27625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27627 "RANLIB=$${RANLIB}" \
27628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27629 dvi) \
27630 || exit 1
27632 @endif m4
27634 .PHONY: maybe-pdf-m4 pdf-m4
27635 maybe-pdf-m4:
27636 @if m4
27637 maybe-pdf-m4: pdf-m4
27639 pdf-m4: \
27640 configure-m4
27641 @: $(MAKE); $(unstage)
27642 @[ -f ./m4/Makefile ] || exit 0; \
27643 r=`${PWD_COMMAND}`; export r; \
27644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27645 $(HOST_EXPORTS) \
27646 for flag in $(EXTRA_HOST_FLAGS) ; do \
27647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27648 done; \
27649 echo "Doing pdf in m4" ; \
27650 (cd $(HOST_SUBDIR)/m4 && \
27651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27653 "RANLIB=$${RANLIB}" \
27654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27655 pdf) \
27656 || exit 1
27658 @endif m4
27660 .PHONY: maybe-html-m4 html-m4
27661 maybe-html-m4:
27662 @if m4
27663 maybe-html-m4: html-m4
27665 html-m4: \
27666 configure-m4
27667 @: $(MAKE); $(unstage)
27668 @[ -f ./m4/Makefile ] || exit 0; \
27669 r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 $(HOST_EXPORTS) \
27672 for flag in $(EXTRA_HOST_FLAGS) ; do \
27673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27674 done; \
27675 echo "Doing html in m4" ; \
27676 (cd $(HOST_SUBDIR)/m4 && \
27677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27679 "RANLIB=$${RANLIB}" \
27680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27681 html) \
27682 || exit 1
27684 @endif m4
27686 .PHONY: maybe-TAGS-m4 TAGS-m4
27687 maybe-TAGS-m4:
27688 @if m4
27689 maybe-TAGS-m4: TAGS-m4
27691 TAGS-m4: \
27692 configure-m4
27693 @: $(MAKE); $(unstage)
27694 @[ -f ./m4/Makefile ] || exit 0; \
27695 r=`${PWD_COMMAND}`; export r; \
27696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27697 $(HOST_EXPORTS) \
27698 for flag in $(EXTRA_HOST_FLAGS) ; do \
27699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27700 done; \
27701 echo "Doing TAGS in m4" ; \
27702 (cd $(HOST_SUBDIR)/m4 && \
27703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27705 "RANLIB=$${RANLIB}" \
27706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27707 TAGS) \
27708 || exit 1
27710 @endif m4
27712 .PHONY: maybe-install-info-m4 install-info-m4
27713 maybe-install-info-m4:
27714 @if m4
27715 maybe-install-info-m4: install-info-m4
27717 install-info-m4: \
27718 configure-m4 \
27719 info-m4
27720 @: $(MAKE); $(unstage)
27721 @[ -f ./m4/Makefile ] || exit 0; \
27722 r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 $(HOST_EXPORTS) \
27725 for flag in $(EXTRA_HOST_FLAGS) ; do \
27726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27727 done; \
27728 echo "Doing install-info in m4" ; \
27729 (cd $(HOST_SUBDIR)/m4 && \
27730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27732 "RANLIB=$${RANLIB}" \
27733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27734 install-info) \
27735 || exit 1
27737 @endif m4
27739 .PHONY: maybe-install-pdf-m4 install-pdf-m4
27740 maybe-install-pdf-m4:
27741 @if m4
27742 maybe-install-pdf-m4: install-pdf-m4
27744 install-pdf-m4: \
27745 configure-m4 \
27746 pdf-m4
27747 @: $(MAKE); $(unstage)
27748 @[ -f ./m4/Makefile ] || exit 0; \
27749 r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27751 $(HOST_EXPORTS) \
27752 for flag in $(EXTRA_HOST_FLAGS) ; do \
27753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27754 done; \
27755 echo "Doing install-pdf in m4" ; \
27756 (cd $(HOST_SUBDIR)/m4 && \
27757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27759 "RANLIB=$${RANLIB}" \
27760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27761 install-pdf) \
27762 || exit 1
27764 @endif m4
27766 .PHONY: maybe-install-html-m4 install-html-m4
27767 maybe-install-html-m4:
27768 @if m4
27769 maybe-install-html-m4: install-html-m4
27771 install-html-m4: \
27772 configure-m4 \
27773 html-m4
27774 @: $(MAKE); $(unstage)
27775 @[ -f ./m4/Makefile ] || exit 0; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(HOST_EXPORTS) \
27779 for flag in $(EXTRA_HOST_FLAGS) ; do \
27780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 done; \
27782 echo "Doing install-html in m4" ; \
27783 (cd $(HOST_SUBDIR)/m4 && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27786 "RANLIB=$${RANLIB}" \
27787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27788 install-html) \
27789 || exit 1
27791 @endif m4
27793 .PHONY: maybe-installcheck-m4 installcheck-m4
27794 maybe-installcheck-m4:
27795 @if m4
27796 maybe-installcheck-m4: installcheck-m4
27798 installcheck-m4: \
27799 configure-m4
27800 @: $(MAKE); $(unstage)
27801 @[ -f ./m4/Makefile ] || exit 0; \
27802 r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27804 $(HOST_EXPORTS) \
27805 for flag in $(EXTRA_HOST_FLAGS) ; do \
27806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27807 done; \
27808 echo "Doing installcheck in m4" ; \
27809 (cd $(HOST_SUBDIR)/m4 && \
27810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27812 "RANLIB=$${RANLIB}" \
27813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27814 installcheck) \
27815 || exit 1
27817 @endif m4
27819 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
27820 maybe-mostlyclean-m4:
27821 @if m4
27822 maybe-mostlyclean-m4: mostlyclean-m4
27824 mostlyclean-m4:
27825 @: $(MAKE); $(unstage)
27826 @[ -f ./m4/Makefile ] || exit 0; \
27827 r=`${PWD_COMMAND}`; export r; \
27828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27829 $(HOST_EXPORTS) \
27830 for flag in $(EXTRA_HOST_FLAGS) ; do \
27831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27832 done; \
27833 echo "Doing mostlyclean in m4" ; \
27834 (cd $(HOST_SUBDIR)/m4 && \
27835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27837 "RANLIB=$${RANLIB}" \
27838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27839 mostlyclean) \
27840 || exit 1
27842 @endif m4
27844 .PHONY: maybe-clean-m4 clean-m4
27845 maybe-clean-m4:
27846 @if m4
27847 maybe-clean-m4: clean-m4
27849 clean-m4:
27850 @: $(MAKE); $(unstage)
27851 @[ -f ./m4/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(HOST_EXPORTS) \
27855 for flag in $(EXTRA_HOST_FLAGS) ; do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 echo "Doing clean in m4" ; \
27859 (cd $(HOST_SUBDIR)/m4 && \
27860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27862 "RANLIB=$${RANLIB}" \
27863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27864 clean) \
27865 || exit 1
27867 @endif m4
27869 .PHONY: maybe-distclean-m4 distclean-m4
27870 maybe-distclean-m4:
27871 @if m4
27872 maybe-distclean-m4: distclean-m4
27874 distclean-m4:
27875 @: $(MAKE); $(unstage)
27876 @[ -f ./m4/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(HOST_EXPORTS) \
27880 for flag in $(EXTRA_HOST_FLAGS) ; do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 echo "Doing distclean in m4" ; \
27884 (cd $(HOST_SUBDIR)/m4 && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27887 "RANLIB=$${RANLIB}" \
27888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27889 distclean) \
27890 || exit 1
27892 @endif m4
27894 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
27895 maybe-maintainer-clean-m4:
27896 @if m4
27897 maybe-maintainer-clean-m4: maintainer-clean-m4
27899 maintainer-clean-m4:
27900 @: $(MAKE); $(unstage)
27901 @[ -f ./m4/Makefile ] || exit 0; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(HOST_EXPORTS) \
27905 for flag in $(EXTRA_HOST_FLAGS) ; do \
27906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27907 done; \
27908 echo "Doing maintainer-clean in m4" ; \
27909 (cd $(HOST_SUBDIR)/m4 && \
27910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27912 "RANLIB=$${RANLIB}" \
27913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27914 maintainer-clean) \
27915 || exit 1
27917 @endif m4
27921 .PHONY: configure-make maybe-configure-make
27922 maybe-configure-make:
27923 @if gcc-bootstrap
27924 configure-make: stage_current
27925 @endif gcc-bootstrap
27926 @if make
27927 maybe-configure-make: configure-make
27928 configure-make:
27929 @: $(MAKE); $(unstage)
27930 @r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
27933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
27934 $(HOST_EXPORTS) \
27935 echo Configuring in $(HOST_SUBDIR)/make; \
27936 cd "$(HOST_SUBDIR)/make" || exit 1; \
27937 case $(srcdir) in \
27938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27939 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
27940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27941 esac; \
27942 srcdiroption="--srcdir=$${topdir}/make"; \
27943 libsrcdir="$$s/make"; \
27944 $(SHELL) $${libsrcdir}/configure \
27945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27946 --target=${target_alias} $${srcdiroption} \
27947 || exit 1
27948 @endif make
27954 .PHONY: all-make maybe-all-make
27955 maybe-all-make:
27956 @if gcc-bootstrap
27957 all-make: stage_current
27958 @endif gcc-bootstrap
27959 @if make
27960 TARGET-make=all
27961 maybe-all-make: all-make
27962 all-make: configure-make
27963 @: $(MAKE); $(unstage)
27964 @r=`${PWD_COMMAND}`; export r; \
27965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27966 $(HOST_EXPORTS) \
27967 (cd $(HOST_SUBDIR)/make && \
27968 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
27969 $(TARGET-make))
27970 @endif make
27975 .PHONY: check-make maybe-check-make
27976 maybe-check-make:
27977 @if make
27978 maybe-check-make: check-make
27980 check-make:
27981 @: $(MAKE); $(unstage)
27982 @r=`${PWD_COMMAND}`; export r; \
27983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27984 $(HOST_EXPORTS) \
27985 (cd $(HOST_SUBDIR)/make && \
27986 $(MAKE) $(FLAGS_TO_PASS) check)
27988 @endif make
27990 .PHONY: install-make maybe-install-make
27991 maybe-install-make:
27992 @if make
27993 maybe-install-make: install-make
27995 install-make: installdirs
27996 @: $(MAKE); $(unstage)
27997 @r=`${PWD_COMMAND}`; export r; \
27998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27999 $(HOST_EXPORTS) \
28000 (cd $(HOST_SUBDIR)/make && \
28001 $(MAKE) $(FLAGS_TO_PASS) install)
28003 @endif make
28005 # Other targets (info, dvi, pdf, etc.)
28007 .PHONY: maybe-info-make info-make
28008 maybe-info-make:
28009 @if make
28010 maybe-info-make: info-make
28012 info-make: \
28013 configure-make
28014 @: $(MAKE); $(unstage)
28015 @[ -f ./make/Makefile ] || exit 0; \
28016 r=`${PWD_COMMAND}`; export r; \
28017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28018 $(HOST_EXPORTS) \
28019 for flag in $(EXTRA_HOST_FLAGS) ; do \
28020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28021 done; \
28022 echo "Doing info in make" ; \
28023 (cd $(HOST_SUBDIR)/make && \
28024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28026 "RANLIB=$${RANLIB}" \
28027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28028 info) \
28029 || exit 1
28031 @endif make
28033 .PHONY: maybe-dvi-make dvi-make
28034 maybe-dvi-make:
28035 @if make
28036 maybe-dvi-make: dvi-make
28038 dvi-make: \
28039 configure-make
28040 @: $(MAKE); $(unstage)
28041 @[ -f ./make/Makefile ] || exit 0; \
28042 r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 for flag in $(EXTRA_HOST_FLAGS) ; do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 echo "Doing dvi in make" ; \
28049 (cd $(HOST_SUBDIR)/make && \
28050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28052 "RANLIB=$${RANLIB}" \
28053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28054 dvi) \
28055 || exit 1
28057 @endif make
28059 .PHONY: maybe-pdf-make pdf-make
28060 maybe-pdf-make:
28061 @if make
28062 maybe-pdf-make: pdf-make
28064 pdf-make: \
28065 configure-make
28066 @: $(MAKE); $(unstage)
28067 @[ -f ./make/Makefile ] || exit 0; \
28068 r=`${PWD_COMMAND}`; export r; \
28069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28070 $(HOST_EXPORTS) \
28071 for flag in $(EXTRA_HOST_FLAGS) ; do \
28072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28073 done; \
28074 echo "Doing pdf in make" ; \
28075 (cd $(HOST_SUBDIR)/make && \
28076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28078 "RANLIB=$${RANLIB}" \
28079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28080 pdf) \
28081 || exit 1
28083 @endif make
28085 .PHONY: maybe-html-make html-make
28086 maybe-html-make:
28087 @if make
28088 maybe-html-make: html-make
28090 html-make: \
28091 configure-make
28092 @: $(MAKE); $(unstage)
28093 @[ -f ./make/Makefile ] || exit 0; \
28094 r=`${PWD_COMMAND}`; export r; \
28095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28096 $(HOST_EXPORTS) \
28097 for flag in $(EXTRA_HOST_FLAGS) ; do \
28098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28099 done; \
28100 echo "Doing html in make" ; \
28101 (cd $(HOST_SUBDIR)/make && \
28102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28104 "RANLIB=$${RANLIB}" \
28105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28106 html) \
28107 || exit 1
28109 @endif make
28111 .PHONY: maybe-TAGS-make TAGS-make
28112 maybe-TAGS-make:
28113 @if make
28114 maybe-TAGS-make: TAGS-make
28116 TAGS-make: \
28117 configure-make
28118 @: $(MAKE); $(unstage)
28119 @[ -f ./make/Makefile ] || exit 0; \
28120 r=`${PWD_COMMAND}`; export r; \
28121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28122 $(HOST_EXPORTS) \
28123 for flag in $(EXTRA_HOST_FLAGS) ; do \
28124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28125 done; \
28126 echo "Doing TAGS in make" ; \
28127 (cd $(HOST_SUBDIR)/make && \
28128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28130 "RANLIB=$${RANLIB}" \
28131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28132 TAGS) \
28133 || exit 1
28135 @endif make
28137 .PHONY: maybe-install-info-make install-info-make
28138 maybe-install-info-make:
28139 @if make
28140 maybe-install-info-make: install-info-make
28142 install-info-make: \
28143 configure-make \
28144 info-make
28145 @: $(MAKE); $(unstage)
28146 @[ -f ./make/Makefile ] || exit 0; \
28147 r=`${PWD_COMMAND}`; export r; \
28148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28149 $(HOST_EXPORTS) \
28150 for flag in $(EXTRA_HOST_FLAGS) ; do \
28151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152 done; \
28153 echo "Doing install-info in make" ; \
28154 (cd $(HOST_SUBDIR)/make && \
28155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28157 "RANLIB=$${RANLIB}" \
28158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28159 install-info) \
28160 || exit 1
28162 @endif make
28164 .PHONY: maybe-install-pdf-make install-pdf-make
28165 maybe-install-pdf-make:
28166 @if make
28167 maybe-install-pdf-make: install-pdf-make
28169 install-pdf-make: \
28170 configure-make \
28171 pdf-make
28172 @: $(MAKE); $(unstage)
28173 @[ -f ./make/Makefile ] || exit 0; \
28174 r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28176 $(HOST_EXPORTS) \
28177 for flag in $(EXTRA_HOST_FLAGS) ; do \
28178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28179 done; \
28180 echo "Doing install-pdf in make" ; \
28181 (cd $(HOST_SUBDIR)/make && \
28182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28184 "RANLIB=$${RANLIB}" \
28185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28186 install-pdf) \
28187 || exit 1
28189 @endif make
28191 .PHONY: maybe-install-html-make install-html-make
28192 maybe-install-html-make:
28193 @if make
28194 maybe-install-html-make: install-html-make
28196 install-html-make: \
28197 configure-make \
28198 html-make
28199 @: $(MAKE); $(unstage)
28200 @[ -f ./make/Makefile ] || exit 0; \
28201 r=`${PWD_COMMAND}`; export r; \
28202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28203 $(HOST_EXPORTS) \
28204 for flag in $(EXTRA_HOST_FLAGS) ; do \
28205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28206 done; \
28207 echo "Doing install-html in make" ; \
28208 (cd $(HOST_SUBDIR)/make && \
28209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28211 "RANLIB=$${RANLIB}" \
28212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28213 install-html) \
28214 || exit 1
28216 @endif make
28218 .PHONY: maybe-installcheck-make installcheck-make
28219 maybe-installcheck-make:
28220 @if make
28221 maybe-installcheck-make: installcheck-make
28223 installcheck-make: \
28224 configure-make
28225 @: $(MAKE); $(unstage)
28226 @[ -f ./make/Makefile ] || exit 0; \
28227 r=`${PWD_COMMAND}`; export r; \
28228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28229 $(HOST_EXPORTS) \
28230 for flag in $(EXTRA_HOST_FLAGS) ; do \
28231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28232 done; \
28233 echo "Doing installcheck in make" ; \
28234 (cd $(HOST_SUBDIR)/make && \
28235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28237 "RANLIB=$${RANLIB}" \
28238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28239 installcheck) \
28240 || exit 1
28242 @endif make
28244 .PHONY: maybe-mostlyclean-make mostlyclean-make
28245 maybe-mostlyclean-make:
28246 @if make
28247 maybe-mostlyclean-make: mostlyclean-make
28249 mostlyclean-make:
28250 @: $(MAKE); $(unstage)
28251 @[ -f ./make/Makefile ] || exit 0; \
28252 r=`${PWD_COMMAND}`; export r; \
28253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28254 $(HOST_EXPORTS) \
28255 for flag in $(EXTRA_HOST_FLAGS) ; do \
28256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28257 done; \
28258 echo "Doing mostlyclean in make" ; \
28259 (cd $(HOST_SUBDIR)/make && \
28260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28262 "RANLIB=$${RANLIB}" \
28263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28264 mostlyclean) \
28265 || exit 1
28267 @endif make
28269 .PHONY: maybe-clean-make clean-make
28270 maybe-clean-make:
28271 @if make
28272 maybe-clean-make: clean-make
28274 clean-make:
28275 @: $(MAKE); $(unstage)
28276 @[ -f ./make/Makefile ] || exit 0; \
28277 r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 $(HOST_EXPORTS) \
28280 for flag in $(EXTRA_HOST_FLAGS) ; do \
28281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28282 done; \
28283 echo "Doing clean in make" ; \
28284 (cd $(HOST_SUBDIR)/make && \
28285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28287 "RANLIB=$${RANLIB}" \
28288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28289 clean) \
28290 || exit 1
28292 @endif make
28294 .PHONY: maybe-distclean-make distclean-make
28295 maybe-distclean-make:
28296 @if make
28297 maybe-distclean-make: distclean-make
28299 distclean-make:
28300 @: $(MAKE); $(unstage)
28301 @[ -f ./make/Makefile ] || exit 0; \
28302 r=`${PWD_COMMAND}`; export r; \
28303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28304 $(HOST_EXPORTS) \
28305 for flag in $(EXTRA_HOST_FLAGS) ; do \
28306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28307 done; \
28308 echo "Doing distclean in make" ; \
28309 (cd $(HOST_SUBDIR)/make && \
28310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28312 "RANLIB=$${RANLIB}" \
28313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28314 distclean) \
28315 || exit 1
28317 @endif make
28319 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
28320 maybe-maintainer-clean-make:
28321 @if make
28322 maybe-maintainer-clean-make: maintainer-clean-make
28324 maintainer-clean-make:
28325 @: $(MAKE); $(unstage)
28326 @[ -f ./make/Makefile ] || exit 0; \
28327 r=`${PWD_COMMAND}`; export r; \
28328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(HOST_EXPORTS) \
28330 for flag in $(EXTRA_HOST_FLAGS) ; do \
28331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28332 done; \
28333 echo "Doing maintainer-clean in make" ; \
28334 (cd $(HOST_SUBDIR)/make && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28339 maintainer-clean) \
28340 || exit 1
28342 @endif make
28346 .PHONY: configure-mmalloc maybe-configure-mmalloc
28347 maybe-configure-mmalloc:
28348 @if gcc-bootstrap
28349 configure-mmalloc: stage_current
28350 @endif gcc-bootstrap
28351 @if mmalloc
28352 maybe-configure-mmalloc: configure-mmalloc
28353 configure-mmalloc:
28354 @: $(MAKE); $(unstage)
28355 @r=`${PWD_COMMAND}`; export r; \
28356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28357 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
28358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
28359 $(HOST_EXPORTS) \
28360 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
28361 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
28362 case $(srcdir) in \
28363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28364 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
28365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28366 esac; \
28367 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
28368 libsrcdir="$$s/mmalloc"; \
28369 $(SHELL) $${libsrcdir}/configure \
28370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28371 --target=${target_alias} $${srcdiroption} \
28372 || exit 1
28373 @endif mmalloc
28379 .PHONY: all-mmalloc maybe-all-mmalloc
28380 maybe-all-mmalloc:
28381 @if gcc-bootstrap
28382 all-mmalloc: stage_current
28383 @endif gcc-bootstrap
28384 @if mmalloc
28385 TARGET-mmalloc=all
28386 maybe-all-mmalloc: all-mmalloc
28387 all-mmalloc: configure-mmalloc
28388 @: $(MAKE); $(unstage)
28389 @r=`${PWD_COMMAND}`; export r; \
28390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28391 $(HOST_EXPORTS) \
28392 (cd $(HOST_SUBDIR)/mmalloc && \
28393 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28394 $(TARGET-mmalloc))
28395 @endif mmalloc
28400 .PHONY: check-mmalloc maybe-check-mmalloc
28401 maybe-check-mmalloc:
28402 @if mmalloc
28403 maybe-check-mmalloc: check-mmalloc
28405 check-mmalloc:
28407 @endif mmalloc
28409 .PHONY: install-mmalloc maybe-install-mmalloc
28410 maybe-install-mmalloc:
28411 @if mmalloc
28412 maybe-install-mmalloc: install-mmalloc
28414 install-mmalloc: installdirs
28415 @: $(MAKE); $(unstage)
28416 @r=`${PWD_COMMAND}`; export r; \
28417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28418 $(HOST_EXPORTS) \
28419 (cd $(HOST_SUBDIR)/mmalloc && \
28420 $(MAKE) $(FLAGS_TO_PASS) install)
28422 @endif mmalloc
28424 # Other targets (info, dvi, pdf, etc.)
28426 .PHONY: maybe-info-mmalloc info-mmalloc
28427 maybe-info-mmalloc:
28428 @if mmalloc
28429 maybe-info-mmalloc: info-mmalloc
28431 info-mmalloc: \
28432 configure-mmalloc
28433 @: $(MAKE); $(unstage)
28434 @[ -f ./mmalloc/Makefile ] || exit 0; \
28435 r=`${PWD_COMMAND}`; export r; \
28436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(HOST_EXPORTS) \
28438 for flag in $(EXTRA_HOST_FLAGS) ; do \
28439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28440 done; \
28441 echo "Doing info in mmalloc" ; \
28442 (cd $(HOST_SUBDIR)/mmalloc && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28447 info) \
28448 || exit 1
28450 @endif mmalloc
28452 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
28453 maybe-dvi-mmalloc:
28454 @if mmalloc
28455 maybe-dvi-mmalloc: dvi-mmalloc
28457 dvi-mmalloc: \
28458 configure-mmalloc
28459 @: $(MAKE); $(unstage)
28460 @[ -f ./mmalloc/Makefile ] || exit 0; \
28461 r=`${PWD_COMMAND}`; export r; \
28462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28463 $(HOST_EXPORTS) \
28464 for flag in $(EXTRA_HOST_FLAGS) ; do \
28465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28466 done; \
28467 echo "Doing dvi in mmalloc" ; \
28468 (cd $(HOST_SUBDIR)/mmalloc && \
28469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28471 "RANLIB=$${RANLIB}" \
28472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28473 dvi) \
28474 || exit 1
28476 @endif mmalloc
28478 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
28479 maybe-pdf-mmalloc:
28480 @if mmalloc
28481 maybe-pdf-mmalloc: pdf-mmalloc
28483 pdf-mmalloc: \
28484 configure-mmalloc
28485 @: $(MAKE); $(unstage)
28486 @[ -f ./mmalloc/Makefile ] || exit 0; \
28487 r=`${PWD_COMMAND}`; export r; \
28488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28489 $(HOST_EXPORTS) \
28490 for flag in $(EXTRA_HOST_FLAGS) ; do \
28491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28492 done; \
28493 echo "Doing pdf in mmalloc" ; \
28494 (cd $(HOST_SUBDIR)/mmalloc && \
28495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28497 "RANLIB=$${RANLIB}" \
28498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28499 pdf) \
28500 || exit 1
28502 @endif mmalloc
28504 .PHONY: maybe-html-mmalloc html-mmalloc
28505 maybe-html-mmalloc:
28506 @if mmalloc
28507 maybe-html-mmalloc: html-mmalloc
28509 html-mmalloc: \
28510 configure-mmalloc
28511 @: $(MAKE); $(unstage)
28512 @[ -f ./mmalloc/Makefile ] || exit 0; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(HOST_EXPORTS) \
28516 for flag in $(EXTRA_HOST_FLAGS) ; do \
28517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28518 done; \
28519 echo "Doing html in mmalloc" ; \
28520 (cd $(HOST_SUBDIR)/mmalloc && \
28521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28523 "RANLIB=$${RANLIB}" \
28524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28525 html) \
28526 || exit 1
28528 @endif mmalloc
28530 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
28531 maybe-TAGS-mmalloc:
28532 @if mmalloc
28533 maybe-TAGS-mmalloc: TAGS-mmalloc
28535 TAGS-mmalloc: \
28536 configure-mmalloc
28537 @: $(MAKE); $(unstage)
28538 @[ -f ./mmalloc/Makefile ] || exit 0; \
28539 r=`${PWD_COMMAND}`; export r; \
28540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28541 $(HOST_EXPORTS) \
28542 for flag in $(EXTRA_HOST_FLAGS) ; do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28544 done; \
28545 echo "Doing TAGS in mmalloc" ; \
28546 (cd $(HOST_SUBDIR)/mmalloc && \
28547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28549 "RANLIB=$${RANLIB}" \
28550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28551 TAGS) \
28552 || exit 1
28554 @endif mmalloc
28556 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
28557 maybe-install-info-mmalloc:
28558 @if mmalloc
28559 maybe-install-info-mmalloc: install-info-mmalloc
28561 install-info-mmalloc: \
28562 configure-mmalloc \
28563 info-mmalloc
28564 @: $(MAKE); $(unstage)
28565 @[ -f ./mmalloc/Makefile ] || exit 0; \
28566 r=`${PWD_COMMAND}`; export r; \
28567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28568 $(HOST_EXPORTS) \
28569 for flag in $(EXTRA_HOST_FLAGS) ; do \
28570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28571 done; \
28572 echo "Doing install-info in mmalloc" ; \
28573 (cd $(HOST_SUBDIR)/mmalloc && \
28574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28576 "RANLIB=$${RANLIB}" \
28577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28578 install-info) \
28579 || exit 1
28581 @endif mmalloc
28583 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
28584 maybe-install-pdf-mmalloc:
28585 @if mmalloc
28586 maybe-install-pdf-mmalloc: install-pdf-mmalloc
28588 install-pdf-mmalloc: \
28589 configure-mmalloc \
28590 pdf-mmalloc
28591 @: $(MAKE); $(unstage)
28592 @[ -f ./mmalloc/Makefile ] || exit 0; \
28593 r=`${PWD_COMMAND}`; export r; \
28594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28595 $(HOST_EXPORTS) \
28596 for flag in $(EXTRA_HOST_FLAGS) ; do \
28597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28598 done; \
28599 echo "Doing install-pdf in mmalloc" ; \
28600 (cd $(HOST_SUBDIR)/mmalloc && \
28601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28603 "RANLIB=$${RANLIB}" \
28604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28605 install-pdf) \
28606 || exit 1
28608 @endif mmalloc
28610 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
28611 maybe-install-html-mmalloc:
28612 @if mmalloc
28613 maybe-install-html-mmalloc: install-html-mmalloc
28615 install-html-mmalloc: \
28616 configure-mmalloc \
28617 html-mmalloc
28618 @: $(MAKE); $(unstage)
28619 @[ -f ./mmalloc/Makefile ] || exit 0; \
28620 r=`${PWD_COMMAND}`; export r; \
28621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28622 $(HOST_EXPORTS) \
28623 for flag in $(EXTRA_HOST_FLAGS) ; do \
28624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28625 done; \
28626 echo "Doing install-html in mmalloc" ; \
28627 (cd $(HOST_SUBDIR)/mmalloc && \
28628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28630 "RANLIB=$${RANLIB}" \
28631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28632 install-html) \
28633 || exit 1
28635 @endif mmalloc
28637 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
28638 maybe-installcheck-mmalloc:
28639 @if mmalloc
28640 maybe-installcheck-mmalloc: installcheck-mmalloc
28642 installcheck-mmalloc: \
28643 configure-mmalloc
28644 @: $(MAKE); $(unstage)
28645 @[ -f ./mmalloc/Makefile ] || exit 0; \
28646 r=`${PWD_COMMAND}`; export r; \
28647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(HOST_EXPORTS) \
28649 for flag in $(EXTRA_HOST_FLAGS) ; do \
28650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28651 done; \
28652 echo "Doing installcheck in mmalloc" ; \
28653 (cd $(HOST_SUBDIR)/mmalloc && \
28654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28656 "RANLIB=$${RANLIB}" \
28657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28658 installcheck) \
28659 || exit 1
28661 @endif mmalloc
28663 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
28664 maybe-mostlyclean-mmalloc:
28665 @if mmalloc
28666 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
28668 mostlyclean-mmalloc:
28669 @: $(MAKE); $(unstage)
28670 @[ -f ./mmalloc/Makefile ] || exit 0; \
28671 r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 $(HOST_EXPORTS) \
28674 for flag in $(EXTRA_HOST_FLAGS) ; do \
28675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28676 done; \
28677 echo "Doing mostlyclean in mmalloc" ; \
28678 (cd $(HOST_SUBDIR)/mmalloc && \
28679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28681 "RANLIB=$${RANLIB}" \
28682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28683 mostlyclean) \
28684 || exit 1
28686 @endif mmalloc
28688 .PHONY: maybe-clean-mmalloc clean-mmalloc
28689 maybe-clean-mmalloc:
28690 @if mmalloc
28691 maybe-clean-mmalloc: clean-mmalloc
28693 clean-mmalloc:
28694 @: $(MAKE); $(unstage)
28695 @[ -f ./mmalloc/Makefile ] || exit 0; \
28696 r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(HOST_EXPORTS) \
28699 for flag in $(EXTRA_HOST_FLAGS) ; do \
28700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28701 done; \
28702 echo "Doing clean in mmalloc" ; \
28703 (cd $(HOST_SUBDIR)/mmalloc && \
28704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28706 "RANLIB=$${RANLIB}" \
28707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28708 clean) \
28709 || exit 1
28711 @endif mmalloc
28713 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
28714 maybe-distclean-mmalloc:
28715 @if mmalloc
28716 maybe-distclean-mmalloc: distclean-mmalloc
28718 distclean-mmalloc:
28719 @: $(MAKE); $(unstage)
28720 @[ -f ./mmalloc/Makefile ] || exit 0; \
28721 r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(HOST_EXPORTS) \
28724 for flag in $(EXTRA_HOST_FLAGS) ; do \
28725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28726 done; \
28727 echo "Doing distclean in mmalloc" ; \
28728 (cd $(HOST_SUBDIR)/mmalloc && \
28729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731 "RANLIB=$${RANLIB}" \
28732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28733 distclean) \
28734 || exit 1
28736 @endif mmalloc
28738 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
28739 maybe-maintainer-clean-mmalloc:
28740 @if mmalloc
28741 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
28743 maintainer-clean-mmalloc:
28744 @: $(MAKE); $(unstage)
28745 @[ -f ./mmalloc/Makefile ] || exit 0; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(HOST_EXPORTS) \
28749 for flag in $(EXTRA_HOST_FLAGS) ; do \
28750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28751 done; \
28752 echo "Doing maintainer-clean in mmalloc" ; \
28753 (cd $(HOST_SUBDIR)/mmalloc && \
28754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756 "RANLIB=$${RANLIB}" \
28757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28758 maintainer-clean) \
28759 || exit 1
28761 @endif mmalloc
28765 .PHONY: configure-patch maybe-configure-patch
28766 maybe-configure-patch:
28767 @if gcc-bootstrap
28768 configure-patch: stage_current
28769 @endif gcc-bootstrap
28770 @if patch
28771 maybe-configure-patch: configure-patch
28772 configure-patch:
28773 @: $(MAKE); $(unstage)
28774 @r=`${PWD_COMMAND}`; export r; \
28775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
28777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
28778 $(HOST_EXPORTS) \
28779 echo Configuring in $(HOST_SUBDIR)/patch; \
28780 cd "$(HOST_SUBDIR)/patch" || exit 1; \
28781 case $(srcdir) in \
28782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28783 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
28784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28785 esac; \
28786 srcdiroption="--srcdir=$${topdir}/patch"; \
28787 libsrcdir="$$s/patch"; \
28788 $(SHELL) $${libsrcdir}/configure \
28789 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28790 --target=${target_alias} $${srcdiroption} \
28791 || exit 1
28792 @endif patch
28798 .PHONY: all-patch maybe-all-patch
28799 maybe-all-patch:
28800 @if gcc-bootstrap
28801 all-patch: stage_current
28802 @endif gcc-bootstrap
28803 @if patch
28804 TARGET-patch=all
28805 maybe-all-patch: all-patch
28806 all-patch: configure-patch
28807 @: $(MAKE); $(unstage)
28808 @r=`${PWD_COMMAND}`; export r; \
28809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28810 $(HOST_EXPORTS) \
28811 (cd $(HOST_SUBDIR)/patch && \
28812 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
28813 $(TARGET-patch))
28814 @endif patch
28819 .PHONY: check-patch maybe-check-patch
28820 maybe-check-patch:
28821 @if patch
28822 maybe-check-patch: check-patch
28824 check-patch:
28825 @: $(MAKE); $(unstage)
28826 @r=`${PWD_COMMAND}`; export r; \
28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 $(HOST_EXPORTS) \
28829 (cd $(HOST_SUBDIR)/patch && \
28830 $(MAKE) $(FLAGS_TO_PASS) check)
28832 @endif patch
28834 .PHONY: install-patch maybe-install-patch
28835 maybe-install-patch:
28836 @if patch
28837 maybe-install-patch: install-patch
28839 install-patch: installdirs
28840 @: $(MAKE); $(unstage)
28841 @r=`${PWD_COMMAND}`; export r; \
28842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28843 $(HOST_EXPORTS) \
28844 (cd $(HOST_SUBDIR)/patch && \
28845 $(MAKE) $(FLAGS_TO_PASS) install)
28847 @endif patch
28849 # Other targets (info, dvi, pdf, etc.)
28851 .PHONY: maybe-info-patch info-patch
28852 maybe-info-patch:
28853 @if patch
28854 maybe-info-patch: info-patch
28856 info-patch: \
28857 configure-patch
28858 @: $(MAKE); $(unstage)
28859 @[ -f ./patch/Makefile ] || exit 0; \
28860 r=`${PWD_COMMAND}`; export r; \
28861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28862 $(HOST_EXPORTS) \
28863 for flag in $(EXTRA_HOST_FLAGS) ; do \
28864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28865 done; \
28866 echo "Doing info in patch" ; \
28867 (cd $(HOST_SUBDIR)/patch && \
28868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28870 "RANLIB=$${RANLIB}" \
28871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28872 info) \
28873 || exit 1
28875 @endif patch
28877 .PHONY: maybe-dvi-patch dvi-patch
28878 maybe-dvi-patch:
28879 @if patch
28880 maybe-dvi-patch: dvi-patch
28882 dvi-patch: \
28883 configure-patch
28884 @: $(MAKE); $(unstage)
28885 @[ -f ./patch/Makefile ] || exit 0; \
28886 r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 $(HOST_EXPORTS) \
28889 for flag in $(EXTRA_HOST_FLAGS) ; do \
28890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28891 done; \
28892 echo "Doing dvi in patch" ; \
28893 (cd $(HOST_SUBDIR)/patch && \
28894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28896 "RANLIB=$${RANLIB}" \
28897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28898 dvi) \
28899 || exit 1
28901 @endif patch
28903 .PHONY: maybe-pdf-patch pdf-patch
28904 maybe-pdf-patch:
28905 @if patch
28906 maybe-pdf-patch: pdf-patch
28908 pdf-patch: \
28909 configure-patch
28910 @: $(MAKE); $(unstage)
28911 @[ -f ./patch/Makefile ] || exit 0; \
28912 r=`${PWD_COMMAND}`; export r; \
28913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28914 $(HOST_EXPORTS) \
28915 for flag in $(EXTRA_HOST_FLAGS) ; do \
28916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28917 done; \
28918 echo "Doing pdf in patch" ; \
28919 (cd $(HOST_SUBDIR)/patch && \
28920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28922 "RANLIB=$${RANLIB}" \
28923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28924 pdf) \
28925 || exit 1
28927 @endif patch
28929 .PHONY: maybe-html-patch html-patch
28930 maybe-html-patch:
28931 @if patch
28932 maybe-html-patch: html-patch
28934 html-patch: \
28935 configure-patch
28936 @: $(MAKE); $(unstage)
28937 @[ -f ./patch/Makefile ] || exit 0; \
28938 r=`${PWD_COMMAND}`; export r; \
28939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28940 $(HOST_EXPORTS) \
28941 for flag in $(EXTRA_HOST_FLAGS) ; do \
28942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28943 done; \
28944 echo "Doing html in patch" ; \
28945 (cd $(HOST_SUBDIR)/patch && \
28946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28948 "RANLIB=$${RANLIB}" \
28949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28950 html) \
28951 || exit 1
28953 @endif patch
28955 .PHONY: maybe-TAGS-patch TAGS-patch
28956 maybe-TAGS-patch:
28957 @if patch
28958 maybe-TAGS-patch: TAGS-patch
28960 TAGS-patch: \
28961 configure-patch
28962 @: $(MAKE); $(unstage)
28963 @[ -f ./patch/Makefile ] || exit 0; \
28964 r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(HOST_EXPORTS) \
28967 for flag in $(EXTRA_HOST_FLAGS) ; do \
28968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28969 done; \
28970 echo "Doing TAGS in patch" ; \
28971 (cd $(HOST_SUBDIR)/patch && \
28972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28974 "RANLIB=$${RANLIB}" \
28975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28976 TAGS) \
28977 || exit 1
28979 @endif patch
28981 .PHONY: maybe-install-info-patch install-info-patch
28982 maybe-install-info-patch:
28983 @if patch
28984 maybe-install-info-patch: install-info-patch
28986 install-info-patch: \
28987 configure-patch \
28988 info-patch
28989 @: $(MAKE); $(unstage)
28990 @[ -f ./patch/Makefile ] || exit 0; \
28991 r=`${PWD_COMMAND}`; export r; \
28992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28993 $(HOST_EXPORTS) \
28994 for flag in $(EXTRA_HOST_FLAGS) ; do \
28995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28996 done; \
28997 echo "Doing install-info in patch" ; \
28998 (cd $(HOST_SUBDIR)/patch && \
28999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29001 "RANLIB=$${RANLIB}" \
29002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29003 install-info) \
29004 || exit 1
29006 @endif patch
29008 .PHONY: maybe-install-pdf-patch install-pdf-patch
29009 maybe-install-pdf-patch:
29010 @if patch
29011 maybe-install-pdf-patch: install-pdf-patch
29013 install-pdf-patch: \
29014 configure-patch \
29015 pdf-patch
29016 @: $(MAKE); $(unstage)
29017 @[ -f ./patch/Makefile ] || exit 0; \
29018 r=`${PWD_COMMAND}`; export r; \
29019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29020 $(HOST_EXPORTS) \
29021 for flag in $(EXTRA_HOST_FLAGS) ; do \
29022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29023 done; \
29024 echo "Doing install-pdf in patch" ; \
29025 (cd $(HOST_SUBDIR)/patch && \
29026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29028 "RANLIB=$${RANLIB}" \
29029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29030 install-pdf) \
29031 || exit 1
29033 @endif patch
29035 .PHONY: maybe-install-html-patch install-html-patch
29036 maybe-install-html-patch:
29037 @if patch
29038 maybe-install-html-patch: install-html-patch
29040 install-html-patch: \
29041 configure-patch \
29042 html-patch
29043 @: $(MAKE); $(unstage)
29044 @[ -f ./patch/Makefile ] || exit 0; \
29045 r=`${PWD_COMMAND}`; export r; \
29046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29047 $(HOST_EXPORTS) \
29048 for flag in $(EXTRA_HOST_FLAGS) ; do \
29049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29050 done; \
29051 echo "Doing install-html in patch" ; \
29052 (cd $(HOST_SUBDIR)/patch && \
29053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29055 "RANLIB=$${RANLIB}" \
29056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29057 install-html) \
29058 || exit 1
29060 @endif patch
29062 .PHONY: maybe-installcheck-patch installcheck-patch
29063 maybe-installcheck-patch:
29064 @if patch
29065 maybe-installcheck-patch: installcheck-patch
29067 installcheck-patch: \
29068 configure-patch
29069 @: $(MAKE); $(unstage)
29070 @[ -f ./patch/Makefile ] || exit 0; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(HOST_EXPORTS) \
29074 for flag in $(EXTRA_HOST_FLAGS) ; do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29076 done; \
29077 echo "Doing installcheck in patch" ; \
29078 (cd $(HOST_SUBDIR)/patch && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29083 installcheck) \
29084 || exit 1
29086 @endif patch
29088 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
29089 maybe-mostlyclean-patch:
29090 @if patch
29091 maybe-mostlyclean-patch: mostlyclean-patch
29093 mostlyclean-patch:
29094 @: $(MAKE); $(unstage)
29095 @[ -f ./patch/Makefile ] || exit 0; \
29096 r=`${PWD_COMMAND}`; export r; \
29097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29098 $(HOST_EXPORTS) \
29099 for flag in $(EXTRA_HOST_FLAGS) ; do \
29100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29101 done; \
29102 echo "Doing mostlyclean in patch" ; \
29103 (cd $(HOST_SUBDIR)/patch && \
29104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29106 "RANLIB=$${RANLIB}" \
29107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29108 mostlyclean) \
29109 || exit 1
29111 @endif patch
29113 .PHONY: maybe-clean-patch clean-patch
29114 maybe-clean-patch:
29115 @if patch
29116 maybe-clean-patch: clean-patch
29118 clean-patch:
29119 @: $(MAKE); $(unstage)
29120 @[ -f ./patch/Makefile ] || exit 0; \
29121 r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29123 $(HOST_EXPORTS) \
29124 for flag in $(EXTRA_HOST_FLAGS) ; do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29126 done; \
29127 echo "Doing clean in patch" ; \
29128 (cd $(HOST_SUBDIR)/patch && \
29129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29131 "RANLIB=$${RANLIB}" \
29132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29133 clean) \
29134 || exit 1
29136 @endif patch
29138 .PHONY: maybe-distclean-patch distclean-patch
29139 maybe-distclean-patch:
29140 @if patch
29141 maybe-distclean-patch: distclean-patch
29143 distclean-patch:
29144 @: $(MAKE); $(unstage)
29145 @[ -f ./patch/Makefile ] || exit 0; \
29146 r=`${PWD_COMMAND}`; export r; \
29147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29148 $(HOST_EXPORTS) \
29149 for flag in $(EXTRA_HOST_FLAGS) ; do \
29150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29151 done; \
29152 echo "Doing distclean in patch" ; \
29153 (cd $(HOST_SUBDIR)/patch && \
29154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29156 "RANLIB=$${RANLIB}" \
29157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29158 distclean) \
29159 || exit 1
29161 @endif patch
29163 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
29164 maybe-maintainer-clean-patch:
29165 @if patch
29166 maybe-maintainer-clean-patch: maintainer-clean-patch
29168 maintainer-clean-patch:
29169 @: $(MAKE); $(unstage)
29170 @[ -f ./patch/Makefile ] || exit 0; \
29171 r=`${PWD_COMMAND}`; export r; \
29172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29173 $(HOST_EXPORTS) \
29174 for flag in $(EXTRA_HOST_FLAGS) ; do \
29175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29176 done; \
29177 echo "Doing maintainer-clean in patch" ; \
29178 (cd $(HOST_SUBDIR)/patch && \
29179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29181 "RANLIB=$${RANLIB}" \
29182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29183 maintainer-clean) \
29184 || exit 1
29186 @endif patch
29190 .PHONY: configure-perl maybe-configure-perl
29191 maybe-configure-perl:
29192 @if gcc-bootstrap
29193 configure-perl: stage_current
29194 @endif gcc-bootstrap
29195 @if perl
29196 maybe-configure-perl: configure-perl
29197 configure-perl:
29198 @: $(MAKE); $(unstage)
29199 @r=`${PWD_COMMAND}`; export r; \
29200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29201 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
29202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
29203 $(HOST_EXPORTS) \
29204 echo Configuring in $(HOST_SUBDIR)/perl; \
29205 cd "$(HOST_SUBDIR)/perl" || exit 1; \
29206 case $(srcdir) in \
29207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29208 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
29209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29210 esac; \
29211 srcdiroption="--srcdir=$${topdir}/perl"; \
29212 libsrcdir="$$s/perl"; \
29213 $(SHELL) $${libsrcdir}/configure \
29214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29215 --target=${target_alias} $${srcdiroption} \
29216 || exit 1
29217 @endif perl
29223 .PHONY: all-perl maybe-all-perl
29224 maybe-all-perl:
29225 @if gcc-bootstrap
29226 all-perl: stage_current
29227 @endif gcc-bootstrap
29228 @if perl
29229 TARGET-perl=all
29230 maybe-all-perl: all-perl
29231 all-perl: configure-perl
29232 @: $(MAKE); $(unstage)
29233 @r=`${PWD_COMMAND}`; export r; \
29234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29235 $(HOST_EXPORTS) \
29236 (cd $(HOST_SUBDIR)/perl && \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29238 $(TARGET-perl))
29239 @endif perl
29244 .PHONY: check-perl maybe-check-perl
29245 maybe-check-perl:
29246 @if perl
29247 maybe-check-perl: check-perl
29249 check-perl:
29250 @: $(MAKE); $(unstage)
29251 @r=`${PWD_COMMAND}`; export r; \
29252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29253 $(HOST_EXPORTS) \
29254 (cd $(HOST_SUBDIR)/perl && \
29255 $(MAKE) $(FLAGS_TO_PASS) check)
29257 @endif perl
29259 .PHONY: install-perl maybe-install-perl
29260 maybe-install-perl:
29261 @if perl
29262 maybe-install-perl: install-perl
29264 install-perl: installdirs
29265 @: $(MAKE); $(unstage)
29266 @r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 $(HOST_EXPORTS) \
29269 (cd $(HOST_SUBDIR)/perl && \
29270 $(MAKE) $(FLAGS_TO_PASS) install)
29272 @endif perl
29274 # Other targets (info, dvi, pdf, etc.)
29276 .PHONY: maybe-info-perl info-perl
29277 maybe-info-perl:
29278 @if perl
29279 maybe-info-perl: info-perl
29281 info-perl: \
29282 configure-perl
29283 @: $(MAKE); $(unstage)
29284 @[ -f ./perl/Makefile ] || exit 0; \
29285 r=`${PWD_COMMAND}`; export r; \
29286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29287 $(HOST_EXPORTS) \
29288 for flag in $(EXTRA_HOST_FLAGS) ; do \
29289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29290 done; \
29291 echo "Doing info in perl" ; \
29292 (cd $(HOST_SUBDIR)/perl && \
29293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29295 "RANLIB=$${RANLIB}" \
29296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29297 info) \
29298 || exit 1
29300 @endif perl
29302 .PHONY: maybe-dvi-perl dvi-perl
29303 maybe-dvi-perl:
29304 @if perl
29305 maybe-dvi-perl: dvi-perl
29307 dvi-perl: \
29308 configure-perl
29309 @: $(MAKE); $(unstage)
29310 @[ -f ./perl/Makefile ] || exit 0; \
29311 r=`${PWD_COMMAND}`; export r; \
29312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29313 $(HOST_EXPORTS) \
29314 for flag in $(EXTRA_HOST_FLAGS) ; do \
29315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29316 done; \
29317 echo "Doing dvi in perl" ; \
29318 (cd $(HOST_SUBDIR)/perl && \
29319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29321 "RANLIB=$${RANLIB}" \
29322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29323 dvi) \
29324 || exit 1
29326 @endif perl
29328 .PHONY: maybe-pdf-perl pdf-perl
29329 maybe-pdf-perl:
29330 @if perl
29331 maybe-pdf-perl: pdf-perl
29333 pdf-perl: \
29334 configure-perl
29335 @: $(MAKE); $(unstage)
29336 @[ -f ./perl/Makefile ] || exit 0; \
29337 r=`${PWD_COMMAND}`; export r; \
29338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29339 $(HOST_EXPORTS) \
29340 for flag in $(EXTRA_HOST_FLAGS) ; do \
29341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29342 done; \
29343 echo "Doing pdf in perl" ; \
29344 (cd $(HOST_SUBDIR)/perl && \
29345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29347 "RANLIB=$${RANLIB}" \
29348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29349 pdf) \
29350 || exit 1
29352 @endif perl
29354 .PHONY: maybe-html-perl html-perl
29355 maybe-html-perl:
29356 @if perl
29357 maybe-html-perl: html-perl
29359 html-perl: \
29360 configure-perl
29361 @: $(MAKE); $(unstage)
29362 @[ -f ./perl/Makefile ] || exit 0; \
29363 r=`${PWD_COMMAND}`; export r; \
29364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29365 $(HOST_EXPORTS) \
29366 for flag in $(EXTRA_HOST_FLAGS) ; do \
29367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29368 done; \
29369 echo "Doing html in perl" ; \
29370 (cd $(HOST_SUBDIR)/perl && \
29371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29373 "RANLIB=$${RANLIB}" \
29374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29375 html) \
29376 || exit 1
29378 @endif perl
29380 .PHONY: maybe-TAGS-perl TAGS-perl
29381 maybe-TAGS-perl:
29382 @if perl
29383 maybe-TAGS-perl: TAGS-perl
29385 TAGS-perl: \
29386 configure-perl
29387 @: $(MAKE); $(unstage)
29388 @[ -f ./perl/Makefile ] || exit 0; \
29389 r=`${PWD_COMMAND}`; export r; \
29390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29391 $(HOST_EXPORTS) \
29392 for flag in $(EXTRA_HOST_FLAGS) ; do \
29393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29394 done; \
29395 echo "Doing TAGS in perl" ; \
29396 (cd $(HOST_SUBDIR)/perl && \
29397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29399 "RANLIB=$${RANLIB}" \
29400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29401 TAGS) \
29402 || exit 1
29404 @endif perl
29406 .PHONY: maybe-install-info-perl install-info-perl
29407 maybe-install-info-perl:
29408 @if perl
29409 maybe-install-info-perl: install-info-perl
29411 install-info-perl: \
29412 configure-perl \
29413 info-perl
29414 @: $(MAKE); $(unstage)
29415 @[ -f ./perl/Makefile ] || exit 0; \
29416 r=`${PWD_COMMAND}`; export r; \
29417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29418 $(HOST_EXPORTS) \
29419 for flag in $(EXTRA_HOST_FLAGS) ; do \
29420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29421 done; \
29422 echo "Doing install-info in perl" ; \
29423 (cd $(HOST_SUBDIR)/perl && \
29424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29426 "RANLIB=$${RANLIB}" \
29427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29428 install-info) \
29429 || exit 1
29431 @endif perl
29433 .PHONY: maybe-install-pdf-perl install-pdf-perl
29434 maybe-install-pdf-perl:
29435 @if perl
29436 maybe-install-pdf-perl: install-pdf-perl
29438 install-pdf-perl: \
29439 configure-perl \
29440 pdf-perl
29441 @: $(MAKE); $(unstage)
29442 @[ -f ./perl/Makefile ] || exit 0; \
29443 r=`${PWD_COMMAND}`; export r; \
29444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29445 $(HOST_EXPORTS) \
29446 for flag in $(EXTRA_HOST_FLAGS) ; do \
29447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29448 done; \
29449 echo "Doing install-pdf in perl" ; \
29450 (cd $(HOST_SUBDIR)/perl && \
29451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29453 "RANLIB=$${RANLIB}" \
29454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29455 install-pdf) \
29456 || exit 1
29458 @endif perl
29460 .PHONY: maybe-install-html-perl install-html-perl
29461 maybe-install-html-perl:
29462 @if perl
29463 maybe-install-html-perl: install-html-perl
29465 install-html-perl: \
29466 configure-perl \
29467 html-perl
29468 @: $(MAKE); $(unstage)
29469 @[ -f ./perl/Makefile ] || exit 0; \
29470 r=`${PWD_COMMAND}`; export r; \
29471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29472 $(HOST_EXPORTS) \
29473 for flag in $(EXTRA_HOST_FLAGS) ; do \
29474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29475 done; \
29476 echo "Doing install-html in perl" ; \
29477 (cd $(HOST_SUBDIR)/perl && \
29478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29480 "RANLIB=$${RANLIB}" \
29481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29482 install-html) \
29483 || exit 1
29485 @endif perl
29487 .PHONY: maybe-installcheck-perl installcheck-perl
29488 maybe-installcheck-perl:
29489 @if perl
29490 maybe-installcheck-perl: installcheck-perl
29492 installcheck-perl: \
29493 configure-perl
29494 @: $(MAKE); $(unstage)
29495 @[ -f ./perl/Makefile ] || exit 0; \
29496 r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29498 $(HOST_EXPORTS) \
29499 for flag in $(EXTRA_HOST_FLAGS) ; do \
29500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29501 done; \
29502 echo "Doing installcheck in perl" ; \
29503 (cd $(HOST_SUBDIR)/perl && \
29504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29506 "RANLIB=$${RANLIB}" \
29507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29508 installcheck) \
29509 || exit 1
29511 @endif perl
29513 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
29514 maybe-mostlyclean-perl:
29515 @if perl
29516 maybe-mostlyclean-perl: mostlyclean-perl
29518 mostlyclean-perl:
29519 @: $(MAKE); $(unstage)
29520 @[ -f ./perl/Makefile ] || exit 0; \
29521 r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29523 $(HOST_EXPORTS) \
29524 for flag in $(EXTRA_HOST_FLAGS) ; do \
29525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29526 done; \
29527 echo "Doing mostlyclean in perl" ; \
29528 (cd $(HOST_SUBDIR)/perl && \
29529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29531 "RANLIB=$${RANLIB}" \
29532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29533 mostlyclean) \
29534 || exit 1
29536 @endif perl
29538 .PHONY: maybe-clean-perl clean-perl
29539 maybe-clean-perl:
29540 @if perl
29541 maybe-clean-perl: clean-perl
29543 clean-perl:
29544 @: $(MAKE); $(unstage)
29545 @[ -f ./perl/Makefile ] || exit 0; \
29546 r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29548 $(HOST_EXPORTS) \
29549 for flag in $(EXTRA_HOST_FLAGS) ; do \
29550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29551 done; \
29552 echo "Doing clean in perl" ; \
29553 (cd $(HOST_SUBDIR)/perl && \
29554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29556 "RANLIB=$${RANLIB}" \
29557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29558 clean) \
29559 || exit 1
29561 @endif perl
29563 .PHONY: maybe-distclean-perl distclean-perl
29564 maybe-distclean-perl:
29565 @if perl
29566 maybe-distclean-perl: distclean-perl
29568 distclean-perl:
29569 @: $(MAKE); $(unstage)
29570 @[ -f ./perl/Makefile ] || exit 0; \
29571 r=`${PWD_COMMAND}`; export r; \
29572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29573 $(HOST_EXPORTS) \
29574 for flag in $(EXTRA_HOST_FLAGS) ; do \
29575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29576 done; \
29577 echo "Doing distclean in perl" ; \
29578 (cd $(HOST_SUBDIR)/perl && \
29579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29581 "RANLIB=$${RANLIB}" \
29582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29583 distclean) \
29584 || exit 1
29586 @endif perl
29588 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
29589 maybe-maintainer-clean-perl:
29590 @if perl
29591 maybe-maintainer-clean-perl: maintainer-clean-perl
29593 maintainer-clean-perl:
29594 @: $(MAKE); $(unstage)
29595 @[ -f ./perl/Makefile ] || exit 0; \
29596 r=`${PWD_COMMAND}`; export r; \
29597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29598 $(HOST_EXPORTS) \
29599 for flag in $(EXTRA_HOST_FLAGS) ; do \
29600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29601 done; \
29602 echo "Doing maintainer-clean in perl" ; \
29603 (cd $(HOST_SUBDIR)/perl && \
29604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29606 "RANLIB=$${RANLIB}" \
29607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29608 maintainer-clean) \
29609 || exit 1
29611 @endif perl
29615 .PHONY: configure-prms maybe-configure-prms
29616 maybe-configure-prms:
29617 @if gcc-bootstrap
29618 configure-prms: stage_current
29619 @endif gcc-bootstrap
29620 @if prms
29621 maybe-configure-prms: configure-prms
29622 configure-prms:
29623 @: $(MAKE); $(unstage)
29624 @r=`${PWD_COMMAND}`; export r; \
29625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29626 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
29627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
29628 $(HOST_EXPORTS) \
29629 echo Configuring in $(HOST_SUBDIR)/prms; \
29630 cd "$(HOST_SUBDIR)/prms" || exit 1; \
29631 case $(srcdir) in \
29632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29633 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
29634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29635 esac; \
29636 srcdiroption="--srcdir=$${topdir}/prms"; \
29637 libsrcdir="$$s/prms"; \
29638 $(SHELL) $${libsrcdir}/configure \
29639 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29640 --target=${target_alias} $${srcdiroption} \
29641 || exit 1
29642 @endif prms
29648 .PHONY: all-prms maybe-all-prms
29649 maybe-all-prms:
29650 @if gcc-bootstrap
29651 all-prms: stage_current
29652 @endif gcc-bootstrap
29653 @if prms
29654 TARGET-prms=all
29655 maybe-all-prms: all-prms
29656 all-prms: configure-prms
29657 @: $(MAKE); $(unstage)
29658 @r=`${PWD_COMMAND}`; export r; \
29659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29660 $(HOST_EXPORTS) \
29661 (cd $(HOST_SUBDIR)/prms && \
29662 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
29663 $(TARGET-prms))
29664 @endif prms
29669 .PHONY: check-prms maybe-check-prms
29670 maybe-check-prms:
29671 @if prms
29672 maybe-check-prms: check-prms
29674 check-prms:
29675 @: $(MAKE); $(unstage)
29676 @r=`${PWD_COMMAND}`; export r; \
29677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29678 $(HOST_EXPORTS) \
29679 (cd $(HOST_SUBDIR)/prms && \
29680 $(MAKE) $(FLAGS_TO_PASS) check)
29682 @endif prms
29684 .PHONY: install-prms maybe-install-prms
29685 maybe-install-prms:
29686 @if prms
29687 maybe-install-prms: install-prms
29689 install-prms: installdirs
29690 @: $(MAKE); $(unstage)
29691 @r=`${PWD_COMMAND}`; export r; \
29692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29693 $(HOST_EXPORTS) \
29694 (cd $(HOST_SUBDIR)/prms && \
29695 $(MAKE) $(FLAGS_TO_PASS) install)
29697 @endif prms
29699 # Other targets (info, dvi, pdf, etc.)
29701 .PHONY: maybe-info-prms info-prms
29702 maybe-info-prms:
29703 @if prms
29704 maybe-info-prms: info-prms
29706 info-prms: \
29707 configure-prms
29708 @: $(MAKE); $(unstage)
29709 @[ -f ./prms/Makefile ] || exit 0; \
29710 r=`${PWD_COMMAND}`; export r; \
29711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29712 $(HOST_EXPORTS) \
29713 for flag in $(EXTRA_HOST_FLAGS) ; do \
29714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29715 done; \
29716 echo "Doing info in prms" ; \
29717 (cd $(HOST_SUBDIR)/prms && \
29718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29720 "RANLIB=$${RANLIB}" \
29721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29722 info) \
29723 || exit 1
29725 @endif prms
29727 .PHONY: maybe-dvi-prms dvi-prms
29728 maybe-dvi-prms:
29729 @if prms
29730 maybe-dvi-prms: dvi-prms
29732 dvi-prms: \
29733 configure-prms
29734 @: $(MAKE); $(unstage)
29735 @[ -f ./prms/Makefile ] || exit 0; \
29736 r=`${PWD_COMMAND}`; export r; \
29737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29738 $(HOST_EXPORTS) \
29739 for flag in $(EXTRA_HOST_FLAGS) ; do \
29740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29741 done; \
29742 echo "Doing dvi in prms" ; \
29743 (cd $(HOST_SUBDIR)/prms && \
29744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29746 "RANLIB=$${RANLIB}" \
29747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29748 dvi) \
29749 || exit 1
29751 @endif prms
29753 .PHONY: maybe-pdf-prms pdf-prms
29754 maybe-pdf-prms:
29755 @if prms
29756 maybe-pdf-prms: pdf-prms
29758 pdf-prms: \
29759 configure-prms
29760 @: $(MAKE); $(unstage)
29761 @[ -f ./prms/Makefile ] || exit 0; \
29762 r=`${PWD_COMMAND}`; export r; \
29763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29764 $(HOST_EXPORTS) \
29765 for flag in $(EXTRA_HOST_FLAGS) ; do \
29766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29767 done; \
29768 echo "Doing pdf in prms" ; \
29769 (cd $(HOST_SUBDIR)/prms && \
29770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29772 "RANLIB=$${RANLIB}" \
29773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29774 pdf) \
29775 || exit 1
29777 @endif prms
29779 .PHONY: maybe-html-prms html-prms
29780 maybe-html-prms:
29781 @if prms
29782 maybe-html-prms: html-prms
29784 html-prms: \
29785 configure-prms
29786 @: $(MAKE); $(unstage)
29787 @[ -f ./prms/Makefile ] || exit 0; \
29788 r=`${PWD_COMMAND}`; export r; \
29789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29790 $(HOST_EXPORTS) \
29791 for flag in $(EXTRA_HOST_FLAGS) ; do \
29792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29793 done; \
29794 echo "Doing html in prms" ; \
29795 (cd $(HOST_SUBDIR)/prms && \
29796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29798 "RANLIB=$${RANLIB}" \
29799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29800 html) \
29801 || exit 1
29803 @endif prms
29805 .PHONY: maybe-TAGS-prms TAGS-prms
29806 maybe-TAGS-prms:
29807 @if prms
29808 maybe-TAGS-prms: TAGS-prms
29810 TAGS-prms: \
29811 configure-prms
29812 @: $(MAKE); $(unstage)
29813 @[ -f ./prms/Makefile ] || exit 0; \
29814 r=`${PWD_COMMAND}`; export r; \
29815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29816 $(HOST_EXPORTS) \
29817 for flag in $(EXTRA_HOST_FLAGS) ; do \
29818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29819 done; \
29820 echo "Doing TAGS in prms" ; \
29821 (cd $(HOST_SUBDIR)/prms && \
29822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29824 "RANLIB=$${RANLIB}" \
29825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29826 TAGS) \
29827 || exit 1
29829 @endif prms
29831 .PHONY: maybe-install-info-prms install-info-prms
29832 maybe-install-info-prms:
29833 @if prms
29834 maybe-install-info-prms: install-info-prms
29836 install-info-prms: \
29837 configure-prms \
29838 info-prms
29839 @: $(MAKE); $(unstage)
29840 @[ -f ./prms/Makefile ] || exit 0; \
29841 r=`${PWD_COMMAND}`; export r; \
29842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29843 $(HOST_EXPORTS) \
29844 for flag in $(EXTRA_HOST_FLAGS) ; do \
29845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29846 done; \
29847 echo "Doing install-info in prms" ; \
29848 (cd $(HOST_SUBDIR)/prms && \
29849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29851 "RANLIB=$${RANLIB}" \
29852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29853 install-info) \
29854 || exit 1
29856 @endif prms
29858 .PHONY: maybe-install-pdf-prms install-pdf-prms
29859 maybe-install-pdf-prms:
29860 @if prms
29861 maybe-install-pdf-prms: install-pdf-prms
29863 install-pdf-prms: \
29864 configure-prms \
29865 pdf-prms
29866 @: $(MAKE); $(unstage)
29867 @[ -f ./prms/Makefile ] || exit 0; \
29868 r=`${PWD_COMMAND}`; export r; \
29869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29870 $(HOST_EXPORTS) \
29871 for flag in $(EXTRA_HOST_FLAGS) ; do \
29872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29873 done; \
29874 echo "Doing install-pdf in prms" ; \
29875 (cd $(HOST_SUBDIR)/prms && \
29876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29878 "RANLIB=$${RANLIB}" \
29879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29880 install-pdf) \
29881 || exit 1
29883 @endif prms
29885 .PHONY: maybe-install-html-prms install-html-prms
29886 maybe-install-html-prms:
29887 @if prms
29888 maybe-install-html-prms: install-html-prms
29890 install-html-prms: \
29891 configure-prms \
29892 html-prms
29893 @: $(MAKE); $(unstage)
29894 @[ -f ./prms/Makefile ] || exit 0; \
29895 r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(HOST_EXPORTS) \
29898 for flag in $(EXTRA_HOST_FLAGS) ; do \
29899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29900 done; \
29901 echo "Doing install-html in prms" ; \
29902 (cd $(HOST_SUBDIR)/prms && \
29903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29905 "RANLIB=$${RANLIB}" \
29906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29907 install-html) \
29908 || exit 1
29910 @endif prms
29912 .PHONY: maybe-installcheck-prms installcheck-prms
29913 maybe-installcheck-prms:
29914 @if prms
29915 maybe-installcheck-prms: installcheck-prms
29917 installcheck-prms: \
29918 configure-prms
29919 @: $(MAKE); $(unstage)
29920 @[ -f ./prms/Makefile ] || exit 0; \
29921 r=`${PWD_COMMAND}`; export r; \
29922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29923 $(HOST_EXPORTS) \
29924 for flag in $(EXTRA_HOST_FLAGS) ; do \
29925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29926 done; \
29927 echo "Doing installcheck in prms" ; \
29928 (cd $(HOST_SUBDIR)/prms && \
29929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29931 "RANLIB=$${RANLIB}" \
29932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29933 installcheck) \
29934 || exit 1
29936 @endif prms
29938 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
29939 maybe-mostlyclean-prms:
29940 @if prms
29941 maybe-mostlyclean-prms: mostlyclean-prms
29943 mostlyclean-prms:
29944 @: $(MAKE); $(unstage)
29945 @[ -f ./prms/Makefile ] || exit 0; \
29946 r=`${PWD_COMMAND}`; export r; \
29947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29948 $(HOST_EXPORTS) \
29949 for flag in $(EXTRA_HOST_FLAGS) ; do \
29950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29951 done; \
29952 echo "Doing mostlyclean in prms" ; \
29953 (cd $(HOST_SUBDIR)/prms && \
29954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29956 "RANLIB=$${RANLIB}" \
29957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29958 mostlyclean) \
29959 || exit 1
29961 @endif prms
29963 .PHONY: maybe-clean-prms clean-prms
29964 maybe-clean-prms:
29965 @if prms
29966 maybe-clean-prms: clean-prms
29968 clean-prms:
29969 @: $(MAKE); $(unstage)
29970 @[ -f ./prms/Makefile ] || exit 0; \
29971 r=`${PWD_COMMAND}`; export r; \
29972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29973 $(HOST_EXPORTS) \
29974 for flag in $(EXTRA_HOST_FLAGS) ; do \
29975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29976 done; \
29977 echo "Doing clean in prms" ; \
29978 (cd $(HOST_SUBDIR)/prms && \
29979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29981 "RANLIB=$${RANLIB}" \
29982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29983 clean) \
29984 || exit 1
29986 @endif prms
29988 .PHONY: maybe-distclean-prms distclean-prms
29989 maybe-distclean-prms:
29990 @if prms
29991 maybe-distclean-prms: distclean-prms
29993 distclean-prms:
29994 @: $(MAKE); $(unstage)
29995 @[ -f ./prms/Makefile ] || exit 0; \
29996 r=`${PWD_COMMAND}`; export r; \
29997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29998 $(HOST_EXPORTS) \
29999 for flag in $(EXTRA_HOST_FLAGS) ; do \
30000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30001 done; \
30002 echo "Doing distclean in prms" ; \
30003 (cd $(HOST_SUBDIR)/prms && \
30004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30006 "RANLIB=$${RANLIB}" \
30007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30008 distclean) \
30009 || exit 1
30011 @endif prms
30013 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
30014 maybe-maintainer-clean-prms:
30015 @if prms
30016 maybe-maintainer-clean-prms: maintainer-clean-prms
30018 maintainer-clean-prms:
30019 @: $(MAKE); $(unstage)
30020 @[ -f ./prms/Makefile ] || exit 0; \
30021 r=`${PWD_COMMAND}`; export r; \
30022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30023 $(HOST_EXPORTS) \
30024 for flag in $(EXTRA_HOST_FLAGS) ; do \
30025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30026 done; \
30027 echo "Doing maintainer-clean in prms" ; \
30028 (cd $(HOST_SUBDIR)/prms && \
30029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30031 "RANLIB=$${RANLIB}" \
30032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30033 maintainer-clean) \
30034 || exit 1
30036 @endif prms
30040 .PHONY: configure-rcs maybe-configure-rcs
30041 maybe-configure-rcs:
30042 @if gcc-bootstrap
30043 configure-rcs: stage_current
30044 @endif gcc-bootstrap
30045 @if rcs
30046 maybe-configure-rcs: configure-rcs
30047 configure-rcs:
30048 @: $(MAKE); $(unstage)
30049 @r=`${PWD_COMMAND}`; export r; \
30050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30051 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
30052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
30053 $(HOST_EXPORTS) \
30054 echo Configuring in $(HOST_SUBDIR)/rcs; \
30055 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
30056 case $(srcdir) in \
30057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30058 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
30059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30060 esac; \
30061 srcdiroption="--srcdir=$${topdir}/rcs"; \
30062 libsrcdir="$$s/rcs"; \
30063 $(SHELL) $${libsrcdir}/configure \
30064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30065 --target=${target_alias} $${srcdiroption} \
30066 || exit 1
30067 @endif rcs
30073 .PHONY: all-rcs maybe-all-rcs
30074 maybe-all-rcs:
30075 @if gcc-bootstrap
30076 all-rcs: stage_current
30077 @endif gcc-bootstrap
30078 @if rcs
30079 TARGET-rcs=all
30080 maybe-all-rcs: all-rcs
30081 all-rcs: configure-rcs
30082 @: $(MAKE); $(unstage)
30083 @r=`${PWD_COMMAND}`; export r; \
30084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30085 $(HOST_EXPORTS) \
30086 (cd $(HOST_SUBDIR)/rcs && \
30087 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30088 $(TARGET-rcs))
30089 @endif rcs
30094 .PHONY: check-rcs maybe-check-rcs
30095 maybe-check-rcs:
30096 @if rcs
30097 maybe-check-rcs: check-rcs
30099 check-rcs:
30100 @: $(MAKE); $(unstage)
30101 @r=`${PWD_COMMAND}`; export r; \
30102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30103 $(HOST_EXPORTS) \
30104 (cd $(HOST_SUBDIR)/rcs && \
30105 $(MAKE) $(FLAGS_TO_PASS) check)
30107 @endif rcs
30109 .PHONY: install-rcs maybe-install-rcs
30110 maybe-install-rcs:
30111 @if rcs
30112 maybe-install-rcs: install-rcs
30114 install-rcs: installdirs
30115 @: $(MAKE); $(unstage)
30116 @r=`${PWD_COMMAND}`; export r; \
30117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30118 $(HOST_EXPORTS) \
30119 (cd $(HOST_SUBDIR)/rcs && \
30120 $(MAKE) $(FLAGS_TO_PASS) install)
30122 @endif rcs
30124 # Other targets (info, dvi, pdf, etc.)
30126 .PHONY: maybe-info-rcs info-rcs
30127 maybe-info-rcs:
30128 @if rcs
30129 maybe-info-rcs: info-rcs
30131 info-rcs: \
30132 configure-rcs
30133 @: $(MAKE); $(unstage)
30134 @[ -f ./rcs/Makefile ] || exit 0; \
30135 r=`${PWD_COMMAND}`; export r; \
30136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30137 $(HOST_EXPORTS) \
30138 for flag in $(EXTRA_HOST_FLAGS) ; do \
30139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30140 done; \
30141 echo "Doing info in rcs" ; \
30142 (cd $(HOST_SUBDIR)/rcs && \
30143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30145 "RANLIB=$${RANLIB}" \
30146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30147 info) \
30148 || exit 1
30150 @endif rcs
30152 .PHONY: maybe-dvi-rcs dvi-rcs
30153 maybe-dvi-rcs:
30154 @if rcs
30155 maybe-dvi-rcs: dvi-rcs
30157 dvi-rcs: \
30158 configure-rcs
30159 @: $(MAKE); $(unstage)
30160 @[ -f ./rcs/Makefile ] || exit 0; \
30161 r=`${PWD_COMMAND}`; export r; \
30162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30163 $(HOST_EXPORTS) \
30164 for flag in $(EXTRA_HOST_FLAGS) ; do \
30165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30166 done; \
30167 echo "Doing dvi in rcs" ; \
30168 (cd $(HOST_SUBDIR)/rcs && \
30169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30171 "RANLIB=$${RANLIB}" \
30172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30173 dvi) \
30174 || exit 1
30176 @endif rcs
30178 .PHONY: maybe-pdf-rcs pdf-rcs
30179 maybe-pdf-rcs:
30180 @if rcs
30181 maybe-pdf-rcs: pdf-rcs
30183 pdf-rcs: \
30184 configure-rcs
30185 @: $(MAKE); $(unstage)
30186 @[ -f ./rcs/Makefile ] || exit 0; \
30187 r=`${PWD_COMMAND}`; export r; \
30188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30189 $(HOST_EXPORTS) \
30190 for flag in $(EXTRA_HOST_FLAGS) ; do \
30191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30192 done; \
30193 echo "Doing pdf in rcs" ; \
30194 (cd $(HOST_SUBDIR)/rcs && \
30195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30197 "RANLIB=$${RANLIB}" \
30198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30199 pdf) \
30200 || exit 1
30202 @endif rcs
30204 .PHONY: maybe-html-rcs html-rcs
30205 maybe-html-rcs:
30206 @if rcs
30207 maybe-html-rcs: html-rcs
30209 html-rcs: \
30210 configure-rcs
30211 @: $(MAKE); $(unstage)
30212 @[ -f ./rcs/Makefile ] || exit 0; \
30213 r=`${PWD_COMMAND}`; export r; \
30214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30215 $(HOST_EXPORTS) \
30216 for flag in $(EXTRA_HOST_FLAGS) ; do \
30217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30218 done; \
30219 echo "Doing html in rcs" ; \
30220 (cd $(HOST_SUBDIR)/rcs && \
30221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30223 "RANLIB=$${RANLIB}" \
30224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30225 html) \
30226 || exit 1
30228 @endif rcs
30230 .PHONY: maybe-TAGS-rcs TAGS-rcs
30231 maybe-TAGS-rcs:
30232 @if rcs
30233 maybe-TAGS-rcs: TAGS-rcs
30235 TAGS-rcs: \
30236 configure-rcs
30237 @: $(MAKE); $(unstage)
30238 @[ -f ./rcs/Makefile ] || exit 0; \
30239 r=`${PWD_COMMAND}`; export r; \
30240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30241 $(HOST_EXPORTS) \
30242 for flag in $(EXTRA_HOST_FLAGS) ; do \
30243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30244 done; \
30245 echo "Doing TAGS in rcs" ; \
30246 (cd $(HOST_SUBDIR)/rcs && \
30247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30249 "RANLIB=$${RANLIB}" \
30250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30251 TAGS) \
30252 || exit 1
30254 @endif rcs
30256 .PHONY: maybe-install-info-rcs install-info-rcs
30257 maybe-install-info-rcs:
30258 @if rcs
30259 maybe-install-info-rcs: install-info-rcs
30261 install-info-rcs: \
30262 configure-rcs \
30263 info-rcs
30264 @: $(MAKE); $(unstage)
30265 @[ -f ./rcs/Makefile ] || exit 0; \
30266 r=`${PWD_COMMAND}`; export r; \
30267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30268 $(HOST_EXPORTS) \
30269 for flag in $(EXTRA_HOST_FLAGS) ; do \
30270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30271 done; \
30272 echo "Doing install-info in rcs" ; \
30273 (cd $(HOST_SUBDIR)/rcs && \
30274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30276 "RANLIB=$${RANLIB}" \
30277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30278 install-info) \
30279 || exit 1
30281 @endif rcs
30283 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
30284 maybe-install-pdf-rcs:
30285 @if rcs
30286 maybe-install-pdf-rcs: install-pdf-rcs
30288 install-pdf-rcs: \
30289 configure-rcs \
30290 pdf-rcs
30291 @: $(MAKE); $(unstage)
30292 @[ -f ./rcs/Makefile ] || exit 0; \
30293 r=`${PWD_COMMAND}`; export r; \
30294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30295 $(HOST_EXPORTS) \
30296 for flag in $(EXTRA_HOST_FLAGS) ; do \
30297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30298 done; \
30299 echo "Doing install-pdf in rcs" ; \
30300 (cd $(HOST_SUBDIR)/rcs && \
30301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30303 "RANLIB=$${RANLIB}" \
30304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30305 install-pdf) \
30306 || exit 1
30308 @endif rcs
30310 .PHONY: maybe-install-html-rcs install-html-rcs
30311 maybe-install-html-rcs:
30312 @if rcs
30313 maybe-install-html-rcs: install-html-rcs
30315 install-html-rcs: \
30316 configure-rcs \
30317 html-rcs
30318 @: $(MAKE); $(unstage)
30319 @[ -f ./rcs/Makefile ] || exit 0; \
30320 r=`${PWD_COMMAND}`; export r; \
30321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30322 $(HOST_EXPORTS) \
30323 for flag in $(EXTRA_HOST_FLAGS) ; do \
30324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30325 done; \
30326 echo "Doing install-html in rcs" ; \
30327 (cd $(HOST_SUBDIR)/rcs && \
30328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30330 "RANLIB=$${RANLIB}" \
30331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30332 install-html) \
30333 || exit 1
30335 @endif rcs
30337 .PHONY: maybe-installcheck-rcs installcheck-rcs
30338 maybe-installcheck-rcs:
30339 @if rcs
30340 maybe-installcheck-rcs: installcheck-rcs
30342 installcheck-rcs: \
30343 configure-rcs
30344 @: $(MAKE); $(unstage)
30345 @[ -f ./rcs/Makefile ] || exit 0; \
30346 r=`${PWD_COMMAND}`; export r; \
30347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30348 $(HOST_EXPORTS) \
30349 for flag in $(EXTRA_HOST_FLAGS) ; do \
30350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30351 done; \
30352 echo "Doing installcheck in rcs" ; \
30353 (cd $(HOST_SUBDIR)/rcs && \
30354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30356 "RANLIB=$${RANLIB}" \
30357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30358 installcheck) \
30359 || exit 1
30361 @endif rcs
30363 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
30364 maybe-mostlyclean-rcs:
30365 @if rcs
30366 maybe-mostlyclean-rcs: mostlyclean-rcs
30368 mostlyclean-rcs:
30369 @: $(MAKE); $(unstage)
30370 @[ -f ./rcs/Makefile ] || exit 0; \
30371 r=`${PWD_COMMAND}`; export r; \
30372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30373 $(HOST_EXPORTS) \
30374 for flag in $(EXTRA_HOST_FLAGS) ; do \
30375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30376 done; \
30377 echo "Doing mostlyclean in rcs" ; \
30378 (cd $(HOST_SUBDIR)/rcs && \
30379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30381 "RANLIB=$${RANLIB}" \
30382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30383 mostlyclean) \
30384 || exit 1
30386 @endif rcs
30388 .PHONY: maybe-clean-rcs clean-rcs
30389 maybe-clean-rcs:
30390 @if rcs
30391 maybe-clean-rcs: clean-rcs
30393 clean-rcs:
30394 @: $(MAKE); $(unstage)
30395 @[ -f ./rcs/Makefile ] || exit 0; \
30396 r=`${PWD_COMMAND}`; export r; \
30397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30398 $(HOST_EXPORTS) \
30399 for flag in $(EXTRA_HOST_FLAGS) ; do \
30400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30401 done; \
30402 echo "Doing clean in rcs" ; \
30403 (cd $(HOST_SUBDIR)/rcs && \
30404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30406 "RANLIB=$${RANLIB}" \
30407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30408 clean) \
30409 || exit 1
30411 @endif rcs
30413 .PHONY: maybe-distclean-rcs distclean-rcs
30414 maybe-distclean-rcs:
30415 @if rcs
30416 maybe-distclean-rcs: distclean-rcs
30418 distclean-rcs:
30419 @: $(MAKE); $(unstage)
30420 @[ -f ./rcs/Makefile ] || exit 0; \
30421 r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30423 $(HOST_EXPORTS) \
30424 for flag in $(EXTRA_HOST_FLAGS) ; do \
30425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30426 done; \
30427 echo "Doing distclean in rcs" ; \
30428 (cd $(HOST_SUBDIR)/rcs && \
30429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30431 "RANLIB=$${RANLIB}" \
30432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30433 distclean) \
30434 || exit 1
30436 @endif rcs
30438 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
30439 maybe-maintainer-clean-rcs:
30440 @if rcs
30441 maybe-maintainer-clean-rcs: maintainer-clean-rcs
30443 maintainer-clean-rcs:
30444 @: $(MAKE); $(unstage)
30445 @[ -f ./rcs/Makefile ] || exit 0; \
30446 r=`${PWD_COMMAND}`; export r; \
30447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30448 $(HOST_EXPORTS) \
30449 for flag in $(EXTRA_HOST_FLAGS) ; do \
30450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30451 done; \
30452 echo "Doing maintainer-clean in rcs" ; \
30453 (cd $(HOST_SUBDIR)/rcs && \
30454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30456 "RANLIB=$${RANLIB}" \
30457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30458 maintainer-clean) \
30459 || exit 1
30461 @endif rcs
30465 .PHONY: configure-readline maybe-configure-readline
30466 maybe-configure-readline:
30467 @if gcc-bootstrap
30468 configure-readline: stage_current
30469 @endif gcc-bootstrap
30470 @if readline
30471 maybe-configure-readline: configure-readline
30472 configure-readline:
30473 @: $(MAKE); $(unstage)
30474 @r=`${PWD_COMMAND}`; export r; \
30475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30476 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
30477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
30478 $(HOST_EXPORTS) \
30479 echo Configuring in $(HOST_SUBDIR)/readline; \
30480 cd "$(HOST_SUBDIR)/readline" || exit 1; \
30481 case $(srcdir) in \
30482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30483 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
30484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30485 esac; \
30486 srcdiroption="--srcdir=$${topdir}/readline"; \
30487 libsrcdir="$$s/readline"; \
30488 $(SHELL) $${libsrcdir}/configure \
30489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30490 --target=${target_alias} $${srcdiroption} \
30491 || exit 1
30492 @endif readline
30498 .PHONY: all-readline maybe-all-readline
30499 maybe-all-readline:
30500 @if gcc-bootstrap
30501 all-readline: stage_current
30502 @endif gcc-bootstrap
30503 @if readline
30504 TARGET-readline=all
30505 maybe-all-readline: all-readline
30506 all-readline: configure-readline
30507 @: $(MAKE); $(unstage)
30508 @r=`${PWD_COMMAND}`; export r; \
30509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30510 $(HOST_EXPORTS) \
30511 (cd $(HOST_SUBDIR)/readline && \
30512 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30513 $(TARGET-readline))
30514 @endif readline
30519 .PHONY: check-readline maybe-check-readline
30520 maybe-check-readline:
30521 @if readline
30522 maybe-check-readline: check-readline
30524 check-readline:
30525 @: $(MAKE); $(unstage)
30526 @r=`${PWD_COMMAND}`; export r; \
30527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30528 $(HOST_EXPORTS) \
30529 (cd $(HOST_SUBDIR)/readline && \
30530 $(MAKE) $(FLAGS_TO_PASS) check)
30532 @endif readline
30534 .PHONY: install-readline maybe-install-readline
30535 maybe-install-readline:
30536 @if readline
30537 maybe-install-readline: install-readline
30539 install-readline: installdirs
30540 @: $(MAKE); $(unstage)
30541 @r=`${PWD_COMMAND}`; export r; \
30542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30543 $(HOST_EXPORTS) \
30544 (cd $(HOST_SUBDIR)/readline && \
30545 $(MAKE) $(FLAGS_TO_PASS) install)
30547 @endif readline
30549 # Other targets (info, dvi, pdf, etc.)
30551 .PHONY: maybe-info-readline info-readline
30552 maybe-info-readline:
30553 @if readline
30554 maybe-info-readline: info-readline
30556 info-readline: \
30557 configure-readline
30558 @: $(MAKE); $(unstage)
30559 @[ -f ./readline/Makefile ] || exit 0; \
30560 r=`${PWD_COMMAND}`; export r; \
30561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30562 $(HOST_EXPORTS) \
30563 for flag in $(EXTRA_HOST_FLAGS) ; do \
30564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30565 done; \
30566 echo "Doing info in readline" ; \
30567 (cd $(HOST_SUBDIR)/readline && \
30568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30570 "RANLIB=$${RANLIB}" \
30571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30572 info) \
30573 || exit 1
30575 @endif readline
30577 .PHONY: maybe-dvi-readline dvi-readline
30578 maybe-dvi-readline:
30579 @if readline
30580 maybe-dvi-readline: dvi-readline
30582 dvi-readline: \
30583 configure-readline
30584 @: $(MAKE); $(unstage)
30585 @[ -f ./readline/Makefile ] || exit 0; \
30586 r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 $(HOST_EXPORTS) \
30589 for flag in $(EXTRA_HOST_FLAGS) ; do \
30590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30591 done; \
30592 echo "Doing dvi in readline" ; \
30593 (cd $(HOST_SUBDIR)/readline && \
30594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30596 "RANLIB=$${RANLIB}" \
30597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30598 dvi) \
30599 || exit 1
30601 @endif readline
30603 .PHONY: maybe-pdf-readline pdf-readline
30604 maybe-pdf-readline:
30605 @if readline
30606 maybe-pdf-readline: pdf-readline
30608 pdf-readline: \
30609 configure-readline
30610 @: $(MAKE); $(unstage)
30611 @[ -f ./readline/Makefile ] || exit 0; \
30612 r=`${PWD_COMMAND}`; export r; \
30613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30614 $(HOST_EXPORTS) \
30615 for flag in $(EXTRA_HOST_FLAGS) ; do \
30616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30617 done; \
30618 echo "Doing pdf in readline" ; \
30619 (cd $(HOST_SUBDIR)/readline && \
30620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30622 "RANLIB=$${RANLIB}" \
30623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30624 pdf) \
30625 || exit 1
30627 @endif readline
30629 .PHONY: maybe-html-readline html-readline
30630 maybe-html-readline:
30631 @if readline
30632 maybe-html-readline: html-readline
30634 html-readline: \
30635 configure-readline
30636 @: $(MAKE); $(unstage)
30637 @[ -f ./readline/Makefile ] || exit 0; \
30638 r=`${PWD_COMMAND}`; export r; \
30639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30640 $(HOST_EXPORTS) \
30641 for flag in $(EXTRA_HOST_FLAGS) ; do \
30642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30643 done; \
30644 echo "Doing html in readline" ; \
30645 (cd $(HOST_SUBDIR)/readline && \
30646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30648 "RANLIB=$${RANLIB}" \
30649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30650 html) \
30651 || exit 1
30653 @endif readline
30655 .PHONY: maybe-TAGS-readline TAGS-readline
30656 maybe-TAGS-readline:
30657 @if readline
30658 maybe-TAGS-readline: TAGS-readline
30660 TAGS-readline: \
30661 configure-readline
30662 @: $(MAKE); $(unstage)
30663 @[ -f ./readline/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 TAGS in readline" ; \
30671 (cd $(HOST_SUBDIR)/readline && \
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 TAGS) \
30677 || exit 1
30679 @endif readline
30681 .PHONY: maybe-install-info-readline install-info-readline
30682 maybe-install-info-readline:
30683 @if readline
30684 maybe-install-info-readline: install-info-readline
30686 install-info-readline: \
30687 configure-readline \
30688 info-readline
30689 @: $(MAKE); $(unstage)
30690 @[ -f ./readline/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-info in readline" ; \
30698 (cd $(HOST_SUBDIR)/readline && \
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-info) \
30704 || exit 1
30706 @endif readline
30708 .PHONY: maybe-install-pdf-readline install-pdf-readline
30709 maybe-install-pdf-readline:
30710 @if readline
30711 maybe-install-pdf-readline: install-pdf-readline
30713 install-pdf-readline: \
30714 configure-readline \
30715 pdf-readline
30716 @: $(MAKE); $(unstage)
30717 @[ -f ./readline/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-pdf in readline" ; \
30725 (cd $(HOST_SUBDIR)/readline && \
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-pdf) \
30731 || exit 1
30733 @endif readline
30735 .PHONY: maybe-install-html-readline install-html-readline
30736 maybe-install-html-readline:
30737 @if readline
30738 maybe-install-html-readline: install-html-readline
30740 install-html-readline: \
30741 configure-readline \
30742 html-readline
30743 @: $(MAKE); $(unstage)
30744 @[ -f ./readline/Makefile ] || exit 0; \
30745 r=`${PWD_COMMAND}`; export r; \
30746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30747 $(HOST_EXPORTS) \
30748 for flag in $(EXTRA_HOST_FLAGS) ; do \
30749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30750 done; \
30751 echo "Doing install-html in readline" ; \
30752 (cd $(HOST_SUBDIR)/readline && \
30753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30755 "RANLIB=$${RANLIB}" \
30756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30757 install-html) \
30758 || exit 1
30760 @endif readline
30762 .PHONY: maybe-installcheck-readline installcheck-readline
30763 maybe-installcheck-readline:
30764 @if readline
30765 maybe-installcheck-readline: installcheck-readline
30767 installcheck-readline: \
30768 configure-readline
30769 @: $(MAKE); $(unstage)
30770 @[ -f ./readline/Makefile ] || exit 0; \
30771 r=`${PWD_COMMAND}`; export r; \
30772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30773 $(HOST_EXPORTS) \
30774 for flag in $(EXTRA_HOST_FLAGS) ; do \
30775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30776 done; \
30777 echo "Doing installcheck in readline" ; \
30778 (cd $(HOST_SUBDIR)/readline && \
30779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30781 "RANLIB=$${RANLIB}" \
30782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30783 installcheck) \
30784 || exit 1
30786 @endif readline
30788 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
30789 maybe-mostlyclean-readline:
30790 @if readline
30791 maybe-mostlyclean-readline: mostlyclean-readline
30793 mostlyclean-readline:
30794 @: $(MAKE); $(unstage)
30795 @[ -f ./readline/Makefile ] || exit 0; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30798 $(HOST_EXPORTS) \
30799 for flag in $(EXTRA_HOST_FLAGS) ; do \
30800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30801 done; \
30802 echo "Doing mostlyclean in readline" ; \
30803 (cd $(HOST_SUBDIR)/readline && \
30804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30806 "RANLIB=$${RANLIB}" \
30807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30808 mostlyclean) \
30809 || exit 1
30811 @endif readline
30813 .PHONY: maybe-clean-readline clean-readline
30814 maybe-clean-readline:
30815 @if readline
30816 maybe-clean-readline: clean-readline
30818 clean-readline:
30819 @: $(MAKE); $(unstage)
30820 @[ -f ./readline/Makefile ] || exit 0; \
30821 r=`${PWD_COMMAND}`; export r; \
30822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30823 $(HOST_EXPORTS) \
30824 for flag in $(EXTRA_HOST_FLAGS) ; do \
30825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30826 done; \
30827 echo "Doing clean in readline" ; \
30828 (cd $(HOST_SUBDIR)/readline && \
30829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30831 "RANLIB=$${RANLIB}" \
30832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30833 clean) \
30834 || exit 1
30836 @endif readline
30838 .PHONY: maybe-distclean-readline distclean-readline
30839 maybe-distclean-readline:
30840 @if readline
30841 maybe-distclean-readline: distclean-readline
30843 distclean-readline:
30844 @: $(MAKE); $(unstage)
30845 @[ -f ./readline/Makefile ] || exit 0; \
30846 r=`${PWD_COMMAND}`; export r; \
30847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30848 $(HOST_EXPORTS) \
30849 for flag in $(EXTRA_HOST_FLAGS) ; do \
30850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30851 done; \
30852 echo "Doing distclean in readline" ; \
30853 (cd $(HOST_SUBDIR)/readline && \
30854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30856 "RANLIB=$${RANLIB}" \
30857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30858 distclean) \
30859 || exit 1
30861 @endif readline
30863 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
30864 maybe-maintainer-clean-readline:
30865 @if readline
30866 maybe-maintainer-clean-readline: maintainer-clean-readline
30868 maintainer-clean-readline:
30869 @: $(MAKE); $(unstage)
30870 @[ -f ./readline/Makefile ] || exit 0; \
30871 r=`${PWD_COMMAND}`; export r; \
30872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30873 $(HOST_EXPORTS) \
30874 for flag in $(EXTRA_HOST_FLAGS) ; do \
30875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30876 done; \
30877 echo "Doing maintainer-clean in readline" ; \
30878 (cd $(HOST_SUBDIR)/readline && \
30879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30881 "RANLIB=$${RANLIB}" \
30882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30883 maintainer-clean) \
30884 || exit 1
30886 @endif readline
30890 .PHONY: configure-release maybe-configure-release
30891 maybe-configure-release:
30892 @if gcc-bootstrap
30893 configure-release: stage_current
30894 @endif gcc-bootstrap
30895 @if release
30896 maybe-configure-release: configure-release
30897 configure-release:
30898 @: $(MAKE); $(unstage)
30899 @r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
30902 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
30903 $(HOST_EXPORTS) \
30904 echo Configuring in $(HOST_SUBDIR)/release; \
30905 cd "$(HOST_SUBDIR)/release" || exit 1; \
30906 case $(srcdir) in \
30907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30908 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
30909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30910 esac; \
30911 srcdiroption="--srcdir=$${topdir}/release"; \
30912 libsrcdir="$$s/release"; \
30913 $(SHELL) $${libsrcdir}/configure \
30914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30915 --target=${target_alias} $${srcdiroption} \
30916 || exit 1
30917 @endif release
30923 .PHONY: all-release maybe-all-release
30924 maybe-all-release:
30925 @if gcc-bootstrap
30926 all-release: stage_current
30927 @endif gcc-bootstrap
30928 @if release
30929 TARGET-release=all
30930 maybe-all-release: all-release
30931 all-release: configure-release
30932 @: $(MAKE); $(unstage)
30933 @r=`${PWD_COMMAND}`; export r; \
30934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30935 $(HOST_EXPORTS) \
30936 (cd $(HOST_SUBDIR)/release && \
30937 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
30938 $(TARGET-release))
30939 @endif release
30944 .PHONY: check-release maybe-check-release
30945 maybe-check-release:
30946 @if release
30947 maybe-check-release: check-release
30949 check-release:
30951 @endif release
30953 .PHONY: install-release maybe-install-release
30954 maybe-install-release:
30955 @if release
30956 maybe-install-release: install-release
30958 install-release:
30960 @endif release
30962 # Other targets (info, dvi, pdf, etc.)
30964 .PHONY: maybe-info-release info-release
30965 maybe-info-release:
30966 @if release
30967 maybe-info-release: info-release
30969 info-release: \
30970 configure-release
30971 @: $(MAKE); $(unstage)
30972 @[ -f ./release/Makefile ] || exit 0; \
30973 r=`${PWD_COMMAND}`; export r; \
30974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30975 $(HOST_EXPORTS) \
30976 for flag in $(EXTRA_HOST_FLAGS) ; do \
30977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30978 done; \
30979 echo "Doing info in release" ; \
30980 (cd $(HOST_SUBDIR)/release && \
30981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30983 "RANLIB=$${RANLIB}" \
30984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30985 info) \
30986 || exit 1
30988 @endif release
30990 .PHONY: maybe-dvi-release dvi-release
30991 maybe-dvi-release:
30992 @if release
30993 maybe-dvi-release: dvi-release
30995 dvi-release: \
30996 configure-release
30997 @: $(MAKE); $(unstage)
30998 @[ -f ./release/Makefile ] || exit 0; \
30999 r=`${PWD_COMMAND}`; export r; \
31000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31001 $(HOST_EXPORTS) \
31002 for flag in $(EXTRA_HOST_FLAGS) ; do \
31003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31004 done; \
31005 echo "Doing dvi in release" ; \
31006 (cd $(HOST_SUBDIR)/release && \
31007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31009 "RANLIB=$${RANLIB}" \
31010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31011 dvi) \
31012 || exit 1
31014 @endif release
31016 .PHONY: maybe-pdf-release pdf-release
31017 maybe-pdf-release:
31018 @if release
31019 maybe-pdf-release: pdf-release
31021 pdf-release: \
31022 configure-release
31023 @: $(MAKE); $(unstage)
31024 @[ -f ./release/Makefile ] || exit 0; \
31025 r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 $(HOST_EXPORTS) \
31028 for flag in $(EXTRA_HOST_FLAGS) ; do \
31029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31030 done; \
31031 echo "Doing pdf in release" ; \
31032 (cd $(HOST_SUBDIR)/release && \
31033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31035 "RANLIB=$${RANLIB}" \
31036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31037 pdf) \
31038 || exit 1
31040 @endif release
31042 .PHONY: maybe-html-release html-release
31043 maybe-html-release:
31044 @if release
31045 maybe-html-release: html-release
31047 html-release: \
31048 configure-release
31049 @: $(MAKE); $(unstage)
31050 @[ -f ./release/Makefile ] || exit 0; \
31051 r=`${PWD_COMMAND}`; export r; \
31052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31053 $(HOST_EXPORTS) \
31054 for flag in $(EXTRA_HOST_FLAGS) ; do \
31055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31056 done; \
31057 echo "Doing html in release" ; \
31058 (cd $(HOST_SUBDIR)/release && \
31059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31061 "RANLIB=$${RANLIB}" \
31062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31063 html) \
31064 || exit 1
31066 @endif release
31068 .PHONY: maybe-TAGS-release TAGS-release
31069 maybe-TAGS-release:
31070 @if release
31071 maybe-TAGS-release: TAGS-release
31073 TAGS-release: \
31074 configure-release
31075 @: $(MAKE); $(unstage)
31076 @[ -f ./release/Makefile ] || exit 0; \
31077 r=`${PWD_COMMAND}`; export r; \
31078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31079 $(HOST_EXPORTS) \
31080 for flag in $(EXTRA_HOST_FLAGS) ; do \
31081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31082 done; \
31083 echo "Doing TAGS in release" ; \
31084 (cd $(HOST_SUBDIR)/release && \
31085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31087 "RANLIB=$${RANLIB}" \
31088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31089 TAGS) \
31090 || exit 1
31092 @endif release
31094 .PHONY: maybe-install-info-release install-info-release
31095 maybe-install-info-release:
31096 @if release
31097 maybe-install-info-release: install-info-release
31099 install-info-release: \
31100 configure-release \
31101 info-release
31102 @: $(MAKE); $(unstage)
31103 @[ -f ./release/Makefile ] || exit 0; \
31104 r=`${PWD_COMMAND}`; export r; \
31105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31106 $(HOST_EXPORTS) \
31107 for flag in $(EXTRA_HOST_FLAGS) ; do \
31108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31109 done; \
31110 echo "Doing install-info in release" ; \
31111 (cd $(HOST_SUBDIR)/release && \
31112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31114 "RANLIB=$${RANLIB}" \
31115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31116 install-info) \
31117 || exit 1
31119 @endif release
31121 .PHONY: maybe-install-pdf-release install-pdf-release
31122 maybe-install-pdf-release:
31123 @if release
31124 maybe-install-pdf-release: install-pdf-release
31126 install-pdf-release: \
31127 configure-release \
31128 pdf-release
31129 @: $(MAKE); $(unstage)
31130 @[ -f ./release/Makefile ] || exit 0; \
31131 r=`${PWD_COMMAND}`; export r; \
31132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31133 $(HOST_EXPORTS) \
31134 for flag in $(EXTRA_HOST_FLAGS) ; do \
31135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31136 done; \
31137 echo "Doing install-pdf in release" ; \
31138 (cd $(HOST_SUBDIR)/release && \
31139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31141 "RANLIB=$${RANLIB}" \
31142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31143 install-pdf) \
31144 || exit 1
31146 @endif release
31148 .PHONY: maybe-install-html-release install-html-release
31149 maybe-install-html-release:
31150 @if release
31151 maybe-install-html-release: install-html-release
31153 install-html-release: \
31154 configure-release \
31155 html-release
31156 @: $(MAKE); $(unstage)
31157 @[ -f ./release/Makefile ] || exit 0; \
31158 r=`${PWD_COMMAND}`; export r; \
31159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31160 $(HOST_EXPORTS) \
31161 for flag in $(EXTRA_HOST_FLAGS) ; do \
31162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31163 done; \
31164 echo "Doing install-html in release" ; \
31165 (cd $(HOST_SUBDIR)/release && \
31166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31168 "RANLIB=$${RANLIB}" \
31169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31170 install-html) \
31171 || exit 1
31173 @endif release
31175 .PHONY: maybe-installcheck-release installcheck-release
31176 maybe-installcheck-release:
31177 @if release
31178 maybe-installcheck-release: installcheck-release
31180 installcheck-release: \
31181 configure-release
31182 @: $(MAKE); $(unstage)
31183 @[ -f ./release/Makefile ] || exit 0; \
31184 r=`${PWD_COMMAND}`; export r; \
31185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31186 $(HOST_EXPORTS) \
31187 for flag in $(EXTRA_HOST_FLAGS) ; do \
31188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31189 done; \
31190 echo "Doing installcheck in release" ; \
31191 (cd $(HOST_SUBDIR)/release && \
31192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31194 "RANLIB=$${RANLIB}" \
31195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31196 installcheck) \
31197 || exit 1
31199 @endif release
31201 .PHONY: maybe-mostlyclean-release mostlyclean-release
31202 maybe-mostlyclean-release:
31203 @if release
31204 maybe-mostlyclean-release: mostlyclean-release
31206 mostlyclean-release:
31207 @: $(MAKE); $(unstage)
31208 @[ -f ./release/Makefile ] || exit 0; \
31209 r=`${PWD_COMMAND}`; export r; \
31210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31211 $(HOST_EXPORTS) \
31212 for flag in $(EXTRA_HOST_FLAGS) ; do \
31213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31214 done; \
31215 echo "Doing mostlyclean in release" ; \
31216 (cd $(HOST_SUBDIR)/release && \
31217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31219 "RANLIB=$${RANLIB}" \
31220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31221 mostlyclean) \
31222 || exit 1
31224 @endif release
31226 .PHONY: maybe-clean-release clean-release
31227 maybe-clean-release:
31228 @if release
31229 maybe-clean-release: clean-release
31231 clean-release:
31232 @: $(MAKE); $(unstage)
31233 @[ -f ./release/Makefile ] || exit 0; \
31234 r=`${PWD_COMMAND}`; export r; \
31235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31236 $(HOST_EXPORTS) \
31237 for flag in $(EXTRA_HOST_FLAGS) ; do \
31238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31239 done; \
31240 echo "Doing clean in release" ; \
31241 (cd $(HOST_SUBDIR)/release && \
31242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31244 "RANLIB=$${RANLIB}" \
31245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31246 clean) \
31247 || exit 1
31249 @endif release
31251 .PHONY: maybe-distclean-release distclean-release
31252 maybe-distclean-release:
31253 @if release
31254 maybe-distclean-release: distclean-release
31256 distclean-release:
31257 @: $(MAKE); $(unstage)
31258 @[ -f ./release/Makefile ] || exit 0; \
31259 r=`${PWD_COMMAND}`; export r; \
31260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31261 $(HOST_EXPORTS) \
31262 for flag in $(EXTRA_HOST_FLAGS) ; do \
31263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31264 done; \
31265 echo "Doing distclean in release" ; \
31266 (cd $(HOST_SUBDIR)/release && \
31267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31269 "RANLIB=$${RANLIB}" \
31270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31271 distclean) \
31272 || exit 1
31274 @endif release
31276 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
31277 maybe-maintainer-clean-release:
31278 @if release
31279 maybe-maintainer-clean-release: maintainer-clean-release
31281 maintainer-clean-release:
31282 @: $(MAKE); $(unstage)
31283 @[ -f ./release/Makefile ] || exit 0; \
31284 r=`${PWD_COMMAND}`; export r; \
31285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31286 $(HOST_EXPORTS) \
31287 for flag in $(EXTRA_HOST_FLAGS) ; do \
31288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31289 done; \
31290 echo "Doing maintainer-clean in release" ; \
31291 (cd $(HOST_SUBDIR)/release && \
31292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31294 "RANLIB=$${RANLIB}" \
31295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31296 maintainer-clean) \
31297 || exit 1
31299 @endif release
31303 .PHONY: configure-recode maybe-configure-recode
31304 maybe-configure-recode:
31305 @if gcc-bootstrap
31306 configure-recode: stage_current
31307 @endif gcc-bootstrap
31308 @if recode
31309 maybe-configure-recode: configure-recode
31310 configure-recode:
31311 @: $(MAKE); $(unstage)
31312 @r=`${PWD_COMMAND}`; export r; \
31313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31314 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
31315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
31316 $(HOST_EXPORTS) \
31317 echo Configuring in $(HOST_SUBDIR)/recode; \
31318 cd "$(HOST_SUBDIR)/recode" || exit 1; \
31319 case $(srcdir) in \
31320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31321 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
31322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31323 esac; \
31324 srcdiroption="--srcdir=$${topdir}/recode"; \
31325 libsrcdir="$$s/recode"; \
31326 $(SHELL) $${libsrcdir}/configure \
31327 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31328 --target=${target_alias} $${srcdiroption} \
31329 || exit 1
31330 @endif recode
31336 .PHONY: all-recode maybe-all-recode
31337 maybe-all-recode:
31338 @if gcc-bootstrap
31339 all-recode: stage_current
31340 @endif gcc-bootstrap
31341 @if recode
31342 TARGET-recode=all
31343 maybe-all-recode: all-recode
31344 all-recode: configure-recode
31345 @: $(MAKE); $(unstage)
31346 @r=`${PWD_COMMAND}`; export r; \
31347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31348 $(HOST_EXPORTS) \
31349 (cd $(HOST_SUBDIR)/recode && \
31350 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31351 $(TARGET-recode))
31352 @endif recode
31357 .PHONY: check-recode maybe-check-recode
31358 maybe-check-recode:
31359 @if recode
31360 maybe-check-recode: check-recode
31362 check-recode:
31363 @: $(MAKE); $(unstage)
31364 @r=`${PWD_COMMAND}`; export r; \
31365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31366 $(HOST_EXPORTS) \
31367 (cd $(HOST_SUBDIR)/recode && \
31368 $(MAKE) $(FLAGS_TO_PASS) check)
31370 @endif recode
31372 .PHONY: install-recode maybe-install-recode
31373 maybe-install-recode:
31374 @if recode
31375 maybe-install-recode: install-recode
31377 install-recode: installdirs
31378 @: $(MAKE); $(unstage)
31379 @r=`${PWD_COMMAND}`; export r; \
31380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31381 $(HOST_EXPORTS) \
31382 (cd $(HOST_SUBDIR)/recode && \
31383 $(MAKE) $(FLAGS_TO_PASS) install)
31385 @endif recode
31387 # Other targets (info, dvi, pdf, etc.)
31389 .PHONY: maybe-info-recode info-recode
31390 maybe-info-recode:
31391 @if recode
31392 maybe-info-recode: info-recode
31394 info-recode: \
31395 configure-recode
31396 @: $(MAKE); $(unstage)
31397 @[ -f ./recode/Makefile ] || exit 0; \
31398 r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 $(HOST_EXPORTS) \
31401 for flag in $(EXTRA_HOST_FLAGS) ; do \
31402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31403 done; \
31404 echo "Doing info in recode" ; \
31405 (cd $(HOST_SUBDIR)/recode && \
31406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31408 "RANLIB=$${RANLIB}" \
31409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31410 info) \
31411 || exit 1
31413 @endif recode
31415 .PHONY: maybe-dvi-recode dvi-recode
31416 maybe-dvi-recode:
31417 @if recode
31418 maybe-dvi-recode: dvi-recode
31420 dvi-recode: \
31421 configure-recode
31422 @: $(MAKE); $(unstage)
31423 @[ -f ./recode/Makefile ] || exit 0; \
31424 r=`${PWD_COMMAND}`; export r; \
31425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31426 $(HOST_EXPORTS) \
31427 for flag in $(EXTRA_HOST_FLAGS) ; do \
31428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31429 done; \
31430 echo "Doing dvi in recode" ; \
31431 (cd $(HOST_SUBDIR)/recode && \
31432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31434 "RANLIB=$${RANLIB}" \
31435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31436 dvi) \
31437 || exit 1
31439 @endif recode
31441 .PHONY: maybe-pdf-recode pdf-recode
31442 maybe-pdf-recode:
31443 @if recode
31444 maybe-pdf-recode: pdf-recode
31446 pdf-recode: \
31447 configure-recode
31448 @: $(MAKE); $(unstage)
31449 @[ -f ./recode/Makefile ] || exit 0; \
31450 r=`${PWD_COMMAND}`; export r; \
31451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31452 $(HOST_EXPORTS) \
31453 for flag in $(EXTRA_HOST_FLAGS) ; do \
31454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31455 done; \
31456 echo "Doing pdf in recode" ; \
31457 (cd $(HOST_SUBDIR)/recode && \
31458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31460 "RANLIB=$${RANLIB}" \
31461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31462 pdf) \
31463 || exit 1
31465 @endif recode
31467 .PHONY: maybe-html-recode html-recode
31468 maybe-html-recode:
31469 @if recode
31470 maybe-html-recode: html-recode
31472 html-recode: \
31473 configure-recode
31474 @: $(MAKE); $(unstage)
31475 @[ -f ./recode/Makefile ] || exit 0; \
31476 r=`${PWD_COMMAND}`; export r; \
31477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31478 $(HOST_EXPORTS) \
31479 for flag in $(EXTRA_HOST_FLAGS) ; do \
31480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31481 done; \
31482 echo "Doing html in recode" ; \
31483 (cd $(HOST_SUBDIR)/recode && \
31484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31486 "RANLIB=$${RANLIB}" \
31487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31488 html) \
31489 || exit 1
31491 @endif recode
31493 .PHONY: maybe-TAGS-recode TAGS-recode
31494 maybe-TAGS-recode:
31495 @if recode
31496 maybe-TAGS-recode: TAGS-recode
31498 TAGS-recode: \
31499 configure-recode
31500 @: $(MAKE); $(unstage)
31501 @[ -f ./recode/Makefile ] || exit 0; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(HOST_EXPORTS) \
31505 for flag in $(EXTRA_HOST_FLAGS) ; do \
31506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31507 done; \
31508 echo "Doing TAGS in recode" ; \
31509 (cd $(HOST_SUBDIR)/recode && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31514 TAGS) \
31515 || exit 1
31517 @endif recode
31519 .PHONY: maybe-install-info-recode install-info-recode
31520 maybe-install-info-recode:
31521 @if recode
31522 maybe-install-info-recode: install-info-recode
31524 install-info-recode: \
31525 configure-recode \
31526 info-recode
31527 @: $(MAKE); $(unstage)
31528 @[ -f ./recode/Makefile ] || exit 0; \
31529 r=`${PWD_COMMAND}`; export r; \
31530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31531 $(HOST_EXPORTS) \
31532 for flag in $(EXTRA_HOST_FLAGS) ; do \
31533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31534 done; \
31535 echo "Doing install-info in recode" ; \
31536 (cd $(HOST_SUBDIR)/recode && \
31537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31539 "RANLIB=$${RANLIB}" \
31540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31541 install-info) \
31542 || exit 1
31544 @endif recode
31546 .PHONY: maybe-install-pdf-recode install-pdf-recode
31547 maybe-install-pdf-recode:
31548 @if recode
31549 maybe-install-pdf-recode: install-pdf-recode
31551 install-pdf-recode: \
31552 configure-recode \
31553 pdf-recode
31554 @: $(MAKE); $(unstage)
31555 @[ -f ./recode/Makefile ] || exit 0; \
31556 r=`${PWD_COMMAND}`; export r; \
31557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31558 $(HOST_EXPORTS) \
31559 for flag in $(EXTRA_HOST_FLAGS) ; do \
31560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31561 done; \
31562 echo "Doing install-pdf in recode" ; \
31563 (cd $(HOST_SUBDIR)/recode && \
31564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31566 "RANLIB=$${RANLIB}" \
31567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31568 install-pdf) \
31569 || exit 1
31571 @endif recode
31573 .PHONY: maybe-install-html-recode install-html-recode
31574 maybe-install-html-recode:
31575 @if recode
31576 maybe-install-html-recode: install-html-recode
31578 install-html-recode: \
31579 configure-recode \
31580 html-recode
31581 @: $(MAKE); $(unstage)
31582 @[ -f ./recode/Makefile ] || exit 0; \
31583 r=`${PWD_COMMAND}`; export r; \
31584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31585 $(HOST_EXPORTS) \
31586 for flag in $(EXTRA_HOST_FLAGS) ; do \
31587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31588 done; \
31589 echo "Doing install-html in recode" ; \
31590 (cd $(HOST_SUBDIR)/recode && \
31591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31593 "RANLIB=$${RANLIB}" \
31594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31595 install-html) \
31596 || exit 1
31598 @endif recode
31600 .PHONY: maybe-installcheck-recode installcheck-recode
31601 maybe-installcheck-recode:
31602 @if recode
31603 maybe-installcheck-recode: installcheck-recode
31605 installcheck-recode: \
31606 configure-recode
31607 @: $(MAKE); $(unstage)
31608 @[ -f ./recode/Makefile ] || exit 0; \
31609 r=`${PWD_COMMAND}`; export r; \
31610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31611 $(HOST_EXPORTS) \
31612 for flag in $(EXTRA_HOST_FLAGS) ; do \
31613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31614 done; \
31615 echo "Doing installcheck in recode" ; \
31616 (cd $(HOST_SUBDIR)/recode && \
31617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31619 "RANLIB=$${RANLIB}" \
31620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31621 installcheck) \
31622 || exit 1
31624 @endif recode
31626 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
31627 maybe-mostlyclean-recode:
31628 @if recode
31629 maybe-mostlyclean-recode: mostlyclean-recode
31631 mostlyclean-recode:
31632 @: $(MAKE); $(unstage)
31633 @[ -f ./recode/Makefile ] || exit 0; \
31634 r=`${PWD_COMMAND}`; export r; \
31635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31636 $(HOST_EXPORTS) \
31637 for flag in $(EXTRA_HOST_FLAGS) ; do \
31638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31639 done; \
31640 echo "Doing mostlyclean in recode" ; \
31641 (cd $(HOST_SUBDIR)/recode && \
31642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31644 "RANLIB=$${RANLIB}" \
31645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31646 mostlyclean) \
31647 || exit 1
31649 @endif recode
31651 .PHONY: maybe-clean-recode clean-recode
31652 maybe-clean-recode:
31653 @if recode
31654 maybe-clean-recode: clean-recode
31656 clean-recode:
31657 @: $(MAKE); $(unstage)
31658 @[ -f ./recode/Makefile ] || exit 0; \
31659 r=`${PWD_COMMAND}`; export r; \
31660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31661 $(HOST_EXPORTS) \
31662 for flag in $(EXTRA_HOST_FLAGS) ; do \
31663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31664 done; \
31665 echo "Doing clean in recode" ; \
31666 (cd $(HOST_SUBDIR)/recode && \
31667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31669 "RANLIB=$${RANLIB}" \
31670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31671 clean) \
31672 || exit 1
31674 @endif recode
31676 .PHONY: maybe-distclean-recode distclean-recode
31677 maybe-distclean-recode:
31678 @if recode
31679 maybe-distclean-recode: distclean-recode
31681 distclean-recode:
31682 @: $(MAKE); $(unstage)
31683 @[ -f ./recode/Makefile ] || exit 0; \
31684 r=`${PWD_COMMAND}`; export r; \
31685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31686 $(HOST_EXPORTS) \
31687 for flag in $(EXTRA_HOST_FLAGS) ; do \
31688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31689 done; \
31690 echo "Doing distclean in recode" ; \
31691 (cd $(HOST_SUBDIR)/recode && \
31692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31694 "RANLIB=$${RANLIB}" \
31695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31696 distclean) \
31697 || exit 1
31699 @endif recode
31701 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
31702 maybe-maintainer-clean-recode:
31703 @if recode
31704 maybe-maintainer-clean-recode: maintainer-clean-recode
31706 maintainer-clean-recode:
31707 @: $(MAKE); $(unstage)
31708 @[ -f ./recode/Makefile ] || exit 0; \
31709 r=`${PWD_COMMAND}`; export r; \
31710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31711 $(HOST_EXPORTS) \
31712 for flag in $(EXTRA_HOST_FLAGS) ; do \
31713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31714 done; \
31715 echo "Doing maintainer-clean in recode" ; \
31716 (cd $(HOST_SUBDIR)/recode && \
31717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31719 "RANLIB=$${RANLIB}" \
31720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31721 maintainer-clean) \
31722 || exit 1
31724 @endif recode
31728 .PHONY: configure-sed maybe-configure-sed
31729 maybe-configure-sed:
31730 @if gcc-bootstrap
31731 configure-sed: stage_current
31732 @endif gcc-bootstrap
31733 @if sed
31734 maybe-configure-sed: configure-sed
31735 configure-sed:
31736 @: $(MAKE); $(unstage)
31737 @r=`${PWD_COMMAND}`; export r; \
31738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31739 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
31740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
31741 $(HOST_EXPORTS) \
31742 echo Configuring in $(HOST_SUBDIR)/sed; \
31743 cd "$(HOST_SUBDIR)/sed" || exit 1; \
31744 case $(srcdir) in \
31745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31746 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
31747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31748 esac; \
31749 srcdiroption="--srcdir=$${topdir}/sed"; \
31750 libsrcdir="$$s/sed"; \
31751 $(SHELL) $${libsrcdir}/configure \
31752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31753 --target=${target_alias} $${srcdiroption} \
31754 || exit 1
31755 @endif sed
31761 .PHONY: all-sed maybe-all-sed
31762 maybe-all-sed:
31763 @if gcc-bootstrap
31764 all-sed: stage_current
31765 @endif gcc-bootstrap
31766 @if sed
31767 TARGET-sed=all
31768 maybe-all-sed: all-sed
31769 all-sed: configure-sed
31770 @: $(MAKE); $(unstage)
31771 @r=`${PWD_COMMAND}`; export r; \
31772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31773 $(HOST_EXPORTS) \
31774 (cd $(HOST_SUBDIR)/sed && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
31776 $(TARGET-sed))
31777 @endif sed
31782 .PHONY: check-sed maybe-check-sed
31783 maybe-check-sed:
31784 @if sed
31785 maybe-check-sed: check-sed
31787 check-sed:
31788 @: $(MAKE); $(unstage)
31789 @r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(HOST_EXPORTS) \
31792 (cd $(HOST_SUBDIR)/sed && \
31793 $(MAKE) $(FLAGS_TO_PASS) check)
31795 @endif sed
31797 .PHONY: install-sed maybe-install-sed
31798 maybe-install-sed:
31799 @if sed
31800 maybe-install-sed: install-sed
31802 install-sed: installdirs
31803 @: $(MAKE); $(unstage)
31804 @r=`${PWD_COMMAND}`; export r; \
31805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31806 $(HOST_EXPORTS) \
31807 (cd $(HOST_SUBDIR)/sed && \
31808 $(MAKE) $(FLAGS_TO_PASS) install)
31810 @endif sed
31812 # Other targets (info, dvi, pdf, etc.)
31814 .PHONY: maybe-info-sed info-sed
31815 maybe-info-sed:
31816 @if sed
31817 maybe-info-sed: info-sed
31819 info-sed: \
31820 configure-sed
31821 @: $(MAKE); $(unstage)
31822 @[ -f ./sed/Makefile ] || exit 0; \
31823 r=`${PWD_COMMAND}`; export r; \
31824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31825 $(HOST_EXPORTS) \
31826 for flag in $(EXTRA_HOST_FLAGS) ; do \
31827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31828 done; \
31829 echo "Doing info in sed" ; \
31830 (cd $(HOST_SUBDIR)/sed && \
31831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31833 "RANLIB=$${RANLIB}" \
31834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31835 info) \
31836 || exit 1
31838 @endif sed
31840 .PHONY: maybe-dvi-sed dvi-sed
31841 maybe-dvi-sed:
31842 @if sed
31843 maybe-dvi-sed: dvi-sed
31845 dvi-sed: \
31846 configure-sed
31847 @: $(MAKE); $(unstage)
31848 @[ -f ./sed/Makefile ] || exit 0; \
31849 r=`${PWD_COMMAND}`; export r; \
31850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31851 $(HOST_EXPORTS) \
31852 for flag in $(EXTRA_HOST_FLAGS) ; do \
31853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31854 done; \
31855 echo "Doing dvi in sed" ; \
31856 (cd $(HOST_SUBDIR)/sed && \
31857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31859 "RANLIB=$${RANLIB}" \
31860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31861 dvi) \
31862 || exit 1
31864 @endif sed
31866 .PHONY: maybe-pdf-sed pdf-sed
31867 maybe-pdf-sed:
31868 @if sed
31869 maybe-pdf-sed: pdf-sed
31871 pdf-sed: \
31872 configure-sed
31873 @: $(MAKE); $(unstage)
31874 @[ -f ./sed/Makefile ] || exit 0; \
31875 r=`${PWD_COMMAND}`; export r; \
31876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31877 $(HOST_EXPORTS) \
31878 for flag in $(EXTRA_HOST_FLAGS) ; do \
31879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31880 done; \
31881 echo "Doing pdf in sed" ; \
31882 (cd $(HOST_SUBDIR)/sed && \
31883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31885 "RANLIB=$${RANLIB}" \
31886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31887 pdf) \
31888 || exit 1
31890 @endif sed
31892 .PHONY: maybe-html-sed html-sed
31893 maybe-html-sed:
31894 @if sed
31895 maybe-html-sed: html-sed
31897 html-sed: \
31898 configure-sed
31899 @: $(MAKE); $(unstage)
31900 @[ -f ./sed/Makefile ] || exit 0; \
31901 r=`${PWD_COMMAND}`; export r; \
31902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31903 $(HOST_EXPORTS) \
31904 for flag in $(EXTRA_HOST_FLAGS) ; do \
31905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31906 done; \
31907 echo "Doing html in sed" ; \
31908 (cd $(HOST_SUBDIR)/sed && \
31909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31911 "RANLIB=$${RANLIB}" \
31912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31913 html) \
31914 || exit 1
31916 @endif sed
31918 .PHONY: maybe-TAGS-sed TAGS-sed
31919 maybe-TAGS-sed:
31920 @if sed
31921 maybe-TAGS-sed: TAGS-sed
31923 TAGS-sed: \
31924 configure-sed
31925 @: $(MAKE); $(unstage)
31926 @[ -f ./sed/Makefile ] || exit 0; \
31927 r=`${PWD_COMMAND}`; export r; \
31928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31929 $(HOST_EXPORTS) \
31930 for flag in $(EXTRA_HOST_FLAGS) ; do \
31931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31932 done; \
31933 echo "Doing TAGS in sed" ; \
31934 (cd $(HOST_SUBDIR)/sed && \
31935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31937 "RANLIB=$${RANLIB}" \
31938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31939 TAGS) \
31940 || exit 1
31942 @endif sed
31944 .PHONY: maybe-install-info-sed install-info-sed
31945 maybe-install-info-sed:
31946 @if sed
31947 maybe-install-info-sed: install-info-sed
31949 install-info-sed: \
31950 configure-sed \
31951 info-sed
31952 @: $(MAKE); $(unstage)
31953 @[ -f ./sed/Makefile ] || exit 0; \
31954 r=`${PWD_COMMAND}`; export r; \
31955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31956 $(HOST_EXPORTS) \
31957 for flag in $(EXTRA_HOST_FLAGS) ; do \
31958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31959 done; \
31960 echo "Doing install-info in sed" ; \
31961 (cd $(HOST_SUBDIR)/sed && \
31962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31964 "RANLIB=$${RANLIB}" \
31965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31966 install-info) \
31967 || exit 1
31969 @endif sed
31971 .PHONY: maybe-install-pdf-sed install-pdf-sed
31972 maybe-install-pdf-sed:
31973 @if sed
31974 maybe-install-pdf-sed: install-pdf-sed
31976 install-pdf-sed: \
31977 configure-sed \
31978 pdf-sed
31979 @: $(MAKE); $(unstage)
31980 @[ -f ./sed/Makefile ] || exit 0; \
31981 r=`${PWD_COMMAND}`; export r; \
31982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31983 $(HOST_EXPORTS) \
31984 for flag in $(EXTRA_HOST_FLAGS) ; do \
31985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31986 done; \
31987 echo "Doing install-pdf in sed" ; \
31988 (cd $(HOST_SUBDIR)/sed && \
31989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31991 "RANLIB=$${RANLIB}" \
31992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31993 install-pdf) \
31994 || exit 1
31996 @endif sed
31998 .PHONY: maybe-install-html-sed install-html-sed
31999 maybe-install-html-sed:
32000 @if sed
32001 maybe-install-html-sed: install-html-sed
32003 install-html-sed: \
32004 configure-sed \
32005 html-sed
32006 @: $(MAKE); $(unstage)
32007 @[ -f ./sed/Makefile ] || exit 0; \
32008 r=`${PWD_COMMAND}`; export r; \
32009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32010 $(HOST_EXPORTS) \
32011 for flag in $(EXTRA_HOST_FLAGS) ; do \
32012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32013 done; \
32014 echo "Doing install-html in sed" ; \
32015 (cd $(HOST_SUBDIR)/sed && \
32016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32018 "RANLIB=$${RANLIB}" \
32019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32020 install-html) \
32021 || exit 1
32023 @endif sed
32025 .PHONY: maybe-installcheck-sed installcheck-sed
32026 maybe-installcheck-sed:
32027 @if sed
32028 maybe-installcheck-sed: installcheck-sed
32030 installcheck-sed: \
32031 configure-sed
32032 @: $(MAKE); $(unstage)
32033 @[ -f ./sed/Makefile ] || exit 0; \
32034 r=`${PWD_COMMAND}`; export r; \
32035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32036 $(HOST_EXPORTS) \
32037 for flag in $(EXTRA_HOST_FLAGS) ; do \
32038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32039 done; \
32040 echo "Doing installcheck in sed" ; \
32041 (cd $(HOST_SUBDIR)/sed && \
32042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32044 "RANLIB=$${RANLIB}" \
32045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32046 installcheck) \
32047 || exit 1
32049 @endif sed
32051 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
32052 maybe-mostlyclean-sed:
32053 @if sed
32054 maybe-mostlyclean-sed: mostlyclean-sed
32056 mostlyclean-sed:
32057 @: $(MAKE); $(unstage)
32058 @[ -f ./sed/Makefile ] || exit 0; \
32059 r=`${PWD_COMMAND}`; export r; \
32060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32061 $(HOST_EXPORTS) \
32062 for flag in $(EXTRA_HOST_FLAGS) ; do \
32063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32064 done; \
32065 echo "Doing mostlyclean in sed" ; \
32066 (cd $(HOST_SUBDIR)/sed && \
32067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32069 "RANLIB=$${RANLIB}" \
32070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32071 mostlyclean) \
32072 || exit 1
32074 @endif sed
32076 .PHONY: maybe-clean-sed clean-sed
32077 maybe-clean-sed:
32078 @if sed
32079 maybe-clean-sed: clean-sed
32081 clean-sed:
32082 @: $(MAKE); $(unstage)
32083 @[ -f ./sed/Makefile ] || exit 0; \
32084 r=`${PWD_COMMAND}`; export r; \
32085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32086 $(HOST_EXPORTS) \
32087 for flag in $(EXTRA_HOST_FLAGS) ; do \
32088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32089 done; \
32090 echo "Doing clean in sed" ; \
32091 (cd $(HOST_SUBDIR)/sed && \
32092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32094 "RANLIB=$${RANLIB}" \
32095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32096 clean) \
32097 || exit 1
32099 @endif sed
32101 .PHONY: maybe-distclean-sed distclean-sed
32102 maybe-distclean-sed:
32103 @if sed
32104 maybe-distclean-sed: distclean-sed
32106 distclean-sed:
32107 @: $(MAKE); $(unstage)
32108 @[ -f ./sed/Makefile ] || exit 0; \
32109 r=`${PWD_COMMAND}`; export r; \
32110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32111 $(HOST_EXPORTS) \
32112 for flag in $(EXTRA_HOST_FLAGS) ; do \
32113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32114 done; \
32115 echo "Doing distclean in sed" ; \
32116 (cd $(HOST_SUBDIR)/sed && \
32117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32119 "RANLIB=$${RANLIB}" \
32120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32121 distclean) \
32122 || exit 1
32124 @endif sed
32126 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
32127 maybe-maintainer-clean-sed:
32128 @if sed
32129 maybe-maintainer-clean-sed: maintainer-clean-sed
32131 maintainer-clean-sed:
32132 @: $(MAKE); $(unstage)
32133 @[ -f ./sed/Makefile ] || exit 0; \
32134 r=`${PWD_COMMAND}`; export r; \
32135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32136 $(HOST_EXPORTS) \
32137 for flag in $(EXTRA_HOST_FLAGS) ; do \
32138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32139 done; \
32140 echo "Doing maintainer-clean in sed" ; \
32141 (cd $(HOST_SUBDIR)/sed && \
32142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32144 "RANLIB=$${RANLIB}" \
32145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32146 maintainer-clean) \
32147 || exit 1
32149 @endif sed
32153 .PHONY: configure-send-pr maybe-configure-send-pr
32154 maybe-configure-send-pr:
32155 @if gcc-bootstrap
32156 configure-send-pr: stage_current
32157 @endif gcc-bootstrap
32158 @if send-pr
32159 maybe-configure-send-pr: configure-send-pr
32160 configure-send-pr:
32161 @: $(MAKE); $(unstage)
32162 @r=`${PWD_COMMAND}`; export r; \
32163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32164 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
32165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
32166 $(HOST_EXPORTS) \
32167 echo Configuring in $(HOST_SUBDIR)/send-pr; \
32168 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
32169 case $(srcdir) in \
32170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32171 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
32172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32173 esac; \
32174 srcdiroption="--srcdir=$${topdir}/send-pr"; \
32175 libsrcdir="$$s/send-pr"; \
32176 $(SHELL) $${libsrcdir}/configure \
32177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32178 --target=${target_alias} $${srcdiroption} \
32179 || exit 1
32180 @endif send-pr
32186 .PHONY: all-send-pr maybe-all-send-pr
32187 maybe-all-send-pr:
32188 @if gcc-bootstrap
32189 all-send-pr: stage_current
32190 @endif gcc-bootstrap
32191 @if send-pr
32192 TARGET-send-pr=all
32193 maybe-all-send-pr: all-send-pr
32194 all-send-pr: configure-send-pr
32195 @: $(MAKE); $(unstage)
32196 @r=`${PWD_COMMAND}`; export r; \
32197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32198 $(HOST_EXPORTS) \
32199 (cd $(HOST_SUBDIR)/send-pr && \
32200 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32201 $(TARGET-send-pr))
32202 @endif send-pr
32207 .PHONY: check-send-pr maybe-check-send-pr
32208 maybe-check-send-pr:
32209 @if send-pr
32210 maybe-check-send-pr: check-send-pr
32212 check-send-pr:
32213 @: $(MAKE); $(unstage)
32214 @r=`${PWD_COMMAND}`; export r; \
32215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32216 $(HOST_EXPORTS) \
32217 (cd $(HOST_SUBDIR)/send-pr && \
32218 $(MAKE) $(FLAGS_TO_PASS) check)
32220 @endif send-pr
32222 .PHONY: install-send-pr maybe-install-send-pr
32223 maybe-install-send-pr:
32224 @if send-pr
32225 maybe-install-send-pr: install-send-pr
32227 install-send-pr: installdirs
32228 @: $(MAKE); $(unstage)
32229 @r=`${PWD_COMMAND}`; export r; \
32230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32231 $(HOST_EXPORTS) \
32232 (cd $(HOST_SUBDIR)/send-pr && \
32233 $(MAKE) $(FLAGS_TO_PASS) install)
32235 @endif send-pr
32237 # Other targets (info, dvi, pdf, etc.)
32239 .PHONY: maybe-info-send-pr info-send-pr
32240 maybe-info-send-pr:
32241 @if send-pr
32242 maybe-info-send-pr: info-send-pr
32244 info-send-pr: \
32245 configure-send-pr
32246 @: $(MAKE); $(unstage)
32247 @[ -f ./send-pr/Makefile ] || exit 0; \
32248 r=`${PWD_COMMAND}`; export r; \
32249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32250 $(HOST_EXPORTS) \
32251 for flag in $(EXTRA_HOST_FLAGS) ; do \
32252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32253 done; \
32254 echo "Doing info in send-pr" ; \
32255 (cd $(HOST_SUBDIR)/send-pr && \
32256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32258 "RANLIB=$${RANLIB}" \
32259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32260 info) \
32261 || exit 1
32263 @endif send-pr
32265 .PHONY: maybe-dvi-send-pr dvi-send-pr
32266 maybe-dvi-send-pr:
32267 @if send-pr
32268 maybe-dvi-send-pr: dvi-send-pr
32270 dvi-send-pr: \
32271 configure-send-pr
32272 @: $(MAKE); $(unstage)
32273 @[ -f ./send-pr/Makefile ] || exit 0; \
32274 r=`${PWD_COMMAND}`; export r; \
32275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32276 $(HOST_EXPORTS) \
32277 for flag in $(EXTRA_HOST_FLAGS) ; do \
32278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32279 done; \
32280 echo "Doing dvi in send-pr" ; \
32281 (cd $(HOST_SUBDIR)/send-pr && \
32282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32284 "RANLIB=$${RANLIB}" \
32285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32286 dvi) \
32287 || exit 1
32289 @endif send-pr
32291 .PHONY: maybe-pdf-send-pr pdf-send-pr
32292 maybe-pdf-send-pr:
32293 @if send-pr
32294 maybe-pdf-send-pr: pdf-send-pr
32296 pdf-send-pr: \
32297 configure-send-pr
32298 @: $(MAKE); $(unstage)
32299 @[ -f ./send-pr/Makefile ] || exit 0; \
32300 r=`${PWD_COMMAND}`; export r; \
32301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32302 $(HOST_EXPORTS) \
32303 for flag in $(EXTRA_HOST_FLAGS) ; do \
32304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32305 done; \
32306 echo "Doing pdf in send-pr" ; \
32307 (cd $(HOST_SUBDIR)/send-pr && \
32308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32310 "RANLIB=$${RANLIB}" \
32311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32312 pdf) \
32313 || exit 1
32315 @endif send-pr
32317 .PHONY: maybe-html-send-pr html-send-pr
32318 maybe-html-send-pr:
32319 @if send-pr
32320 maybe-html-send-pr: html-send-pr
32322 html-send-pr: \
32323 configure-send-pr
32324 @: $(MAKE); $(unstage)
32325 @[ -f ./send-pr/Makefile ] || exit 0; \
32326 r=`${PWD_COMMAND}`; export r; \
32327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32328 $(HOST_EXPORTS) \
32329 for flag in $(EXTRA_HOST_FLAGS) ; do \
32330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32331 done; \
32332 echo "Doing html in send-pr" ; \
32333 (cd $(HOST_SUBDIR)/send-pr && \
32334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32336 "RANLIB=$${RANLIB}" \
32337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32338 html) \
32339 || exit 1
32341 @endif send-pr
32343 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
32344 maybe-TAGS-send-pr:
32345 @if send-pr
32346 maybe-TAGS-send-pr: TAGS-send-pr
32348 TAGS-send-pr: \
32349 configure-send-pr
32350 @: $(MAKE); $(unstage)
32351 @[ -f ./send-pr/Makefile ] || exit 0; \
32352 r=`${PWD_COMMAND}`; export r; \
32353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32354 $(HOST_EXPORTS) \
32355 for flag in $(EXTRA_HOST_FLAGS) ; do \
32356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32357 done; \
32358 echo "Doing TAGS in send-pr" ; \
32359 (cd $(HOST_SUBDIR)/send-pr && \
32360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32362 "RANLIB=$${RANLIB}" \
32363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32364 TAGS) \
32365 || exit 1
32367 @endif send-pr
32369 .PHONY: maybe-install-info-send-pr install-info-send-pr
32370 maybe-install-info-send-pr:
32371 @if send-pr
32372 maybe-install-info-send-pr: install-info-send-pr
32374 install-info-send-pr: \
32375 configure-send-pr \
32376 info-send-pr
32377 @: $(MAKE); $(unstage)
32378 @[ -f ./send-pr/Makefile ] || exit 0; \
32379 r=`${PWD_COMMAND}`; export r; \
32380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32381 $(HOST_EXPORTS) \
32382 for flag in $(EXTRA_HOST_FLAGS) ; do \
32383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32384 done; \
32385 echo "Doing install-info in send-pr" ; \
32386 (cd $(HOST_SUBDIR)/send-pr && \
32387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32389 "RANLIB=$${RANLIB}" \
32390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32391 install-info) \
32392 || exit 1
32394 @endif send-pr
32396 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
32397 maybe-install-pdf-send-pr:
32398 @if send-pr
32399 maybe-install-pdf-send-pr: install-pdf-send-pr
32401 install-pdf-send-pr: \
32402 configure-send-pr \
32403 pdf-send-pr
32404 @: $(MAKE); $(unstage)
32405 @[ -f ./send-pr/Makefile ] || exit 0; \
32406 r=`${PWD_COMMAND}`; export r; \
32407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32408 $(HOST_EXPORTS) \
32409 for flag in $(EXTRA_HOST_FLAGS) ; do \
32410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32411 done; \
32412 echo "Doing install-pdf in send-pr" ; \
32413 (cd $(HOST_SUBDIR)/send-pr && \
32414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32416 "RANLIB=$${RANLIB}" \
32417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32418 install-pdf) \
32419 || exit 1
32421 @endif send-pr
32423 .PHONY: maybe-install-html-send-pr install-html-send-pr
32424 maybe-install-html-send-pr:
32425 @if send-pr
32426 maybe-install-html-send-pr: install-html-send-pr
32428 install-html-send-pr: \
32429 configure-send-pr \
32430 html-send-pr
32431 @: $(MAKE); $(unstage)
32432 @[ -f ./send-pr/Makefile ] || exit 0; \
32433 r=`${PWD_COMMAND}`; export r; \
32434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32435 $(HOST_EXPORTS) \
32436 for flag in $(EXTRA_HOST_FLAGS) ; do \
32437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32438 done; \
32439 echo "Doing install-html in send-pr" ; \
32440 (cd $(HOST_SUBDIR)/send-pr && \
32441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32443 "RANLIB=$${RANLIB}" \
32444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32445 install-html) \
32446 || exit 1
32448 @endif send-pr
32450 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
32451 maybe-installcheck-send-pr:
32452 @if send-pr
32453 maybe-installcheck-send-pr: installcheck-send-pr
32455 installcheck-send-pr: \
32456 configure-send-pr
32457 @: $(MAKE); $(unstage)
32458 @[ -f ./send-pr/Makefile ] || exit 0; \
32459 r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(HOST_EXPORTS) \
32462 for flag in $(EXTRA_HOST_FLAGS) ; do \
32463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32464 done; \
32465 echo "Doing installcheck in send-pr" ; \
32466 (cd $(HOST_SUBDIR)/send-pr && \
32467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32469 "RANLIB=$${RANLIB}" \
32470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32471 installcheck) \
32472 || exit 1
32474 @endif send-pr
32476 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
32477 maybe-mostlyclean-send-pr:
32478 @if send-pr
32479 maybe-mostlyclean-send-pr: mostlyclean-send-pr
32481 mostlyclean-send-pr:
32482 @: $(MAKE); $(unstage)
32483 @[ -f ./send-pr/Makefile ] || exit 0; \
32484 r=`${PWD_COMMAND}`; export r; \
32485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32486 $(HOST_EXPORTS) \
32487 for flag in $(EXTRA_HOST_FLAGS) ; do \
32488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32489 done; \
32490 echo "Doing mostlyclean in send-pr" ; \
32491 (cd $(HOST_SUBDIR)/send-pr && \
32492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32494 "RANLIB=$${RANLIB}" \
32495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32496 mostlyclean) \
32497 || exit 1
32499 @endif send-pr
32501 .PHONY: maybe-clean-send-pr clean-send-pr
32502 maybe-clean-send-pr:
32503 @if send-pr
32504 maybe-clean-send-pr: clean-send-pr
32506 clean-send-pr:
32507 @: $(MAKE); $(unstage)
32508 @[ -f ./send-pr/Makefile ] || exit 0; \
32509 r=`${PWD_COMMAND}`; export r; \
32510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32511 $(HOST_EXPORTS) \
32512 for flag in $(EXTRA_HOST_FLAGS) ; do \
32513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32514 done; \
32515 echo "Doing clean in send-pr" ; \
32516 (cd $(HOST_SUBDIR)/send-pr && \
32517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32519 "RANLIB=$${RANLIB}" \
32520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32521 clean) \
32522 || exit 1
32524 @endif send-pr
32526 .PHONY: maybe-distclean-send-pr distclean-send-pr
32527 maybe-distclean-send-pr:
32528 @if send-pr
32529 maybe-distclean-send-pr: distclean-send-pr
32531 distclean-send-pr:
32532 @: $(MAKE); $(unstage)
32533 @[ -f ./send-pr/Makefile ] || exit 0; \
32534 r=`${PWD_COMMAND}`; export r; \
32535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32536 $(HOST_EXPORTS) \
32537 for flag in $(EXTRA_HOST_FLAGS) ; do \
32538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32539 done; \
32540 echo "Doing distclean in send-pr" ; \
32541 (cd $(HOST_SUBDIR)/send-pr && \
32542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32544 "RANLIB=$${RANLIB}" \
32545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32546 distclean) \
32547 || exit 1
32549 @endif send-pr
32551 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
32552 maybe-maintainer-clean-send-pr:
32553 @if send-pr
32554 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
32556 maintainer-clean-send-pr:
32557 @: $(MAKE); $(unstage)
32558 @[ -f ./send-pr/Makefile ] || exit 0; \
32559 r=`${PWD_COMMAND}`; export r; \
32560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32561 $(HOST_EXPORTS) \
32562 for flag in $(EXTRA_HOST_FLAGS) ; do \
32563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32564 done; \
32565 echo "Doing maintainer-clean in send-pr" ; \
32566 (cd $(HOST_SUBDIR)/send-pr && \
32567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32569 "RANLIB=$${RANLIB}" \
32570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32571 maintainer-clean) \
32572 || exit 1
32574 @endif send-pr
32578 .PHONY: configure-shellutils maybe-configure-shellutils
32579 maybe-configure-shellutils:
32580 @if gcc-bootstrap
32581 configure-shellutils: stage_current
32582 @endif gcc-bootstrap
32583 @if shellutils
32584 maybe-configure-shellutils: configure-shellutils
32585 configure-shellutils:
32586 @: $(MAKE); $(unstage)
32587 @r=`${PWD_COMMAND}`; export r; \
32588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32589 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
32590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
32591 $(HOST_EXPORTS) \
32592 echo Configuring in $(HOST_SUBDIR)/shellutils; \
32593 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
32594 case $(srcdir) in \
32595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32596 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
32597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32598 esac; \
32599 srcdiroption="--srcdir=$${topdir}/shellutils"; \
32600 libsrcdir="$$s/shellutils"; \
32601 $(SHELL) $${libsrcdir}/configure \
32602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32603 --target=${target_alias} $${srcdiroption} \
32604 || exit 1
32605 @endif shellutils
32611 .PHONY: all-shellutils maybe-all-shellutils
32612 maybe-all-shellutils:
32613 @if gcc-bootstrap
32614 all-shellutils: stage_current
32615 @endif gcc-bootstrap
32616 @if shellutils
32617 TARGET-shellutils=all
32618 maybe-all-shellutils: all-shellutils
32619 all-shellutils: configure-shellutils
32620 @: $(MAKE); $(unstage)
32621 @r=`${PWD_COMMAND}`; export r; \
32622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32623 $(HOST_EXPORTS) \
32624 (cd $(HOST_SUBDIR)/shellutils && \
32625 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
32626 $(TARGET-shellutils))
32627 @endif shellutils
32632 .PHONY: check-shellutils maybe-check-shellutils
32633 maybe-check-shellutils:
32634 @if shellutils
32635 maybe-check-shellutils: check-shellutils
32637 check-shellutils:
32638 @: $(MAKE); $(unstage)
32639 @r=`${PWD_COMMAND}`; export r; \
32640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32641 $(HOST_EXPORTS) \
32642 (cd $(HOST_SUBDIR)/shellutils && \
32643 $(MAKE) $(FLAGS_TO_PASS) check)
32645 @endif shellutils
32647 .PHONY: install-shellutils maybe-install-shellutils
32648 maybe-install-shellutils:
32649 @if shellutils
32650 maybe-install-shellutils: install-shellutils
32652 install-shellutils: installdirs
32653 @: $(MAKE); $(unstage)
32654 @r=`${PWD_COMMAND}`; export r; \
32655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32656 $(HOST_EXPORTS) \
32657 (cd $(HOST_SUBDIR)/shellutils && \
32658 $(MAKE) $(FLAGS_TO_PASS) install)
32660 @endif shellutils
32662 # Other targets (info, dvi, pdf, etc.)
32664 .PHONY: maybe-info-shellutils info-shellutils
32665 maybe-info-shellutils:
32666 @if shellutils
32667 maybe-info-shellutils: info-shellutils
32669 info-shellutils: \
32670 configure-shellutils
32671 @: $(MAKE); $(unstage)
32672 @[ -f ./shellutils/Makefile ] || exit 0; \
32673 r=`${PWD_COMMAND}`; export r; \
32674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32675 $(HOST_EXPORTS) \
32676 for flag in $(EXTRA_HOST_FLAGS) ; do \
32677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32678 done; \
32679 echo "Doing info in shellutils" ; \
32680 (cd $(HOST_SUBDIR)/shellutils && \
32681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32683 "RANLIB=$${RANLIB}" \
32684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32685 info) \
32686 || exit 1
32688 @endif shellutils
32690 .PHONY: maybe-dvi-shellutils dvi-shellutils
32691 maybe-dvi-shellutils:
32692 @if shellutils
32693 maybe-dvi-shellutils: dvi-shellutils
32695 dvi-shellutils: \
32696 configure-shellutils
32697 @: $(MAKE); $(unstage)
32698 @[ -f ./shellutils/Makefile ] || exit 0; \
32699 r=`${PWD_COMMAND}`; export r; \
32700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32701 $(HOST_EXPORTS) \
32702 for flag in $(EXTRA_HOST_FLAGS) ; do \
32703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32704 done; \
32705 echo "Doing dvi in shellutils" ; \
32706 (cd $(HOST_SUBDIR)/shellutils && \
32707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32709 "RANLIB=$${RANLIB}" \
32710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32711 dvi) \
32712 || exit 1
32714 @endif shellutils
32716 .PHONY: maybe-pdf-shellutils pdf-shellutils
32717 maybe-pdf-shellutils:
32718 @if shellutils
32719 maybe-pdf-shellutils: pdf-shellutils
32721 pdf-shellutils: \
32722 configure-shellutils
32723 @: $(MAKE); $(unstage)
32724 @[ -f ./shellutils/Makefile ] || exit 0; \
32725 r=`${PWD_COMMAND}`; export r; \
32726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32727 $(HOST_EXPORTS) \
32728 for flag in $(EXTRA_HOST_FLAGS) ; do \
32729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32730 done; \
32731 echo "Doing pdf in shellutils" ; \
32732 (cd $(HOST_SUBDIR)/shellutils && \
32733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32735 "RANLIB=$${RANLIB}" \
32736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32737 pdf) \
32738 || exit 1
32740 @endif shellutils
32742 .PHONY: maybe-html-shellutils html-shellutils
32743 maybe-html-shellutils:
32744 @if shellutils
32745 maybe-html-shellutils: html-shellutils
32747 html-shellutils: \
32748 configure-shellutils
32749 @: $(MAKE); $(unstage)
32750 @[ -f ./shellutils/Makefile ] || exit 0; \
32751 r=`${PWD_COMMAND}`; export r; \
32752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32753 $(HOST_EXPORTS) \
32754 for flag in $(EXTRA_HOST_FLAGS) ; do \
32755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32756 done; \
32757 echo "Doing html in shellutils" ; \
32758 (cd $(HOST_SUBDIR)/shellutils && \
32759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32761 "RANLIB=$${RANLIB}" \
32762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32763 html) \
32764 || exit 1
32766 @endif shellutils
32768 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
32769 maybe-TAGS-shellutils:
32770 @if shellutils
32771 maybe-TAGS-shellutils: TAGS-shellutils
32773 TAGS-shellutils: \
32774 configure-shellutils
32775 @: $(MAKE); $(unstage)
32776 @[ -f ./shellutils/Makefile ] || exit 0; \
32777 r=`${PWD_COMMAND}`; export r; \
32778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32779 $(HOST_EXPORTS) \
32780 for flag in $(EXTRA_HOST_FLAGS) ; do \
32781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32782 done; \
32783 echo "Doing TAGS in shellutils" ; \
32784 (cd $(HOST_SUBDIR)/shellutils && \
32785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32787 "RANLIB=$${RANLIB}" \
32788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32789 TAGS) \
32790 || exit 1
32792 @endif shellutils
32794 .PHONY: maybe-install-info-shellutils install-info-shellutils
32795 maybe-install-info-shellutils:
32796 @if shellutils
32797 maybe-install-info-shellutils: install-info-shellutils
32799 install-info-shellutils: \
32800 configure-shellutils \
32801 info-shellutils
32802 @: $(MAKE); $(unstage)
32803 @[ -f ./shellutils/Makefile ] || exit 0; \
32804 r=`${PWD_COMMAND}`; export r; \
32805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32806 $(HOST_EXPORTS) \
32807 for flag in $(EXTRA_HOST_FLAGS) ; do \
32808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32809 done; \
32810 echo "Doing install-info in shellutils" ; \
32811 (cd $(HOST_SUBDIR)/shellutils && \
32812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32814 "RANLIB=$${RANLIB}" \
32815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32816 install-info) \
32817 || exit 1
32819 @endif shellutils
32821 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
32822 maybe-install-pdf-shellutils:
32823 @if shellutils
32824 maybe-install-pdf-shellutils: install-pdf-shellutils
32826 install-pdf-shellutils: \
32827 configure-shellutils \
32828 pdf-shellutils
32829 @: $(MAKE); $(unstage)
32830 @[ -f ./shellutils/Makefile ] || exit 0; \
32831 r=`${PWD_COMMAND}`; export r; \
32832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32833 $(HOST_EXPORTS) \
32834 for flag in $(EXTRA_HOST_FLAGS) ; do \
32835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32836 done; \
32837 echo "Doing install-pdf in shellutils" ; \
32838 (cd $(HOST_SUBDIR)/shellutils && \
32839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32841 "RANLIB=$${RANLIB}" \
32842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32843 install-pdf) \
32844 || exit 1
32846 @endif shellutils
32848 .PHONY: maybe-install-html-shellutils install-html-shellutils
32849 maybe-install-html-shellutils:
32850 @if shellutils
32851 maybe-install-html-shellutils: install-html-shellutils
32853 install-html-shellutils: \
32854 configure-shellutils \
32855 html-shellutils
32856 @: $(MAKE); $(unstage)
32857 @[ -f ./shellutils/Makefile ] || exit 0; \
32858 r=`${PWD_COMMAND}`; export r; \
32859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32860 $(HOST_EXPORTS) \
32861 for flag in $(EXTRA_HOST_FLAGS) ; do \
32862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32863 done; \
32864 echo "Doing install-html in shellutils" ; \
32865 (cd $(HOST_SUBDIR)/shellutils && \
32866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32868 "RANLIB=$${RANLIB}" \
32869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32870 install-html) \
32871 || exit 1
32873 @endif shellutils
32875 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
32876 maybe-installcheck-shellutils:
32877 @if shellutils
32878 maybe-installcheck-shellutils: installcheck-shellutils
32880 installcheck-shellutils: \
32881 configure-shellutils
32882 @: $(MAKE); $(unstage)
32883 @[ -f ./shellutils/Makefile ] || exit 0; \
32884 r=`${PWD_COMMAND}`; export r; \
32885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32886 $(HOST_EXPORTS) \
32887 for flag in $(EXTRA_HOST_FLAGS) ; do \
32888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32889 done; \
32890 echo "Doing installcheck in shellutils" ; \
32891 (cd $(HOST_SUBDIR)/shellutils && \
32892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32894 "RANLIB=$${RANLIB}" \
32895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32896 installcheck) \
32897 || exit 1
32899 @endif shellutils
32901 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
32902 maybe-mostlyclean-shellutils:
32903 @if shellutils
32904 maybe-mostlyclean-shellutils: mostlyclean-shellutils
32906 mostlyclean-shellutils:
32907 @: $(MAKE); $(unstage)
32908 @[ -f ./shellutils/Makefile ] || exit 0; \
32909 r=`${PWD_COMMAND}`; export r; \
32910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32911 $(HOST_EXPORTS) \
32912 for flag in $(EXTRA_HOST_FLAGS) ; do \
32913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32914 done; \
32915 echo "Doing mostlyclean in shellutils" ; \
32916 (cd $(HOST_SUBDIR)/shellutils && \
32917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32919 "RANLIB=$${RANLIB}" \
32920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32921 mostlyclean) \
32922 || exit 1
32924 @endif shellutils
32926 .PHONY: maybe-clean-shellutils clean-shellutils
32927 maybe-clean-shellutils:
32928 @if shellutils
32929 maybe-clean-shellutils: clean-shellutils
32931 clean-shellutils:
32932 @: $(MAKE); $(unstage)
32933 @[ -f ./shellutils/Makefile ] || exit 0; \
32934 r=`${PWD_COMMAND}`; export r; \
32935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32936 $(HOST_EXPORTS) \
32937 for flag in $(EXTRA_HOST_FLAGS) ; do \
32938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32939 done; \
32940 echo "Doing clean in shellutils" ; \
32941 (cd $(HOST_SUBDIR)/shellutils && \
32942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32944 "RANLIB=$${RANLIB}" \
32945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32946 clean) \
32947 || exit 1
32949 @endif shellutils
32951 .PHONY: maybe-distclean-shellutils distclean-shellutils
32952 maybe-distclean-shellutils:
32953 @if shellutils
32954 maybe-distclean-shellutils: distclean-shellutils
32956 distclean-shellutils:
32957 @: $(MAKE); $(unstage)
32958 @[ -f ./shellutils/Makefile ] || exit 0; \
32959 r=`${PWD_COMMAND}`; export r; \
32960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32961 $(HOST_EXPORTS) \
32962 for flag in $(EXTRA_HOST_FLAGS) ; do \
32963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32964 done; \
32965 echo "Doing distclean in shellutils" ; \
32966 (cd $(HOST_SUBDIR)/shellutils && \
32967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32969 "RANLIB=$${RANLIB}" \
32970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32971 distclean) \
32972 || exit 1
32974 @endif shellutils
32976 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
32977 maybe-maintainer-clean-shellutils:
32978 @if shellutils
32979 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
32981 maintainer-clean-shellutils:
32982 @: $(MAKE); $(unstage)
32983 @[ -f ./shellutils/Makefile ] || exit 0; \
32984 r=`${PWD_COMMAND}`; export r; \
32985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32986 $(HOST_EXPORTS) \
32987 for flag in $(EXTRA_HOST_FLAGS) ; do \
32988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32989 done; \
32990 echo "Doing maintainer-clean in shellutils" ; \
32991 (cd $(HOST_SUBDIR)/shellutils && \
32992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32994 "RANLIB=$${RANLIB}" \
32995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32996 maintainer-clean) \
32997 || exit 1
32999 @endif shellutils
33003 .PHONY: configure-sid maybe-configure-sid
33004 maybe-configure-sid:
33005 @if gcc-bootstrap
33006 configure-sid: stage_current
33007 @endif gcc-bootstrap
33008 @if sid
33009 maybe-configure-sid: configure-sid
33010 configure-sid:
33011 @: $(MAKE); $(unstage)
33012 @r=`${PWD_COMMAND}`; export r; \
33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33014 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
33015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
33016 $(HOST_EXPORTS) \
33017 echo Configuring in $(HOST_SUBDIR)/sid; \
33018 cd "$(HOST_SUBDIR)/sid" || exit 1; \
33019 case $(srcdir) in \
33020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33021 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
33022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33023 esac; \
33024 srcdiroption="--srcdir=$${topdir}/sid"; \
33025 libsrcdir="$$s/sid"; \
33026 $(SHELL) $${libsrcdir}/configure \
33027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33028 --target=${target_alias} $${srcdiroption} \
33029 || exit 1
33030 @endif sid
33036 .PHONY: all-sid maybe-all-sid
33037 maybe-all-sid:
33038 @if gcc-bootstrap
33039 all-sid: stage_current
33040 @endif gcc-bootstrap
33041 @if sid
33042 TARGET-sid=all
33043 maybe-all-sid: all-sid
33044 all-sid: configure-sid
33045 @: $(MAKE); $(unstage)
33046 @r=`${PWD_COMMAND}`; export r; \
33047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33048 $(HOST_EXPORTS) \
33049 (cd $(HOST_SUBDIR)/sid && \
33050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33051 $(TARGET-sid))
33052 @endif sid
33057 .PHONY: check-sid maybe-check-sid
33058 maybe-check-sid:
33059 @if sid
33060 maybe-check-sid: check-sid
33062 check-sid:
33063 @: $(MAKE); $(unstage)
33064 @r=`${PWD_COMMAND}`; export r; \
33065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33066 $(HOST_EXPORTS) \
33067 (cd $(HOST_SUBDIR)/sid && \
33068 $(MAKE) $(FLAGS_TO_PASS) check)
33070 @endif sid
33072 .PHONY: install-sid maybe-install-sid
33073 maybe-install-sid:
33074 @if sid
33075 maybe-install-sid: install-sid
33077 install-sid: installdirs
33078 @: $(MAKE); $(unstage)
33079 @r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(HOST_EXPORTS) \
33082 (cd $(HOST_SUBDIR)/sid && \
33083 $(MAKE) $(FLAGS_TO_PASS) install)
33085 @endif sid
33087 # Other targets (info, dvi, pdf, etc.)
33089 .PHONY: maybe-info-sid info-sid
33090 maybe-info-sid:
33091 @if sid
33092 maybe-info-sid: info-sid
33094 info-sid: \
33095 configure-sid
33096 @: $(MAKE); $(unstage)
33097 @[ -f ./sid/Makefile ] || exit 0; \
33098 r=`${PWD_COMMAND}`; export r; \
33099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33100 $(HOST_EXPORTS) \
33101 for flag in $(EXTRA_HOST_FLAGS) ; do \
33102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33103 done; \
33104 echo "Doing info in sid" ; \
33105 (cd $(HOST_SUBDIR)/sid && \
33106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33108 "RANLIB=$${RANLIB}" \
33109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33110 info) \
33111 || exit 1
33113 @endif sid
33115 .PHONY: maybe-dvi-sid dvi-sid
33116 maybe-dvi-sid:
33117 @if sid
33118 maybe-dvi-sid: dvi-sid
33120 dvi-sid: \
33121 configure-sid
33122 @: $(MAKE); $(unstage)
33123 @[ -f ./sid/Makefile ] || exit 0; \
33124 r=`${PWD_COMMAND}`; export r; \
33125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33126 $(HOST_EXPORTS) \
33127 for flag in $(EXTRA_HOST_FLAGS) ; do \
33128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33129 done; \
33130 echo "Doing dvi in sid" ; \
33131 (cd $(HOST_SUBDIR)/sid && \
33132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33134 "RANLIB=$${RANLIB}" \
33135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33136 dvi) \
33137 || exit 1
33139 @endif sid
33141 .PHONY: maybe-pdf-sid pdf-sid
33142 maybe-pdf-sid:
33143 @if sid
33144 maybe-pdf-sid: pdf-sid
33146 pdf-sid: \
33147 configure-sid
33148 @: $(MAKE); $(unstage)
33149 @[ -f ./sid/Makefile ] || exit 0; \
33150 r=`${PWD_COMMAND}`; export r; \
33151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33152 $(HOST_EXPORTS) \
33153 for flag in $(EXTRA_HOST_FLAGS) ; do \
33154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33155 done; \
33156 echo "Doing pdf in sid" ; \
33157 (cd $(HOST_SUBDIR)/sid && \
33158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33160 "RANLIB=$${RANLIB}" \
33161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33162 pdf) \
33163 || exit 1
33165 @endif sid
33167 .PHONY: maybe-html-sid html-sid
33168 maybe-html-sid:
33169 @if sid
33170 maybe-html-sid: html-sid
33172 html-sid: \
33173 configure-sid
33174 @: $(MAKE); $(unstage)
33175 @[ -f ./sid/Makefile ] || exit 0; \
33176 r=`${PWD_COMMAND}`; export r; \
33177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33178 $(HOST_EXPORTS) \
33179 for flag in $(EXTRA_HOST_FLAGS) ; do \
33180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33181 done; \
33182 echo "Doing html in sid" ; \
33183 (cd $(HOST_SUBDIR)/sid && \
33184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33186 "RANLIB=$${RANLIB}" \
33187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33188 html) \
33189 || exit 1
33191 @endif sid
33193 .PHONY: maybe-TAGS-sid TAGS-sid
33194 maybe-TAGS-sid:
33195 @if sid
33196 maybe-TAGS-sid: TAGS-sid
33198 TAGS-sid: \
33199 configure-sid
33200 @: $(MAKE); $(unstage)
33201 @[ -f ./sid/Makefile ] || exit 0; \
33202 r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(HOST_EXPORTS) \
33205 for flag in $(EXTRA_HOST_FLAGS) ; do \
33206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33207 done; \
33208 echo "Doing TAGS in sid" ; \
33209 (cd $(HOST_SUBDIR)/sid && \
33210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33212 "RANLIB=$${RANLIB}" \
33213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33214 TAGS) \
33215 || exit 1
33217 @endif sid
33219 .PHONY: maybe-install-info-sid install-info-sid
33220 maybe-install-info-sid:
33221 @if sid
33222 maybe-install-info-sid: install-info-sid
33224 install-info-sid: \
33225 configure-sid \
33226 info-sid
33227 @: $(MAKE); $(unstage)
33228 @[ -f ./sid/Makefile ] || exit 0; \
33229 r=`${PWD_COMMAND}`; export r; \
33230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33231 $(HOST_EXPORTS) \
33232 for flag in $(EXTRA_HOST_FLAGS) ; do \
33233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33234 done; \
33235 echo "Doing install-info in sid" ; \
33236 (cd $(HOST_SUBDIR)/sid && \
33237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33239 "RANLIB=$${RANLIB}" \
33240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33241 install-info) \
33242 || exit 1
33244 @endif sid
33246 .PHONY: maybe-install-pdf-sid install-pdf-sid
33247 maybe-install-pdf-sid:
33248 @if sid
33249 maybe-install-pdf-sid: install-pdf-sid
33251 install-pdf-sid: \
33252 configure-sid \
33253 pdf-sid
33254 @: $(MAKE); $(unstage)
33255 @[ -f ./sid/Makefile ] || exit 0; \
33256 r=`${PWD_COMMAND}`; export r; \
33257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33258 $(HOST_EXPORTS) \
33259 for flag in $(EXTRA_HOST_FLAGS) ; do \
33260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33261 done; \
33262 echo "Doing install-pdf in sid" ; \
33263 (cd $(HOST_SUBDIR)/sid && \
33264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33266 "RANLIB=$${RANLIB}" \
33267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33268 install-pdf) \
33269 || exit 1
33271 @endif sid
33273 .PHONY: maybe-install-html-sid install-html-sid
33274 maybe-install-html-sid:
33275 @if sid
33276 maybe-install-html-sid: install-html-sid
33278 install-html-sid: \
33279 configure-sid \
33280 html-sid
33281 @: $(MAKE); $(unstage)
33282 @[ -f ./sid/Makefile ] || exit 0; \
33283 r=`${PWD_COMMAND}`; export r; \
33284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33285 $(HOST_EXPORTS) \
33286 for flag in $(EXTRA_HOST_FLAGS) ; do \
33287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33288 done; \
33289 echo "Doing install-html in sid" ; \
33290 (cd $(HOST_SUBDIR)/sid && \
33291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33293 "RANLIB=$${RANLIB}" \
33294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33295 install-html) \
33296 || exit 1
33298 @endif sid
33300 .PHONY: maybe-installcheck-sid installcheck-sid
33301 maybe-installcheck-sid:
33302 @if sid
33303 maybe-installcheck-sid: installcheck-sid
33305 installcheck-sid: \
33306 configure-sid
33307 @: $(MAKE); $(unstage)
33308 @[ -f ./sid/Makefile ] || exit 0; \
33309 r=`${PWD_COMMAND}`; export r; \
33310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33311 $(HOST_EXPORTS) \
33312 for flag in $(EXTRA_HOST_FLAGS) ; do \
33313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33314 done; \
33315 echo "Doing installcheck in sid" ; \
33316 (cd $(HOST_SUBDIR)/sid && \
33317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33319 "RANLIB=$${RANLIB}" \
33320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33321 installcheck) \
33322 || exit 1
33324 @endif sid
33326 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
33327 maybe-mostlyclean-sid:
33328 @if sid
33329 maybe-mostlyclean-sid: mostlyclean-sid
33331 mostlyclean-sid:
33332 @: $(MAKE); $(unstage)
33333 @[ -f ./sid/Makefile ] || exit 0; \
33334 r=`${PWD_COMMAND}`; export r; \
33335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33336 $(HOST_EXPORTS) \
33337 for flag in $(EXTRA_HOST_FLAGS) ; do \
33338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33339 done; \
33340 echo "Doing mostlyclean in sid" ; \
33341 (cd $(HOST_SUBDIR)/sid && \
33342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33344 "RANLIB=$${RANLIB}" \
33345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33346 mostlyclean) \
33347 || exit 1
33349 @endif sid
33351 .PHONY: maybe-clean-sid clean-sid
33352 maybe-clean-sid:
33353 @if sid
33354 maybe-clean-sid: clean-sid
33356 clean-sid:
33357 @: $(MAKE); $(unstage)
33358 @[ -f ./sid/Makefile ] || exit 0; \
33359 r=`${PWD_COMMAND}`; export r; \
33360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33361 $(HOST_EXPORTS) \
33362 for flag in $(EXTRA_HOST_FLAGS) ; do \
33363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33364 done; \
33365 echo "Doing clean in sid" ; \
33366 (cd $(HOST_SUBDIR)/sid && \
33367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33369 "RANLIB=$${RANLIB}" \
33370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33371 clean) \
33372 || exit 1
33374 @endif sid
33376 .PHONY: maybe-distclean-sid distclean-sid
33377 maybe-distclean-sid:
33378 @if sid
33379 maybe-distclean-sid: distclean-sid
33381 distclean-sid:
33382 @: $(MAKE); $(unstage)
33383 @[ -f ./sid/Makefile ] || exit 0; \
33384 r=`${PWD_COMMAND}`; export r; \
33385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33386 $(HOST_EXPORTS) \
33387 for flag in $(EXTRA_HOST_FLAGS) ; do \
33388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33389 done; \
33390 echo "Doing distclean in sid" ; \
33391 (cd $(HOST_SUBDIR)/sid && \
33392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33394 "RANLIB=$${RANLIB}" \
33395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33396 distclean) \
33397 || exit 1
33399 @endif sid
33401 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
33402 maybe-maintainer-clean-sid:
33403 @if sid
33404 maybe-maintainer-clean-sid: maintainer-clean-sid
33406 maintainer-clean-sid:
33407 @: $(MAKE); $(unstage)
33408 @[ -f ./sid/Makefile ] || exit 0; \
33409 r=`${PWD_COMMAND}`; export r; \
33410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33411 $(HOST_EXPORTS) \
33412 for flag in $(EXTRA_HOST_FLAGS) ; do \
33413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33414 done; \
33415 echo "Doing maintainer-clean in sid" ; \
33416 (cd $(HOST_SUBDIR)/sid && \
33417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33419 "RANLIB=$${RANLIB}" \
33420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33421 maintainer-clean) \
33422 || exit 1
33424 @endif sid
33428 .PHONY: configure-sim maybe-configure-sim
33429 maybe-configure-sim:
33430 @if gcc-bootstrap
33431 configure-sim: stage_current
33432 @endif gcc-bootstrap
33433 @if sim
33434 maybe-configure-sim: configure-sim
33435 configure-sim:
33436 @: $(MAKE); $(unstage)
33437 @r=`${PWD_COMMAND}`; export r; \
33438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33439 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
33440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
33441 $(HOST_EXPORTS) \
33442 echo Configuring in $(HOST_SUBDIR)/sim; \
33443 cd "$(HOST_SUBDIR)/sim" || exit 1; \
33444 case $(srcdir) in \
33445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33446 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
33447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33448 esac; \
33449 srcdiroption="--srcdir=$${topdir}/sim"; \
33450 libsrcdir="$$s/sim"; \
33451 $(SHELL) $${libsrcdir}/configure \
33452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33453 --target=${target_alias} $${srcdiroption} \
33454 || exit 1
33455 @endif sim
33461 .PHONY: all-sim maybe-all-sim
33462 maybe-all-sim:
33463 @if gcc-bootstrap
33464 all-sim: stage_current
33465 @endif gcc-bootstrap
33466 @if sim
33467 TARGET-sim=all
33468 maybe-all-sim: all-sim
33469 all-sim: configure-sim
33470 @: $(MAKE); $(unstage)
33471 @r=`${PWD_COMMAND}`; export r; \
33472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33473 $(HOST_EXPORTS) \
33474 (cd $(HOST_SUBDIR)/sim && \
33475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33476 $(TARGET-sim))
33477 @endif sim
33482 .PHONY: check-sim maybe-check-sim
33483 maybe-check-sim:
33484 @if sim
33485 maybe-check-sim: check-sim
33487 check-sim:
33488 @: $(MAKE); $(unstage)
33489 @r=`${PWD_COMMAND}`; export r; \
33490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33491 $(HOST_EXPORTS) \
33492 (cd $(HOST_SUBDIR)/sim && \
33493 $(MAKE) $(FLAGS_TO_PASS) check)
33495 @endif sim
33497 .PHONY: install-sim maybe-install-sim
33498 maybe-install-sim:
33499 @if sim
33500 maybe-install-sim: install-sim
33502 install-sim: installdirs
33503 @: $(MAKE); $(unstage)
33504 @r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(HOST_EXPORTS) \
33507 (cd $(HOST_SUBDIR)/sim && \
33508 $(MAKE) $(FLAGS_TO_PASS) install)
33510 @endif sim
33512 # Other targets (info, dvi, pdf, etc.)
33514 .PHONY: maybe-info-sim info-sim
33515 maybe-info-sim:
33516 @if sim
33517 maybe-info-sim: info-sim
33519 info-sim: \
33520 configure-sim
33521 @: $(MAKE); $(unstage)
33522 @[ -f ./sim/Makefile ] || exit 0; \
33523 r=`${PWD_COMMAND}`; export r; \
33524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33525 $(HOST_EXPORTS) \
33526 for flag in $(EXTRA_HOST_FLAGS) ; do \
33527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33528 done; \
33529 echo "Doing info in sim" ; \
33530 (cd $(HOST_SUBDIR)/sim && \
33531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33533 "RANLIB=$${RANLIB}" \
33534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33535 info) \
33536 || exit 1
33538 @endif sim
33540 .PHONY: maybe-dvi-sim dvi-sim
33541 maybe-dvi-sim:
33542 @if sim
33543 maybe-dvi-sim: dvi-sim
33545 dvi-sim: \
33546 configure-sim
33547 @: $(MAKE); $(unstage)
33548 @[ -f ./sim/Makefile ] || exit 0; \
33549 r=`${PWD_COMMAND}`; export r; \
33550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33551 $(HOST_EXPORTS) \
33552 for flag in $(EXTRA_HOST_FLAGS) ; do \
33553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33554 done; \
33555 echo "Doing dvi in sim" ; \
33556 (cd $(HOST_SUBDIR)/sim && \
33557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33559 "RANLIB=$${RANLIB}" \
33560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33561 dvi) \
33562 || exit 1
33564 @endif sim
33566 .PHONY: maybe-pdf-sim pdf-sim
33567 maybe-pdf-sim:
33568 @if sim
33569 maybe-pdf-sim: pdf-sim
33571 pdf-sim: \
33572 configure-sim
33573 @: $(MAKE); $(unstage)
33574 @[ -f ./sim/Makefile ] || exit 0; \
33575 r=`${PWD_COMMAND}`; export r; \
33576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33577 $(HOST_EXPORTS) \
33578 for flag in $(EXTRA_HOST_FLAGS) ; do \
33579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33580 done; \
33581 echo "Doing pdf in sim" ; \
33582 (cd $(HOST_SUBDIR)/sim && \
33583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33585 "RANLIB=$${RANLIB}" \
33586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33587 pdf) \
33588 || exit 1
33590 @endif sim
33592 .PHONY: maybe-html-sim html-sim
33593 maybe-html-sim:
33594 @if sim
33595 maybe-html-sim: html-sim
33597 html-sim: \
33598 configure-sim
33599 @: $(MAKE); $(unstage)
33600 @[ -f ./sim/Makefile ] || exit 0; \
33601 r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(HOST_EXPORTS) \
33604 for flag in $(EXTRA_HOST_FLAGS) ; do \
33605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33606 done; \
33607 echo "Doing html in sim" ; \
33608 (cd $(HOST_SUBDIR)/sim && \
33609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33611 "RANLIB=$${RANLIB}" \
33612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33613 html) \
33614 || exit 1
33616 @endif sim
33618 .PHONY: maybe-TAGS-sim TAGS-sim
33619 maybe-TAGS-sim:
33620 @if sim
33621 maybe-TAGS-sim: TAGS-sim
33623 TAGS-sim: \
33624 configure-sim
33625 @: $(MAKE); $(unstage)
33626 @[ -f ./sim/Makefile ] || exit 0; \
33627 r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(HOST_EXPORTS) \
33630 for flag in $(EXTRA_HOST_FLAGS) ; do \
33631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33632 done; \
33633 echo "Doing TAGS in sim" ; \
33634 (cd $(HOST_SUBDIR)/sim && \
33635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33637 "RANLIB=$${RANLIB}" \
33638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33639 TAGS) \
33640 || exit 1
33642 @endif sim
33644 .PHONY: maybe-install-info-sim install-info-sim
33645 maybe-install-info-sim:
33646 @if sim
33647 maybe-install-info-sim: install-info-sim
33649 install-info-sim: \
33650 configure-sim \
33651 info-sim
33652 @: $(MAKE); $(unstage)
33653 @[ -f ./sim/Makefile ] || exit 0; \
33654 r=`${PWD_COMMAND}`; export r; \
33655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33656 $(HOST_EXPORTS) \
33657 for flag in $(EXTRA_HOST_FLAGS) ; do \
33658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33659 done; \
33660 echo "Doing install-info in sim" ; \
33661 (cd $(HOST_SUBDIR)/sim && \
33662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33664 "RANLIB=$${RANLIB}" \
33665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33666 install-info) \
33667 || exit 1
33669 @endif sim
33671 .PHONY: maybe-install-pdf-sim install-pdf-sim
33672 maybe-install-pdf-sim:
33673 @if sim
33674 maybe-install-pdf-sim: install-pdf-sim
33676 install-pdf-sim: \
33677 configure-sim \
33678 pdf-sim
33679 @: $(MAKE); $(unstage)
33680 @[ -f ./sim/Makefile ] || exit 0; \
33681 r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33683 $(HOST_EXPORTS) \
33684 for flag in $(EXTRA_HOST_FLAGS) ; do \
33685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33686 done; \
33687 echo "Doing install-pdf in sim" ; \
33688 (cd $(HOST_SUBDIR)/sim && \
33689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33691 "RANLIB=$${RANLIB}" \
33692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33693 install-pdf) \
33694 || exit 1
33696 @endif sim
33698 .PHONY: maybe-install-html-sim install-html-sim
33699 maybe-install-html-sim:
33700 @if sim
33701 maybe-install-html-sim: install-html-sim
33703 install-html-sim: \
33704 configure-sim \
33705 html-sim
33706 @: $(MAKE); $(unstage)
33707 @[ -f ./sim/Makefile ] || exit 0; \
33708 r=`${PWD_COMMAND}`; export r; \
33709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33710 $(HOST_EXPORTS) \
33711 for flag in $(EXTRA_HOST_FLAGS) ; do \
33712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33713 done; \
33714 echo "Doing install-html in sim" ; \
33715 (cd $(HOST_SUBDIR)/sim && \
33716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33718 "RANLIB=$${RANLIB}" \
33719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33720 install-html) \
33721 || exit 1
33723 @endif sim
33725 .PHONY: maybe-installcheck-sim installcheck-sim
33726 maybe-installcheck-sim:
33727 @if sim
33728 maybe-installcheck-sim: installcheck-sim
33730 installcheck-sim: \
33731 configure-sim
33732 @: $(MAKE); $(unstage)
33733 @[ -f ./sim/Makefile ] || exit 0; \
33734 r=`${PWD_COMMAND}`; export r; \
33735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33736 $(HOST_EXPORTS) \
33737 for flag in $(EXTRA_HOST_FLAGS) ; do \
33738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33739 done; \
33740 echo "Doing installcheck in sim" ; \
33741 (cd $(HOST_SUBDIR)/sim && \
33742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33744 "RANLIB=$${RANLIB}" \
33745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33746 installcheck) \
33747 || exit 1
33749 @endif sim
33751 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
33752 maybe-mostlyclean-sim:
33753 @if sim
33754 maybe-mostlyclean-sim: mostlyclean-sim
33756 mostlyclean-sim:
33757 @: $(MAKE); $(unstage)
33758 @[ -f ./sim/Makefile ] || exit 0; \
33759 r=`${PWD_COMMAND}`; export r; \
33760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33761 $(HOST_EXPORTS) \
33762 for flag in $(EXTRA_HOST_FLAGS) ; do \
33763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33764 done; \
33765 echo "Doing mostlyclean in sim" ; \
33766 (cd $(HOST_SUBDIR)/sim && \
33767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33769 "RANLIB=$${RANLIB}" \
33770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33771 mostlyclean) \
33772 || exit 1
33774 @endif sim
33776 .PHONY: maybe-clean-sim clean-sim
33777 maybe-clean-sim:
33778 @if sim
33779 maybe-clean-sim: clean-sim
33781 clean-sim:
33782 @: $(MAKE); $(unstage)
33783 @[ -f ./sim/Makefile ] || exit 0; \
33784 r=`${PWD_COMMAND}`; export r; \
33785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33786 $(HOST_EXPORTS) \
33787 for flag in $(EXTRA_HOST_FLAGS) ; do \
33788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33789 done; \
33790 echo "Doing clean in sim" ; \
33791 (cd $(HOST_SUBDIR)/sim && \
33792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33794 "RANLIB=$${RANLIB}" \
33795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33796 clean) \
33797 || exit 1
33799 @endif sim
33801 .PHONY: maybe-distclean-sim distclean-sim
33802 maybe-distclean-sim:
33803 @if sim
33804 maybe-distclean-sim: distclean-sim
33806 distclean-sim:
33807 @: $(MAKE); $(unstage)
33808 @[ -f ./sim/Makefile ] || exit 0; \
33809 r=`${PWD_COMMAND}`; export r; \
33810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33811 $(HOST_EXPORTS) \
33812 for flag in $(EXTRA_HOST_FLAGS) ; do \
33813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33814 done; \
33815 echo "Doing distclean in sim" ; \
33816 (cd $(HOST_SUBDIR)/sim && \
33817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33819 "RANLIB=$${RANLIB}" \
33820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33821 distclean) \
33822 || exit 1
33824 @endif sim
33826 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
33827 maybe-maintainer-clean-sim:
33828 @if sim
33829 maybe-maintainer-clean-sim: maintainer-clean-sim
33831 maintainer-clean-sim:
33832 @: $(MAKE); $(unstage)
33833 @[ -f ./sim/Makefile ] || exit 0; \
33834 r=`${PWD_COMMAND}`; export r; \
33835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33836 $(HOST_EXPORTS) \
33837 for flag in $(EXTRA_HOST_FLAGS) ; do \
33838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33839 done; \
33840 echo "Doing maintainer-clean in sim" ; \
33841 (cd $(HOST_SUBDIR)/sim && \
33842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33844 "RANLIB=$${RANLIB}" \
33845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33846 maintainer-clean) \
33847 || exit 1
33849 @endif sim
33853 .PHONY: configure-tar maybe-configure-tar
33854 maybe-configure-tar:
33855 @if gcc-bootstrap
33856 configure-tar: stage_current
33857 @endif gcc-bootstrap
33858 @if tar
33859 maybe-configure-tar: configure-tar
33860 configure-tar:
33861 @: $(MAKE); $(unstage)
33862 @r=`${PWD_COMMAND}`; export r; \
33863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33864 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
33865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
33866 $(HOST_EXPORTS) \
33867 echo Configuring in $(HOST_SUBDIR)/tar; \
33868 cd "$(HOST_SUBDIR)/tar" || exit 1; \
33869 case $(srcdir) in \
33870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33871 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
33872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33873 esac; \
33874 srcdiroption="--srcdir=$${topdir}/tar"; \
33875 libsrcdir="$$s/tar"; \
33876 $(SHELL) $${libsrcdir}/configure \
33877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33878 --target=${target_alias} $${srcdiroption} \
33879 || exit 1
33880 @endif tar
33886 .PHONY: all-tar maybe-all-tar
33887 maybe-all-tar:
33888 @if gcc-bootstrap
33889 all-tar: stage_current
33890 @endif gcc-bootstrap
33891 @if tar
33892 TARGET-tar=all
33893 maybe-all-tar: all-tar
33894 all-tar: configure-tar
33895 @: $(MAKE); $(unstage)
33896 @r=`${PWD_COMMAND}`; export r; \
33897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33898 $(HOST_EXPORTS) \
33899 (cd $(HOST_SUBDIR)/tar && \
33900 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
33901 $(TARGET-tar))
33902 @endif tar
33907 .PHONY: check-tar maybe-check-tar
33908 maybe-check-tar:
33909 @if tar
33910 maybe-check-tar: check-tar
33912 check-tar:
33913 @: $(MAKE); $(unstage)
33914 @r=`${PWD_COMMAND}`; export r; \
33915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33916 $(HOST_EXPORTS) \
33917 (cd $(HOST_SUBDIR)/tar && \
33918 $(MAKE) $(FLAGS_TO_PASS) check)
33920 @endif tar
33922 .PHONY: install-tar maybe-install-tar
33923 maybe-install-tar:
33924 @if tar
33925 maybe-install-tar: install-tar
33927 install-tar: installdirs
33928 @: $(MAKE); $(unstage)
33929 @r=`${PWD_COMMAND}`; export r; \
33930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33931 $(HOST_EXPORTS) \
33932 (cd $(HOST_SUBDIR)/tar && \
33933 $(MAKE) $(FLAGS_TO_PASS) install)
33935 @endif tar
33937 # Other targets (info, dvi, pdf, etc.)
33939 .PHONY: maybe-info-tar info-tar
33940 maybe-info-tar:
33941 @if tar
33942 maybe-info-tar: info-tar
33944 info-tar: \
33945 configure-tar
33946 @: $(MAKE); $(unstage)
33947 @[ -f ./tar/Makefile ] || exit 0; \
33948 r=`${PWD_COMMAND}`; export r; \
33949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33950 $(HOST_EXPORTS) \
33951 for flag in $(EXTRA_HOST_FLAGS) ; do \
33952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33953 done; \
33954 echo "Doing info in tar" ; \
33955 (cd $(HOST_SUBDIR)/tar && \
33956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33958 "RANLIB=$${RANLIB}" \
33959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33960 info) \
33961 || exit 1
33963 @endif tar
33965 .PHONY: maybe-dvi-tar dvi-tar
33966 maybe-dvi-tar:
33967 @if tar
33968 maybe-dvi-tar: dvi-tar
33970 dvi-tar: \
33971 configure-tar
33972 @: $(MAKE); $(unstage)
33973 @[ -f ./tar/Makefile ] || exit 0; \
33974 r=`${PWD_COMMAND}`; export r; \
33975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33976 $(HOST_EXPORTS) \
33977 for flag in $(EXTRA_HOST_FLAGS) ; do \
33978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33979 done; \
33980 echo "Doing dvi in tar" ; \
33981 (cd $(HOST_SUBDIR)/tar && \
33982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33984 "RANLIB=$${RANLIB}" \
33985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33986 dvi) \
33987 || exit 1
33989 @endif tar
33991 .PHONY: maybe-pdf-tar pdf-tar
33992 maybe-pdf-tar:
33993 @if tar
33994 maybe-pdf-tar: pdf-tar
33996 pdf-tar: \
33997 configure-tar
33998 @: $(MAKE); $(unstage)
33999 @[ -f ./tar/Makefile ] || exit 0; \
34000 r=`${PWD_COMMAND}`; export r; \
34001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34002 $(HOST_EXPORTS) \
34003 for flag in $(EXTRA_HOST_FLAGS) ; do \
34004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34005 done; \
34006 echo "Doing pdf in tar" ; \
34007 (cd $(HOST_SUBDIR)/tar && \
34008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34010 "RANLIB=$${RANLIB}" \
34011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34012 pdf) \
34013 || exit 1
34015 @endif tar
34017 .PHONY: maybe-html-tar html-tar
34018 maybe-html-tar:
34019 @if tar
34020 maybe-html-tar: html-tar
34022 html-tar: \
34023 configure-tar
34024 @: $(MAKE); $(unstage)
34025 @[ -f ./tar/Makefile ] || exit 0; \
34026 r=`${PWD_COMMAND}`; export r; \
34027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34028 $(HOST_EXPORTS) \
34029 for flag in $(EXTRA_HOST_FLAGS) ; do \
34030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34031 done; \
34032 echo "Doing html in tar" ; \
34033 (cd $(HOST_SUBDIR)/tar && \
34034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34036 "RANLIB=$${RANLIB}" \
34037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34038 html) \
34039 || exit 1
34041 @endif tar
34043 .PHONY: maybe-TAGS-tar TAGS-tar
34044 maybe-TAGS-tar:
34045 @if tar
34046 maybe-TAGS-tar: TAGS-tar
34048 TAGS-tar: \
34049 configure-tar
34050 @: $(MAKE); $(unstage)
34051 @[ -f ./tar/Makefile ] || exit 0; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(HOST_EXPORTS) \
34055 for flag in $(EXTRA_HOST_FLAGS) ; do \
34056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34057 done; \
34058 echo "Doing TAGS in tar" ; \
34059 (cd $(HOST_SUBDIR)/tar && \
34060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34062 "RANLIB=$${RANLIB}" \
34063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34064 TAGS) \
34065 || exit 1
34067 @endif tar
34069 .PHONY: maybe-install-info-tar install-info-tar
34070 maybe-install-info-tar:
34071 @if tar
34072 maybe-install-info-tar: install-info-tar
34074 install-info-tar: \
34075 configure-tar \
34076 info-tar
34077 @: $(MAKE); $(unstage)
34078 @[ -f ./tar/Makefile ] || exit 0; \
34079 r=`${PWD_COMMAND}`; export r; \
34080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34081 $(HOST_EXPORTS) \
34082 for flag in $(EXTRA_HOST_FLAGS) ; do \
34083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34084 done; \
34085 echo "Doing install-info in tar" ; \
34086 (cd $(HOST_SUBDIR)/tar && \
34087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34089 "RANLIB=$${RANLIB}" \
34090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34091 install-info) \
34092 || exit 1
34094 @endif tar
34096 .PHONY: maybe-install-pdf-tar install-pdf-tar
34097 maybe-install-pdf-tar:
34098 @if tar
34099 maybe-install-pdf-tar: install-pdf-tar
34101 install-pdf-tar: \
34102 configure-tar \
34103 pdf-tar
34104 @: $(MAKE); $(unstage)
34105 @[ -f ./tar/Makefile ] || exit 0; \
34106 r=`${PWD_COMMAND}`; export r; \
34107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34108 $(HOST_EXPORTS) \
34109 for flag in $(EXTRA_HOST_FLAGS) ; do \
34110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34111 done; \
34112 echo "Doing install-pdf in tar" ; \
34113 (cd $(HOST_SUBDIR)/tar && \
34114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34116 "RANLIB=$${RANLIB}" \
34117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34118 install-pdf) \
34119 || exit 1
34121 @endif tar
34123 .PHONY: maybe-install-html-tar install-html-tar
34124 maybe-install-html-tar:
34125 @if tar
34126 maybe-install-html-tar: install-html-tar
34128 install-html-tar: \
34129 configure-tar \
34130 html-tar
34131 @: $(MAKE); $(unstage)
34132 @[ -f ./tar/Makefile ] || exit 0; \
34133 r=`${PWD_COMMAND}`; export r; \
34134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34135 $(HOST_EXPORTS) \
34136 for flag in $(EXTRA_HOST_FLAGS) ; do \
34137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34138 done; \
34139 echo "Doing install-html in tar" ; \
34140 (cd $(HOST_SUBDIR)/tar && \
34141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34143 "RANLIB=$${RANLIB}" \
34144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34145 install-html) \
34146 || exit 1
34148 @endif tar
34150 .PHONY: maybe-installcheck-tar installcheck-tar
34151 maybe-installcheck-tar:
34152 @if tar
34153 maybe-installcheck-tar: installcheck-tar
34155 installcheck-tar: \
34156 configure-tar
34157 @: $(MAKE); $(unstage)
34158 @[ -f ./tar/Makefile ] || exit 0; \
34159 r=`${PWD_COMMAND}`; export r; \
34160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34161 $(HOST_EXPORTS) \
34162 for flag in $(EXTRA_HOST_FLAGS) ; do \
34163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34164 done; \
34165 echo "Doing installcheck in tar" ; \
34166 (cd $(HOST_SUBDIR)/tar && \
34167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34169 "RANLIB=$${RANLIB}" \
34170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34171 installcheck) \
34172 || exit 1
34174 @endif tar
34176 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
34177 maybe-mostlyclean-tar:
34178 @if tar
34179 maybe-mostlyclean-tar: mostlyclean-tar
34181 mostlyclean-tar:
34182 @: $(MAKE); $(unstage)
34183 @[ -f ./tar/Makefile ] || exit 0; \
34184 r=`${PWD_COMMAND}`; export r; \
34185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34186 $(HOST_EXPORTS) \
34187 for flag in $(EXTRA_HOST_FLAGS) ; do \
34188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34189 done; \
34190 echo "Doing mostlyclean in tar" ; \
34191 (cd $(HOST_SUBDIR)/tar && \
34192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34194 "RANLIB=$${RANLIB}" \
34195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34196 mostlyclean) \
34197 || exit 1
34199 @endif tar
34201 .PHONY: maybe-clean-tar clean-tar
34202 maybe-clean-tar:
34203 @if tar
34204 maybe-clean-tar: clean-tar
34206 clean-tar:
34207 @: $(MAKE); $(unstage)
34208 @[ -f ./tar/Makefile ] || exit 0; \
34209 r=`${PWD_COMMAND}`; export r; \
34210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34211 $(HOST_EXPORTS) \
34212 for flag in $(EXTRA_HOST_FLAGS) ; do \
34213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34214 done; \
34215 echo "Doing clean in tar" ; \
34216 (cd $(HOST_SUBDIR)/tar && \
34217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34219 "RANLIB=$${RANLIB}" \
34220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34221 clean) \
34222 || exit 1
34224 @endif tar
34226 .PHONY: maybe-distclean-tar distclean-tar
34227 maybe-distclean-tar:
34228 @if tar
34229 maybe-distclean-tar: distclean-tar
34231 distclean-tar:
34232 @: $(MAKE); $(unstage)
34233 @[ -f ./tar/Makefile ] || exit 0; \
34234 r=`${PWD_COMMAND}`; export r; \
34235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34236 $(HOST_EXPORTS) \
34237 for flag in $(EXTRA_HOST_FLAGS) ; do \
34238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34239 done; \
34240 echo "Doing distclean in tar" ; \
34241 (cd $(HOST_SUBDIR)/tar && \
34242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34244 "RANLIB=$${RANLIB}" \
34245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34246 distclean) \
34247 || exit 1
34249 @endif tar
34251 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
34252 maybe-maintainer-clean-tar:
34253 @if tar
34254 maybe-maintainer-clean-tar: maintainer-clean-tar
34256 maintainer-clean-tar:
34257 @: $(MAKE); $(unstage)
34258 @[ -f ./tar/Makefile ] || exit 0; \
34259 r=`${PWD_COMMAND}`; export r; \
34260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34261 $(HOST_EXPORTS) \
34262 for flag in $(EXTRA_HOST_FLAGS) ; do \
34263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34264 done; \
34265 echo "Doing maintainer-clean in tar" ; \
34266 (cd $(HOST_SUBDIR)/tar && \
34267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34269 "RANLIB=$${RANLIB}" \
34270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34271 maintainer-clean) \
34272 || exit 1
34274 @endif tar
34278 .PHONY: configure-texinfo maybe-configure-texinfo
34279 maybe-configure-texinfo:
34280 @if gcc-bootstrap
34281 configure-texinfo: stage_current
34282 @endif gcc-bootstrap
34283 @if texinfo
34284 maybe-configure-texinfo: configure-texinfo
34285 configure-texinfo:
34286 @: $(MAKE); $(unstage)
34287 @r=`${PWD_COMMAND}`; export r; \
34288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34289 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
34290 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
34291 $(HOST_EXPORTS) \
34292 echo Configuring in $(HOST_SUBDIR)/texinfo; \
34293 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
34294 case $(srcdir) in \
34295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34296 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
34297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34298 esac; \
34299 srcdiroption="--srcdir=$${topdir}/texinfo"; \
34300 libsrcdir="$$s/texinfo"; \
34301 $(SHELL) $${libsrcdir}/configure \
34302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34303 --target=${target_alias} $${srcdiroption} \
34304 || exit 1
34305 @endif texinfo
34311 .PHONY: all-texinfo maybe-all-texinfo
34312 maybe-all-texinfo:
34313 @if gcc-bootstrap
34314 all-texinfo: stage_current
34315 @endif gcc-bootstrap
34316 @if texinfo
34317 TARGET-texinfo=all
34318 maybe-all-texinfo: all-texinfo
34319 all-texinfo: configure-texinfo
34320 @: $(MAKE); $(unstage)
34321 @r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(HOST_EXPORTS) \
34324 (cd $(HOST_SUBDIR)/texinfo && \
34325 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34326 $(TARGET-texinfo))
34327 @endif texinfo
34332 .PHONY: check-texinfo maybe-check-texinfo
34333 maybe-check-texinfo:
34334 @if texinfo
34335 maybe-check-texinfo: check-texinfo
34337 check-texinfo:
34338 @: $(MAKE); $(unstage)
34339 @r=`${PWD_COMMAND}`; export r; \
34340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34341 $(HOST_EXPORTS) \
34342 (cd $(HOST_SUBDIR)/texinfo && \
34343 $(MAKE) $(FLAGS_TO_PASS) check)
34345 @endif texinfo
34347 .PHONY: install-texinfo maybe-install-texinfo
34348 maybe-install-texinfo:
34349 @if texinfo
34350 maybe-install-texinfo: install-texinfo
34352 install-texinfo:
34354 @endif texinfo
34356 # Other targets (info, dvi, pdf, etc.)
34358 .PHONY: maybe-info-texinfo info-texinfo
34359 maybe-info-texinfo:
34360 @if texinfo
34361 maybe-info-texinfo: info-texinfo
34363 info-texinfo: \
34364 configure-texinfo
34365 @: $(MAKE); $(unstage)
34366 @[ -f ./texinfo/Makefile ] || exit 0; \
34367 r=`${PWD_COMMAND}`; export r; \
34368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34369 $(HOST_EXPORTS) \
34370 for flag in $(EXTRA_HOST_FLAGS) ; do \
34371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34372 done; \
34373 echo "Doing info in texinfo" ; \
34374 (cd $(HOST_SUBDIR)/texinfo && \
34375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34377 "RANLIB=$${RANLIB}" \
34378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34379 info) \
34380 || exit 1
34382 @endif texinfo
34384 .PHONY: maybe-dvi-texinfo dvi-texinfo
34385 maybe-dvi-texinfo:
34386 @if texinfo
34387 maybe-dvi-texinfo: dvi-texinfo
34389 dvi-texinfo: \
34390 configure-texinfo
34391 @: $(MAKE); $(unstage)
34392 @[ -f ./texinfo/Makefile ] || exit 0; \
34393 r=`${PWD_COMMAND}`; export r; \
34394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34395 $(HOST_EXPORTS) \
34396 for flag in $(EXTRA_HOST_FLAGS) ; do \
34397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34398 done; \
34399 echo "Doing dvi in texinfo" ; \
34400 (cd $(HOST_SUBDIR)/texinfo && \
34401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34403 "RANLIB=$${RANLIB}" \
34404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34405 dvi) \
34406 || exit 1
34408 @endif texinfo
34410 .PHONY: maybe-pdf-texinfo pdf-texinfo
34411 maybe-pdf-texinfo:
34412 @if texinfo
34413 maybe-pdf-texinfo: pdf-texinfo
34415 pdf-texinfo: \
34416 configure-texinfo
34417 @: $(MAKE); $(unstage)
34418 @[ -f ./texinfo/Makefile ] || exit 0; \
34419 r=`${PWD_COMMAND}`; export r; \
34420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34421 $(HOST_EXPORTS) \
34422 for flag in $(EXTRA_HOST_FLAGS) ; do \
34423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34424 done; \
34425 echo "Doing pdf in texinfo" ; \
34426 (cd $(HOST_SUBDIR)/texinfo && \
34427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34429 "RANLIB=$${RANLIB}" \
34430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34431 pdf) \
34432 || exit 1
34434 @endif texinfo
34436 .PHONY: maybe-html-texinfo html-texinfo
34437 maybe-html-texinfo:
34438 @if texinfo
34439 maybe-html-texinfo: html-texinfo
34441 html-texinfo: \
34442 configure-texinfo
34443 @: $(MAKE); $(unstage)
34444 @[ -f ./texinfo/Makefile ] || exit 0; \
34445 r=`${PWD_COMMAND}`; export r; \
34446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34447 $(HOST_EXPORTS) \
34448 for flag in $(EXTRA_HOST_FLAGS) ; do \
34449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34450 done; \
34451 echo "Doing html in texinfo" ; \
34452 (cd $(HOST_SUBDIR)/texinfo && \
34453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34455 "RANLIB=$${RANLIB}" \
34456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34457 html) \
34458 || exit 1
34460 @endif texinfo
34462 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
34463 maybe-TAGS-texinfo:
34464 @if texinfo
34465 maybe-TAGS-texinfo: TAGS-texinfo
34467 TAGS-texinfo: \
34468 configure-texinfo
34469 @: $(MAKE); $(unstage)
34470 @[ -f ./texinfo/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 TAGS in texinfo" ; \
34478 (cd $(HOST_SUBDIR)/texinfo && \
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 TAGS) \
34484 || exit 1
34486 @endif texinfo
34488 .PHONY: maybe-install-info-texinfo install-info-texinfo
34489 maybe-install-info-texinfo:
34490 @if texinfo
34491 maybe-install-info-texinfo: install-info-texinfo
34493 install-info-texinfo: \
34494 configure-texinfo \
34495 info-texinfo
34496 @: $(MAKE); $(unstage)
34497 @[ -f ./texinfo/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-info in texinfo" ; \
34505 (cd $(HOST_SUBDIR)/texinfo && \
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-info) \
34511 || exit 1
34513 @endif texinfo
34515 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
34516 maybe-install-pdf-texinfo:
34517 @if texinfo
34518 maybe-install-pdf-texinfo: install-pdf-texinfo
34520 install-pdf-texinfo: \
34521 configure-texinfo \
34522 pdf-texinfo
34523 @: $(MAKE); $(unstage)
34524 @[ -f ./texinfo/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-pdf in texinfo" ; \
34532 (cd $(HOST_SUBDIR)/texinfo && \
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-pdf) \
34538 || exit 1
34540 @endif texinfo
34542 .PHONY: maybe-install-html-texinfo install-html-texinfo
34543 maybe-install-html-texinfo:
34544 @if texinfo
34545 maybe-install-html-texinfo: install-html-texinfo
34547 install-html-texinfo: \
34548 configure-texinfo \
34549 html-texinfo
34550 @: $(MAKE); $(unstage)
34551 @[ -f ./texinfo/Makefile ] || exit 0; \
34552 r=`${PWD_COMMAND}`; export r; \
34553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34554 $(HOST_EXPORTS) \
34555 for flag in $(EXTRA_HOST_FLAGS) ; do \
34556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34557 done; \
34558 echo "Doing install-html in texinfo" ; \
34559 (cd $(HOST_SUBDIR)/texinfo && \
34560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34562 "RANLIB=$${RANLIB}" \
34563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34564 install-html) \
34565 || exit 1
34567 @endif texinfo
34569 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
34570 maybe-installcheck-texinfo:
34571 @if texinfo
34572 maybe-installcheck-texinfo: installcheck-texinfo
34574 installcheck-texinfo: \
34575 configure-texinfo
34576 @: $(MAKE); $(unstage)
34577 @[ -f ./texinfo/Makefile ] || exit 0; \
34578 r=`${PWD_COMMAND}`; export r; \
34579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34580 $(HOST_EXPORTS) \
34581 for flag in $(EXTRA_HOST_FLAGS) ; do \
34582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34583 done; \
34584 echo "Doing installcheck in texinfo" ; \
34585 (cd $(HOST_SUBDIR)/texinfo && \
34586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34588 "RANLIB=$${RANLIB}" \
34589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34590 installcheck) \
34591 || exit 1
34593 @endif texinfo
34595 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
34596 maybe-mostlyclean-texinfo:
34597 @if texinfo
34598 maybe-mostlyclean-texinfo: mostlyclean-texinfo
34600 mostlyclean-texinfo:
34601 @: $(MAKE); $(unstage)
34602 @[ -f ./texinfo/Makefile ] || exit 0; \
34603 r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(HOST_EXPORTS) \
34606 for flag in $(EXTRA_HOST_FLAGS) ; do \
34607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34608 done; \
34609 echo "Doing mostlyclean in texinfo" ; \
34610 (cd $(HOST_SUBDIR)/texinfo && \
34611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34613 "RANLIB=$${RANLIB}" \
34614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34615 mostlyclean) \
34616 || exit 1
34618 @endif texinfo
34620 .PHONY: maybe-clean-texinfo clean-texinfo
34621 maybe-clean-texinfo:
34622 @if texinfo
34623 maybe-clean-texinfo: clean-texinfo
34625 clean-texinfo:
34626 @: $(MAKE); $(unstage)
34627 @[ -f ./texinfo/Makefile ] || exit 0; \
34628 r=`${PWD_COMMAND}`; export r; \
34629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34630 $(HOST_EXPORTS) \
34631 for flag in $(EXTRA_HOST_FLAGS) ; do \
34632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34633 done; \
34634 echo "Doing clean in texinfo" ; \
34635 (cd $(HOST_SUBDIR)/texinfo && \
34636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34638 "RANLIB=$${RANLIB}" \
34639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34640 clean) \
34641 || exit 1
34643 @endif texinfo
34645 .PHONY: maybe-distclean-texinfo distclean-texinfo
34646 maybe-distclean-texinfo:
34647 @if texinfo
34648 maybe-distclean-texinfo: distclean-texinfo
34650 distclean-texinfo:
34651 @: $(MAKE); $(unstage)
34652 @[ -f ./texinfo/Makefile ] || exit 0; \
34653 r=`${PWD_COMMAND}`; export r; \
34654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34655 $(HOST_EXPORTS) \
34656 for flag in $(EXTRA_HOST_FLAGS) ; do \
34657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34658 done; \
34659 echo "Doing distclean in texinfo" ; \
34660 (cd $(HOST_SUBDIR)/texinfo && \
34661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34663 "RANLIB=$${RANLIB}" \
34664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34665 distclean) \
34666 || exit 1
34668 @endif texinfo
34670 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
34671 maybe-maintainer-clean-texinfo:
34672 @if texinfo
34673 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
34675 maintainer-clean-texinfo:
34676 @: $(MAKE); $(unstage)
34677 @[ -f ./texinfo/Makefile ] || exit 0; \
34678 r=`${PWD_COMMAND}`; export r; \
34679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34680 $(HOST_EXPORTS) \
34681 for flag in $(EXTRA_HOST_FLAGS) ; do \
34682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34683 done; \
34684 echo "Doing maintainer-clean in texinfo" ; \
34685 (cd $(HOST_SUBDIR)/texinfo && \
34686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34688 "RANLIB=$${RANLIB}" \
34689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34690 maintainer-clean) \
34691 || exit 1
34693 @endif texinfo
34697 .PHONY: configure-textutils maybe-configure-textutils
34698 maybe-configure-textutils:
34699 @if gcc-bootstrap
34700 configure-textutils: stage_current
34701 @endif gcc-bootstrap
34702 @if textutils
34703 maybe-configure-textutils: configure-textutils
34704 configure-textutils:
34705 @: $(MAKE); $(unstage)
34706 @r=`${PWD_COMMAND}`; export r; \
34707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34708 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
34709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
34710 $(HOST_EXPORTS) \
34711 echo Configuring in $(HOST_SUBDIR)/textutils; \
34712 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
34713 case $(srcdir) in \
34714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34715 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
34716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34717 esac; \
34718 srcdiroption="--srcdir=$${topdir}/textutils"; \
34719 libsrcdir="$$s/textutils"; \
34720 $(SHELL) $${libsrcdir}/configure \
34721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34722 --target=${target_alias} $${srcdiroption} \
34723 || exit 1
34724 @endif textutils
34730 .PHONY: all-textutils maybe-all-textutils
34731 maybe-all-textutils:
34732 @if gcc-bootstrap
34733 all-textutils: stage_current
34734 @endif gcc-bootstrap
34735 @if textutils
34736 TARGET-textutils=all
34737 maybe-all-textutils: all-textutils
34738 all-textutils: configure-textutils
34739 @: $(MAKE); $(unstage)
34740 @r=`${PWD_COMMAND}`; export r; \
34741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34742 $(HOST_EXPORTS) \
34743 (cd $(HOST_SUBDIR)/textutils && \
34744 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
34745 $(TARGET-textutils))
34746 @endif textutils
34751 .PHONY: check-textutils maybe-check-textutils
34752 maybe-check-textutils:
34753 @if textutils
34754 maybe-check-textutils: check-textutils
34756 check-textutils:
34757 @: $(MAKE); $(unstage)
34758 @r=`${PWD_COMMAND}`; export r; \
34759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34760 $(HOST_EXPORTS) \
34761 (cd $(HOST_SUBDIR)/textutils && \
34762 $(MAKE) $(FLAGS_TO_PASS) check)
34764 @endif textutils
34766 .PHONY: install-textutils maybe-install-textutils
34767 maybe-install-textutils:
34768 @if textutils
34769 maybe-install-textutils: install-textutils
34771 install-textutils: installdirs
34772 @: $(MAKE); $(unstage)
34773 @r=`${PWD_COMMAND}`; export r; \
34774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34775 $(HOST_EXPORTS) \
34776 (cd $(HOST_SUBDIR)/textutils && \
34777 $(MAKE) $(FLAGS_TO_PASS) install)
34779 @endif textutils
34781 # Other targets (info, dvi, pdf, etc.)
34783 .PHONY: maybe-info-textutils info-textutils
34784 maybe-info-textutils:
34785 @if textutils
34786 maybe-info-textutils: info-textutils
34788 info-textutils: \
34789 configure-textutils
34790 @: $(MAKE); $(unstage)
34791 @[ -f ./textutils/Makefile ] || exit 0; \
34792 r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(HOST_EXPORTS) \
34795 for flag in $(EXTRA_HOST_FLAGS) ; do \
34796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34797 done; \
34798 echo "Doing info in textutils" ; \
34799 (cd $(HOST_SUBDIR)/textutils && \
34800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34802 "RANLIB=$${RANLIB}" \
34803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34804 info) \
34805 || exit 1
34807 @endif textutils
34809 .PHONY: maybe-dvi-textutils dvi-textutils
34810 maybe-dvi-textutils:
34811 @if textutils
34812 maybe-dvi-textutils: dvi-textutils
34814 dvi-textutils: \
34815 configure-textutils
34816 @: $(MAKE); $(unstage)
34817 @[ -f ./textutils/Makefile ] || exit 0; \
34818 r=`${PWD_COMMAND}`; export r; \
34819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34820 $(HOST_EXPORTS) \
34821 for flag in $(EXTRA_HOST_FLAGS) ; do \
34822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34823 done; \
34824 echo "Doing dvi in textutils" ; \
34825 (cd $(HOST_SUBDIR)/textutils && \
34826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34828 "RANLIB=$${RANLIB}" \
34829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34830 dvi) \
34831 || exit 1
34833 @endif textutils
34835 .PHONY: maybe-pdf-textutils pdf-textutils
34836 maybe-pdf-textutils:
34837 @if textutils
34838 maybe-pdf-textutils: pdf-textutils
34840 pdf-textutils: \
34841 configure-textutils
34842 @: $(MAKE); $(unstage)
34843 @[ -f ./textutils/Makefile ] || exit 0; \
34844 r=`${PWD_COMMAND}`; export r; \
34845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34846 $(HOST_EXPORTS) \
34847 for flag in $(EXTRA_HOST_FLAGS) ; do \
34848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34849 done; \
34850 echo "Doing pdf in textutils" ; \
34851 (cd $(HOST_SUBDIR)/textutils && \
34852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34854 "RANLIB=$${RANLIB}" \
34855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34856 pdf) \
34857 || exit 1
34859 @endif textutils
34861 .PHONY: maybe-html-textutils html-textutils
34862 maybe-html-textutils:
34863 @if textutils
34864 maybe-html-textutils: html-textutils
34866 html-textutils: \
34867 configure-textutils
34868 @: $(MAKE); $(unstage)
34869 @[ -f ./textutils/Makefile ] || exit 0; \
34870 r=`${PWD_COMMAND}`; export r; \
34871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34872 $(HOST_EXPORTS) \
34873 for flag in $(EXTRA_HOST_FLAGS) ; do \
34874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34875 done; \
34876 echo "Doing html in textutils" ; \
34877 (cd $(HOST_SUBDIR)/textutils && \
34878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34880 "RANLIB=$${RANLIB}" \
34881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34882 html) \
34883 || exit 1
34885 @endif textutils
34887 .PHONY: maybe-TAGS-textutils TAGS-textutils
34888 maybe-TAGS-textutils:
34889 @if textutils
34890 maybe-TAGS-textutils: TAGS-textutils
34892 TAGS-textutils: \
34893 configure-textutils
34894 @: $(MAKE); $(unstage)
34895 @[ -f ./textutils/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 TAGS in textutils" ; \
34903 (cd $(HOST_SUBDIR)/textutils && \
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 TAGS) \
34909 || exit 1
34911 @endif textutils
34913 .PHONY: maybe-install-info-textutils install-info-textutils
34914 maybe-install-info-textutils:
34915 @if textutils
34916 maybe-install-info-textutils: install-info-textutils
34918 install-info-textutils: \
34919 configure-textutils \
34920 info-textutils
34921 @: $(MAKE); $(unstage)
34922 @[ -f ./textutils/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-info in textutils" ; \
34930 (cd $(HOST_SUBDIR)/textutils && \
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-info) \
34936 || exit 1
34938 @endif textutils
34940 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
34941 maybe-install-pdf-textutils:
34942 @if textutils
34943 maybe-install-pdf-textutils: install-pdf-textutils
34945 install-pdf-textutils: \
34946 configure-textutils \
34947 pdf-textutils
34948 @: $(MAKE); $(unstage)
34949 @[ -f ./textutils/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-pdf in textutils" ; \
34957 (cd $(HOST_SUBDIR)/textutils && \
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-pdf) \
34963 || exit 1
34965 @endif textutils
34967 .PHONY: maybe-install-html-textutils install-html-textutils
34968 maybe-install-html-textutils:
34969 @if textutils
34970 maybe-install-html-textutils: install-html-textutils
34972 install-html-textutils: \
34973 configure-textutils \
34974 html-textutils
34975 @: $(MAKE); $(unstage)
34976 @[ -f ./textutils/Makefile ] || exit 0; \
34977 r=`${PWD_COMMAND}`; export r; \
34978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34979 $(HOST_EXPORTS) \
34980 for flag in $(EXTRA_HOST_FLAGS) ; do \
34981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34982 done; \
34983 echo "Doing install-html in textutils" ; \
34984 (cd $(HOST_SUBDIR)/textutils && \
34985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34987 "RANLIB=$${RANLIB}" \
34988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34989 install-html) \
34990 || exit 1
34992 @endif textutils
34994 .PHONY: maybe-installcheck-textutils installcheck-textutils
34995 maybe-installcheck-textutils:
34996 @if textutils
34997 maybe-installcheck-textutils: installcheck-textutils
34999 installcheck-textutils: \
35000 configure-textutils
35001 @: $(MAKE); $(unstage)
35002 @[ -f ./textutils/Makefile ] || exit 0; \
35003 r=`${PWD_COMMAND}`; export r; \
35004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35005 $(HOST_EXPORTS) \
35006 for flag in $(EXTRA_HOST_FLAGS) ; do \
35007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35008 done; \
35009 echo "Doing installcheck in textutils" ; \
35010 (cd $(HOST_SUBDIR)/textutils && \
35011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35013 "RANLIB=$${RANLIB}" \
35014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35015 installcheck) \
35016 || exit 1
35018 @endif textutils
35020 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
35021 maybe-mostlyclean-textutils:
35022 @if textutils
35023 maybe-mostlyclean-textutils: mostlyclean-textutils
35025 mostlyclean-textutils:
35026 @: $(MAKE); $(unstage)
35027 @[ -f ./textutils/Makefile ] || exit 0; \
35028 r=`${PWD_COMMAND}`; export r; \
35029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35030 $(HOST_EXPORTS) \
35031 for flag in $(EXTRA_HOST_FLAGS) ; do \
35032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35033 done; \
35034 echo "Doing mostlyclean in textutils" ; \
35035 (cd $(HOST_SUBDIR)/textutils && \
35036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35038 "RANLIB=$${RANLIB}" \
35039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35040 mostlyclean) \
35041 || exit 1
35043 @endif textutils
35045 .PHONY: maybe-clean-textutils clean-textutils
35046 maybe-clean-textutils:
35047 @if textutils
35048 maybe-clean-textutils: clean-textutils
35050 clean-textutils:
35051 @: $(MAKE); $(unstage)
35052 @[ -f ./textutils/Makefile ] || exit 0; \
35053 r=`${PWD_COMMAND}`; export r; \
35054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35055 $(HOST_EXPORTS) \
35056 for flag in $(EXTRA_HOST_FLAGS) ; do \
35057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35058 done; \
35059 echo "Doing clean in textutils" ; \
35060 (cd $(HOST_SUBDIR)/textutils && \
35061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35063 "RANLIB=$${RANLIB}" \
35064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35065 clean) \
35066 || exit 1
35068 @endif textutils
35070 .PHONY: maybe-distclean-textutils distclean-textutils
35071 maybe-distclean-textutils:
35072 @if textutils
35073 maybe-distclean-textutils: distclean-textutils
35075 distclean-textutils:
35076 @: $(MAKE); $(unstage)
35077 @[ -f ./textutils/Makefile ] || exit 0; \
35078 r=`${PWD_COMMAND}`; export r; \
35079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35080 $(HOST_EXPORTS) \
35081 for flag in $(EXTRA_HOST_FLAGS) ; do \
35082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35083 done; \
35084 echo "Doing distclean in textutils" ; \
35085 (cd $(HOST_SUBDIR)/textutils && \
35086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35088 "RANLIB=$${RANLIB}" \
35089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35090 distclean) \
35091 || exit 1
35093 @endif textutils
35095 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
35096 maybe-maintainer-clean-textutils:
35097 @if textutils
35098 maybe-maintainer-clean-textutils: maintainer-clean-textutils
35100 maintainer-clean-textutils:
35101 @: $(MAKE); $(unstage)
35102 @[ -f ./textutils/Makefile ] || exit 0; \
35103 r=`${PWD_COMMAND}`; export r; \
35104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35105 $(HOST_EXPORTS) \
35106 for flag in $(EXTRA_HOST_FLAGS) ; do \
35107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35108 done; \
35109 echo "Doing maintainer-clean in textutils" ; \
35110 (cd $(HOST_SUBDIR)/textutils && \
35111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35113 "RANLIB=$${RANLIB}" \
35114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35115 maintainer-clean) \
35116 || exit 1
35118 @endif textutils
35122 .PHONY: configure-time maybe-configure-time
35123 maybe-configure-time:
35124 @if gcc-bootstrap
35125 configure-time: stage_current
35126 @endif gcc-bootstrap
35127 @if time
35128 maybe-configure-time: configure-time
35129 configure-time:
35130 @: $(MAKE); $(unstage)
35131 @r=`${PWD_COMMAND}`; export r; \
35132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35133 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
35134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
35135 $(HOST_EXPORTS) \
35136 echo Configuring in $(HOST_SUBDIR)/time; \
35137 cd "$(HOST_SUBDIR)/time" || exit 1; \
35138 case $(srcdir) in \
35139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35140 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
35141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35142 esac; \
35143 srcdiroption="--srcdir=$${topdir}/time"; \
35144 libsrcdir="$$s/time"; \
35145 $(SHELL) $${libsrcdir}/configure \
35146 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35147 --target=${target_alias} $${srcdiroption} \
35148 || exit 1
35149 @endif time
35155 .PHONY: all-time maybe-all-time
35156 maybe-all-time:
35157 @if gcc-bootstrap
35158 all-time: stage_current
35159 @endif gcc-bootstrap
35160 @if time
35161 TARGET-time=all
35162 maybe-all-time: all-time
35163 all-time: configure-time
35164 @: $(MAKE); $(unstage)
35165 @r=`${PWD_COMMAND}`; export r; \
35166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35167 $(HOST_EXPORTS) \
35168 (cd $(HOST_SUBDIR)/time && \
35169 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35170 $(TARGET-time))
35171 @endif time
35176 .PHONY: check-time maybe-check-time
35177 maybe-check-time:
35178 @if time
35179 maybe-check-time: check-time
35181 check-time:
35182 @: $(MAKE); $(unstage)
35183 @r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 $(HOST_EXPORTS) \
35186 (cd $(HOST_SUBDIR)/time && \
35187 $(MAKE) $(FLAGS_TO_PASS) check)
35189 @endif time
35191 .PHONY: install-time maybe-install-time
35192 maybe-install-time:
35193 @if time
35194 maybe-install-time: install-time
35196 install-time: installdirs
35197 @: $(MAKE); $(unstage)
35198 @r=`${PWD_COMMAND}`; export r; \
35199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35200 $(HOST_EXPORTS) \
35201 (cd $(HOST_SUBDIR)/time && \
35202 $(MAKE) $(FLAGS_TO_PASS) install)
35204 @endif time
35206 # Other targets (info, dvi, pdf, etc.)
35208 .PHONY: maybe-info-time info-time
35209 maybe-info-time:
35210 @if time
35211 maybe-info-time: info-time
35213 info-time: \
35214 configure-time
35215 @: $(MAKE); $(unstage)
35216 @[ -f ./time/Makefile ] || exit 0; \
35217 r=`${PWD_COMMAND}`; export r; \
35218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35219 $(HOST_EXPORTS) \
35220 for flag in $(EXTRA_HOST_FLAGS) ; do \
35221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35222 done; \
35223 echo "Doing info in time" ; \
35224 (cd $(HOST_SUBDIR)/time && \
35225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35227 "RANLIB=$${RANLIB}" \
35228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35229 info) \
35230 || exit 1
35232 @endif time
35234 .PHONY: maybe-dvi-time dvi-time
35235 maybe-dvi-time:
35236 @if time
35237 maybe-dvi-time: dvi-time
35239 dvi-time: \
35240 configure-time
35241 @: $(MAKE); $(unstage)
35242 @[ -f ./time/Makefile ] || exit 0; \
35243 r=`${PWD_COMMAND}`; export r; \
35244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35245 $(HOST_EXPORTS) \
35246 for flag in $(EXTRA_HOST_FLAGS) ; do \
35247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35248 done; \
35249 echo "Doing dvi in time" ; \
35250 (cd $(HOST_SUBDIR)/time && \
35251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35253 "RANLIB=$${RANLIB}" \
35254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35255 dvi) \
35256 || exit 1
35258 @endif time
35260 .PHONY: maybe-pdf-time pdf-time
35261 maybe-pdf-time:
35262 @if time
35263 maybe-pdf-time: pdf-time
35265 pdf-time: \
35266 configure-time
35267 @: $(MAKE); $(unstage)
35268 @[ -f ./time/Makefile ] || exit 0; \
35269 r=`${PWD_COMMAND}`; export r; \
35270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35271 $(HOST_EXPORTS) \
35272 for flag in $(EXTRA_HOST_FLAGS) ; do \
35273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35274 done; \
35275 echo "Doing pdf in time" ; \
35276 (cd $(HOST_SUBDIR)/time && \
35277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35279 "RANLIB=$${RANLIB}" \
35280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35281 pdf) \
35282 || exit 1
35284 @endif time
35286 .PHONY: maybe-html-time html-time
35287 maybe-html-time:
35288 @if time
35289 maybe-html-time: html-time
35291 html-time: \
35292 configure-time
35293 @: $(MAKE); $(unstage)
35294 @[ -f ./time/Makefile ] || exit 0; \
35295 r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(HOST_EXPORTS) \
35298 for flag in $(EXTRA_HOST_FLAGS) ; do \
35299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35300 done; \
35301 echo "Doing html in time" ; \
35302 (cd $(HOST_SUBDIR)/time && \
35303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35305 "RANLIB=$${RANLIB}" \
35306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35307 html) \
35308 || exit 1
35310 @endif time
35312 .PHONY: maybe-TAGS-time TAGS-time
35313 maybe-TAGS-time:
35314 @if time
35315 maybe-TAGS-time: TAGS-time
35317 TAGS-time: \
35318 configure-time
35319 @: $(MAKE); $(unstage)
35320 @[ -f ./time/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 TAGS in time" ; \
35328 (cd $(HOST_SUBDIR)/time && \
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 TAGS) \
35334 || exit 1
35336 @endif time
35338 .PHONY: maybe-install-info-time install-info-time
35339 maybe-install-info-time:
35340 @if time
35341 maybe-install-info-time: install-info-time
35343 install-info-time: \
35344 configure-time \
35345 info-time
35346 @: $(MAKE); $(unstage)
35347 @[ -f ./time/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-info in time" ; \
35355 (cd $(HOST_SUBDIR)/time && \
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-info) \
35361 || exit 1
35363 @endif time
35365 .PHONY: maybe-install-pdf-time install-pdf-time
35366 maybe-install-pdf-time:
35367 @if time
35368 maybe-install-pdf-time: install-pdf-time
35370 install-pdf-time: \
35371 configure-time \
35372 pdf-time
35373 @: $(MAKE); $(unstage)
35374 @[ -f ./time/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-pdf in time" ; \
35382 (cd $(HOST_SUBDIR)/time && \
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-pdf) \
35388 || exit 1
35390 @endif time
35392 .PHONY: maybe-install-html-time install-html-time
35393 maybe-install-html-time:
35394 @if time
35395 maybe-install-html-time: install-html-time
35397 install-html-time: \
35398 configure-time \
35399 html-time
35400 @: $(MAKE); $(unstage)
35401 @[ -f ./time/Makefile ] || exit 0; \
35402 r=`${PWD_COMMAND}`; export r; \
35403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35404 $(HOST_EXPORTS) \
35405 for flag in $(EXTRA_HOST_FLAGS) ; do \
35406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35407 done; \
35408 echo "Doing install-html in time" ; \
35409 (cd $(HOST_SUBDIR)/time && \
35410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35412 "RANLIB=$${RANLIB}" \
35413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35414 install-html) \
35415 || exit 1
35417 @endif time
35419 .PHONY: maybe-installcheck-time installcheck-time
35420 maybe-installcheck-time:
35421 @if time
35422 maybe-installcheck-time: installcheck-time
35424 installcheck-time: \
35425 configure-time
35426 @: $(MAKE); $(unstage)
35427 @[ -f ./time/Makefile ] || exit 0; \
35428 r=`${PWD_COMMAND}`; export r; \
35429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35430 $(HOST_EXPORTS) \
35431 for flag in $(EXTRA_HOST_FLAGS) ; do \
35432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35433 done; \
35434 echo "Doing installcheck in time" ; \
35435 (cd $(HOST_SUBDIR)/time && \
35436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35438 "RANLIB=$${RANLIB}" \
35439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35440 installcheck) \
35441 || exit 1
35443 @endif time
35445 .PHONY: maybe-mostlyclean-time mostlyclean-time
35446 maybe-mostlyclean-time:
35447 @if time
35448 maybe-mostlyclean-time: mostlyclean-time
35450 mostlyclean-time:
35451 @: $(MAKE); $(unstage)
35452 @[ -f ./time/Makefile ] || exit 0; \
35453 r=`${PWD_COMMAND}`; export r; \
35454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35455 $(HOST_EXPORTS) \
35456 for flag in $(EXTRA_HOST_FLAGS) ; do \
35457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35458 done; \
35459 echo "Doing mostlyclean in time" ; \
35460 (cd $(HOST_SUBDIR)/time && \
35461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35463 "RANLIB=$${RANLIB}" \
35464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35465 mostlyclean) \
35466 || exit 1
35468 @endif time
35470 .PHONY: maybe-clean-time clean-time
35471 maybe-clean-time:
35472 @if time
35473 maybe-clean-time: clean-time
35475 clean-time:
35476 @: $(MAKE); $(unstage)
35477 @[ -f ./time/Makefile ] || exit 0; \
35478 r=`${PWD_COMMAND}`; export r; \
35479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35480 $(HOST_EXPORTS) \
35481 for flag in $(EXTRA_HOST_FLAGS) ; do \
35482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35483 done; \
35484 echo "Doing clean in time" ; \
35485 (cd $(HOST_SUBDIR)/time && \
35486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35488 "RANLIB=$${RANLIB}" \
35489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35490 clean) \
35491 || exit 1
35493 @endif time
35495 .PHONY: maybe-distclean-time distclean-time
35496 maybe-distclean-time:
35497 @if time
35498 maybe-distclean-time: distclean-time
35500 distclean-time:
35501 @: $(MAKE); $(unstage)
35502 @[ -f ./time/Makefile ] || exit 0; \
35503 r=`${PWD_COMMAND}`; export r; \
35504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35505 $(HOST_EXPORTS) \
35506 for flag in $(EXTRA_HOST_FLAGS) ; do \
35507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35508 done; \
35509 echo "Doing distclean in time" ; \
35510 (cd $(HOST_SUBDIR)/time && \
35511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35513 "RANLIB=$${RANLIB}" \
35514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35515 distclean) \
35516 || exit 1
35518 @endif time
35520 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
35521 maybe-maintainer-clean-time:
35522 @if time
35523 maybe-maintainer-clean-time: maintainer-clean-time
35525 maintainer-clean-time:
35526 @: $(MAKE); $(unstage)
35527 @[ -f ./time/Makefile ] || exit 0; \
35528 r=`${PWD_COMMAND}`; export r; \
35529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35530 $(HOST_EXPORTS) \
35531 for flag in $(EXTRA_HOST_FLAGS) ; do \
35532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35533 done; \
35534 echo "Doing maintainer-clean in time" ; \
35535 (cd $(HOST_SUBDIR)/time && \
35536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35538 "RANLIB=$${RANLIB}" \
35539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35540 maintainer-clean) \
35541 || exit 1
35543 @endif time
35547 .PHONY: configure-uudecode maybe-configure-uudecode
35548 maybe-configure-uudecode:
35549 @if gcc-bootstrap
35550 configure-uudecode: stage_current
35551 @endif gcc-bootstrap
35552 @if uudecode
35553 maybe-configure-uudecode: configure-uudecode
35554 configure-uudecode:
35555 @: $(MAKE); $(unstage)
35556 @r=`${PWD_COMMAND}`; export r; \
35557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35558 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
35559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
35560 $(HOST_EXPORTS) \
35561 echo Configuring in $(HOST_SUBDIR)/uudecode; \
35562 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
35563 case $(srcdir) in \
35564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35565 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
35566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35567 esac; \
35568 srcdiroption="--srcdir=$${topdir}/uudecode"; \
35569 libsrcdir="$$s/uudecode"; \
35570 $(SHELL) $${libsrcdir}/configure \
35571 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35572 --target=${target_alias} $${srcdiroption} \
35573 || exit 1
35574 @endif uudecode
35580 .PHONY: all-uudecode maybe-all-uudecode
35581 maybe-all-uudecode:
35582 @if gcc-bootstrap
35583 all-uudecode: stage_current
35584 @endif gcc-bootstrap
35585 @if uudecode
35586 TARGET-uudecode=all
35587 maybe-all-uudecode: all-uudecode
35588 all-uudecode: configure-uudecode
35589 @: $(MAKE); $(unstage)
35590 @r=`${PWD_COMMAND}`; export r; \
35591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35592 $(HOST_EXPORTS) \
35593 (cd $(HOST_SUBDIR)/uudecode && \
35594 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
35595 $(TARGET-uudecode))
35596 @endif uudecode
35601 .PHONY: check-uudecode maybe-check-uudecode
35602 maybe-check-uudecode:
35603 @if uudecode
35604 maybe-check-uudecode: check-uudecode
35606 check-uudecode:
35607 @: $(MAKE); $(unstage)
35608 @r=`${PWD_COMMAND}`; export r; \
35609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35610 $(HOST_EXPORTS) \
35611 (cd $(HOST_SUBDIR)/uudecode && \
35612 $(MAKE) $(FLAGS_TO_PASS) check)
35614 @endif uudecode
35616 .PHONY: install-uudecode maybe-install-uudecode
35617 maybe-install-uudecode:
35618 @if uudecode
35619 maybe-install-uudecode: install-uudecode
35621 install-uudecode: installdirs
35622 @: $(MAKE); $(unstage)
35623 @r=`${PWD_COMMAND}`; export r; \
35624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35625 $(HOST_EXPORTS) \
35626 (cd $(HOST_SUBDIR)/uudecode && \
35627 $(MAKE) $(FLAGS_TO_PASS) install)
35629 @endif uudecode
35631 # Other targets (info, dvi, pdf, etc.)
35633 .PHONY: maybe-info-uudecode info-uudecode
35634 maybe-info-uudecode:
35635 @if uudecode
35636 maybe-info-uudecode: info-uudecode
35638 info-uudecode: \
35639 configure-uudecode
35640 @: $(MAKE); $(unstage)
35641 @[ -f ./uudecode/Makefile ] || exit 0; \
35642 r=`${PWD_COMMAND}`; export r; \
35643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35644 $(HOST_EXPORTS) \
35645 for flag in $(EXTRA_HOST_FLAGS) ; do \
35646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35647 done; \
35648 echo "Doing info in uudecode" ; \
35649 (cd $(HOST_SUBDIR)/uudecode && \
35650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35652 "RANLIB=$${RANLIB}" \
35653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35654 info) \
35655 || exit 1
35657 @endif uudecode
35659 .PHONY: maybe-dvi-uudecode dvi-uudecode
35660 maybe-dvi-uudecode:
35661 @if uudecode
35662 maybe-dvi-uudecode: dvi-uudecode
35664 dvi-uudecode: \
35665 configure-uudecode
35666 @: $(MAKE); $(unstage)
35667 @[ -f ./uudecode/Makefile ] || exit 0; \
35668 r=`${PWD_COMMAND}`; export r; \
35669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35670 $(HOST_EXPORTS) \
35671 for flag in $(EXTRA_HOST_FLAGS) ; do \
35672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35673 done; \
35674 echo "Doing dvi in uudecode" ; \
35675 (cd $(HOST_SUBDIR)/uudecode && \
35676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35678 "RANLIB=$${RANLIB}" \
35679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35680 dvi) \
35681 || exit 1
35683 @endif uudecode
35685 .PHONY: maybe-pdf-uudecode pdf-uudecode
35686 maybe-pdf-uudecode:
35687 @if uudecode
35688 maybe-pdf-uudecode: pdf-uudecode
35690 pdf-uudecode: \
35691 configure-uudecode
35692 @: $(MAKE); $(unstage)
35693 @[ -f ./uudecode/Makefile ] || exit 0; \
35694 r=`${PWD_COMMAND}`; export r; \
35695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35696 $(HOST_EXPORTS) \
35697 for flag in $(EXTRA_HOST_FLAGS) ; do \
35698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35699 done; \
35700 echo "Doing pdf in uudecode" ; \
35701 (cd $(HOST_SUBDIR)/uudecode && \
35702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35704 "RANLIB=$${RANLIB}" \
35705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35706 pdf) \
35707 || exit 1
35709 @endif uudecode
35711 .PHONY: maybe-html-uudecode html-uudecode
35712 maybe-html-uudecode:
35713 @if uudecode
35714 maybe-html-uudecode: html-uudecode
35716 html-uudecode: \
35717 configure-uudecode
35718 @: $(MAKE); $(unstage)
35719 @[ -f ./uudecode/Makefile ] || exit 0; \
35720 r=`${PWD_COMMAND}`; export r; \
35721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35722 $(HOST_EXPORTS) \
35723 for flag in $(EXTRA_HOST_FLAGS) ; do \
35724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35725 done; \
35726 echo "Doing html in uudecode" ; \
35727 (cd $(HOST_SUBDIR)/uudecode && \
35728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35730 "RANLIB=$${RANLIB}" \
35731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35732 html) \
35733 || exit 1
35735 @endif uudecode
35737 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
35738 maybe-TAGS-uudecode:
35739 @if uudecode
35740 maybe-TAGS-uudecode: TAGS-uudecode
35742 TAGS-uudecode: \
35743 configure-uudecode
35744 @: $(MAKE); $(unstage)
35745 @[ -f ./uudecode/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 TAGS in uudecode" ; \
35753 (cd $(HOST_SUBDIR)/uudecode && \
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 TAGS) \
35759 || exit 1
35761 @endif uudecode
35763 .PHONY: maybe-install-info-uudecode install-info-uudecode
35764 maybe-install-info-uudecode:
35765 @if uudecode
35766 maybe-install-info-uudecode: install-info-uudecode
35768 install-info-uudecode: \
35769 configure-uudecode \
35770 info-uudecode
35771 @: $(MAKE); $(unstage)
35772 @[ -f ./uudecode/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-info in uudecode" ; \
35780 (cd $(HOST_SUBDIR)/uudecode && \
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-info) \
35786 || exit 1
35788 @endif uudecode
35790 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
35791 maybe-install-pdf-uudecode:
35792 @if uudecode
35793 maybe-install-pdf-uudecode: install-pdf-uudecode
35795 install-pdf-uudecode: \
35796 configure-uudecode \
35797 pdf-uudecode
35798 @: $(MAKE); $(unstage)
35799 @[ -f ./uudecode/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-pdf in uudecode" ; \
35807 (cd $(HOST_SUBDIR)/uudecode && \
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-pdf) \
35813 || exit 1
35815 @endif uudecode
35817 .PHONY: maybe-install-html-uudecode install-html-uudecode
35818 maybe-install-html-uudecode:
35819 @if uudecode
35820 maybe-install-html-uudecode: install-html-uudecode
35822 install-html-uudecode: \
35823 configure-uudecode \
35824 html-uudecode
35825 @: $(MAKE); $(unstage)
35826 @[ -f ./uudecode/Makefile ] || exit 0; \
35827 r=`${PWD_COMMAND}`; export r; \
35828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35829 $(HOST_EXPORTS) \
35830 for flag in $(EXTRA_HOST_FLAGS) ; do \
35831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35832 done; \
35833 echo "Doing install-html in uudecode" ; \
35834 (cd $(HOST_SUBDIR)/uudecode && \
35835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35837 "RANLIB=$${RANLIB}" \
35838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35839 install-html) \
35840 || exit 1
35842 @endif uudecode
35844 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
35845 maybe-installcheck-uudecode:
35846 @if uudecode
35847 maybe-installcheck-uudecode: installcheck-uudecode
35849 installcheck-uudecode: \
35850 configure-uudecode
35851 @: $(MAKE); $(unstage)
35852 @[ -f ./uudecode/Makefile ] || exit 0; \
35853 r=`${PWD_COMMAND}`; export r; \
35854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35855 $(HOST_EXPORTS) \
35856 for flag in $(EXTRA_HOST_FLAGS) ; do \
35857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35858 done; \
35859 echo "Doing installcheck in uudecode" ; \
35860 (cd $(HOST_SUBDIR)/uudecode && \
35861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35863 "RANLIB=$${RANLIB}" \
35864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35865 installcheck) \
35866 || exit 1
35868 @endif uudecode
35870 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
35871 maybe-mostlyclean-uudecode:
35872 @if uudecode
35873 maybe-mostlyclean-uudecode: mostlyclean-uudecode
35875 mostlyclean-uudecode:
35876 @: $(MAKE); $(unstage)
35877 @[ -f ./uudecode/Makefile ] || exit 0; \
35878 r=`${PWD_COMMAND}`; export r; \
35879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35880 $(HOST_EXPORTS) \
35881 for flag in $(EXTRA_HOST_FLAGS) ; do \
35882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35883 done; \
35884 echo "Doing mostlyclean in uudecode" ; \
35885 (cd $(HOST_SUBDIR)/uudecode && \
35886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35888 "RANLIB=$${RANLIB}" \
35889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35890 mostlyclean) \
35891 || exit 1
35893 @endif uudecode
35895 .PHONY: maybe-clean-uudecode clean-uudecode
35896 maybe-clean-uudecode:
35897 @if uudecode
35898 maybe-clean-uudecode: clean-uudecode
35900 clean-uudecode:
35901 @: $(MAKE); $(unstage)
35902 @[ -f ./uudecode/Makefile ] || exit 0; \
35903 r=`${PWD_COMMAND}`; export r; \
35904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35905 $(HOST_EXPORTS) \
35906 for flag in $(EXTRA_HOST_FLAGS) ; do \
35907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35908 done; \
35909 echo "Doing clean in uudecode" ; \
35910 (cd $(HOST_SUBDIR)/uudecode && \
35911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35913 "RANLIB=$${RANLIB}" \
35914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35915 clean) \
35916 || exit 1
35918 @endif uudecode
35920 .PHONY: maybe-distclean-uudecode distclean-uudecode
35921 maybe-distclean-uudecode:
35922 @if uudecode
35923 maybe-distclean-uudecode: distclean-uudecode
35925 distclean-uudecode:
35926 @: $(MAKE); $(unstage)
35927 @[ -f ./uudecode/Makefile ] || exit 0; \
35928 r=`${PWD_COMMAND}`; export r; \
35929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35930 $(HOST_EXPORTS) \
35931 for flag in $(EXTRA_HOST_FLAGS) ; do \
35932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35933 done; \
35934 echo "Doing distclean in uudecode" ; \
35935 (cd $(HOST_SUBDIR)/uudecode && \
35936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35938 "RANLIB=$${RANLIB}" \
35939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35940 distclean) \
35941 || exit 1
35943 @endif uudecode
35945 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
35946 maybe-maintainer-clean-uudecode:
35947 @if uudecode
35948 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
35950 maintainer-clean-uudecode:
35951 @: $(MAKE); $(unstage)
35952 @[ -f ./uudecode/Makefile ] || exit 0; \
35953 r=`${PWD_COMMAND}`; export r; \
35954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35955 $(HOST_EXPORTS) \
35956 for flag in $(EXTRA_HOST_FLAGS) ; do \
35957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35958 done; \
35959 echo "Doing maintainer-clean in uudecode" ; \
35960 (cd $(HOST_SUBDIR)/uudecode && \
35961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35963 "RANLIB=$${RANLIB}" \
35964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35965 maintainer-clean) \
35966 || exit 1
35968 @endif uudecode
35972 .PHONY: configure-wdiff maybe-configure-wdiff
35973 maybe-configure-wdiff:
35974 @if gcc-bootstrap
35975 configure-wdiff: stage_current
35976 @endif gcc-bootstrap
35977 @if wdiff
35978 maybe-configure-wdiff: configure-wdiff
35979 configure-wdiff:
35980 @: $(MAKE); $(unstage)
35981 @r=`${PWD_COMMAND}`; export r; \
35982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35983 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
35984 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
35985 $(HOST_EXPORTS) \
35986 echo Configuring in $(HOST_SUBDIR)/wdiff; \
35987 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
35988 case $(srcdir) in \
35989 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35990 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
35991 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35992 esac; \
35993 srcdiroption="--srcdir=$${topdir}/wdiff"; \
35994 libsrcdir="$$s/wdiff"; \
35995 $(SHELL) $${libsrcdir}/configure \
35996 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35997 --target=${target_alias} $${srcdiroption} \
35998 || exit 1
35999 @endif wdiff
36005 .PHONY: all-wdiff maybe-all-wdiff
36006 maybe-all-wdiff:
36007 @if gcc-bootstrap
36008 all-wdiff: stage_current
36009 @endif gcc-bootstrap
36010 @if wdiff
36011 TARGET-wdiff=all
36012 maybe-all-wdiff: all-wdiff
36013 all-wdiff: configure-wdiff
36014 @: $(MAKE); $(unstage)
36015 @r=`${PWD_COMMAND}`; export r; \
36016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36017 $(HOST_EXPORTS) \
36018 (cd $(HOST_SUBDIR)/wdiff && \
36019 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36020 $(TARGET-wdiff))
36021 @endif wdiff
36026 .PHONY: check-wdiff maybe-check-wdiff
36027 maybe-check-wdiff:
36028 @if wdiff
36029 maybe-check-wdiff: check-wdiff
36031 check-wdiff:
36032 @: $(MAKE); $(unstage)
36033 @r=`${PWD_COMMAND}`; export r; \
36034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36035 $(HOST_EXPORTS) \
36036 (cd $(HOST_SUBDIR)/wdiff && \
36037 $(MAKE) $(FLAGS_TO_PASS) check)
36039 @endif wdiff
36041 .PHONY: install-wdiff maybe-install-wdiff
36042 maybe-install-wdiff:
36043 @if wdiff
36044 maybe-install-wdiff: install-wdiff
36046 install-wdiff: installdirs
36047 @: $(MAKE); $(unstage)
36048 @r=`${PWD_COMMAND}`; export r; \
36049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36050 $(HOST_EXPORTS) \
36051 (cd $(HOST_SUBDIR)/wdiff && \
36052 $(MAKE) $(FLAGS_TO_PASS) install)
36054 @endif wdiff
36056 # Other targets (info, dvi, pdf, etc.)
36058 .PHONY: maybe-info-wdiff info-wdiff
36059 maybe-info-wdiff:
36060 @if wdiff
36061 maybe-info-wdiff: info-wdiff
36063 info-wdiff: \
36064 configure-wdiff
36065 @: $(MAKE); $(unstage)
36066 @[ -f ./wdiff/Makefile ] || exit 0; \
36067 r=`${PWD_COMMAND}`; export r; \
36068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36069 $(HOST_EXPORTS) \
36070 for flag in $(EXTRA_HOST_FLAGS) ; do \
36071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36072 done; \
36073 echo "Doing info in wdiff" ; \
36074 (cd $(HOST_SUBDIR)/wdiff && \
36075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36077 "RANLIB=$${RANLIB}" \
36078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36079 info) \
36080 || exit 1
36082 @endif wdiff
36084 .PHONY: maybe-dvi-wdiff dvi-wdiff
36085 maybe-dvi-wdiff:
36086 @if wdiff
36087 maybe-dvi-wdiff: dvi-wdiff
36089 dvi-wdiff: \
36090 configure-wdiff
36091 @: $(MAKE); $(unstage)
36092 @[ -f ./wdiff/Makefile ] || exit 0; \
36093 r=`${PWD_COMMAND}`; export r; \
36094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36095 $(HOST_EXPORTS) \
36096 for flag in $(EXTRA_HOST_FLAGS) ; do \
36097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36098 done; \
36099 echo "Doing dvi in wdiff" ; \
36100 (cd $(HOST_SUBDIR)/wdiff && \
36101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36103 "RANLIB=$${RANLIB}" \
36104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36105 dvi) \
36106 || exit 1
36108 @endif wdiff
36110 .PHONY: maybe-pdf-wdiff pdf-wdiff
36111 maybe-pdf-wdiff:
36112 @if wdiff
36113 maybe-pdf-wdiff: pdf-wdiff
36115 pdf-wdiff: \
36116 configure-wdiff
36117 @: $(MAKE); $(unstage)
36118 @[ -f ./wdiff/Makefile ] || exit 0; \
36119 r=`${PWD_COMMAND}`; export r; \
36120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36121 $(HOST_EXPORTS) \
36122 for flag in $(EXTRA_HOST_FLAGS) ; do \
36123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36124 done; \
36125 echo "Doing pdf in wdiff" ; \
36126 (cd $(HOST_SUBDIR)/wdiff && \
36127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36129 "RANLIB=$${RANLIB}" \
36130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36131 pdf) \
36132 || exit 1
36134 @endif wdiff
36136 .PHONY: maybe-html-wdiff html-wdiff
36137 maybe-html-wdiff:
36138 @if wdiff
36139 maybe-html-wdiff: html-wdiff
36141 html-wdiff: \
36142 configure-wdiff
36143 @: $(MAKE); $(unstage)
36144 @[ -f ./wdiff/Makefile ] || exit 0; \
36145 r=`${PWD_COMMAND}`; export r; \
36146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36147 $(HOST_EXPORTS) \
36148 for flag in $(EXTRA_HOST_FLAGS) ; do \
36149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36150 done; \
36151 echo "Doing html in wdiff" ; \
36152 (cd $(HOST_SUBDIR)/wdiff && \
36153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36155 "RANLIB=$${RANLIB}" \
36156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36157 html) \
36158 || exit 1
36160 @endif wdiff
36162 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
36163 maybe-TAGS-wdiff:
36164 @if wdiff
36165 maybe-TAGS-wdiff: TAGS-wdiff
36167 TAGS-wdiff: \
36168 configure-wdiff
36169 @: $(MAKE); $(unstage)
36170 @[ -f ./wdiff/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 TAGS in wdiff" ; \
36178 (cd $(HOST_SUBDIR)/wdiff && \
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 TAGS) \
36184 || exit 1
36186 @endif wdiff
36188 .PHONY: maybe-install-info-wdiff install-info-wdiff
36189 maybe-install-info-wdiff:
36190 @if wdiff
36191 maybe-install-info-wdiff: install-info-wdiff
36193 install-info-wdiff: \
36194 configure-wdiff \
36195 info-wdiff
36196 @: $(MAKE); $(unstage)
36197 @[ -f ./wdiff/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-info in wdiff" ; \
36205 (cd $(HOST_SUBDIR)/wdiff && \
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-info) \
36211 || exit 1
36213 @endif wdiff
36215 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
36216 maybe-install-pdf-wdiff:
36217 @if wdiff
36218 maybe-install-pdf-wdiff: install-pdf-wdiff
36220 install-pdf-wdiff: \
36221 configure-wdiff \
36222 pdf-wdiff
36223 @: $(MAKE); $(unstage)
36224 @[ -f ./wdiff/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-pdf in wdiff" ; \
36232 (cd $(HOST_SUBDIR)/wdiff && \
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-pdf) \
36238 || exit 1
36240 @endif wdiff
36242 .PHONY: maybe-install-html-wdiff install-html-wdiff
36243 maybe-install-html-wdiff:
36244 @if wdiff
36245 maybe-install-html-wdiff: install-html-wdiff
36247 install-html-wdiff: \
36248 configure-wdiff \
36249 html-wdiff
36250 @: $(MAKE); $(unstage)
36251 @[ -f ./wdiff/Makefile ] || exit 0; \
36252 r=`${PWD_COMMAND}`; export r; \
36253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36254 $(HOST_EXPORTS) \
36255 for flag in $(EXTRA_HOST_FLAGS) ; do \
36256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36257 done; \
36258 echo "Doing install-html in wdiff" ; \
36259 (cd $(HOST_SUBDIR)/wdiff && \
36260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36262 "RANLIB=$${RANLIB}" \
36263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36264 install-html) \
36265 || exit 1
36267 @endif wdiff
36269 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
36270 maybe-installcheck-wdiff:
36271 @if wdiff
36272 maybe-installcheck-wdiff: installcheck-wdiff
36274 installcheck-wdiff: \
36275 configure-wdiff
36276 @: $(MAKE); $(unstage)
36277 @[ -f ./wdiff/Makefile ] || exit 0; \
36278 r=`${PWD_COMMAND}`; export r; \
36279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36280 $(HOST_EXPORTS) \
36281 for flag in $(EXTRA_HOST_FLAGS) ; do \
36282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36283 done; \
36284 echo "Doing installcheck in wdiff" ; \
36285 (cd $(HOST_SUBDIR)/wdiff && \
36286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36288 "RANLIB=$${RANLIB}" \
36289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36290 installcheck) \
36291 || exit 1
36293 @endif wdiff
36295 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
36296 maybe-mostlyclean-wdiff:
36297 @if wdiff
36298 maybe-mostlyclean-wdiff: mostlyclean-wdiff
36300 mostlyclean-wdiff:
36301 @: $(MAKE); $(unstage)
36302 @[ -f ./wdiff/Makefile ] || exit 0; \
36303 r=`${PWD_COMMAND}`; export r; \
36304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36305 $(HOST_EXPORTS) \
36306 for flag in $(EXTRA_HOST_FLAGS) ; do \
36307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36308 done; \
36309 echo "Doing mostlyclean in wdiff" ; \
36310 (cd $(HOST_SUBDIR)/wdiff && \
36311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36313 "RANLIB=$${RANLIB}" \
36314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36315 mostlyclean) \
36316 || exit 1
36318 @endif wdiff
36320 .PHONY: maybe-clean-wdiff clean-wdiff
36321 maybe-clean-wdiff:
36322 @if wdiff
36323 maybe-clean-wdiff: clean-wdiff
36325 clean-wdiff:
36326 @: $(MAKE); $(unstage)
36327 @[ -f ./wdiff/Makefile ] || exit 0; \
36328 r=`${PWD_COMMAND}`; export r; \
36329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36330 $(HOST_EXPORTS) \
36331 for flag in $(EXTRA_HOST_FLAGS) ; do \
36332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36333 done; \
36334 echo "Doing clean in wdiff" ; \
36335 (cd $(HOST_SUBDIR)/wdiff && \
36336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36338 "RANLIB=$${RANLIB}" \
36339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36340 clean) \
36341 || exit 1
36343 @endif wdiff
36345 .PHONY: maybe-distclean-wdiff distclean-wdiff
36346 maybe-distclean-wdiff:
36347 @if wdiff
36348 maybe-distclean-wdiff: distclean-wdiff
36350 distclean-wdiff:
36351 @: $(MAKE); $(unstage)
36352 @[ -f ./wdiff/Makefile ] || exit 0; \
36353 r=`${PWD_COMMAND}`; export r; \
36354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36355 $(HOST_EXPORTS) \
36356 for flag in $(EXTRA_HOST_FLAGS) ; do \
36357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36358 done; \
36359 echo "Doing distclean in wdiff" ; \
36360 (cd $(HOST_SUBDIR)/wdiff && \
36361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36363 "RANLIB=$${RANLIB}" \
36364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36365 distclean) \
36366 || exit 1
36368 @endif wdiff
36370 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
36371 maybe-maintainer-clean-wdiff:
36372 @if wdiff
36373 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
36375 maintainer-clean-wdiff:
36376 @: $(MAKE); $(unstage)
36377 @[ -f ./wdiff/Makefile ] || exit 0; \
36378 r=`${PWD_COMMAND}`; export r; \
36379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36380 $(HOST_EXPORTS) \
36381 for flag in $(EXTRA_HOST_FLAGS) ; do \
36382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36383 done; \
36384 echo "Doing maintainer-clean in wdiff" ; \
36385 (cd $(HOST_SUBDIR)/wdiff && \
36386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36388 "RANLIB=$${RANLIB}" \
36389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36390 maintainer-clean) \
36391 || exit 1
36393 @endif wdiff
36397 .PHONY: configure-zip maybe-configure-zip
36398 maybe-configure-zip:
36399 @if gcc-bootstrap
36400 configure-zip: stage_current
36401 @endif gcc-bootstrap
36402 @if zip
36403 maybe-configure-zip: configure-zip
36404 configure-zip:
36405 @: $(MAKE); $(unstage)
36406 @r=`${PWD_COMMAND}`; export r; \
36407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36408 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
36409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
36410 $(HOST_EXPORTS) \
36411 echo Configuring in $(HOST_SUBDIR)/zip; \
36412 cd "$(HOST_SUBDIR)/zip" || exit 1; \
36413 case $(srcdir) in \
36414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36415 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
36416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36417 esac; \
36418 srcdiroption="--srcdir=$${topdir}/zip"; \
36419 libsrcdir="$$s/zip"; \
36420 $(SHELL) $${libsrcdir}/configure \
36421 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36422 --target=${target_alias} $${srcdiroption} \
36423 || exit 1
36424 @endif zip
36430 .PHONY: all-zip maybe-all-zip
36431 maybe-all-zip:
36432 @if gcc-bootstrap
36433 all-zip: stage_current
36434 @endif gcc-bootstrap
36435 @if zip
36436 TARGET-zip=all
36437 maybe-all-zip: all-zip
36438 all-zip: configure-zip
36439 @: $(MAKE); $(unstage)
36440 @r=`${PWD_COMMAND}`; export r; \
36441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36442 $(HOST_EXPORTS) \
36443 (cd $(HOST_SUBDIR)/zip && \
36444 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
36445 $(TARGET-zip))
36446 @endif zip
36451 .PHONY: check-zip maybe-check-zip
36452 maybe-check-zip:
36453 @if zip
36454 maybe-check-zip: check-zip
36456 # This module is only tested in a native toolchain.
36457 check-zip:
36458 @: $(MAKE); $(unstage)
36459 @if [ '$(host)' = '$(target)' ] ; then \
36460 r=`${PWD_COMMAND}`; export r; \
36461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36462 $(HOST_EXPORTS) \
36463 (cd $(HOST_SUBDIR)/zip && \
36464 $(MAKE) $(FLAGS_TO_PASS) check); \
36467 @endif zip
36469 .PHONY: install-zip maybe-install-zip
36470 maybe-install-zip:
36471 @if zip
36472 maybe-install-zip: install-zip
36474 install-zip: installdirs
36475 @: $(MAKE); $(unstage)
36476 @r=`${PWD_COMMAND}`; export r; \
36477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36478 $(HOST_EXPORTS) \
36479 (cd $(HOST_SUBDIR)/zip && \
36480 $(MAKE) $(FLAGS_TO_PASS) install)
36482 @endif zip
36484 # Other targets (info, dvi, pdf, etc.)
36486 .PHONY: maybe-info-zip info-zip
36487 maybe-info-zip:
36488 @if zip
36489 maybe-info-zip: info-zip
36491 info-zip: \
36492 configure-zip
36493 @: $(MAKE); $(unstage)
36494 @[ -f ./zip/Makefile ] || exit 0; \
36495 r=`${PWD_COMMAND}`; export r; \
36496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36497 $(HOST_EXPORTS) \
36498 for flag in $(EXTRA_HOST_FLAGS) ; do \
36499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36500 done; \
36501 echo "Doing info in zip" ; \
36502 (cd $(HOST_SUBDIR)/zip && \
36503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36505 "RANLIB=$${RANLIB}" \
36506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36507 info) \
36508 || exit 1
36510 @endif zip
36512 .PHONY: maybe-dvi-zip dvi-zip
36513 maybe-dvi-zip:
36514 @if zip
36515 maybe-dvi-zip: dvi-zip
36517 dvi-zip: \
36518 configure-zip
36519 @: $(MAKE); $(unstage)
36520 @[ -f ./zip/Makefile ] || exit 0; \
36521 r=`${PWD_COMMAND}`; export r; \
36522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36523 $(HOST_EXPORTS) \
36524 for flag in $(EXTRA_HOST_FLAGS) ; do \
36525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36526 done; \
36527 echo "Doing dvi in zip" ; \
36528 (cd $(HOST_SUBDIR)/zip && \
36529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36531 "RANLIB=$${RANLIB}" \
36532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36533 dvi) \
36534 || exit 1
36536 @endif zip
36538 .PHONY: maybe-pdf-zip pdf-zip
36539 maybe-pdf-zip:
36540 @if zip
36541 maybe-pdf-zip: pdf-zip
36543 pdf-zip: \
36544 configure-zip
36545 @: $(MAKE); $(unstage)
36546 @[ -f ./zip/Makefile ] || exit 0; \
36547 r=`${PWD_COMMAND}`; export r; \
36548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36549 $(HOST_EXPORTS) \
36550 for flag in $(EXTRA_HOST_FLAGS) ; do \
36551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36552 done; \
36553 echo "Doing pdf in zip" ; \
36554 (cd $(HOST_SUBDIR)/zip && \
36555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36557 "RANLIB=$${RANLIB}" \
36558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36559 pdf) \
36560 || exit 1
36562 @endif zip
36564 .PHONY: maybe-html-zip html-zip
36565 maybe-html-zip:
36566 @if zip
36567 maybe-html-zip: html-zip
36569 html-zip: \
36570 configure-zip
36571 @: $(MAKE); $(unstage)
36572 @[ -f ./zip/Makefile ] || exit 0; \
36573 r=`${PWD_COMMAND}`; export r; \
36574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36575 $(HOST_EXPORTS) \
36576 for flag in $(EXTRA_HOST_FLAGS) ; do \
36577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36578 done; \
36579 echo "Doing html in zip" ; \
36580 (cd $(HOST_SUBDIR)/zip && \
36581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36583 "RANLIB=$${RANLIB}" \
36584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36585 html) \
36586 || exit 1
36588 @endif zip
36590 .PHONY: maybe-TAGS-zip TAGS-zip
36591 maybe-TAGS-zip:
36592 @if zip
36593 maybe-TAGS-zip: TAGS-zip
36595 TAGS-zip: \
36596 configure-zip
36597 @: $(MAKE); $(unstage)
36598 @[ -f ./zip/Makefile ] || exit 0; \
36599 r=`${PWD_COMMAND}`; export r; \
36600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36601 $(HOST_EXPORTS) \
36602 for flag in $(EXTRA_HOST_FLAGS) ; do \
36603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36604 done; \
36605 echo "Doing TAGS in zip" ; \
36606 (cd $(HOST_SUBDIR)/zip && \
36607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36609 "RANLIB=$${RANLIB}" \
36610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36611 TAGS) \
36612 || exit 1
36614 @endif zip
36616 .PHONY: maybe-install-info-zip install-info-zip
36617 maybe-install-info-zip:
36618 @if zip
36619 maybe-install-info-zip: install-info-zip
36621 install-info-zip: \
36622 configure-zip \
36623 info-zip
36624 @: $(MAKE); $(unstage)
36625 @[ -f ./zip/Makefile ] || exit 0; \
36626 r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 $(HOST_EXPORTS) \
36629 for flag in $(EXTRA_HOST_FLAGS) ; do \
36630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36631 done; \
36632 echo "Doing install-info in zip" ; \
36633 (cd $(HOST_SUBDIR)/zip && \
36634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36636 "RANLIB=$${RANLIB}" \
36637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36638 install-info) \
36639 || exit 1
36641 @endif zip
36643 .PHONY: maybe-install-pdf-zip install-pdf-zip
36644 maybe-install-pdf-zip:
36645 @if zip
36646 maybe-install-pdf-zip: install-pdf-zip
36648 install-pdf-zip: \
36649 configure-zip \
36650 pdf-zip
36651 @: $(MAKE); $(unstage)
36652 @[ -f ./zip/Makefile ] || exit 0; \
36653 r=`${PWD_COMMAND}`; export r; \
36654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36655 $(HOST_EXPORTS) \
36656 for flag in $(EXTRA_HOST_FLAGS) ; do \
36657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36658 done; \
36659 echo "Doing install-pdf in zip" ; \
36660 (cd $(HOST_SUBDIR)/zip && \
36661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36663 "RANLIB=$${RANLIB}" \
36664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36665 install-pdf) \
36666 || exit 1
36668 @endif zip
36670 .PHONY: maybe-install-html-zip install-html-zip
36671 maybe-install-html-zip:
36672 @if zip
36673 maybe-install-html-zip: install-html-zip
36675 install-html-zip: \
36676 configure-zip \
36677 html-zip
36678 @: $(MAKE); $(unstage)
36679 @[ -f ./zip/Makefile ] || exit 0; \
36680 r=`${PWD_COMMAND}`; export r; \
36681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36682 $(HOST_EXPORTS) \
36683 for flag in $(EXTRA_HOST_FLAGS) ; do \
36684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36685 done; \
36686 echo "Doing install-html in zip" ; \
36687 (cd $(HOST_SUBDIR)/zip && \
36688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36690 "RANLIB=$${RANLIB}" \
36691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36692 install-html) \
36693 || exit 1
36695 @endif zip
36697 .PHONY: maybe-installcheck-zip installcheck-zip
36698 maybe-installcheck-zip:
36699 @if zip
36700 maybe-installcheck-zip: installcheck-zip
36702 installcheck-zip: \
36703 configure-zip
36704 @: $(MAKE); $(unstage)
36705 @[ -f ./zip/Makefile ] || exit 0; \
36706 r=`${PWD_COMMAND}`; export r; \
36707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36708 $(HOST_EXPORTS) \
36709 for flag in $(EXTRA_HOST_FLAGS) ; do \
36710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36711 done; \
36712 echo "Doing installcheck in zip" ; \
36713 (cd $(HOST_SUBDIR)/zip && \
36714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36716 "RANLIB=$${RANLIB}" \
36717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36718 installcheck) \
36719 || exit 1
36721 @endif zip
36723 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
36724 maybe-mostlyclean-zip:
36725 @if zip
36726 maybe-mostlyclean-zip: mostlyclean-zip
36728 mostlyclean-zip:
36729 @: $(MAKE); $(unstage)
36730 @[ -f ./zip/Makefile ] || exit 0; \
36731 r=`${PWD_COMMAND}`; export r; \
36732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36733 $(HOST_EXPORTS) \
36734 for flag in $(EXTRA_HOST_FLAGS) ; do \
36735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36736 done; \
36737 echo "Doing mostlyclean in zip" ; \
36738 (cd $(HOST_SUBDIR)/zip && \
36739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36741 "RANLIB=$${RANLIB}" \
36742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36743 mostlyclean) \
36744 || exit 1
36746 @endif zip
36748 .PHONY: maybe-clean-zip clean-zip
36749 maybe-clean-zip:
36750 @if zip
36751 maybe-clean-zip: clean-zip
36753 clean-zip:
36754 @: $(MAKE); $(unstage)
36755 @[ -f ./zip/Makefile ] || exit 0; \
36756 r=`${PWD_COMMAND}`; export r; \
36757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36758 $(HOST_EXPORTS) \
36759 for flag in $(EXTRA_HOST_FLAGS) ; do \
36760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36761 done; \
36762 echo "Doing clean in zip" ; \
36763 (cd $(HOST_SUBDIR)/zip && \
36764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36766 "RANLIB=$${RANLIB}" \
36767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36768 clean) \
36769 || exit 1
36771 @endif zip
36773 .PHONY: maybe-distclean-zip distclean-zip
36774 maybe-distclean-zip:
36775 @if zip
36776 maybe-distclean-zip: distclean-zip
36778 distclean-zip:
36779 @: $(MAKE); $(unstage)
36780 @[ -f ./zip/Makefile ] || exit 0; \
36781 r=`${PWD_COMMAND}`; export r; \
36782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36783 $(HOST_EXPORTS) \
36784 for flag in $(EXTRA_HOST_FLAGS) ; do \
36785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36786 done; \
36787 echo "Doing distclean in zip" ; \
36788 (cd $(HOST_SUBDIR)/zip && \
36789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36791 "RANLIB=$${RANLIB}" \
36792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36793 distclean) \
36794 || exit 1
36796 @endif zip
36798 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
36799 maybe-maintainer-clean-zip:
36800 @if zip
36801 maybe-maintainer-clean-zip: maintainer-clean-zip
36803 maintainer-clean-zip:
36804 @: $(MAKE); $(unstage)
36805 @[ -f ./zip/Makefile ] || exit 0; \
36806 r=`${PWD_COMMAND}`; export r; \
36807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36808 $(HOST_EXPORTS) \
36809 for flag in $(EXTRA_HOST_FLAGS) ; do \
36810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36811 done; \
36812 echo "Doing maintainer-clean in zip" ; \
36813 (cd $(HOST_SUBDIR)/zip && \
36814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36816 "RANLIB=$${RANLIB}" \
36817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36818 maintainer-clean) \
36819 || exit 1
36821 @endif zip
36825 .PHONY: configure-zlib maybe-configure-zlib
36826 maybe-configure-zlib:
36827 @if gcc-bootstrap
36828 configure-zlib: stage_current
36829 @endif gcc-bootstrap
36830 @if zlib
36831 maybe-configure-zlib: configure-zlib
36832 configure-zlib:
36833 @r=`${PWD_COMMAND}`; export r; \
36834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36835 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
36836 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
36837 $(HOST_EXPORTS) \
36838 echo Configuring in $(HOST_SUBDIR)/zlib; \
36839 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
36840 case $(srcdir) in \
36841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36842 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
36843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36844 esac; \
36845 srcdiroption="--srcdir=$${topdir}/zlib"; \
36846 libsrcdir="$$s/zlib"; \
36847 $(SHELL) $${libsrcdir}/configure \
36848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36849 --target=${target_alias} $${srcdiroption} \
36850 || exit 1
36851 @endif zlib
36855 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
36856 maybe-configure-stage1-zlib:
36857 @if zlib-bootstrap
36858 maybe-configure-stage1-zlib: configure-stage1-zlib
36859 configure-stage1-zlib:
36860 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36861 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
36862 @r=`${PWD_COMMAND}`; export r; \
36863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36864 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
36865 $(HOST_EXPORTS) \
36866 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
36867 CXXFLAGS="$(STAGE1_CFLAGS)"; export CXXFLAGS; \
36868 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
36869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
36870 cd $(HOST_SUBDIR)/zlib || exit 1; \
36871 case $(srcdir) in \
36872 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36873 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
36874 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36875 esac; \
36876 srcdiroption="--srcdir=$${topdir}/zlib"; \
36877 libsrcdir="$$s/zlib"; \
36878 $(SHELL) $${libsrcdir}/configure \
36879 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36880 --target=${target_alias} $${srcdiroption} \
36882 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
36883 @endif zlib-bootstrap
36885 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
36886 maybe-configure-stage2-zlib:
36887 @if zlib-bootstrap
36888 maybe-configure-stage2-zlib: configure-stage2-zlib
36889 configure-stage2-zlib:
36890 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36891 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
36892 @r=`${PWD_COMMAND}`; export r; \
36893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36894 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
36895 $(HOST_EXPORTS) \
36896 $(POSTSTAGE1_HOST_EXPORTS) \
36897 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
36898 CXXFLAGS="$(STAGE2_CFLAGS)"; export CXXFLAGS; \
36899 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
36900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
36901 cd $(HOST_SUBDIR)/zlib || exit 1; \
36902 case $(srcdir) in \
36903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36904 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
36905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36906 esac; \
36907 srcdiroption="--srcdir=$${topdir}/zlib"; \
36908 libsrcdir="$$s/zlib"; \
36909 $(SHELL) $${libsrcdir}/configure \
36910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36911 --target=${target_alias} $${srcdiroption} \
36912 --with-build-libsubdir=$(HOST_SUBDIR) \
36913 @stage2_werror_flag@
36914 @endif zlib-bootstrap
36916 .PHONY: configure-stageb2g0-zlib maybe-configure-stageb2g0-zlib
36917 maybe-configure-stageb2g0-zlib:
36918 @if zlib-bootstrap
36919 maybe-configure-stageb2g0-zlib: configure-stageb2g0-zlib
36920 configure-stageb2g0-zlib:
36921 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
36922 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
36923 @r=`${PWD_COMMAND}`; export r; \
36924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36925 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
36926 $(HOST_EXPORTS) \
36927 $(POSTSTAGE1_HOST_EXPORTS) \
36928 CFLAGS="$(STAGE2_CFLAGS) -g0"; export CFLAGS; \
36929 CXXFLAGS="$(STAGE2_CFLAGS) -g0"; export CXXFLAGS; \
36930 echo Configuring stage b2g0 in $(HOST_SUBDIR)/zlib ; \
36931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
36932 cd $(HOST_SUBDIR)/zlib || exit 1; \
36933 case $(srcdir) in \
36934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36935 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
36936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36937 esac; \
36938 srcdiroption="--srcdir=$${topdir}/zlib"; \
36939 libsrcdir="$$s/zlib"; \
36940 $(SHELL) $${libsrcdir}/configure \
36941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36942 --target=${target_alias} $${srcdiroption} \
36943 --with-build-libsubdir=$(HOST_SUBDIR) \
36944 @stage2_werror_flag@
36945 @endif zlib-bootstrap
36947 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
36948 maybe-configure-stage3-zlib:
36949 @if zlib-bootstrap
36950 maybe-configure-stage3-zlib: configure-stage3-zlib
36951 configure-stage3-zlib:
36952 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
36954 @r=`${PWD_COMMAND}`; export r; \
36955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36956 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
36957 $(HOST_EXPORTS) \
36958 $(POSTSTAGE1_HOST_EXPORTS) \
36959 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
36960 CXXFLAGS="$(STAGE3_CFLAGS)"; export CXXFLAGS; \
36961 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
36962 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
36963 cd $(HOST_SUBDIR)/zlib || exit 1; \
36964 case $(srcdir) in \
36965 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36966 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
36967 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36968 esac; \
36969 srcdiroption="--srcdir=$${topdir}/zlib"; \
36970 libsrcdir="$$s/zlib"; \
36971 $(SHELL) $${libsrcdir}/configure \
36972 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36973 --target=${target_alias} $${srcdiroption} \
36974 --with-build-libsubdir=$(HOST_SUBDIR) \
36975 @stage2_werror_flag@
36976 @endif zlib-bootstrap
36978 .PHONY: configure-stageb3g2-zlib maybe-configure-stageb3g2-zlib
36979 maybe-configure-stageb3g2-zlib:
36980 @if zlib-bootstrap
36981 maybe-configure-stageb3g2-zlib: configure-stageb3g2-zlib
36982 configure-stageb3g2-zlib:
36983 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
36984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
36985 @r=`${PWD_COMMAND}`; export r; \
36986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36987 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
36988 $(HOST_EXPORTS) \
36989 $(POSTSTAGE1_HOST_EXPORTS) \
36990 CFLAGS="$(STAGE3_CFLAGS) -g2"; export CFLAGS; \
36991 CXXFLAGS="$(STAGE3_CFLAGS) -g2"; export CXXFLAGS; \
36992 echo Configuring stage b3g2 in $(HOST_SUBDIR)/zlib ; \
36993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
36994 cd $(HOST_SUBDIR)/zlib || exit 1; \
36995 case $(srcdir) in \
36996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36997 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
36998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36999 esac; \
37000 srcdiroption="--srcdir=$${topdir}/zlib"; \
37001 libsrcdir="$$s/zlib"; \
37002 $(SHELL) $${libsrcdir}/configure \
37003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37004 --target=${target_alias} $${srcdiroption} \
37005 --with-build-libsubdir=$(HOST_SUBDIR) \
37006 @stage2_werror_flag@
37007 @endif zlib-bootstrap
37009 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
37010 maybe-configure-stage4-zlib:
37011 @if zlib-bootstrap
37012 maybe-configure-stage4-zlib: configure-stage4-zlib
37013 configure-stage4-zlib:
37014 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
37016 @r=`${PWD_COMMAND}`; export r; \
37017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37018 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
37019 $(HOST_EXPORTS) \
37020 $(POSTSTAGE1_HOST_EXPORTS) \
37021 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
37022 CXXFLAGS="$(STAGE4_CFLAGS)"; export CXXFLAGS; \
37023 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
37024 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
37025 cd $(HOST_SUBDIR)/zlib || exit 1; \
37026 case $(srcdir) in \
37027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37028 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
37029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37030 esac; \
37031 srcdiroption="--srcdir=$${topdir}/zlib"; \
37032 libsrcdir="$$s/zlib"; \
37033 $(SHELL) $${libsrcdir}/configure \
37034 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37035 --target=${target_alias} $${srcdiroption} \
37036 --with-build-libsubdir=$(HOST_SUBDIR) \
37037 @stage2_werror_flag@
37038 @endif zlib-bootstrap
37040 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
37041 maybe-configure-stageprofile-zlib:
37042 @if zlib-bootstrap
37043 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
37044 configure-stageprofile-zlib:
37045 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37046 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
37047 @r=`${PWD_COMMAND}`; export r; \
37048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37049 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
37050 $(HOST_EXPORTS) \
37051 $(POSTSTAGE1_HOST_EXPORTS) \
37052 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CFLAGS; \
37053 CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate"; export CXXFLAGS; \
37054 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
37055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
37056 cd $(HOST_SUBDIR)/zlib || exit 1; \
37057 case $(srcdir) in \
37058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37059 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
37060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37061 esac; \
37062 srcdiroption="--srcdir=$${topdir}/zlib"; \
37063 libsrcdir="$$s/zlib"; \
37064 $(SHELL) $${libsrcdir}/configure \
37065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37066 --target=${target_alias} $${srcdiroption} \
37067 --with-build-libsubdir=$(HOST_SUBDIR) \
37068 @stage2_werror_flag@
37069 @endif zlib-bootstrap
37071 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
37072 maybe-configure-stagefeedback-zlib:
37073 @if zlib-bootstrap
37074 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
37075 configure-stagefeedback-zlib:
37076 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37077 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
37078 @r=`${PWD_COMMAND}`; export r; \
37079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37080 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
37081 $(HOST_EXPORTS) \
37082 $(POSTSTAGE1_HOST_EXPORTS) \
37083 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CFLAGS; \
37084 CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use"; export CXXFLAGS; \
37085 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
37086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
37087 cd $(HOST_SUBDIR)/zlib || exit 1; \
37088 case $(srcdir) in \
37089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37090 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
37091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37092 esac; \
37093 srcdiroption="--srcdir=$${topdir}/zlib"; \
37094 libsrcdir="$$s/zlib"; \
37095 $(SHELL) $${libsrcdir}/configure \
37096 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37097 --target=${target_alias} $${srcdiroption} \
37098 --with-build-libsubdir=$(HOST_SUBDIR) \
37099 @stage2_werror_flag@
37100 @endif zlib-bootstrap
37106 .PHONY: all-zlib maybe-all-zlib
37107 maybe-all-zlib:
37108 @if gcc-bootstrap
37109 all-zlib: stage_current
37110 @endif gcc-bootstrap
37111 @if zlib
37112 TARGET-zlib=all
37113 maybe-all-zlib: all-zlib
37114 all-zlib: configure-zlib
37115 @r=`${PWD_COMMAND}`; export r; \
37116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37117 $(HOST_EXPORTS) \
37118 (cd $(HOST_SUBDIR)/zlib && \
37119 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
37120 $(TARGET-zlib))
37121 @endif zlib
37125 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
37126 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
37127 maybe-all-stage1-zlib:
37128 maybe-clean-stage1-zlib:
37129 @if zlib-bootstrap
37130 maybe-all-stage1-zlib: all-stage1-zlib
37131 all-stage1: all-stage1-zlib
37132 TARGET-stage1-zlib = $(TARGET-zlib)
37133 all-stage1-zlib: configure-stage1-zlib
37134 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37135 @r=`${PWD_COMMAND}`; export r; \
37136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37137 $(HOST_EXPORTS) \
37138 cd $(HOST_SUBDIR)/zlib && \
37139 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37140 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
37141 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
37142 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
37143 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) \
37144 $(TARGET-stage1-zlib)
37146 maybe-clean-stage1-zlib: clean-stage1-zlib
37147 clean-stage1: clean-stage1-zlib
37148 clean-stage1-zlib:
37149 @if [ $(current_stage) = stage1 ]; then \
37150 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37151 else \
37152 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
37153 $(MAKE) stage1-start; \
37154 fi; \
37155 cd $(HOST_SUBDIR)/zlib && \
37156 $(MAKE) $(EXTRA_HOST_FLAGS) \
37157 clean
37158 @endif zlib-bootstrap
37161 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
37162 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
37163 maybe-all-stage2-zlib:
37164 maybe-clean-stage2-zlib:
37165 @if zlib-bootstrap
37166 maybe-all-stage2-zlib: all-stage2-zlib
37167 all-stage2: all-stage2-zlib
37168 TARGET-stage2-zlib = $(TARGET-zlib)
37169 all-stage2-zlib: configure-stage2-zlib
37170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37171 @r=`${PWD_COMMAND}`; export r; \
37172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37173 $(HOST_EXPORTS) \
37174 $(POSTSTAGE1_HOST_EXPORTS) \
37175 cd $(HOST_SUBDIR)/zlib && \
37176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37177 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
37178 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
37179 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
37180 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37181 $(TARGET-stage2-zlib)
37183 maybe-clean-stage2-zlib: clean-stage2-zlib
37184 clean-stage2: clean-stage2-zlib
37185 clean-stage2-zlib:
37186 @if [ $(current_stage) = stage2 ]; then \
37187 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37188 else \
37189 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
37190 $(MAKE) stage2-start; \
37191 fi; \
37192 cd $(HOST_SUBDIR)/zlib && \
37193 $(MAKE) $(EXTRA_HOST_FLAGS) \
37194 $(POSTSTAGE1_FLAGS_TO_PASS) \
37195 clean
37196 @endif zlib-bootstrap
37199 .PHONY: all-stageb2g0-zlib maybe-all-stageb2g0-zlib
37200 .PHONY: clean-stageb2g0-zlib maybe-clean-stageb2g0-zlib
37201 maybe-all-stageb2g0-zlib:
37202 maybe-clean-stageb2g0-zlib:
37203 @if zlib-bootstrap
37204 maybe-all-stageb2g0-zlib: all-stageb2g0-zlib
37205 all-stageb2g0: all-stageb2g0-zlib
37206 TARGET-stageb2g0-zlib = $(TARGET-zlib)
37207 all-stageb2g0-zlib: configure-stageb2g0-zlib
37208 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
37209 @r=`${PWD_COMMAND}`; export r; \
37210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37211 $(HOST_EXPORTS) \
37212 $(POSTSTAGE1_HOST_EXPORTS) \
37213 cd $(HOST_SUBDIR)/zlib && \
37214 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37215 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
37216 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
37217 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
37218 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37219 $(TARGET-stageb2g0-zlib)
37221 maybe-clean-stageb2g0-zlib: clean-stageb2g0-zlib
37222 clean-stageb2g0: clean-stageb2g0-zlib
37223 clean-stageb2g0-zlib:
37224 @if [ $(current_stage) = stageb2g0 ]; then \
37225 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37226 else \
37227 [ -f $(HOST_SUBDIR)/stageb2g0-zlib/Makefile ] || exit 0; \
37228 $(MAKE) stageb2g0-start; \
37229 fi; \
37230 cd $(HOST_SUBDIR)/zlib && \
37231 $(MAKE) $(EXTRA_HOST_FLAGS) \
37232 $(POSTSTAGE1_FLAGS_TO_PASS) \
37233 clean
37234 @endif zlib-bootstrap
37237 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
37238 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
37239 maybe-all-stage3-zlib:
37240 maybe-clean-stage3-zlib:
37241 @if zlib-bootstrap
37242 maybe-all-stage3-zlib: all-stage3-zlib
37243 all-stage3: all-stage3-zlib
37244 TARGET-stage3-zlib = $(TARGET-zlib)
37245 all-stage3-zlib: configure-stage3-zlib
37246 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37247 @r=`${PWD_COMMAND}`; export r; \
37248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37249 $(HOST_EXPORTS) \
37250 $(POSTSTAGE1_HOST_EXPORTS) \
37251 cd $(HOST_SUBDIR)/zlib && \
37252 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37253 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
37254 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
37255 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
37256 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37257 $(TARGET-stage3-zlib)
37259 maybe-clean-stage3-zlib: clean-stage3-zlib
37260 clean-stage3: clean-stage3-zlib
37261 clean-stage3-zlib:
37262 @if [ $(current_stage) = stage3 ]; then \
37263 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37264 else \
37265 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
37266 $(MAKE) stage3-start; \
37267 fi; \
37268 cd $(HOST_SUBDIR)/zlib && \
37269 $(MAKE) $(EXTRA_HOST_FLAGS) \
37270 $(POSTSTAGE1_FLAGS_TO_PASS) \
37271 clean
37272 @endif zlib-bootstrap
37275 .PHONY: all-stageb3g2-zlib maybe-all-stageb3g2-zlib
37276 .PHONY: clean-stageb3g2-zlib maybe-clean-stageb3g2-zlib
37277 maybe-all-stageb3g2-zlib:
37278 maybe-clean-stageb3g2-zlib:
37279 @if zlib-bootstrap
37280 maybe-all-stageb3g2-zlib: all-stageb3g2-zlib
37281 all-stageb3g2: all-stageb3g2-zlib
37282 TARGET-stageb3g2-zlib = $(TARGET-zlib)
37283 all-stageb3g2-zlib: configure-stageb3g2-zlib
37284 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
37285 @r=`${PWD_COMMAND}`; export r; \
37286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37287 $(HOST_EXPORTS) \
37288 $(POSTSTAGE1_HOST_EXPORTS) \
37289 cd $(HOST_SUBDIR)/zlib && \
37290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37291 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
37292 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
37293 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
37294 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37295 $(TARGET-stageb3g2-zlib)
37297 maybe-clean-stageb3g2-zlib: clean-stageb3g2-zlib
37298 clean-stageb3g2: clean-stageb3g2-zlib
37299 clean-stageb3g2-zlib:
37300 @if [ $(current_stage) = stageb3g2 ]; then \
37301 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37302 else \
37303 [ -f $(HOST_SUBDIR)/stageb3g2-zlib/Makefile ] || exit 0; \
37304 $(MAKE) stageb3g2-start; \
37305 fi; \
37306 cd $(HOST_SUBDIR)/zlib && \
37307 $(MAKE) $(EXTRA_HOST_FLAGS) \
37308 $(POSTSTAGE1_FLAGS_TO_PASS) \
37309 clean
37310 @endif zlib-bootstrap
37313 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
37314 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
37315 maybe-all-stage4-zlib:
37316 maybe-clean-stage4-zlib:
37317 @if zlib-bootstrap
37318 maybe-all-stage4-zlib: all-stage4-zlib
37319 all-stage4: all-stage4-zlib
37320 TARGET-stage4-zlib = $(TARGET-zlib)
37321 all-stage4-zlib: configure-stage4-zlib
37322 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37323 @r=`${PWD_COMMAND}`; export r; \
37324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37325 $(HOST_EXPORTS) \
37326 $(POSTSTAGE1_HOST_EXPORTS) \
37327 cd $(HOST_SUBDIR)/zlib && \
37328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37329 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
37330 LIBCFLAGS="$(STAGE4_CFLAGS)" \
37331 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
37332 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37333 $(TARGET-stage4-zlib)
37335 maybe-clean-stage4-zlib: clean-stage4-zlib
37336 clean-stage4: clean-stage4-zlib
37337 clean-stage4-zlib:
37338 @if [ $(current_stage) = stage4 ]; then \
37339 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37340 else \
37341 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
37342 $(MAKE) stage4-start; \
37343 fi; \
37344 cd $(HOST_SUBDIR)/zlib && \
37345 $(MAKE) $(EXTRA_HOST_FLAGS) \
37346 $(POSTSTAGE1_FLAGS_TO_PASS) \
37347 clean
37348 @endif zlib-bootstrap
37351 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
37352 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
37353 maybe-all-stageprofile-zlib:
37354 maybe-clean-stageprofile-zlib:
37355 @if zlib-bootstrap
37356 maybe-all-stageprofile-zlib: all-stageprofile-zlib
37357 all-stageprofile: all-stageprofile-zlib
37358 TARGET-stageprofile-zlib = $(TARGET-zlib)
37359 all-stageprofile-zlib: configure-stageprofile-zlib
37360 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37361 @r=`${PWD_COMMAND}`; export r; \
37362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37363 $(HOST_EXPORTS) \
37364 $(POSTSTAGE1_HOST_EXPORTS) \
37365 cd $(HOST_SUBDIR)/zlib && \
37366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37367 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
37368 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
37369 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
37370 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37371 $(TARGET-stageprofile-zlib)
37373 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
37374 clean-stageprofile: clean-stageprofile-zlib
37375 clean-stageprofile-zlib:
37376 @if [ $(current_stage) = stageprofile ]; then \
37377 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37378 else \
37379 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
37380 $(MAKE) stageprofile-start; \
37381 fi; \
37382 cd $(HOST_SUBDIR)/zlib && \
37383 $(MAKE) $(EXTRA_HOST_FLAGS) \
37384 $(POSTSTAGE1_FLAGS_TO_PASS) \
37385 clean
37386 @endif zlib-bootstrap
37389 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
37390 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
37391 maybe-all-stagefeedback-zlib:
37392 maybe-clean-stagefeedback-zlib:
37393 @if zlib-bootstrap
37394 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
37395 all-stagefeedback: all-stagefeedback-zlib
37396 TARGET-stagefeedback-zlib = $(TARGET-zlib)
37397 all-stagefeedback-zlib: configure-stagefeedback-zlib
37398 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37399 @r=`${PWD_COMMAND}`; export r; \
37400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37401 $(HOST_EXPORTS) \
37402 $(POSTSTAGE1_HOST_EXPORTS) \
37403 cd $(HOST_SUBDIR)/zlib && \
37404 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37405 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
37406 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
37407 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
37408 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
37409 $(TARGET-stagefeedback-zlib)
37411 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
37412 clean-stagefeedback: clean-stagefeedback-zlib
37413 clean-stagefeedback-zlib:
37414 @if [ $(current_stage) = stagefeedback ]; then \
37415 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
37416 else \
37417 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
37418 $(MAKE) stagefeedback-start; \
37419 fi; \
37420 cd $(HOST_SUBDIR)/zlib && \
37421 $(MAKE) $(EXTRA_HOST_FLAGS) \
37422 $(POSTSTAGE1_FLAGS_TO_PASS) \
37423 clean
37424 @endif zlib-bootstrap
37430 .PHONY: check-zlib maybe-check-zlib
37431 maybe-check-zlib:
37432 @if zlib
37433 maybe-check-zlib: check-zlib
37435 check-zlib:
37437 @endif zlib
37439 .PHONY: install-zlib maybe-install-zlib
37440 maybe-install-zlib:
37441 @if zlib
37442 maybe-install-zlib: install-zlib
37444 install-zlib:
37446 @endif zlib
37448 # Other targets (info, dvi, pdf, etc.)
37450 .PHONY: maybe-info-zlib info-zlib
37451 maybe-info-zlib:
37452 @if zlib
37453 maybe-info-zlib: info-zlib
37455 info-zlib: \
37456 configure-zlib
37457 @[ -f ./zlib/Makefile ] || exit 0; \
37458 r=`${PWD_COMMAND}`; export r; \
37459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37460 $(HOST_EXPORTS) \
37461 for flag in $(EXTRA_HOST_FLAGS) ; do \
37462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37463 done; \
37464 echo "Doing info in zlib" ; \
37465 (cd $(HOST_SUBDIR)/zlib && \
37466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37468 "RANLIB=$${RANLIB}" \
37469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37470 info) \
37471 || exit 1
37473 @endif zlib
37475 .PHONY: maybe-dvi-zlib dvi-zlib
37476 maybe-dvi-zlib:
37477 @if zlib
37478 maybe-dvi-zlib: dvi-zlib
37480 dvi-zlib: \
37481 configure-zlib
37482 @[ -f ./zlib/Makefile ] || exit 0; \
37483 r=`${PWD_COMMAND}`; export r; \
37484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37485 $(HOST_EXPORTS) \
37486 for flag in $(EXTRA_HOST_FLAGS) ; do \
37487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37488 done; \
37489 echo "Doing dvi in zlib" ; \
37490 (cd $(HOST_SUBDIR)/zlib && \
37491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37493 "RANLIB=$${RANLIB}" \
37494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37495 dvi) \
37496 || exit 1
37498 @endif zlib
37500 .PHONY: maybe-pdf-zlib pdf-zlib
37501 maybe-pdf-zlib:
37502 @if zlib
37503 maybe-pdf-zlib: pdf-zlib
37505 pdf-zlib: \
37506 configure-zlib
37507 @[ -f ./zlib/Makefile ] || exit 0; \
37508 r=`${PWD_COMMAND}`; export r; \
37509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37510 $(HOST_EXPORTS) \
37511 for flag in $(EXTRA_HOST_FLAGS) ; do \
37512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37513 done; \
37514 echo "Doing pdf in zlib" ; \
37515 (cd $(HOST_SUBDIR)/zlib && \
37516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37518 "RANLIB=$${RANLIB}" \
37519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37520 pdf) \
37521 || exit 1
37523 @endif zlib
37525 .PHONY: maybe-html-zlib html-zlib
37526 maybe-html-zlib:
37527 @if zlib
37528 maybe-html-zlib: html-zlib
37530 html-zlib: \
37531 configure-zlib
37532 @[ -f ./zlib/Makefile ] || exit 0; \
37533 r=`${PWD_COMMAND}`; export r; \
37534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37535 $(HOST_EXPORTS) \
37536 for flag in $(EXTRA_HOST_FLAGS) ; do \
37537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37538 done; \
37539 echo "Doing html in zlib" ; \
37540 (cd $(HOST_SUBDIR)/zlib && \
37541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37543 "RANLIB=$${RANLIB}" \
37544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37545 html) \
37546 || exit 1
37548 @endif zlib
37550 .PHONY: maybe-TAGS-zlib TAGS-zlib
37551 maybe-TAGS-zlib:
37552 @if zlib
37553 maybe-TAGS-zlib: TAGS-zlib
37555 TAGS-zlib: \
37556 configure-zlib
37557 @[ -f ./zlib/Makefile ] || exit 0; \
37558 r=`${PWD_COMMAND}`; export r; \
37559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37560 $(HOST_EXPORTS) \
37561 for flag in $(EXTRA_HOST_FLAGS) ; do \
37562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37563 done; \
37564 echo "Doing TAGS in zlib" ; \
37565 (cd $(HOST_SUBDIR)/zlib && \
37566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37568 "RANLIB=$${RANLIB}" \
37569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37570 TAGS) \
37571 || exit 1
37573 @endif zlib
37575 .PHONY: maybe-install-info-zlib install-info-zlib
37576 maybe-install-info-zlib:
37577 @if zlib
37578 maybe-install-info-zlib: install-info-zlib
37580 install-info-zlib: \
37581 configure-zlib \
37582 info-zlib
37583 @[ -f ./zlib/Makefile ] || exit 0; \
37584 r=`${PWD_COMMAND}`; export r; \
37585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37586 $(HOST_EXPORTS) \
37587 for flag in $(EXTRA_HOST_FLAGS) ; do \
37588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37589 done; \
37590 echo "Doing install-info in zlib" ; \
37591 (cd $(HOST_SUBDIR)/zlib && \
37592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37594 "RANLIB=$${RANLIB}" \
37595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37596 install-info) \
37597 || exit 1
37599 @endif zlib
37601 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
37602 maybe-install-pdf-zlib:
37603 @if zlib
37604 maybe-install-pdf-zlib: install-pdf-zlib
37606 install-pdf-zlib: \
37607 configure-zlib \
37608 pdf-zlib
37609 @[ -f ./zlib/Makefile ] || exit 0; \
37610 r=`${PWD_COMMAND}`; export r; \
37611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37612 $(HOST_EXPORTS) \
37613 for flag in $(EXTRA_HOST_FLAGS) ; do \
37614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37615 done; \
37616 echo "Doing install-pdf in zlib" ; \
37617 (cd $(HOST_SUBDIR)/zlib && \
37618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37620 "RANLIB=$${RANLIB}" \
37621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37622 install-pdf) \
37623 || exit 1
37625 @endif zlib
37627 .PHONY: maybe-install-html-zlib install-html-zlib
37628 maybe-install-html-zlib:
37629 @if zlib
37630 maybe-install-html-zlib: install-html-zlib
37632 install-html-zlib: \
37633 configure-zlib \
37634 html-zlib
37635 @[ -f ./zlib/Makefile ] || exit 0; \
37636 r=`${PWD_COMMAND}`; export r; \
37637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37638 $(HOST_EXPORTS) \
37639 for flag in $(EXTRA_HOST_FLAGS) ; do \
37640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37641 done; \
37642 echo "Doing install-html in zlib" ; \
37643 (cd $(HOST_SUBDIR)/zlib && \
37644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37646 "RANLIB=$${RANLIB}" \
37647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37648 install-html) \
37649 || exit 1
37651 @endif zlib
37653 .PHONY: maybe-installcheck-zlib installcheck-zlib
37654 maybe-installcheck-zlib:
37655 @if zlib
37656 maybe-installcheck-zlib: installcheck-zlib
37658 installcheck-zlib: \
37659 configure-zlib
37660 @[ -f ./zlib/Makefile ] || exit 0; \
37661 r=`${PWD_COMMAND}`; export r; \
37662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37663 $(HOST_EXPORTS) \
37664 for flag in $(EXTRA_HOST_FLAGS) ; do \
37665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37666 done; \
37667 echo "Doing installcheck in zlib" ; \
37668 (cd $(HOST_SUBDIR)/zlib && \
37669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37671 "RANLIB=$${RANLIB}" \
37672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37673 installcheck) \
37674 || exit 1
37676 @endif zlib
37678 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
37679 maybe-mostlyclean-zlib:
37680 @if zlib
37681 maybe-mostlyclean-zlib: mostlyclean-zlib
37683 mostlyclean-zlib:
37684 @[ -f ./zlib/Makefile ] || exit 0; \
37685 r=`${PWD_COMMAND}`; export r; \
37686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37687 $(HOST_EXPORTS) \
37688 for flag in $(EXTRA_HOST_FLAGS) ; do \
37689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37690 done; \
37691 echo "Doing mostlyclean in zlib" ; \
37692 (cd $(HOST_SUBDIR)/zlib && \
37693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37695 "RANLIB=$${RANLIB}" \
37696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37697 mostlyclean) \
37698 || exit 1
37700 @endif zlib
37702 .PHONY: maybe-clean-zlib clean-zlib
37703 maybe-clean-zlib:
37704 @if zlib
37705 maybe-clean-zlib: clean-zlib
37707 clean-zlib:
37708 @[ -f ./zlib/Makefile ] || exit 0; \
37709 r=`${PWD_COMMAND}`; export r; \
37710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37711 $(HOST_EXPORTS) \
37712 for flag in $(EXTRA_HOST_FLAGS) ; do \
37713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37714 done; \
37715 echo "Doing clean in zlib" ; \
37716 (cd $(HOST_SUBDIR)/zlib && \
37717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37719 "RANLIB=$${RANLIB}" \
37720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37721 clean) \
37722 || exit 1
37724 @endif zlib
37726 .PHONY: maybe-distclean-zlib distclean-zlib
37727 maybe-distclean-zlib:
37728 @if zlib
37729 maybe-distclean-zlib: distclean-zlib
37731 distclean-zlib:
37732 @[ -f ./zlib/Makefile ] || exit 0; \
37733 r=`${PWD_COMMAND}`; export r; \
37734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37735 $(HOST_EXPORTS) \
37736 for flag in $(EXTRA_HOST_FLAGS) ; do \
37737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37738 done; \
37739 echo "Doing distclean in zlib" ; \
37740 (cd $(HOST_SUBDIR)/zlib && \
37741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37743 "RANLIB=$${RANLIB}" \
37744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37745 distclean) \
37746 || exit 1
37748 @endif zlib
37750 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
37751 maybe-maintainer-clean-zlib:
37752 @if zlib
37753 maybe-maintainer-clean-zlib: maintainer-clean-zlib
37755 maintainer-clean-zlib:
37756 @[ -f ./zlib/Makefile ] || exit 0; \
37757 r=`${PWD_COMMAND}`; export r; \
37758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37759 $(HOST_EXPORTS) \
37760 for flag in $(EXTRA_HOST_FLAGS) ; do \
37761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37762 done; \
37763 echo "Doing maintainer-clean in zlib" ; \
37764 (cd $(HOST_SUBDIR)/zlib && \
37765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37767 "RANLIB=$${RANLIB}" \
37768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37769 maintainer-clean) \
37770 || exit 1
37772 @endif zlib
37776 .PHONY: configure-gdb maybe-configure-gdb
37777 maybe-configure-gdb:
37778 @if gcc-bootstrap
37779 configure-gdb: stage_current
37780 @endif gcc-bootstrap
37781 @if gdb
37782 maybe-configure-gdb: configure-gdb
37783 configure-gdb:
37784 @: $(MAKE); $(unstage)
37785 @r=`${PWD_COMMAND}`; export r; \
37786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37787 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
37788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
37789 $(HOST_EXPORTS) \
37790 echo Configuring in $(HOST_SUBDIR)/gdb; \
37791 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
37792 case $(srcdir) in \
37793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37794 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
37795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37796 esac; \
37797 srcdiroption="--srcdir=$${topdir}/gdb"; \
37798 libsrcdir="$$s/gdb"; \
37799 $(SHELL) $${libsrcdir}/configure \
37800 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
37801 --target=${target_alias} $${srcdiroption} \
37802 || exit 1
37803 @endif gdb
37809 .PHONY: all-gdb maybe-all-gdb
37810 maybe-all-gdb:
37811 @if gcc-bootstrap
37812 all-gdb: stage_current
37813 @endif gcc-bootstrap
37814 @if gdb
37815 TARGET-gdb=all
37816 maybe-all-gdb: all-gdb
37817 all-gdb: configure-gdb
37818 @: $(MAKE); $(unstage)
37819 @r=`${PWD_COMMAND}`; export r; \
37820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37821 $(HOST_EXPORTS) \
37822 (cd $(HOST_SUBDIR)/gdb && \
37823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
37824 $(TARGET-gdb))
37825 @endif gdb
37830 .PHONY: check-gdb maybe-check-gdb
37831 maybe-check-gdb:
37832 @if gdb
37833 maybe-check-gdb: check-gdb
37835 check-gdb:
37836 @: $(MAKE); $(unstage)
37837 @r=`${PWD_COMMAND}`; export r; \
37838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37839 $(HOST_EXPORTS) \
37840 (cd $(HOST_SUBDIR)/gdb && \
37841 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
37843 @endif gdb
37845 .PHONY: install-gdb maybe-install-gdb
37846 maybe-install-gdb:
37847 @if gdb
37848 maybe-install-gdb: install-gdb
37850 install-gdb: installdirs
37851 @: $(MAKE); $(unstage)
37852 @r=`${PWD_COMMAND}`; export r; \
37853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37854 $(HOST_EXPORTS) \
37855 (cd $(HOST_SUBDIR)/gdb && \
37856 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
37858 @endif gdb
37860 # Other targets (info, dvi, pdf, etc.)
37862 .PHONY: maybe-info-gdb info-gdb
37863 maybe-info-gdb:
37864 @if gdb
37865 maybe-info-gdb: info-gdb
37867 info-gdb: \
37868 configure-gdb
37869 @: $(MAKE); $(unstage)
37870 @[ -f ./gdb/Makefile ] || exit 0; \
37871 r=`${PWD_COMMAND}`; export r; \
37872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37873 $(HOST_EXPORTS) \
37874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
37875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37876 done; \
37877 echo "Doing info in gdb" ; \
37878 (cd $(HOST_SUBDIR)/gdb && \
37879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37881 "RANLIB=$${RANLIB}" \
37882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37883 info) \
37884 || exit 1
37886 @endif gdb
37888 .PHONY: maybe-dvi-gdb dvi-gdb
37889 maybe-dvi-gdb:
37890 @if gdb
37891 maybe-dvi-gdb: dvi-gdb
37893 dvi-gdb: \
37894 configure-gdb
37895 @: $(MAKE); $(unstage)
37896 @[ -f ./gdb/Makefile ] || exit 0; \
37897 r=`${PWD_COMMAND}`; export r; \
37898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37899 $(HOST_EXPORTS) \
37900 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
37901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37902 done; \
37903 echo "Doing dvi in gdb" ; \
37904 (cd $(HOST_SUBDIR)/gdb && \
37905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37907 "RANLIB=$${RANLIB}" \
37908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37909 dvi) \
37910 || exit 1
37912 @endif gdb
37914 .PHONY: maybe-pdf-gdb pdf-gdb
37915 maybe-pdf-gdb:
37916 @if gdb
37917 maybe-pdf-gdb: pdf-gdb
37919 pdf-gdb: \
37920 configure-gdb
37921 @: $(MAKE); $(unstage)
37922 @[ -f ./gdb/Makefile ] || exit 0; \
37923 r=`${PWD_COMMAND}`; export r; \
37924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37925 $(HOST_EXPORTS) \
37926 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
37927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37928 done; \
37929 echo "Doing pdf in gdb" ; \
37930 (cd $(HOST_SUBDIR)/gdb && \
37931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37933 "RANLIB=$${RANLIB}" \
37934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37935 pdf) \
37936 || exit 1
37938 @endif gdb
37940 .PHONY: maybe-html-gdb html-gdb
37941 maybe-html-gdb:
37942 @if gdb
37943 maybe-html-gdb: html-gdb
37945 html-gdb: \
37946 configure-gdb
37947 @: $(MAKE); $(unstage)
37948 @[ -f ./gdb/Makefile ] || exit 0; \
37949 r=`${PWD_COMMAND}`; export r; \
37950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37951 $(HOST_EXPORTS) \
37952 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
37953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37954 done; \
37955 echo "Doing html in gdb" ; \
37956 (cd $(HOST_SUBDIR)/gdb && \
37957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37959 "RANLIB=$${RANLIB}" \
37960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37961 html) \
37962 || exit 1
37964 @endif gdb
37966 .PHONY: maybe-TAGS-gdb TAGS-gdb
37967 maybe-TAGS-gdb:
37968 @if gdb
37969 maybe-TAGS-gdb: TAGS-gdb
37971 TAGS-gdb: \
37972 configure-gdb
37973 @: $(MAKE); $(unstage)
37974 @[ -f ./gdb/Makefile ] || exit 0; \
37975 r=`${PWD_COMMAND}`; export r; \
37976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37977 $(HOST_EXPORTS) \
37978 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
37979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37980 done; \
37981 echo "Doing TAGS in gdb" ; \
37982 (cd $(HOST_SUBDIR)/gdb && \
37983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37985 "RANLIB=$${RANLIB}" \
37986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37987 TAGS) \
37988 || exit 1
37990 @endif gdb
37992 .PHONY: maybe-install-info-gdb install-info-gdb
37993 maybe-install-info-gdb:
37994 @if gdb
37995 maybe-install-info-gdb: install-info-gdb
37997 install-info-gdb: \
37998 configure-gdb \
37999 info-gdb
38000 @: $(MAKE); $(unstage)
38001 @[ -f ./gdb/Makefile ] || exit 0; \
38002 r=`${PWD_COMMAND}`; export r; \
38003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38004 $(HOST_EXPORTS) \
38005 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38007 done; \
38008 echo "Doing install-info in gdb" ; \
38009 (cd $(HOST_SUBDIR)/gdb && \
38010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38012 "RANLIB=$${RANLIB}" \
38013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38014 install-info) \
38015 || exit 1
38017 @endif gdb
38019 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
38020 maybe-install-pdf-gdb:
38021 @if gdb
38022 maybe-install-pdf-gdb: install-pdf-gdb
38024 install-pdf-gdb: \
38025 configure-gdb \
38026 pdf-gdb
38027 @: $(MAKE); $(unstage)
38028 @[ -f ./gdb/Makefile ] || exit 0; \
38029 r=`${PWD_COMMAND}`; export r; \
38030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38031 $(HOST_EXPORTS) \
38032 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38034 done; \
38035 echo "Doing install-pdf in gdb" ; \
38036 (cd $(HOST_SUBDIR)/gdb && \
38037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38039 "RANLIB=$${RANLIB}" \
38040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38041 install-pdf) \
38042 || exit 1
38044 @endif gdb
38046 .PHONY: maybe-install-html-gdb install-html-gdb
38047 maybe-install-html-gdb:
38048 @if gdb
38049 maybe-install-html-gdb: install-html-gdb
38051 install-html-gdb: \
38052 configure-gdb \
38053 html-gdb
38054 @: $(MAKE); $(unstage)
38055 @[ -f ./gdb/Makefile ] || exit 0; \
38056 r=`${PWD_COMMAND}`; export r; \
38057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38058 $(HOST_EXPORTS) \
38059 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38061 done; \
38062 echo "Doing install-html in gdb" ; \
38063 (cd $(HOST_SUBDIR)/gdb && \
38064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38066 "RANLIB=$${RANLIB}" \
38067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38068 install-html) \
38069 || exit 1
38071 @endif gdb
38073 .PHONY: maybe-installcheck-gdb installcheck-gdb
38074 maybe-installcheck-gdb:
38075 @if gdb
38076 maybe-installcheck-gdb: installcheck-gdb
38078 installcheck-gdb: \
38079 configure-gdb
38080 @: $(MAKE); $(unstage)
38081 @[ -f ./gdb/Makefile ] || exit 0; \
38082 r=`${PWD_COMMAND}`; export r; \
38083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38084 $(HOST_EXPORTS) \
38085 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38087 done; \
38088 echo "Doing installcheck in gdb" ; \
38089 (cd $(HOST_SUBDIR)/gdb && \
38090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38092 "RANLIB=$${RANLIB}" \
38093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38094 installcheck) \
38095 || exit 1
38097 @endif gdb
38099 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
38100 maybe-mostlyclean-gdb:
38101 @if gdb
38102 maybe-mostlyclean-gdb: mostlyclean-gdb
38104 mostlyclean-gdb:
38105 @: $(MAKE); $(unstage)
38106 @[ -f ./gdb/Makefile ] || exit 0; \
38107 r=`${PWD_COMMAND}`; export r; \
38108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38109 $(HOST_EXPORTS) \
38110 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38112 done; \
38113 echo "Doing mostlyclean in gdb" ; \
38114 (cd $(HOST_SUBDIR)/gdb && \
38115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38117 "RANLIB=$${RANLIB}" \
38118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38119 mostlyclean) \
38120 || exit 1
38122 @endif gdb
38124 .PHONY: maybe-clean-gdb clean-gdb
38125 maybe-clean-gdb:
38126 @if gdb
38127 maybe-clean-gdb: clean-gdb
38129 clean-gdb:
38130 @: $(MAKE); $(unstage)
38131 @[ -f ./gdb/Makefile ] || exit 0; \
38132 r=`${PWD_COMMAND}`; export r; \
38133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38134 $(HOST_EXPORTS) \
38135 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38137 done; \
38138 echo "Doing clean in gdb" ; \
38139 (cd $(HOST_SUBDIR)/gdb && \
38140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38142 "RANLIB=$${RANLIB}" \
38143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38144 clean) \
38145 || exit 1
38147 @endif gdb
38149 .PHONY: maybe-distclean-gdb distclean-gdb
38150 maybe-distclean-gdb:
38151 @if gdb
38152 maybe-distclean-gdb: distclean-gdb
38154 distclean-gdb:
38155 @: $(MAKE); $(unstage)
38156 @[ -f ./gdb/Makefile ] || exit 0; \
38157 r=`${PWD_COMMAND}`; export r; \
38158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38159 $(HOST_EXPORTS) \
38160 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38162 done; \
38163 echo "Doing distclean in gdb" ; \
38164 (cd $(HOST_SUBDIR)/gdb && \
38165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38167 "RANLIB=$${RANLIB}" \
38168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38169 distclean) \
38170 || exit 1
38172 @endif gdb
38174 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
38175 maybe-maintainer-clean-gdb:
38176 @if gdb
38177 maybe-maintainer-clean-gdb: maintainer-clean-gdb
38179 maintainer-clean-gdb:
38180 @: $(MAKE); $(unstage)
38181 @[ -f ./gdb/Makefile ] || exit 0; \
38182 r=`${PWD_COMMAND}`; export r; \
38183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38184 $(HOST_EXPORTS) \
38185 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38187 done; \
38188 echo "Doing maintainer-clean in gdb" ; \
38189 (cd $(HOST_SUBDIR)/gdb && \
38190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38192 "RANLIB=$${RANLIB}" \
38193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38194 maintainer-clean) \
38195 || exit 1
38197 @endif gdb
38201 .PHONY: configure-expect maybe-configure-expect
38202 maybe-configure-expect:
38203 @if gcc-bootstrap
38204 configure-expect: stage_current
38205 @endif gcc-bootstrap
38206 @if expect
38207 maybe-configure-expect: configure-expect
38208 configure-expect:
38209 @: $(MAKE); $(unstage)
38210 @r=`${PWD_COMMAND}`; export r; \
38211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38212 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
38213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
38214 $(HOST_EXPORTS) \
38215 echo Configuring in $(HOST_SUBDIR)/expect; \
38216 cd "$(HOST_SUBDIR)/expect" || exit 1; \
38217 case $(srcdir) in \
38218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38219 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
38220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38221 esac; \
38222 srcdiroption="--srcdir=$${topdir}/expect"; \
38223 libsrcdir="$$s/expect"; \
38224 $(SHELL) $${libsrcdir}/configure \
38225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38226 --target=${target_alias} $${srcdiroption} \
38227 || exit 1
38228 @endif expect
38234 .PHONY: all-expect maybe-all-expect
38235 maybe-all-expect:
38236 @if gcc-bootstrap
38237 all-expect: stage_current
38238 @endif gcc-bootstrap
38239 @if expect
38240 TARGET-expect=all
38241 maybe-all-expect: all-expect
38242 all-expect: configure-expect
38243 @: $(MAKE); $(unstage)
38244 @r=`${PWD_COMMAND}`; export r; \
38245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38246 $(HOST_EXPORTS) \
38247 (cd $(HOST_SUBDIR)/expect && \
38248 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
38249 $(TARGET-expect))
38250 @endif expect
38255 .PHONY: check-expect maybe-check-expect
38256 maybe-check-expect:
38257 @if expect
38258 maybe-check-expect: check-expect
38260 check-expect:
38261 @: $(MAKE); $(unstage)
38262 @r=`${PWD_COMMAND}`; export r; \
38263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38264 $(HOST_EXPORTS) \
38265 (cd $(HOST_SUBDIR)/expect && \
38266 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
38268 @endif expect
38270 .PHONY: install-expect maybe-install-expect
38271 maybe-install-expect:
38272 @if expect
38273 maybe-install-expect: install-expect
38275 install-expect: installdirs
38276 @: $(MAKE); $(unstage)
38277 @r=`${PWD_COMMAND}`; export r; \
38278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38279 $(HOST_EXPORTS) \
38280 (cd $(HOST_SUBDIR)/expect && \
38281 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
38283 @endif expect
38285 # Other targets (info, dvi, pdf, etc.)
38287 .PHONY: maybe-info-expect info-expect
38288 maybe-info-expect:
38289 @if expect
38290 maybe-info-expect: info-expect
38292 info-expect: \
38293 configure-expect
38294 @: $(MAKE); $(unstage)
38295 @[ -f ./expect/Makefile ] || exit 0; \
38296 r=`${PWD_COMMAND}`; export r; \
38297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38298 $(HOST_EXPORTS) \
38299 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38301 done; \
38302 echo "Doing info in expect" ; \
38303 (cd $(HOST_SUBDIR)/expect && \
38304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38306 "RANLIB=$${RANLIB}" \
38307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38308 info) \
38309 || exit 1
38311 @endif expect
38313 .PHONY: maybe-dvi-expect dvi-expect
38314 maybe-dvi-expect:
38315 @if expect
38316 maybe-dvi-expect: dvi-expect
38318 dvi-expect: \
38319 configure-expect
38320 @: $(MAKE); $(unstage)
38321 @[ -f ./expect/Makefile ] || exit 0; \
38322 r=`${PWD_COMMAND}`; export r; \
38323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38324 $(HOST_EXPORTS) \
38325 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38327 done; \
38328 echo "Doing dvi in expect" ; \
38329 (cd $(HOST_SUBDIR)/expect && \
38330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38332 "RANLIB=$${RANLIB}" \
38333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38334 dvi) \
38335 || exit 1
38337 @endif expect
38339 .PHONY: maybe-pdf-expect pdf-expect
38340 maybe-pdf-expect:
38341 @if expect
38342 maybe-pdf-expect: pdf-expect
38344 pdf-expect: \
38345 configure-expect
38346 @: $(MAKE); $(unstage)
38347 @[ -f ./expect/Makefile ] || exit 0; \
38348 r=`${PWD_COMMAND}`; export r; \
38349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38350 $(HOST_EXPORTS) \
38351 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38353 done; \
38354 echo "Doing pdf in expect" ; \
38355 (cd $(HOST_SUBDIR)/expect && \
38356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38358 "RANLIB=$${RANLIB}" \
38359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38360 pdf) \
38361 || exit 1
38363 @endif expect
38365 .PHONY: maybe-html-expect html-expect
38366 maybe-html-expect:
38367 @if expect
38368 maybe-html-expect: html-expect
38370 html-expect: \
38371 configure-expect
38372 @: $(MAKE); $(unstage)
38373 @[ -f ./expect/Makefile ] || exit 0; \
38374 r=`${PWD_COMMAND}`; export r; \
38375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38376 $(HOST_EXPORTS) \
38377 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38379 done; \
38380 echo "Doing html in expect" ; \
38381 (cd $(HOST_SUBDIR)/expect && \
38382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38384 "RANLIB=$${RANLIB}" \
38385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38386 html) \
38387 || exit 1
38389 @endif expect
38391 .PHONY: maybe-TAGS-expect TAGS-expect
38392 maybe-TAGS-expect:
38393 @if expect
38394 maybe-TAGS-expect: TAGS-expect
38396 TAGS-expect: \
38397 configure-expect
38398 @: $(MAKE); $(unstage)
38399 @[ -f ./expect/Makefile ] || exit 0; \
38400 r=`${PWD_COMMAND}`; export r; \
38401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38402 $(HOST_EXPORTS) \
38403 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38405 done; \
38406 echo "Doing TAGS in expect" ; \
38407 (cd $(HOST_SUBDIR)/expect && \
38408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38410 "RANLIB=$${RANLIB}" \
38411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38412 TAGS) \
38413 || exit 1
38415 @endif expect
38417 .PHONY: maybe-install-info-expect install-info-expect
38418 maybe-install-info-expect:
38419 @if expect
38420 maybe-install-info-expect: install-info-expect
38422 install-info-expect: \
38423 configure-expect \
38424 info-expect
38425 @: $(MAKE); $(unstage)
38426 @[ -f ./expect/Makefile ] || exit 0; \
38427 r=`${PWD_COMMAND}`; export r; \
38428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38429 $(HOST_EXPORTS) \
38430 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38432 done; \
38433 echo "Doing install-info in expect" ; \
38434 (cd $(HOST_SUBDIR)/expect && \
38435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38437 "RANLIB=$${RANLIB}" \
38438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38439 install-info) \
38440 || exit 1
38442 @endif expect
38444 .PHONY: maybe-install-pdf-expect install-pdf-expect
38445 maybe-install-pdf-expect:
38446 @if expect
38447 maybe-install-pdf-expect: install-pdf-expect
38449 install-pdf-expect: \
38450 configure-expect \
38451 pdf-expect
38452 @: $(MAKE); $(unstage)
38453 @[ -f ./expect/Makefile ] || exit 0; \
38454 r=`${PWD_COMMAND}`; export r; \
38455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38456 $(HOST_EXPORTS) \
38457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38459 done; \
38460 echo "Doing install-pdf in expect" ; \
38461 (cd $(HOST_SUBDIR)/expect && \
38462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38464 "RANLIB=$${RANLIB}" \
38465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38466 install-pdf) \
38467 || exit 1
38469 @endif expect
38471 .PHONY: maybe-install-html-expect install-html-expect
38472 maybe-install-html-expect:
38473 @if expect
38474 maybe-install-html-expect: install-html-expect
38476 install-html-expect: \
38477 configure-expect \
38478 html-expect
38479 @: $(MAKE); $(unstage)
38480 @[ -f ./expect/Makefile ] || exit 0; \
38481 r=`${PWD_COMMAND}`; export r; \
38482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38483 $(HOST_EXPORTS) \
38484 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38486 done; \
38487 echo "Doing install-html in expect" ; \
38488 (cd $(HOST_SUBDIR)/expect && \
38489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38491 "RANLIB=$${RANLIB}" \
38492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38493 install-html) \
38494 || exit 1
38496 @endif expect
38498 .PHONY: maybe-installcheck-expect installcheck-expect
38499 maybe-installcheck-expect:
38500 @if expect
38501 maybe-installcheck-expect: installcheck-expect
38503 installcheck-expect: \
38504 configure-expect
38505 @: $(MAKE); $(unstage)
38506 @[ -f ./expect/Makefile ] || exit 0; \
38507 r=`${PWD_COMMAND}`; export r; \
38508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38509 $(HOST_EXPORTS) \
38510 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38512 done; \
38513 echo "Doing installcheck in expect" ; \
38514 (cd $(HOST_SUBDIR)/expect && \
38515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38517 "RANLIB=$${RANLIB}" \
38518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38519 installcheck) \
38520 || exit 1
38522 @endif expect
38524 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
38525 maybe-mostlyclean-expect:
38526 @if expect
38527 maybe-mostlyclean-expect: mostlyclean-expect
38529 mostlyclean-expect:
38530 @: $(MAKE); $(unstage)
38531 @[ -f ./expect/Makefile ] || exit 0; \
38532 r=`${PWD_COMMAND}`; export r; \
38533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38534 $(HOST_EXPORTS) \
38535 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38537 done; \
38538 echo "Doing mostlyclean in expect" ; \
38539 (cd $(HOST_SUBDIR)/expect && \
38540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38542 "RANLIB=$${RANLIB}" \
38543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38544 mostlyclean) \
38545 || exit 1
38547 @endif expect
38549 .PHONY: maybe-clean-expect clean-expect
38550 maybe-clean-expect:
38551 @if expect
38552 maybe-clean-expect: clean-expect
38554 clean-expect:
38555 @: $(MAKE); $(unstage)
38556 @[ -f ./expect/Makefile ] || exit 0; \
38557 r=`${PWD_COMMAND}`; export r; \
38558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38559 $(HOST_EXPORTS) \
38560 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38562 done; \
38563 echo "Doing clean in expect" ; \
38564 (cd $(HOST_SUBDIR)/expect && \
38565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38567 "RANLIB=$${RANLIB}" \
38568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38569 clean) \
38570 || exit 1
38572 @endif expect
38574 .PHONY: maybe-distclean-expect distclean-expect
38575 maybe-distclean-expect:
38576 @if expect
38577 maybe-distclean-expect: distclean-expect
38579 distclean-expect:
38580 @: $(MAKE); $(unstage)
38581 @[ -f ./expect/Makefile ] || exit 0; \
38582 r=`${PWD_COMMAND}`; export r; \
38583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38584 $(HOST_EXPORTS) \
38585 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38587 done; \
38588 echo "Doing distclean in expect" ; \
38589 (cd $(HOST_SUBDIR)/expect && \
38590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38592 "RANLIB=$${RANLIB}" \
38593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38594 distclean) \
38595 || exit 1
38597 @endif expect
38599 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
38600 maybe-maintainer-clean-expect:
38601 @if expect
38602 maybe-maintainer-clean-expect: maintainer-clean-expect
38604 maintainer-clean-expect:
38605 @: $(MAKE); $(unstage)
38606 @[ -f ./expect/Makefile ] || exit 0; \
38607 r=`${PWD_COMMAND}`; export r; \
38608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38609 $(HOST_EXPORTS) \
38610 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38612 done; \
38613 echo "Doing maintainer-clean in expect" ; \
38614 (cd $(HOST_SUBDIR)/expect && \
38615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38617 "RANLIB=$${RANLIB}" \
38618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38619 maintainer-clean) \
38620 || exit 1
38622 @endif expect
38626 .PHONY: configure-guile maybe-configure-guile
38627 maybe-configure-guile:
38628 @if gcc-bootstrap
38629 configure-guile: stage_current
38630 @endif gcc-bootstrap
38631 @if guile
38632 maybe-configure-guile: configure-guile
38633 configure-guile:
38634 @: $(MAKE); $(unstage)
38635 @r=`${PWD_COMMAND}`; export r; \
38636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38637 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
38638 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
38639 $(HOST_EXPORTS) \
38640 echo Configuring in $(HOST_SUBDIR)/guile; \
38641 cd "$(HOST_SUBDIR)/guile" || exit 1; \
38642 case $(srcdir) in \
38643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38644 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
38645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38646 esac; \
38647 srcdiroption="--srcdir=$${topdir}/guile"; \
38648 libsrcdir="$$s/guile"; \
38649 $(SHELL) $${libsrcdir}/configure \
38650 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
38651 --target=${target_alias} $${srcdiroption} \
38652 || exit 1
38653 @endif guile
38659 .PHONY: all-guile maybe-all-guile
38660 maybe-all-guile:
38661 @if gcc-bootstrap
38662 all-guile: stage_current
38663 @endif gcc-bootstrap
38664 @if guile
38665 TARGET-guile=all
38666 maybe-all-guile: all-guile
38667 all-guile: configure-guile
38668 @: $(MAKE); $(unstage)
38669 @r=`${PWD_COMMAND}`; export r; \
38670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38671 $(HOST_EXPORTS) \
38672 (cd $(HOST_SUBDIR)/guile && \
38673 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
38674 $(TARGET-guile))
38675 @endif guile
38680 .PHONY: check-guile maybe-check-guile
38681 maybe-check-guile:
38682 @if guile
38683 maybe-check-guile: check-guile
38685 check-guile:
38686 @: $(MAKE); $(unstage)
38687 @r=`${PWD_COMMAND}`; export r; \
38688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38689 $(HOST_EXPORTS) \
38690 (cd $(HOST_SUBDIR)/guile && \
38691 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
38693 @endif guile
38695 .PHONY: install-guile maybe-install-guile
38696 maybe-install-guile:
38697 @if guile
38698 maybe-install-guile: install-guile
38700 install-guile: installdirs
38701 @: $(MAKE); $(unstage)
38702 @r=`${PWD_COMMAND}`; export r; \
38703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38704 $(HOST_EXPORTS) \
38705 (cd $(HOST_SUBDIR)/guile && \
38706 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
38708 @endif guile
38710 # Other targets (info, dvi, pdf, etc.)
38712 .PHONY: maybe-info-guile info-guile
38713 maybe-info-guile:
38714 @if guile
38715 maybe-info-guile: info-guile
38717 info-guile: \
38718 configure-guile
38719 @: $(MAKE); $(unstage)
38720 @[ -f ./guile/Makefile ] || exit 0; \
38721 r=`${PWD_COMMAND}`; export r; \
38722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38723 $(HOST_EXPORTS) \
38724 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38726 done; \
38727 echo "Doing info in guile" ; \
38728 (cd $(HOST_SUBDIR)/guile && \
38729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38731 "RANLIB=$${RANLIB}" \
38732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38733 info) \
38734 || exit 1
38736 @endif guile
38738 .PHONY: maybe-dvi-guile dvi-guile
38739 maybe-dvi-guile:
38740 @if guile
38741 maybe-dvi-guile: dvi-guile
38743 dvi-guile: \
38744 configure-guile
38745 @: $(MAKE); $(unstage)
38746 @[ -f ./guile/Makefile ] || exit 0; \
38747 r=`${PWD_COMMAND}`; export r; \
38748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38749 $(HOST_EXPORTS) \
38750 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38752 done; \
38753 echo "Doing dvi in guile" ; \
38754 (cd $(HOST_SUBDIR)/guile && \
38755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38757 "RANLIB=$${RANLIB}" \
38758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38759 dvi) \
38760 || exit 1
38762 @endif guile
38764 .PHONY: maybe-pdf-guile pdf-guile
38765 maybe-pdf-guile:
38766 @if guile
38767 maybe-pdf-guile: pdf-guile
38769 pdf-guile: \
38770 configure-guile
38771 @: $(MAKE); $(unstage)
38772 @[ -f ./guile/Makefile ] || exit 0; \
38773 r=`${PWD_COMMAND}`; export r; \
38774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38775 $(HOST_EXPORTS) \
38776 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38778 done; \
38779 echo "Doing pdf in guile" ; \
38780 (cd $(HOST_SUBDIR)/guile && \
38781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38783 "RANLIB=$${RANLIB}" \
38784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38785 pdf) \
38786 || exit 1
38788 @endif guile
38790 .PHONY: maybe-html-guile html-guile
38791 maybe-html-guile:
38792 @if guile
38793 maybe-html-guile: html-guile
38795 html-guile: \
38796 configure-guile
38797 @: $(MAKE); $(unstage)
38798 @[ -f ./guile/Makefile ] || exit 0; \
38799 r=`${PWD_COMMAND}`; export r; \
38800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38801 $(HOST_EXPORTS) \
38802 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38804 done; \
38805 echo "Doing html in guile" ; \
38806 (cd $(HOST_SUBDIR)/guile && \
38807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38809 "RANLIB=$${RANLIB}" \
38810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38811 html) \
38812 || exit 1
38814 @endif guile
38816 .PHONY: maybe-TAGS-guile TAGS-guile
38817 maybe-TAGS-guile:
38818 @if guile
38819 maybe-TAGS-guile: TAGS-guile
38821 TAGS-guile: \
38822 configure-guile
38823 @: $(MAKE); $(unstage)
38824 @[ -f ./guile/Makefile ] || exit 0; \
38825 r=`${PWD_COMMAND}`; export r; \
38826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38827 $(HOST_EXPORTS) \
38828 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38830 done; \
38831 echo "Doing TAGS in guile" ; \
38832 (cd $(HOST_SUBDIR)/guile && \
38833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38835 "RANLIB=$${RANLIB}" \
38836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38837 TAGS) \
38838 || exit 1
38840 @endif guile
38842 .PHONY: maybe-install-info-guile install-info-guile
38843 maybe-install-info-guile:
38844 @if guile
38845 maybe-install-info-guile: install-info-guile
38847 install-info-guile: \
38848 configure-guile \
38849 info-guile
38850 @: $(MAKE); $(unstage)
38851 @[ -f ./guile/Makefile ] || exit 0; \
38852 r=`${PWD_COMMAND}`; export r; \
38853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38854 $(HOST_EXPORTS) \
38855 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38857 done; \
38858 echo "Doing install-info in guile" ; \
38859 (cd $(HOST_SUBDIR)/guile && \
38860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38862 "RANLIB=$${RANLIB}" \
38863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38864 install-info) \
38865 || exit 1
38867 @endif guile
38869 .PHONY: maybe-install-pdf-guile install-pdf-guile
38870 maybe-install-pdf-guile:
38871 @if guile
38872 maybe-install-pdf-guile: install-pdf-guile
38874 install-pdf-guile: \
38875 configure-guile \
38876 pdf-guile
38877 @: $(MAKE); $(unstage)
38878 @[ -f ./guile/Makefile ] || exit 0; \
38879 r=`${PWD_COMMAND}`; export r; \
38880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38881 $(HOST_EXPORTS) \
38882 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38884 done; \
38885 echo "Doing install-pdf in guile" ; \
38886 (cd $(HOST_SUBDIR)/guile && \
38887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38889 "RANLIB=$${RANLIB}" \
38890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38891 install-pdf) \
38892 || exit 1
38894 @endif guile
38896 .PHONY: maybe-install-html-guile install-html-guile
38897 maybe-install-html-guile:
38898 @if guile
38899 maybe-install-html-guile: install-html-guile
38901 install-html-guile: \
38902 configure-guile \
38903 html-guile
38904 @: $(MAKE); $(unstage)
38905 @[ -f ./guile/Makefile ] || exit 0; \
38906 r=`${PWD_COMMAND}`; export r; \
38907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38908 $(HOST_EXPORTS) \
38909 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38911 done; \
38912 echo "Doing install-html in guile" ; \
38913 (cd $(HOST_SUBDIR)/guile && \
38914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38916 "RANLIB=$${RANLIB}" \
38917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38918 install-html) \
38919 || exit 1
38921 @endif guile
38923 .PHONY: maybe-installcheck-guile installcheck-guile
38924 maybe-installcheck-guile:
38925 @if guile
38926 maybe-installcheck-guile: installcheck-guile
38928 installcheck-guile: \
38929 configure-guile
38930 @: $(MAKE); $(unstage)
38931 @[ -f ./guile/Makefile ] || exit 0; \
38932 r=`${PWD_COMMAND}`; export r; \
38933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38934 $(HOST_EXPORTS) \
38935 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38937 done; \
38938 echo "Doing installcheck in guile" ; \
38939 (cd $(HOST_SUBDIR)/guile && \
38940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38942 "RANLIB=$${RANLIB}" \
38943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38944 installcheck) \
38945 || exit 1
38947 @endif guile
38949 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
38950 maybe-mostlyclean-guile:
38951 @if guile
38952 maybe-mostlyclean-guile: mostlyclean-guile
38954 mostlyclean-guile:
38955 @: $(MAKE); $(unstage)
38956 @[ -f ./guile/Makefile ] || exit 0; \
38957 r=`${PWD_COMMAND}`; export r; \
38958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38959 $(HOST_EXPORTS) \
38960 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38962 done; \
38963 echo "Doing mostlyclean in guile" ; \
38964 (cd $(HOST_SUBDIR)/guile && \
38965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38967 "RANLIB=$${RANLIB}" \
38968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38969 mostlyclean) \
38970 || exit 1
38972 @endif guile
38974 .PHONY: maybe-clean-guile clean-guile
38975 maybe-clean-guile:
38976 @if guile
38977 maybe-clean-guile: clean-guile
38979 clean-guile:
38980 @: $(MAKE); $(unstage)
38981 @[ -f ./guile/Makefile ] || exit 0; \
38982 r=`${PWD_COMMAND}`; export r; \
38983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38984 $(HOST_EXPORTS) \
38985 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
38986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38987 done; \
38988 echo "Doing clean in guile" ; \
38989 (cd $(HOST_SUBDIR)/guile && \
38990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38992 "RANLIB=$${RANLIB}" \
38993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38994 clean) \
38995 || exit 1
38997 @endif guile
38999 .PHONY: maybe-distclean-guile distclean-guile
39000 maybe-distclean-guile:
39001 @if guile
39002 maybe-distclean-guile: distclean-guile
39004 distclean-guile:
39005 @: $(MAKE); $(unstage)
39006 @[ -f ./guile/Makefile ] || exit 0; \
39007 r=`${PWD_COMMAND}`; export r; \
39008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39009 $(HOST_EXPORTS) \
39010 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39012 done; \
39013 echo "Doing distclean in guile" ; \
39014 (cd $(HOST_SUBDIR)/guile && \
39015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39017 "RANLIB=$${RANLIB}" \
39018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39019 distclean) \
39020 || exit 1
39022 @endif guile
39024 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
39025 maybe-maintainer-clean-guile:
39026 @if guile
39027 maybe-maintainer-clean-guile: maintainer-clean-guile
39029 maintainer-clean-guile:
39030 @: $(MAKE); $(unstage)
39031 @[ -f ./guile/Makefile ] || exit 0; \
39032 r=`${PWD_COMMAND}`; export r; \
39033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39034 $(HOST_EXPORTS) \
39035 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39037 done; \
39038 echo "Doing maintainer-clean in guile" ; \
39039 (cd $(HOST_SUBDIR)/guile && \
39040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39042 "RANLIB=$${RANLIB}" \
39043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39044 maintainer-clean) \
39045 || exit 1
39047 @endif guile
39051 .PHONY: configure-tk maybe-configure-tk
39052 maybe-configure-tk:
39053 @if gcc-bootstrap
39054 configure-tk: stage_current
39055 @endif gcc-bootstrap
39056 @if tk
39057 maybe-configure-tk: configure-tk
39058 configure-tk:
39059 @: $(MAKE); $(unstage)
39060 @r=`${PWD_COMMAND}`; export r; \
39061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39062 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
39063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
39064 $(HOST_EXPORTS) \
39065 echo Configuring in $(HOST_SUBDIR)/tk; \
39066 cd "$(HOST_SUBDIR)/tk" || exit 1; \
39067 case $(srcdir) in \
39068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39069 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
39070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39071 esac; \
39072 srcdiroption="--srcdir=$${topdir}/tk"; \
39073 libsrcdir="$$s/tk"; \
39074 $(SHELL) $${libsrcdir}/configure \
39075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39076 --target=${target_alias} $${srcdiroption} \
39077 || exit 1
39078 @endif tk
39084 .PHONY: all-tk maybe-all-tk
39085 maybe-all-tk:
39086 @if gcc-bootstrap
39087 all-tk: stage_current
39088 @endif gcc-bootstrap
39089 @if tk
39090 TARGET-tk=all
39091 maybe-all-tk: all-tk
39092 all-tk: configure-tk
39093 @: $(MAKE); $(unstage)
39094 @r=`${PWD_COMMAND}`; export r; \
39095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39096 $(HOST_EXPORTS) \
39097 (cd $(HOST_SUBDIR)/tk && \
39098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
39099 $(TARGET-tk))
39100 @endif tk
39105 .PHONY: check-tk maybe-check-tk
39106 maybe-check-tk:
39107 @if tk
39108 maybe-check-tk: check-tk
39110 check-tk:
39111 @: $(MAKE); $(unstage)
39112 @r=`${PWD_COMMAND}`; export r; \
39113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39114 $(HOST_EXPORTS) \
39115 (cd $(HOST_SUBDIR)/tk && \
39116 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
39118 @endif tk
39120 .PHONY: install-tk maybe-install-tk
39121 maybe-install-tk:
39122 @if tk
39123 maybe-install-tk: install-tk
39125 install-tk: installdirs
39126 @: $(MAKE); $(unstage)
39127 @r=`${PWD_COMMAND}`; export r; \
39128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39129 $(HOST_EXPORTS) \
39130 (cd $(HOST_SUBDIR)/tk && \
39131 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
39133 @endif tk
39135 # Other targets (info, dvi, pdf, etc.)
39137 .PHONY: maybe-info-tk info-tk
39138 maybe-info-tk:
39139 @if tk
39140 maybe-info-tk: info-tk
39142 info-tk: \
39143 configure-tk
39144 @: $(MAKE); $(unstage)
39145 @[ -f ./tk/Makefile ] || exit 0; \
39146 r=`${PWD_COMMAND}`; export r; \
39147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39148 $(HOST_EXPORTS) \
39149 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39151 done; \
39152 echo "Doing info in tk" ; \
39153 (cd $(HOST_SUBDIR)/tk && \
39154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39156 "RANLIB=$${RANLIB}" \
39157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39158 info) \
39159 || exit 1
39161 @endif tk
39163 .PHONY: maybe-dvi-tk dvi-tk
39164 maybe-dvi-tk:
39165 @if tk
39166 maybe-dvi-tk: dvi-tk
39168 dvi-tk: \
39169 configure-tk
39170 @: $(MAKE); $(unstage)
39171 @[ -f ./tk/Makefile ] || exit 0; \
39172 r=`${PWD_COMMAND}`; export r; \
39173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39174 $(HOST_EXPORTS) \
39175 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39177 done; \
39178 echo "Doing dvi in tk" ; \
39179 (cd $(HOST_SUBDIR)/tk && \
39180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39182 "RANLIB=$${RANLIB}" \
39183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39184 dvi) \
39185 || exit 1
39187 @endif tk
39189 .PHONY: maybe-pdf-tk pdf-tk
39190 maybe-pdf-tk:
39191 @if tk
39192 maybe-pdf-tk: pdf-tk
39194 pdf-tk: \
39195 configure-tk
39196 @: $(MAKE); $(unstage)
39197 @[ -f ./tk/Makefile ] || exit 0; \
39198 r=`${PWD_COMMAND}`; export r; \
39199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39200 $(HOST_EXPORTS) \
39201 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39203 done; \
39204 echo "Doing pdf in tk" ; \
39205 (cd $(HOST_SUBDIR)/tk && \
39206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39208 "RANLIB=$${RANLIB}" \
39209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39210 pdf) \
39211 || exit 1
39213 @endif tk
39215 .PHONY: maybe-html-tk html-tk
39216 maybe-html-tk:
39217 @if tk
39218 maybe-html-tk: html-tk
39220 html-tk: \
39221 configure-tk
39222 @: $(MAKE); $(unstage)
39223 @[ -f ./tk/Makefile ] || exit 0; \
39224 r=`${PWD_COMMAND}`; export r; \
39225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39226 $(HOST_EXPORTS) \
39227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39229 done; \
39230 echo "Doing html in tk" ; \
39231 (cd $(HOST_SUBDIR)/tk && \
39232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39234 "RANLIB=$${RANLIB}" \
39235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39236 html) \
39237 || exit 1
39239 @endif tk
39241 .PHONY: maybe-TAGS-tk TAGS-tk
39242 maybe-TAGS-tk:
39243 @if tk
39244 maybe-TAGS-tk: TAGS-tk
39246 TAGS-tk: \
39247 configure-tk
39248 @: $(MAKE); $(unstage)
39249 @[ -f ./tk/Makefile ] || exit 0; \
39250 r=`${PWD_COMMAND}`; export r; \
39251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39252 $(HOST_EXPORTS) \
39253 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39255 done; \
39256 echo "Doing TAGS in tk" ; \
39257 (cd $(HOST_SUBDIR)/tk && \
39258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39260 "RANLIB=$${RANLIB}" \
39261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39262 TAGS) \
39263 || exit 1
39265 @endif tk
39267 .PHONY: maybe-install-info-tk install-info-tk
39268 maybe-install-info-tk:
39269 @if tk
39270 maybe-install-info-tk: install-info-tk
39272 install-info-tk: \
39273 configure-tk \
39274 info-tk
39275 @: $(MAKE); $(unstage)
39276 @[ -f ./tk/Makefile ] || exit 0; \
39277 r=`${PWD_COMMAND}`; export r; \
39278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39279 $(HOST_EXPORTS) \
39280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39282 done; \
39283 echo "Doing install-info in tk" ; \
39284 (cd $(HOST_SUBDIR)/tk && \
39285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39287 "RANLIB=$${RANLIB}" \
39288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39289 install-info) \
39290 || exit 1
39292 @endif tk
39294 .PHONY: maybe-install-pdf-tk install-pdf-tk
39295 maybe-install-pdf-tk:
39296 @if tk
39297 maybe-install-pdf-tk: install-pdf-tk
39299 install-pdf-tk: \
39300 configure-tk \
39301 pdf-tk
39302 @: $(MAKE); $(unstage)
39303 @[ -f ./tk/Makefile ] || exit 0; \
39304 r=`${PWD_COMMAND}`; export r; \
39305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39306 $(HOST_EXPORTS) \
39307 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39309 done; \
39310 echo "Doing install-pdf in tk" ; \
39311 (cd $(HOST_SUBDIR)/tk && \
39312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39314 "RANLIB=$${RANLIB}" \
39315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39316 install-pdf) \
39317 || exit 1
39319 @endif tk
39321 .PHONY: maybe-install-html-tk install-html-tk
39322 maybe-install-html-tk:
39323 @if tk
39324 maybe-install-html-tk: install-html-tk
39326 install-html-tk: \
39327 configure-tk \
39328 html-tk
39329 @: $(MAKE); $(unstage)
39330 @[ -f ./tk/Makefile ] || exit 0; \
39331 r=`${PWD_COMMAND}`; export r; \
39332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39333 $(HOST_EXPORTS) \
39334 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39336 done; \
39337 echo "Doing install-html in tk" ; \
39338 (cd $(HOST_SUBDIR)/tk && \
39339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39341 "RANLIB=$${RANLIB}" \
39342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39343 install-html) \
39344 || exit 1
39346 @endif tk
39348 .PHONY: maybe-installcheck-tk installcheck-tk
39349 maybe-installcheck-tk:
39350 @if tk
39351 maybe-installcheck-tk: installcheck-tk
39353 installcheck-tk: \
39354 configure-tk
39355 @: $(MAKE); $(unstage)
39356 @[ -f ./tk/Makefile ] || exit 0; \
39357 r=`${PWD_COMMAND}`; export r; \
39358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39359 $(HOST_EXPORTS) \
39360 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39362 done; \
39363 echo "Doing installcheck in tk" ; \
39364 (cd $(HOST_SUBDIR)/tk && \
39365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39367 "RANLIB=$${RANLIB}" \
39368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39369 installcheck) \
39370 || exit 1
39372 @endif tk
39374 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
39375 maybe-mostlyclean-tk:
39376 @if tk
39377 maybe-mostlyclean-tk: mostlyclean-tk
39379 mostlyclean-tk:
39380 @: $(MAKE); $(unstage)
39381 @[ -f ./tk/Makefile ] || exit 0; \
39382 r=`${PWD_COMMAND}`; export r; \
39383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39384 $(HOST_EXPORTS) \
39385 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39387 done; \
39388 echo "Doing mostlyclean in tk" ; \
39389 (cd $(HOST_SUBDIR)/tk && \
39390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39392 "RANLIB=$${RANLIB}" \
39393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39394 mostlyclean) \
39395 || exit 1
39397 @endif tk
39399 .PHONY: maybe-clean-tk clean-tk
39400 maybe-clean-tk:
39401 @if tk
39402 maybe-clean-tk: clean-tk
39404 clean-tk:
39405 @: $(MAKE); $(unstage)
39406 @[ -f ./tk/Makefile ] || exit 0; \
39407 r=`${PWD_COMMAND}`; export r; \
39408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39409 $(HOST_EXPORTS) \
39410 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39412 done; \
39413 echo "Doing clean in tk" ; \
39414 (cd $(HOST_SUBDIR)/tk && \
39415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39417 "RANLIB=$${RANLIB}" \
39418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39419 clean) \
39420 || exit 1
39422 @endif tk
39424 .PHONY: maybe-distclean-tk distclean-tk
39425 maybe-distclean-tk:
39426 @if tk
39427 maybe-distclean-tk: distclean-tk
39429 distclean-tk:
39430 @: $(MAKE); $(unstage)
39431 @[ -f ./tk/Makefile ] || exit 0; \
39432 r=`${PWD_COMMAND}`; export r; \
39433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39434 $(HOST_EXPORTS) \
39435 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39437 done; \
39438 echo "Doing distclean in tk" ; \
39439 (cd $(HOST_SUBDIR)/tk && \
39440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39442 "RANLIB=$${RANLIB}" \
39443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39444 distclean) \
39445 || exit 1
39447 @endif tk
39449 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
39450 maybe-maintainer-clean-tk:
39451 @if tk
39452 maybe-maintainer-clean-tk: maintainer-clean-tk
39454 maintainer-clean-tk:
39455 @: $(MAKE); $(unstage)
39456 @[ -f ./tk/Makefile ] || exit 0; \
39457 r=`${PWD_COMMAND}`; export r; \
39458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39459 $(HOST_EXPORTS) \
39460 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
39461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39462 done; \
39463 echo "Doing maintainer-clean in tk" ; \
39464 (cd $(HOST_SUBDIR)/tk && \
39465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39467 "RANLIB=$${RANLIB}" \
39468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39469 maintainer-clean) \
39470 || exit 1
39472 @endif tk
39476 .PHONY: configure-libtermcap maybe-configure-libtermcap
39477 maybe-configure-libtermcap:
39478 @if gcc-bootstrap
39479 configure-libtermcap: stage_current
39480 @endif gcc-bootstrap
39481 @if libtermcap
39482 maybe-configure-libtermcap: configure-libtermcap
39483 configure-libtermcap:
39484 @: $(MAKE); $(unstage)
39485 @r=`${PWD_COMMAND}`; export r; \
39486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39487 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
39488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
39489 $(HOST_EXPORTS) \
39490 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
39491 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
39492 case $(srcdir) in \
39493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39494 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
39495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39496 esac; \
39497 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
39498 libsrcdir="$$s/libtermcap"; \
39499 $(SHELL) $${libsrcdir}/configure \
39500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39501 --target=${target_alias} $${srcdiroption} \
39502 || exit 1
39503 @endif libtermcap
39509 .PHONY: all-libtermcap maybe-all-libtermcap
39510 maybe-all-libtermcap:
39511 @if gcc-bootstrap
39512 all-libtermcap: stage_current
39513 @endif gcc-bootstrap
39514 @if libtermcap
39515 TARGET-libtermcap=all
39516 maybe-all-libtermcap: all-libtermcap
39517 all-libtermcap: configure-libtermcap
39518 @: $(MAKE); $(unstage)
39519 @r=`${PWD_COMMAND}`; export r; \
39520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39521 $(HOST_EXPORTS) \
39522 (cd $(HOST_SUBDIR)/libtermcap && \
39523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39524 $(TARGET-libtermcap))
39525 @endif libtermcap
39530 .PHONY: check-libtermcap maybe-check-libtermcap
39531 maybe-check-libtermcap:
39532 @if libtermcap
39533 maybe-check-libtermcap: check-libtermcap
39535 check-libtermcap:
39537 @endif libtermcap
39539 .PHONY: install-libtermcap maybe-install-libtermcap
39540 maybe-install-libtermcap:
39541 @if libtermcap
39542 maybe-install-libtermcap: install-libtermcap
39544 install-libtermcap: installdirs
39545 @: $(MAKE); $(unstage)
39546 @r=`${PWD_COMMAND}`; export r; \
39547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39548 $(HOST_EXPORTS) \
39549 (cd $(HOST_SUBDIR)/libtermcap && \
39550 $(MAKE) $(FLAGS_TO_PASS) install)
39552 @endif libtermcap
39554 # Other targets (info, dvi, pdf, etc.)
39556 .PHONY: maybe-info-libtermcap info-libtermcap
39557 maybe-info-libtermcap:
39558 @if libtermcap
39559 maybe-info-libtermcap: info-libtermcap
39561 info-libtermcap: \
39562 configure-libtermcap
39563 @: $(MAKE); $(unstage)
39564 @[ -f ./libtermcap/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 info in libtermcap" ; \
39572 (cd $(HOST_SUBDIR)/libtermcap && \
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 info) \
39578 || exit 1
39580 @endif libtermcap
39582 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
39583 maybe-dvi-libtermcap:
39584 @if libtermcap
39585 maybe-dvi-libtermcap: dvi-libtermcap
39587 dvi-libtermcap: \
39588 configure-libtermcap
39589 @: $(MAKE); $(unstage)
39590 @[ -f ./libtermcap/Makefile ] || exit 0; \
39591 r=`${PWD_COMMAND}`; export r; \
39592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39593 $(HOST_EXPORTS) \
39594 for flag in $(EXTRA_HOST_FLAGS) ; do \
39595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39596 done; \
39597 echo "Doing dvi in libtermcap" ; \
39598 (cd $(HOST_SUBDIR)/libtermcap && \
39599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39601 "RANLIB=$${RANLIB}" \
39602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39603 dvi) \
39604 || exit 1
39606 @endif libtermcap
39608 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
39609 maybe-pdf-libtermcap:
39610 @if libtermcap
39611 maybe-pdf-libtermcap: pdf-libtermcap
39613 pdf-libtermcap: \
39614 configure-libtermcap
39615 @: $(MAKE); $(unstage)
39616 @[ -f ./libtermcap/Makefile ] || exit 0; \
39617 r=`${PWD_COMMAND}`; export r; \
39618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39619 $(HOST_EXPORTS) \
39620 for flag in $(EXTRA_HOST_FLAGS) ; do \
39621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39622 done; \
39623 echo "Doing pdf in libtermcap" ; \
39624 (cd $(HOST_SUBDIR)/libtermcap && \
39625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39627 "RANLIB=$${RANLIB}" \
39628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39629 pdf) \
39630 || exit 1
39632 @endif libtermcap
39634 .PHONY: maybe-html-libtermcap html-libtermcap
39635 maybe-html-libtermcap:
39636 @if libtermcap
39637 maybe-html-libtermcap: html-libtermcap
39639 html-libtermcap: \
39640 configure-libtermcap
39641 @: $(MAKE); $(unstage)
39642 @[ -f ./libtermcap/Makefile ] || exit 0; \
39643 r=`${PWD_COMMAND}`; export r; \
39644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39645 $(HOST_EXPORTS) \
39646 for flag in $(EXTRA_HOST_FLAGS) ; do \
39647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39648 done; \
39649 echo "Doing html in libtermcap" ; \
39650 (cd $(HOST_SUBDIR)/libtermcap && \
39651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39653 "RANLIB=$${RANLIB}" \
39654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39655 html) \
39656 || exit 1
39658 @endif libtermcap
39660 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
39661 maybe-TAGS-libtermcap:
39662 @if libtermcap
39663 maybe-TAGS-libtermcap: TAGS-libtermcap
39665 TAGS-libtermcap: \
39666 configure-libtermcap
39667 @: $(MAKE); $(unstage)
39668 @[ -f ./libtermcap/Makefile ] || exit 0; \
39669 r=`${PWD_COMMAND}`; export r; \
39670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39671 $(HOST_EXPORTS) \
39672 for flag in $(EXTRA_HOST_FLAGS) ; do \
39673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39674 done; \
39675 echo "Doing TAGS in libtermcap" ; \
39676 (cd $(HOST_SUBDIR)/libtermcap && \
39677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39679 "RANLIB=$${RANLIB}" \
39680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39681 TAGS) \
39682 || exit 1
39684 @endif libtermcap
39686 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
39687 maybe-install-info-libtermcap:
39688 @if libtermcap
39689 maybe-install-info-libtermcap: install-info-libtermcap
39691 install-info-libtermcap: \
39692 configure-libtermcap \
39693 info-libtermcap
39694 @: $(MAKE); $(unstage)
39695 @[ -f ./libtermcap/Makefile ] || exit 0; \
39696 r=`${PWD_COMMAND}`; export r; \
39697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39698 $(HOST_EXPORTS) \
39699 for flag in $(EXTRA_HOST_FLAGS) ; do \
39700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39701 done; \
39702 echo "Doing install-info in libtermcap" ; \
39703 (cd $(HOST_SUBDIR)/libtermcap && \
39704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39706 "RANLIB=$${RANLIB}" \
39707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39708 install-info) \
39709 || exit 1
39711 @endif libtermcap
39713 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
39714 maybe-install-pdf-libtermcap:
39715 @if libtermcap
39716 maybe-install-pdf-libtermcap: install-pdf-libtermcap
39718 install-pdf-libtermcap: \
39719 configure-libtermcap \
39720 pdf-libtermcap
39721 @: $(MAKE); $(unstage)
39722 @[ -f ./libtermcap/Makefile ] || exit 0; \
39723 r=`${PWD_COMMAND}`; export r; \
39724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39725 $(HOST_EXPORTS) \
39726 for flag in $(EXTRA_HOST_FLAGS) ; do \
39727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39728 done; \
39729 echo "Doing install-pdf in libtermcap" ; \
39730 (cd $(HOST_SUBDIR)/libtermcap && \
39731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39733 "RANLIB=$${RANLIB}" \
39734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39735 install-pdf) \
39736 || exit 1
39738 @endif libtermcap
39740 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
39741 maybe-install-html-libtermcap:
39742 @if libtermcap
39743 maybe-install-html-libtermcap: install-html-libtermcap
39745 install-html-libtermcap: \
39746 configure-libtermcap \
39747 html-libtermcap
39748 @: $(MAKE); $(unstage)
39749 @[ -f ./libtermcap/Makefile ] || exit 0; \
39750 r=`${PWD_COMMAND}`; export r; \
39751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39752 $(HOST_EXPORTS) \
39753 for flag in $(EXTRA_HOST_FLAGS) ; do \
39754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39755 done; \
39756 echo "Doing install-html in libtermcap" ; \
39757 (cd $(HOST_SUBDIR)/libtermcap && \
39758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39760 "RANLIB=$${RANLIB}" \
39761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39762 install-html) \
39763 || exit 1
39765 @endif libtermcap
39767 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
39768 maybe-installcheck-libtermcap:
39769 @if libtermcap
39770 maybe-installcheck-libtermcap: installcheck-libtermcap
39772 installcheck-libtermcap: \
39773 configure-libtermcap
39774 @: $(MAKE); $(unstage)
39775 @[ -f ./libtermcap/Makefile ] || exit 0; \
39776 r=`${PWD_COMMAND}`; export r; \
39777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39778 $(HOST_EXPORTS) \
39779 for flag in $(EXTRA_HOST_FLAGS) ; do \
39780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39781 done; \
39782 echo "Doing installcheck in libtermcap" ; \
39783 (cd $(HOST_SUBDIR)/libtermcap && \
39784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39786 "RANLIB=$${RANLIB}" \
39787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39788 installcheck) \
39789 || exit 1
39791 @endif libtermcap
39793 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
39794 maybe-mostlyclean-libtermcap:
39795 @if libtermcap
39796 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
39798 # libtermcap doesn't support mostlyclean.
39799 mostlyclean-libtermcap:
39801 @endif libtermcap
39803 .PHONY: maybe-clean-libtermcap clean-libtermcap
39804 maybe-clean-libtermcap:
39805 @if libtermcap
39806 maybe-clean-libtermcap: clean-libtermcap
39808 # libtermcap doesn't support clean.
39809 clean-libtermcap:
39811 @endif libtermcap
39813 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
39814 maybe-distclean-libtermcap:
39815 @if libtermcap
39816 maybe-distclean-libtermcap: distclean-libtermcap
39818 # libtermcap doesn't support distclean.
39819 distclean-libtermcap:
39821 @endif libtermcap
39823 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
39824 maybe-maintainer-clean-libtermcap:
39825 @if libtermcap
39826 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
39828 # libtermcap doesn't support maintainer-clean.
39829 maintainer-clean-libtermcap:
39831 @endif libtermcap
39835 .PHONY: configure-utils maybe-configure-utils
39836 maybe-configure-utils:
39837 @if gcc-bootstrap
39838 configure-utils: stage_current
39839 @endif gcc-bootstrap
39840 @if utils
39841 maybe-configure-utils: configure-utils
39842 configure-utils:
39843 @: $(MAKE); $(unstage)
39844 @r=`${PWD_COMMAND}`; export r; \
39845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39846 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
39847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
39848 $(HOST_EXPORTS) \
39849 echo Configuring in $(HOST_SUBDIR)/utils; \
39850 cd "$(HOST_SUBDIR)/utils" || exit 1; \
39851 case $(srcdir) in \
39852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39853 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
39854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39855 esac; \
39856 srcdiroption="--srcdir=$${topdir}/utils"; \
39857 libsrcdir="$$s/utils"; \
39858 $(SHELL) $${libsrcdir}/configure \
39859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
39860 --target=${target_alias} $${srcdiroption} \
39861 || exit 1
39862 @endif utils
39868 .PHONY: all-utils maybe-all-utils
39869 maybe-all-utils:
39870 @if gcc-bootstrap
39871 all-utils: stage_current
39872 @endif gcc-bootstrap
39873 @if utils
39874 TARGET-utils=all
39875 maybe-all-utils: all-utils
39876 all-utils: configure-utils
39877 @: $(MAKE); $(unstage)
39878 @r=`${PWD_COMMAND}`; export r; \
39879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39880 $(HOST_EXPORTS) \
39881 (cd $(HOST_SUBDIR)/utils && \
39882 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
39883 $(TARGET-utils))
39884 @endif utils
39889 .PHONY: check-utils maybe-check-utils
39890 maybe-check-utils:
39891 @if utils
39892 maybe-check-utils: check-utils
39894 check-utils:
39896 @endif utils
39898 .PHONY: install-utils maybe-install-utils
39899 maybe-install-utils:
39900 @if utils
39901 maybe-install-utils: install-utils
39903 install-utils: installdirs
39904 @: $(MAKE); $(unstage)
39905 @r=`${PWD_COMMAND}`; export r; \
39906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39907 $(HOST_EXPORTS) \
39908 (cd $(HOST_SUBDIR)/utils && \
39909 $(MAKE) $(FLAGS_TO_PASS) install)
39911 @endif utils
39913 # Other targets (info, dvi, pdf, etc.)
39915 .PHONY: maybe-info-utils info-utils
39916 maybe-info-utils:
39917 @if utils
39918 maybe-info-utils: info-utils
39920 info-utils: \
39921 configure-utils
39922 @: $(MAKE); $(unstage)
39923 @[ -f ./utils/Makefile ] || exit 0; \
39924 r=`${PWD_COMMAND}`; export r; \
39925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39926 $(HOST_EXPORTS) \
39927 for flag in $(EXTRA_HOST_FLAGS) ; do \
39928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39929 done; \
39930 echo "Doing info in utils" ; \
39931 (cd $(HOST_SUBDIR)/utils && \
39932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39934 "RANLIB=$${RANLIB}" \
39935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39936 info) \
39937 || exit 1
39939 @endif utils
39941 .PHONY: maybe-dvi-utils dvi-utils
39942 maybe-dvi-utils:
39943 @if utils
39944 maybe-dvi-utils: dvi-utils
39946 dvi-utils: \
39947 configure-utils
39948 @: $(MAKE); $(unstage)
39949 @[ -f ./utils/Makefile ] || exit 0; \
39950 r=`${PWD_COMMAND}`; export r; \
39951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39952 $(HOST_EXPORTS) \
39953 for flag in $(EXTRA_HOST_FLAGS) ; do \
39954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39955 done; \
39956 echo "Doing dvi in utils" ; \
39957 (cd $(HOST_SUBDIR)/utils && \
39958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39960 "RANLIB=$${RANLIB}" \
39961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39962 dvi) \
39963 || exit 1
39965 @endif utils
39967 .PHONY: maybe-pdf-utils pdf-utils
39968 maybe-pdf-utils:
39969 @if utils
39970 maybe-pdf-utils: pdf-utils
39972 pdf-utils: \
39973 configure-utils
39974 @: $(MAKE); $(unstage)
39975 @[ -f ./utils/Makefile ] || exit 0; \
39976 r=`${PWD_COMMAND}`; export r; \
39977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39978 $(HOST_EXPORTS) \
39979 for flag in $(EXTRA_HOST_FLAGS) ; do \
39980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39981 done; \
39982 echo "Doing pdf in utils" ; \
39983 (cd $(HOST_SUBDIR)/utils && \
39984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39986 "RANLIB=$${RANLIB}" \
39987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39988 pdf) \
39989 || exit 1
39991 @endif utils
39993 .PHONY: maybe-html-utils html-utils
39994 maybe-html-utils:
39995 @if utils
39996 maybe-html-utils: html-utils
39998 html-utils: \
39999 configure-utils
40000 @: $(MAKE); $(unstage)
40001 @[ -f ./utils/Makefile ] || exit 0; \
40002 r=`${PWD_COMMAND}`; export r; \
40003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40004 $(HOST_EXPORTS) \
40005 for flag in $(EXTRA_HOST_FLAGS) ; do \
40006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40007 done; \
40008 echo "Doing html in utils" ; \
40009 (cd $(HOST_SUBDIR)/utils && \
40010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40012 "RANLIB=$${RANLIB}" \
40013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40014 html) \
40015 || exit 1
40017 @endif utils
40019 .PHONY: maybe-TAGS-utils TAGS-utils
40020 maybe-TAGS-utils:
40021 @if utils
40022 maybe-TAGS-utils: TAGS-utils
40024 TAGS-utils: \
40025 configure-utils
40026 @: $(MAKE); $(unstage)
40027 @[ -f ./utils/Makefile ] || exit 0; \
40028 r=`${PWD_COMMAND}`; export r; \
40029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40030 $(HOST_EXPORTS) \
40031 for flag in $(EXTRA_HOST_FLAGS) ; do \
40032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40033 done; \
40034 echo "Doing TAGS in utils" ; \
40035 (cd $(HOST_SUBDIR)/utils && \
40036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40038 "RANLIB=$${RANLIB}" \
40039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40040 TAGS) \
40041 || exit 1
40043 @endif utils
40045 .PHONY: maybe-install-info-utils install-info-utils
40046 maybe-install-info-utils:
40047 @if utils
40048 maybe-install-info-utils: install-info-utils
40050 install-info-utils: \
40051 configure-utils \
40052 info-utils
40053 @: $(MAKE); $(unstage)
40054 @[ -f ./utils/Makefile ] || exit 0; \
40055 r=`${PWD_COMMAND}`; export r; \
40056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40057 $(HOST_EXPORTS) \
40058 for flag in $(EXTRA_HOST_FLAGS) ; do \
40059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40060 done; \
40061 echo "Doing install-info in utils" ; \
40062 (cd $(HOST_SUBDIR)/utils && \
40063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40065 "RANLIB=$${RANLIB}" \
40066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40067 install-info) \
40068 || exit 1
40070 @endif utils
40072 .PHONY: maybe-install-pdf-utils install-pdf-utils
40073 maybe-install-pdf-utils:
40074 @if utils
40075 maybe-install-pdf-utils: install-pdf-utils
40077 install-pdf-utils: \
40078 configure-utils \
40079 pdf-utils
40080 @: $(MAKE); $(unstage)
40081 @[ -f ./utils/Makefile ] || exit 0; \
40082 r=`${PWD_COMMAND}`; export r; \
40083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40084 $(HOST_EXPORTS) \
40085 for flag in $(EXTRA_HOST_FLAGS) ; do \
40086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40087 done; \
40088 echo "Doing install-pdf in utils" ; \
40089 (cd $(HOST_SUBDIR)/utils && \
40090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40092 "RANLIB=$${RANLIB}" \
40093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40094 install-pdf) \
40095 || exit 1
40097 @endif utils
40099 .PHONY: maybe-install-html-utils install-html-utils
40100 maybe-install-html-utils:
40101 @if utils
40102 maybe-install-html-utils: install-html-utils
40104 install-html-utils: \
40105 configure-utils \
40106 html-utils
40107 @: $(MAKE); $(unstage)
40108 @[ -f ./utils/Makefile ] || exit 0; \
40109 r=`${PWD_COMMAND}`; export r; \
40110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40111 $(HOST_EXPORTS) \
40112 for flag in $(EXTRA_HOST_FLAGS) ; do \
40113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40114 done; \
40115 echo "Doing install-html in utils" ; \
40116 (cd $(HOST_SUBDIR)/utils && \
40117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40119 "RANLIB=$${RANLIB}" \
40120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40121 install-html) \
40122 || exit 1
40124 @endif utils
40126 .PHONY: maybe-installcheck-utils installcheck-utils
40127 maybe-installcheck-utils:
40128 @if utils
40129 maybe-installcheck-utils: installcheck-utils
40131 installcheck-utils: \
40132 configure-utils
40133 @: $(MAKE); $(unstage)
40134 @[ -f ./utils/Makefile ] || exit 0; \
40135 r=`${PWD_COMMAND}`; export r; \
40136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40137 $(HOST_EXPORTS) \
40138 for flag in $(EXTRA_HOST_FLAGS) ; do \
40139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40140 done; \
40141 echo "Doing installcheck in utils" ; \
40142 (cd $(HOST_SUBDIR)/utils && \
40143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40145 "RANLIB=$${RANLIB}" \
40146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40147 installcheck) \
40148 || exit 1
40150 @endif utils
40152 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
40153 maybe-mostlyclean-utils:
40154 @if utils
40155 maybe-mostlyclean-utils: mostlyclean-utils
40157 mostlyclean-utils:
40158 @: $(MAKE); $(unstage)
40159 @[ -f ./utils/Makefile ] || exit 0; \
40160 r=`${PWD_COMMAND}`; export r; \
40161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40162 $(HOST_EXPORTS) \
40163 for flag in $(EXTRA_HOST_FLAGS) ; do \
40164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40165 done; \
40166 echo "Doing mostlyclean in utils" ; \
40167 (cd $(HOST_SUBDIR)/utils && \
40168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40170 "RANLIB=$${RANLIB}" \
40171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40172 mostlyclean) \
40173 || exit 1
40175 @endif utils
40177 .PHONY: maybe-clean-utils clean-utils
40178 maybe-clean-utils:
40179 @if utils
40180 maybe-clean-utils: clean-utils
40182 clean-utils:
40183 @: $(MAKE); $(unstage)
40184 @[ -f ./utils/Makefile ] || exit 0; \
40185 r=`${PWD_COMMAND}`; export r; \
40186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40187 $(HOST_EXPORTS) \
40188 for flag in $(EXTRA_HOST_FLAGS) ; do \
40189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40190 done; \
40191 echo "Doing clean in utils" ; \
40192 (cd $(HOST_SUBDIR)/utils && \
40193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40195 "RANLIB=$${RANLIB}" \
40196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40197 clean) \
40198 || exit 1
40200 @endif utils
40202 .PHONY: maybe-distclean-utils distclean-utils
40203 maybe-distclean-utils:
40204 @if utils
40205 maybe-distclean-utils: distclean-utils
40207 distclean-utils:
40208 @: $(MAKE); $(unstage)
40209 @[ -f ./utils/Makefile ] || exit 0; \
40210 r=`${PWD_COMMAND}`; export r; \
40211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40212 $(HOST_EXPORTS) \
40213 for flag in $(EXTRA_HOST_FLAGS) ; do \
40214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40215 done; \
40216 echo "Doing distclean in utils" ; \
40217 (cd $(HOST_SUBDIR)/utils && \
40218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40220 "RANLIB=$${RANLIB}" \
40221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40222 distclean) \
40223 || exit 1
40225 @endif utils
40227 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
40228 maybe-maintainer-clean-utils:
40229 @if utils
40230 maybe-maintainer-clean-utils: maintainer-clean-utils
40232 maintainer-clean-utils:
40233 @: $(MAKE); $(unstage)
40234 @[ -f ./utils/Makefile ] || exit 0; \
40235 r=`${PWD_COMMAND}`; export r; \
40236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40237 $(HOST_EXPORTS) \
40238 for flag in $(EXTRA_HOST_FLAGS) ; do \
40239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40240 done; \
40241 echo "Doing maintainer-clean in utils" ; \
40242 (cd $(HOST_SUBDIR)/utils && \
40243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40245 "RANLIB=$${RANLIB}" \
40246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40247 maintainer-clean) \
40248 || exit 1
40250 @endif utils
40254 .PHONY: configure-gnattools maybe-configure-gnattools
40255 maybe-configure-gnattools:
40256 @if gcc-bootstrap
40257 configure-gnattools: stage_current
40258 @endif gcc-bootstrap
40259 @if gnattools
40260 maybe-configure-gnattools: configure-gnattools
40261 configure-gnattools:
40262 @: $(MAKE); $(unstage)
40263 @r=`${PWD_COMMAND}`; export r; \
40264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40265 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
40266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
40267 $(HOST_EXPORTS) \
40268 echo Configuring in $(HOST_SUBDIR)/gnattools; \
40269 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
40270 case $(srcdir) in \
40271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40272 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
40273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40274 esac; \
40275 srcdiroption="--srcdir=$${topdir}/gnattools"; \
40276 libsrcdir="$$s/gnattools"; \
40277 $(SHELL) $${libsrcdir}/configure \
40278 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
40279 --target=${target_alias} $${srcdiroption} \
40280 || exit 1
40281 @endif gnattools
40287 .PHONY: all-gnattools maybe-all-gnattools
40288 maybe-all-gnattools:
40289 @if gcc-bootstrap
40290 all-gnattools: stage_current
40291 @endif gcc-bootstrap
40292 @if gnattools
40293 TARGET-gnattools=all
40294 maybe-all-gnattools: all-gnattools
40295 all-gnattools: configure-gnattools
40296 @: $(MAKE); $(unstage)
40297 @r=`${PWD_COMMAND}`; export r; \
40298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40299 $(HOST_EXPORTS) \
40300 (cd $(HOST_SUBDIR)/gnattools && \
40301 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) \
40302 $(TARGET-gnattools))
40303 @endif gnattools
40308 .PHONY: check-gnattools maybe-check-gnattools
40309 maybe-check-gnattools:
40310 @if gnattools
40311 maybe-check-gnattools: check-gnattools
40313 check-gnattools:
40314 @: $(MAKE); $(unstage)
40315 @r=`${PWD_COMMAND}`; export r; \
40316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40317 $(HOST_EXPORTS) \
40318 (cd $(HOST_SUBDIR)/gnattools && \
40319 $(MAKE) $(FLAGS_TO_PASS) check)
40321 @endif gnattools
40323 .PHONY: install-gnattools maybe-install-gnattools
40324 maybe-install-gnattools:
40325 @if gnattools
40326 maybe-install-gnattools: install-gnattools
40328 install-gnattools: installdirs
40329 @: $(MAKE); $(unstage)
40330 @r=`${PWD_COMMAND}`; export r; \
40331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40332 $(HOST_EXPORTS) \
40333 (cd $(HOST_SUBDIR)/gnattools && \
40334 $(MAKE) $(FLAGS_TO_PASS) install)
40336 @endif gnattools
40338 # Other targets (info, dvi, pdf, etc.)
40340 .PHONY: maybe-info-gnattools info-gnattools
40341 maybe-info-gnattools:
40342 @if gnattools
40343 maybe-info-gnattools: info-gnattools
40345 info-gnattools: \
40346 configure-gnattools
40347 @: $(MAKE); $(unstage)
40348 @[ -f ./gnattools/Makefile ] || exit 0; \
40349 r=`${PWD_COMMAND}`; export r; \
40350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40351 $(HOST_EXPORTS) \
40352 for flag in $(EXTRA_HOST_FLAGS) ; do \
40353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40354 done; \
40355 echo "Doing info in gnattools" ; \
40356 (cd $(HOST_SUBDIR)/gnattools && \
40357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40359 "RANLIB=$${RANLIB}" \
40360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40361 info) \
40362 || exit 1
40364 @endif gnattools
40366 .PHONY: maybe-dvi-gnattools dvi-gnattools
40367 maybe-dvi-gnattools:
40368 @if gnattools
40369 maybe-dvi-gnattools: dvi-gnattools
40371 dvi-gnattools: \
40372 configure-gnattools
40373 @: $(MAKE); $(unstage)
40374 @[ -f ./gnattools/Makefile ] || exit 0; \
40375 r=`${PWD_COMMAND}`; export r; \
40376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40377 $(HOST_EXPORTS) \
40378 for flag in $(EXTRA_HOST_FLAGS) ; do \
40379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40380 done; \
40381 echo "Doing dvi in gnattools" ; \
40382 (cd $(HOST_SUBDIR)/gnattools && \
40383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40385 "RANLIB=$${RANLIB}" \
40386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40387 dvi) \
40388 || exit 1
40390 @endif gnattools
40392 .PHONY: maybe-pdf-gnattools pdf-gnattools
40393 maybe-pdf-gnattools:
40394 @if gnattools
40395 maybe-pdf-gnattools: pdf-gnattools
40397 pdf-gnattools: \
40398 configure-gnattools
40399 @: $(MAKE); $(unstage)
40400 @[ -f ./gnattools/Makefile ] || exit 0; \
40401 r=`${PWD_COMMAND}`; export r; \
40402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40403 $(HOST_EXPORTS) \
40404 for flag in $(EXTRA_HOST_FLAGS) ; do \
40405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40406 done; \
40407 echo "Doing pdf in gnattools" ; \
40408 (cd $(HOST_SUBDIR)/gnattools && \
40409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40411 "RANLIB=$${RANLIB}" \
40412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40413 pdf) \
40414 || exit 1
40416 @endif gnattools
40418 .PHONY: maybe-html-gnattools html-gnattools
40419 maybe-html-gnattools:
40420 @if gnattools
40421 maybe-html-gnattools: html-gnattools
40423 html-gnattools: \
40424 configure-gnattools
40425 @: $(MAKE); $(unstage)
40426 @[ -f ./gnattools/Makefile ] || exit 0; \
40427 r=`${PWD_COMMAND}`; export r; \
40428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40429 $(HOST_EXPORTS) \
40430 for flag in $(EXTRA_HOST_FLAGS) ; do \
40431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40432 done; \
40433 echo "Doing html in gnattools" ; \
40434 (cd $(HOST_SUBDIR)/gnattools && \
40435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40437 "RANLIB=$${RANLIB}" \
40438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40439 html) \
40440 || exit 1
40442 @endif gnattools
40444 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
40445 maybe-TAGS-gnattools:
40446 @if gnattools
40447 maybe-TAGS-gnattools: TAGS-gnattools
40449 TAGS-gnattools: \
40450 configure-gnattools
40451 @: $(MAKE); $(unstage)
40452 @[ -f ./gnattools/Makefile ] || exit 0; \
40453 r=`${PWD_COMMAND}`; export r; \
40454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40455 $(HOST_EXPORTS) \
40456 for flag in $(EXTRA_HOST_FLAGS) ; do \
40457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40458 done; \
40459 echo "Doing TAGS in gnattools" ; \
40460 (cd $(HOST_SUBDIR)/gnattools && \
40461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40463 "RANLIB=$${RANLIB}" \
40464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40465 TAGS) \
40466 || exit 1
40468 @endif gnattools
40470 .PHONY: maybe-install-info-gnattools install-info-gnattools
40471 maybe-install-info-gnattools:
40472 @if gnattools
40473 maybe-install-info-gnattools: install-info-gnattools
40475 install-info-gnattools: \
40476 configure-gnattools \
40477 info-gnattools
40478 @: $(MAKE); $(unstage)
40479 @[ -f ./gnattools/Makefile ] || exit 0; \
40480 r=`${PWD_COMMAND}`; export r; \
40481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40482 $(HOST_EXPORTS) \
40483 for flag in $(EXTRA_HOST_FLAGS) ; do \
40484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40485 done; \
40486 echo "Doing install-info in gnattools" ; \
40487 (cd $(HOST_SUBDIR)/gnattools && \
40488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40490 "RANLIB=$${RANLIB}" \
40491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40492 install-info) \
40493 || exit 1
40495 @endif gnattools
40497 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
40498 maybe-install-pdf-gnattools:
40499 @if gnattools
40500 maybe-install-pdf-gnattools: install-pdf-gnattools
40502 install-pdf-gnattools: \
40503 configure-gnattools \
40504 pdf-gnattools
40505 @: $(MAKE); $(unstage)
40506 @[ -f ./gnattools/Makefile ] || exit 0; \
40507 r=`${PWD_COMMAND}`; export r; \
40508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40509 $(HOST_EXPORTS) \
40510 for flag in $(EXTRA_HOST_FLAGS) ; do \
40511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40512 done; \
40513 echo "Doing install-pdf in gnattools" ; \
40514 (cd $(HOST_SUBDIR)/gnattools && \
40515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40517 "RANLIB=$${RANLIB}" \
40518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40519 install-pdf) \
40520 || exit 1
40522 @endif gnattools
40524 .PHONY: maybe-install-html-gnattools install-html-gnattools
40525 maybe-install-html-gnattools:
40526 @if gnattools
40527 maybe-install-html-gnattools: install-html-gnattools
40529 install-html-gnattools: \
40530 configure-gnattools \
40531 html-gnattools
40532 @: $(MAKE); $(unstage)
40533 @[ -f ./gnattools/Makefile ] || exit 0; \
40534 r=`${PWD_COMMAND}`; export r; \
40535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40536 $(HOST_EXPORTS) \
40537 for flag in $(EXTRA_HOST_FLAGS) ; do \
40538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40539 done; \
40540 echo "Doing install-html in gnattools" ; \
40541 (cd $(HOST_SUBDIR)/gnattools && \
40542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40544 "RANLIB=$${RANLIB}" \
40545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40546 install-html) \
40547 || exit 1
40549 @endif gnattools
40551 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
40552 maybe-installcheck-gnattools:
40553 @if gnattools
40554 maybe-installcheck-gnattools: installcheck-gnattools
40556 installcheck-gnattools: \
40557 configure-gnattools
40558 @: $(MAKE); $(unstage)
40559 @[ -f ./gnattools/Makefile ] || exit 0; \
40560 r=`${PWD_COMMAND}`; export r; \
40561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40562 $(HOST_EXPORTS) \
40563 for flag in $(EXTRA_HOST_FLAGS) ; do \
40564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40565 done; \
40566 echo "Doing installcheck in gnattools" ; \
40567 (cd $(HOST_SUBDIR)/gnattools && \
40568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40570 "RANLIB=$${RANLIB}" \
40571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40572 installcheck) \
40573 || exit 1
40575 @endif gnattools
40577 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
40578 maybe-mostlyclean-gnattools:
40579 @if gnattools
40580 maybe-mostlyclean-gnattools: mostlyclean-gnattools
40582 mostlyclean-gnattools:
40583 @: $(MAKE); $(unstage)
40584 @[ -f ./gnattools/Makefile ] || exit 0; \
40585 r=`${PWD_COMMAND}`; export r; \
40586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40587 $(HOST_EXPORTS) \
40588 for flag in $(EXTRA_HOST_FLAGS) ; do \
40589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40590 done; \
40591 echo "Doing mostlyclean in gnattools" ; \
40592 (cd $(HOST_SUBDIR)/gnattools && \
40593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40595 "RANLIB=$${RANLIB}" \
40596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40597 mostlyclean) \
40598 || exit 1
40600 @endif gnattools
40602 .PHONY: maybe-clean-gnattools clean-gnattools
40603 maybe-clean-gnattools:
40604 @if gnattools
40605 maybe-clean-gnattools: clean-gnattools
40607 clean-gnattools:
40608 @: $(MAKE); $(unstage)
40609 @[ -f ./gnattools/Makefile ] || exit 0; \
40610 r=`${PWD_COMMAND}`; export r; \
40611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40612 $(HOST_EXPORTS) \
40613 for flag in $(EXTRA_HOST_FLAGS) ; do \
40614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40615 done; \
40616 echo "Doing clean in gnattools" ; \
40617 (cd $(HOST_SUBDIR)/gnattools && \
40618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40620 "RANLIB=$${RANLIB}" \
40621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40622 clean) \
40623 || exit 1
40625 @endif gnattools
40627 .PHONY: maybe-distclean-gnattools distclean-gnattools
40628 maybe-distclean-gnattools:
40629 @if gnattools
40630 maybe-distclean-gnattools: distclean-gnattools
40632 distclean-gnattools:
40633 @: $(MAKE); $(unstage)
40634 @[ -f ./gnattools/Makefile ] || exit 0; \
40635 r=`${PWD_COMMAND}`; export r; \
40636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40637 $(HOST_EXPORTS) \
40638 for flag in $(EXTRA_HOST_FLAGS) ; do \
40639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40640 done; \
40641 echo "Doing distclean in gnattools" ; \
40642 (cd $(HOST_SUBDIR)/gnattools && \
40643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40645 "RANLIB=$${RANLIB}" \
40646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40647 distclean) \
40648 || exit 1
40650 @endif gnattools
40652 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
40653 maybe-maintainer-clean-gnattools:
40654 @if gnattools
40655 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
40657 maintainer-clean-gnattools:
40658 @: $(MAKE); $(unstage)
40659 @[ -f ./gnattools/Makefile ] || exit 0; \
40660 r=`${PWD_COMMAND}`; export r; \
40661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40662 $(HOST_EXPORTS) \
40663 for flag in $(EXTRA_HOST_FLAGS) ; do \
40664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40665 done; \
40666 echo "Doing maintainer-clean in gnattools" ; \
40667 (cd $(HOST_SUBDIR)/gnattools && \
40668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40670 "RANLIB=$${RANLIB}" \
40671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40672 maintainer-clean) \
40673 || exit 1
40675 @endif gnattools
40679 # ---------------------------------------
40680 # Modules which run on the target machine
40681 # ---------------------------------------
40686 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
40687 maybe-configure-target-libstdc++-v3:
40688 @if gcc-bootstrap
40689 configure-target-libstdc++-v3: stage_current
40690 @endif gcc-bootstrap
40691 @if target-libstdc++-v3
40692 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
40693 configure-target-libstdc++-v3:
40694 @: $(MAKE); $(unstage)
40695 @r=`${PWD_COMMAND}`; export r; \
40696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40697 echo "Checking multilib configuration for libstdc++-v3..."; \
40698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
40699 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
40700 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40701 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
40702 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
40703 else \
40704 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
40705 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40706 fi; \
40707 else \
40708 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
40709 fi; \
40710 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
40711 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
40712 $(RAW_CXX_TARGET_EXPORTS) \
40713 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
40714 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
40715 case $(srcdir) in \
40716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40717 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
40718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40719 esac; \
40720 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
40721 libsrcdir="$$s/libstdc++-v3"; \
40722 rm -f no-such-file || : ; \
40723 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40724 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40725 --target=${target_alias} $${srcdiroption} \
40726 || exit 1
40727 @endif target-libstdc++-v3
40733 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
40734 maybe-all-target-libstdc++-v3:
40735 @if gcc-bootstrap
40736 all-target-libstdc++-v3: stage_current
40737 @endif gcc-bootstrap
40738 @if target-libstdc++-v3
40739 TARGET-target-libstdc++-v3=all
40740 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
40741 all-target-libstdc++-v3: configure-target-libstdc++-v3
40742 @: $(MAKE); $(unstage)
40743 @r=`${PWD_COMMAND}`; export r; \
40744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40745 $(RAW_CXX_TARGET_EXPORTS) \
40746 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40747 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
40748 $(TARGET-target-libstdc++-v3))
40749 @endif target-libstdc++-v3
40755 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
40756 maybe-check-target-libstdc++-v3:
40757 @if target-libstdc++-v3
40758 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
40760 check-target-libstdc++-v3:
40761 @: $(MAKE); $(unstage)
40762 @r=`${PWD_COMMAND}`; export r; \
40763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40764 $(RAW_CXX_TARGET_EXPORTS) \
40765 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40766 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
40768 @endif target-libstdc++-v3
40770 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
40771 maybe-install-target-libstdc++-v3:
40772 @if target-libstdc++-v3
40773 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
40775 install-target-libstdc++-v3: installdirs
40776 @: $(MAKE); $(unstage)
40777 @r=`${PWD_COMMAND}`; export r; \
40778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40779 $(RAW_CXX_TARGET_EXPORTS) \
40780 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40781 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40783 @endif target-libstdc++-v3
40785 # Other targets (info, dvi, pdf, etc.)
40787 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
40788 maybe-info-target-libstdc++-v3:
40789 @if target-libstdc++-v3
40790 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
40792 info-target-libstdc++-v3: \
40793 configure-target-libstdc++-v3
40794 @: $(MAKE); $(unstage)
40795 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40796 r=`${PWD_COMMAND}`; export r; \
40797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40798 $(RAW_CXX_TARGET_EXPORTS) \
40799 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40800 for flag in $(EXTRA_TARGET_FLAGS); do \
40801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40802 done; \
40803 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40806 "RANLIB=$${RANLIB}" \
40807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40808 info) \
40809 || exit 1
40811 @endif target-libstdc++-v3
40813 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
40814 maybe-dvi-target-libstdc++-v3:
40815 @if target-libstdc++-v3
40816 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
40818 dvi-target-libstdc++-v3: \
40819 configure-target-libstdc++-v3
40820 @: $(MAKE); $(unstage)
40821 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40822 r=`${PWD_COMMAND}`; export r; \
40823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40824 $(RAW_CXX_TARGET_EXPORTS) \
40825 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40826 for flag in $(EXTRA_TARGET_FLAGS); do \
40827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40828 done; \
40829 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40832 "RANLIB=$${RANLIB}" \
40833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40834 dvi) \
40835 || exit 1
40837 @endif target-libstdc++-v3
40839 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
40840 maybe-pdf-target-libstdc++-v3:
40841 @if target-libstdc++-v3
40842 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
40844 pdf-target-libstdc++-v3: \
40845 configure-target-libstdc++-v3
40846 @: $(MAKE); $(unstage)
40847 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40848 r=`${PWD_COMMAND}`; export r; \
40849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40850 $(RAW_CXX_TARGET_EXPORTS) \
40851 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40852 for flag in $(EXTRA_TARGET_FLAGS); do \
40853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40854 done; \
40855 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40858 "RANLIB=$${RANLIB}" \
40859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40860 pdf) \
40861 || exit 1
40863 @endif target-libstdc++-v3
40865 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
40866 maybe-html-target-libstdc++-v3:
40867 @if target-libstdc++-v3
40868 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
40870 html-target-libstdc++-v3: \
40871 configure-target-libstdc++-v3
40872 @: $(MAKE); $(unstage)
40873 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40874 r=`${PWD_COMMAND}`; export r; \
40875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40876 $(RAW_CXX_TARGET_EXPORTS) \
40877 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40878 for flag in $(EXTRA_TARGET_FLAGS); do \
40879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40880 done; \
40881 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40884 "RANLIB=$${RANLIB}" \
40885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40886 html) \
40887 || exit 1
40889 @endif target-libstdc++-v3
40891 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
40892 maybe-TAGS-target-libstdc++-v3:
40893 @if target-libstdc++-v3
40894 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
40896 TAGS-target-libstdc++-v3: \
40897 configure-target-libstdc++-v3
40898 @: $(MAKE); $(unstage)
40899 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40900 r=`${PWD_COMMAND}`; export r; \
40901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40902 $(RAW_CXX_TARGET_EXPORTS) \
40903 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40904 for flag in $(EXTRA_TARGET_FLAGS); do \
40905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40906 done; \
40907 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40910 "RANLIB=$${RANLIB}" \
40911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40912 TAGS) \
40913 || exit 1
40915 @endif target-libstdc++-v3
40917 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
40918 maybe-install-info-target-libstdc++-v3:
40919 @if target-libstdc++-v3
40920 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
40922 install-info-target-libstdc++-v3: \
40923 configure-target-libstdc++-v3 \
40924 info-target-libstdc++-v3
40925 @: $(MAKE); $(unstage)
40926 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40927 r=`${PWD_COMMAND}`; export r; \
40928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40929 $(RAW_CXX_TARGET_EXPORTS) \
40930 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40931 for flag in $(EXTRA_TARGET_FLAGS); do \
40932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40933 done; \
40934 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40937 "RANLIB=$${RANLIB}" \
40938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40939 install-info) \
40940 || exit 1
40942 @endif target-libstdc++-v3
40944 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
40945 maybe-install-pdf-target-libstdc++-v3:
40946 @if target-libstdc++-v3
40947 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
40949 install-pdf-target-libstdc++-v3: \
40950 configure-target-libstdc++-v3 \
40951 pdf-target-libstdc++-v3
40952 @: $(MAKE); $(unstage)
40953 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40954 r=`${PWD_COMMAND}`; export r; \
40955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40956 $(RAW_CXX_TARGET_EXPORTS) \
40957 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40958 for flag in $(EXTRA_TARGET_FLAGS); do \
40959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40960 done; \
40961 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40964 "RANLIB=$${RANLIB}" \
40965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40966 install-pdf) \
40967 || exit 1
40969 @endif target-libstdc++-v3
40971 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
40972 maybe-install-html-target-libstdc++-v3:
40973 @if target-libstdc++-v3
40974 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
40976 install-html-target-libstdc++-v3: \
40977 configure-target-libstdc++-v3 \
40978 html-target-libstdc++-v3
40979 @: $(MAKE); $(unstage)
40980 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
40981 r=`${PWD_COMMAND}`; export r; \
40982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40983 $(RAW_CXX_TARGET_EXPORTS) \
40984 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
40985 for flag in $(EXTRA_TARGET_FLAGS); do \
40986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40987 done; \
40988 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
40989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40991 "RANLIB=$${RANLIB}" \
40992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40993 install-html) \
40994 || exit 1
40996 @endif target-libstdc++-v3
40998 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
40999 maybe-installcheck-target-libstdc++-v3:
41000 @if target-libstdc++-v3
41001 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
41003 installcheck-target-libstdc++-v3: \
41004 configure-target-libstdc++-v3
41005 @: $(MAKE); $(unstage)
41006 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
41007 r=`${PWD_COMMAND}`; export r; \
41008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41009 $(RAW_CXX_TARGET_EXPORTS) \
41010 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
41011 for flag in $(EXTRA_TARGET_FLAGS); do \
41012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41013 done; \
41014 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41017 "RANLIB=$${RANLIB}" \
41018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41019 installcheck) \
41020 || exit 1
41022 @endif target-libstdc++-v3
41024 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
41025 maybe-mostlyclean-target-libstdc++-v3:
41026 @if target-libstdc++-v3
41027 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
41029 mostlyclean-target-libstdc++-v3:
41030 @: $(MAKE); $(unstage)
41031 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
41032 r=`${PWD_COMMAND}`; export r; \
41033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41034 $(RAW_CXX_TARGET_EXPORTS) \
41035 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
41036 for flag in $(EXTRA_TARGET_FLAGS); do \
41037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41038 done; \
41039 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41042 "RANLIB=$${RANLIB}" \
41043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41044 mostlyclean) \
41045 || exit 1
41047 @endif target-libstdc++-v3
41049 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
41050 maybe-clean-target-libstdc++-v3:
41051 @if target-libstdc++-v3
41052 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
41054 clean-target-libstdc++-v3:
41055 @: $(MAKE); $(unstage)
41056 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
41057 r=`${PWD_COMMAND}`; export r; \
41058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41059 $(RAW_CXX_TARGET_EXPORTS) \
41060 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
41061 for flag in $(EXTRA_TARGET_FLAGS); do \
41062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41063 done; \
41064 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41067 "RANLIB=$${RANLIB}" \
41068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41069 clean) \
41070 || exit 1
41072 @endif target-libstdc++-v3
41074 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
41075 maybe-distclean-target-libstdc++-v3:
41076 @if target-libstdc++-v3
41077 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
41079 distclean-target-libstdc++-v3:
41080 @: $(MAKE); $(unstage)
41081 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
41082 r=`${PWD_COMMAND}`; export r; \
41083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41084 $(RAW_CXX_TARGET_EXPORTS) \
41085 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
41086 for flag in $(EXTRA_TARGET_FLAGS); do \
41087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41088 done; \
41089 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41092 "RANLIB=$${RANLIB}" \
41093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41094 distclean) \
41095 || exit 1
41097 @endif target-libstdc++-v3
41099 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
41100 maybe-maintainer-clean-target-libstdc++-v3:
41101 @if target-libstdc++-v3
41102 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
41104 maintainer-clean-target-libstdc++-v3:
41105 @: $(MAKE); $(unstage)
41106 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
41107 r=`${PWD_COMMAND}`; export r; \
41108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41109 $(RAW_CXX_TARGET_EXPORTS) \
41110 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
41111 for flag in $(EXTRA_TARGET_FLAGS); do \
41112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41113 done; \
41114 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
41115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41117 "RANLIB=$${RANLIB}" \
41118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41119 maintainer-clean) \
41120 || exit 1
41122 @endif target-libstdc++-v3
41128 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
41129 maybe-configure-target-libmudflap:
41130 @if gcc-bootstrap
41131 configure-target-libmudflap: stage_current
41132 @endif gcc-bootstrap
41133 @if target-libmudflap
41134 maybe-configure-target-libmudflap: configure-target-libmudflap
41135 configure-target-libmudflap:
41136 @: $(MAKE); $(unstage)
41137 @r=`${PWD_COMMAND}`; export r; \
41138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41139 echo "Checking multilib configuration for libmudflap..."; \
41140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
41141 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
41142 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
41143 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
41144 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
41145 else \
41146 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
41147 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
41148 fi; \
41149 else \
41150 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
41151 fi; \
41152 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
41153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
41154 $(NORMAL_TARGET_EXPORTS) \
41155 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
41156 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
41157 case $(srcdir) in \
41158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41159 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
41160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41161 esac; \
41162 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
41163 libsrcdir="$$s/libmudflap"; \
41164 rm -f no-such-file || : ; \
41165 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41166 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41167 --target=${target_alias} $${srcdiroption} \
41168 || exit 1
41169 @endif target-libmudflap
41175 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
41176 maybe-all-target-libmudflap:
41177 @if gcc-bootstrap
41178 all-target-libmudflap: stage_current
41179 @endif gcc-bootstrap
41180 @if target-libmudflap
41181 TARGET-target-libmudflap=all
41182 maybe-all-target-libmudflap: all-target-libmudflap
41183 all-target-libmudflap: configure-target-libmudflap
41184 @: $(MAKE); $(unstage)
41185 @r=`${PWD_COMMAND}`; export r; \
41186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41187 $(NORMAL_TARGET_EXPORTS) \
41188 (cd $(TARGET_SUBDIR)/libmudflap && \
41189 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41190 $(TARGET-target-libmudflap))
41191 @endif target-libmudflap
41197 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
41198 maybe-check-target-libmudflap:
41199 @if target-libmudflap
41200 maybe-check-target-libmudflap: check-target-libmudflap
41202 check-target-libmudflap:
41203 @: $(MAKE); $(unstage)
41204 @r=`${PWD_COMMAND}`; export r; \
41205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41206 $(NORMAL_TARGET_EXPORTS) \
41207 (cd $(TARGET_SUBDIR)/libmudflap && \
41208 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41210 @endif target-libmudflap
41212 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
41213 maybe-install-target-libmudflap:
41214 @if target-libmudflap
41215 maybe-install-target-libmudflap: install-target-libmudflap
41217 install-target-libmudflap: installdirs
41218 @: $(MAKE); $(unstage)
41219 @r=`${PWD_COMMAND}`; export r; \
41220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41221 $(NORMAL_TARGET_EXPORTS) \
41222 (cd $(TARGET_SUBDIR)/libmudflap && \
41223 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41225 @endif target-libmudflap
41227 # Other targets (info, dvi, pdf, etc.)
41229 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
41230 maybe-info-target-libmudflap:
41231 @if target-libmudflap
41232 maybe-info-target-libmudflap: info-target-libmudflap
41234 info-target-libmudflap: \
41235 configure-target-libmudflap
41236 @: $(MAKE); $(unstage)
41237 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41238 r=`${PWD_COMMAND}`; export r; \
41239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41240 $(NORMAL_TARGET_EXPORTS) \
41241 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
41242 for flag in $(EXTRA_TARGET_FLAGS); do \
41243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41244 done; \
41245 (cd $(TARGET_SUBDIR)/libmudflap && \
41246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41248 "RANLIB=$${RANLIB}" \
41249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41250 info) \
41251 || exit 1
41253 @endif target-libmudflap
41255 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
41256 maybe-dvi-target-libmudflap:
41257 @if target-libmudflap
41258 maybe-dvi-target-libmudflap: dvi-target-libmudflap
41260 dvi-target-libmudflap: \
41261 configure-target-libmudflap
41262 @: $(MAKE); $(unstage)
41263 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41264 r=`${PWD_COMMAND}`; export r; \
41265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41266 $(NORMAL_TARGET_EXPORTS) \
41267 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
41268 for flag in $(EXTRA_TARGET_FLAGS); do \
41269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41270 done; \
41271 (cd $(TARGET_SUBDIR)/libmudflap && \
41272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41274 "RANLIB=$${RANLIB}" \
41275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41276 dvi) \
41277 || exit 1
41279 @endif target-libmudflap
41281 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
41282 maybe-pdf-target-libmudflap:
41283 @if target-libmudflap
41284 maybe-pdf-target-libmudflap: pdf-target-libmudflap
41286 pdf-target-libmudflap: \
41287 configure-target-libmudflap
41288 @: $(MAKE); $(unstage)
41289 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41290 r=`${PWD_COMMAND}`; export r; \
41291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41292 $(NORMAL_TARGET_EXPORTS) \
41293 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
41294 for flag in $(EXTRA_TARGET_FLAGS); do \
41295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41296 done; \
41297 (cd $(TARGET_SUBDIR)/libmudflap && \
41298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41300 "RANLIB=$${RANLIB}" \
41301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41302 pdf) \
41303 || exit 1
41305 @endif target-libmudflap
41307 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
41308 maybe-html-target-libmudflap:
41309 @if target-libmudflap
41310 maybe-html-target-libmudflap: html-target-libmudflap
41312 html-target-libmudflap: \
41313 configure-target-libmudflap
41314 @: $(MAKE); $(unstage)
41315 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41316 r=`${PWD_COMMAND}`; export r; \
41317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41318 $(NORMAL_TARGET_EXPORTS) \
41319 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
41320 for flag in $(EXTRA_TARGET_FLAGS); do \
41321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41322 done; \
41323 (cd $(TARGET_SUBDIR)/libmudflap && \
41324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41326 "RANLIB=$${RANLIB}" \
41327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41328 html) \
41329 || exit 1
41331 @endif target-libmudflap
41333 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
41334 maybe-TAGS-target-libmudflap:
41335 @if target-libmudflap
41336 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
41338 TAGS-target-libmudflap: \
41339 configure-target-libmudflap
41340 @: $(MAKE); $(unstage)
41341 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41342 r=`${PWD_COMMAND}`; export r; \
41343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41344 $(NORMAL_TARGET_EXPORTS) \
41345 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
41346 for flag in $(EXTRA_TARGET_FLAGS); do \
41347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41348 done; \
41349 (cd $(TARGET_SUBDIR)/libmudflap && \
41350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41352 "RANLIB=$${RANLIB}" \
41353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41354 TAGS) \
41355 || exit 1
41357 @endif target-libmudflap
41359 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
41360 maybe-install-info-target-libmudflap:
41361 @if target-libmudflap
41362 maybe-install-info-target-libmudflap: install-info-target-libmudflap
41364 install-info-target-libmudflap: \
41365 configure-target-libmudflap \
41366 info-target-libmudflap
41367 @: $(MAKE); $(unstage)
41368 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41369 r=`${PWD_COMMAND}`; export r; \
41370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41371 $(NORMAL_TARGET_EXPORTS) \
41372 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
41373 for flag in $(EXTRA_TARGET_FLAGS); do \
41374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41375 done; \
41376 (cd $(TARGET_SUBDIR)/libmudflap && \
41377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41379 "RANLIB=$${RANLIB}" \
41380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41381 install-info) \
41382 || exit 1
41384 @endif target-libmudflap
41386 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
41387 maybe-install-pdf-target-libmudflap:
41388 @if target-libmudflap
41389 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
41391 install-pdf-target-libmudflap: \
41392 configure-target-libmudflap \
41393 pdf-target-libmudflap
41394 @: $(MAKE); $(unstage)
41395 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41396 r=`${PWD_COMMAND}`; export r; \
41397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41398 $(NORMAL_TARGET_EXPORTS) \
41399 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
41400 for flag in $(EXTRA_TARGET_FLAGS); do \
41401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41402 done; \
41403 (cd $(TARGET_SUBDIR)/libmudflap && \
41404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41406 "RANLIB=$${RANLIB}" \
41407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41408 install-pdf) \
41409 || exit 1
41411 @endif target-libmudflap
41413 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
41414 maybe-install-html-target-libmudflap:
41415 @if target-libmudflap
41416 maybe-install-html-target-libmudflap: install-html-target-libmudflap
41418 install-html-target-libmudflap: \
41419 configure-target-libmudflap \
41420 html-target-libmudflap
41421 @: $(MAKE); $(unstage)
41422 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41423 r=`${PWD_COMMAND}`; export r; \
41424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41425 $(NORMAL_TARGET_EXPORTS) \
41426 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
41427 for flag in $(EXTRA_TARGET_FLAGS); do \
41428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41429 done; \
41430 (cd $(TARGET_SUBDIR)/libmudflap && \
41431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41433 "RANLIB=$${RANLIB}" \
41434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41435 install-html) \
41436 || exit 1
41438 @endif target-libmudflap
41440 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
41441 maybe-installcheck-target-libmudflap:
41442 @if target-libmudflap
41443 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
41445 installcheck-target-libmudflap: \
41446 configure-target-libmudflap
41447 @: $(MAKE); $(unstage)
41448 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41449 r=`${PWD_COMMAND}`; export r; \
41450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41451 $(NORMAL_TARGET_EXPORTS) \
41452 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
41453 for flag in $(EXTRA_TARGET_FLAGS); do \
41454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41455 done; \
41456 (cd $(TARGET_SUBDIR)/libmudflap && \
41457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41459 "RANLIB=$${RANLIB}" \
41460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41461 installcheck) \
41462 || exit 1
41464 @endif target-libmudflap
41466 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
41467 maybe-mostlyclean-target-libmudflap:
41468 @if target-libmudflap
41469 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
41471 mostlyclean-target-libmudflap:
41472 @: $(MAKE); $(unstage)
41473 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41474 r=`${PWD_COMMAND}`; export r; \
41475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41476 $(NORMAL_TARGET_EXPORTS) \
41477 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
41478 for flag in $(EXTRA_TARGET_FLAGS); do \
41479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41480 done; \
41481 (cd $(TARGET_SUBDIR)/libmudflap && \
41482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41484 "RANLIB=$${RANLIB}" \
41485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41486 mostlyclean) \
41487 || exit 1
41489 @endif target-libmudflap
41491 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
41492 maybe-clean-target-libmudflap:
41493 @if target-libmudflap
41494 maybe-clean-target-libmudflap: clean-target-libmudflap
41496 clean-target-libmudflap:
41497 @: $(MAKE); $(unstage)
41498 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41499 r=`${PWD_COMMAND}`; export r; \
41500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41501 $(NORMAL_TARGET_EXPORTS) \
41502 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
41503 for flag in $(EXTRA_TARGET_FLAGS); do \
41504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41505 done; \
41506 (cd $(TARGET_SUBDIR)/libmudflap && \
41507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41509 "RANLIB=$${RANLIB}" \
41510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41511 clean) \
41512 || exit 1
41514 @endif target-libmudflap
41516 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
41517 maybe-distclean-target-libmudflap:
41518 @if target-libmudflap
41519 maybe-distclean-target-libmudflap: distclean-target-libmudflap
41521 distclean-target-libmudflap:
41522 @: $(MAKE); $(unstage)
41523 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41524 r=`${PWD_COMMAND}`; export r; \
41525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41526 $(NORMAL_TARGET_EXPORTS) \
41527 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
41528 for flag in $(EXTRA_TARGET_FLAGS); do \
41529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41530 done; \
41531 (cd $(TARGET_SUBDIR)/libmudflap && \
41532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41534 "RANLIB=$${RANLIB}" \
41535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41536 distclean) \
41537 || exit 1
41539 @endif target-libmudflap
41541 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
41542 maybe-maintainer-clean-target-libmudflap:
41543 @if target-libmudflap
41544 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
41546 maintainer-clean-target-libmudflap:
41547 @: $(MAKE); $(unstage)
41548 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
41549 r=`${PWD_COMMAND}`; export r; \
41550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41551 $(NORMAL_TARGET_EXPORTS) \
41552 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
41553 for flag in $(EXTRA_TARGET_FLAGS); do \
41554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41555 done; \
41556 (cd $(TARGET_SUBDIR)/libmudflap && \
41557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41559 "RANLIB=$${RANLIB}" \
41560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41561 maintainer-clean) \
41562 || exit 1
41564 @endif target-libmudflap
41570 .PHONY: configure-target-libssp maybe-configure-target-libssp
41571 maybe-configure-target-libssp:
41572 @if gcc-bootstrap
41573 configure-target-libssp: stage_current
41574 @endif gcc-bootstrap
41575 @if target-libssp
41576 maybe-configure-target-libssp: configure-target-libssp
41577 configure-target-libssp:
41578 @: $(MAKE); $(unstage)
41579 @r=`${PWD_COMMAND}`; export r; \
41580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41581 echo "Checking multilib configuration for libssp..."; \
41582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
41583 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
41584 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
41585 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
41586 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
41587 else \
41588 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
41589 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41590 fi; \
41591 else \
41592 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
41593 fi; \
41594 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
41595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
41596 $(NORMAL_TARGET_EXPORTS) \
41597 echo Configuring in $(TARGET_SUBDIR)/libssp; \
41598 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
41599 case $(srcdir) in \
41600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41601 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
41602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41603 esac; \
41604 srcdiroption="--srcdir=$${topdir}/libssp"; \
41605 libsrcdir="$$s/libssp"; \
41606 rm -f no-such-file || : ; \
41607 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41608 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41609 --target=${target_alias} $${srcdiroption} \
41610 || exit 1
41611 @endif target-libssp
41617 .PHONY: all-target-libssp maybe-all-target-libssp
41618 maybe-all-target-libssp:
41619 @if gcc-bootstrap
41620 all-target-libssp: stage_current
41621 @endif gcc-bootstrap
41622 @if target-libssp
41623 TARGET-target-libssp=all
41624 maybe-all-target-libssp: all-target-libssp
41625 all-target-libssp: configure-target-libssp
41626 @: $(MAKE); $(unstage)
41627 @r=`${PWD_COMMAND}`; export r; \
41628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41629 $(NORMAL_TARGET_EXPORTS) \
41630 (cd $(TARGET_SUBDIR)/libssp && \
41631 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41632 $(TARGET-target-libssp))
41633 @endif target-libssp
41639 .PHONY: check-target-libssp maybe-check-target-libssp
41640 maybe-check-target-libssp:
41641 @if target-libssp
41642 maybe-check-target-libssp: check-target-libssp
41644 check-target-libssp:
41645 @: $(MAKE); $(unstage)
41646 @r=`${PWD_COMMAND}`; export r; \
41647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41648 $(NORMAL_TARGET_EXPORTS) \
41649 (cd $(TARGET_SUBDIR)/libssp && \
41650 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41652 @endif target-libssp
41654 .PHONY: install-target-libssp maybe-install-target-libssp
41655 maybe-install-target-libssp:
41656 @if target-libssp
41657 maybe-install-target-libssp: install-target-libssp
41659 install-target-libssp: installdirs
41660 @: $(MAKE); $(unstage)
41661 @r=`${PWD_COMMAND}`; export r; \
41662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41663 $(NORMAL_TARGET_EXPORTS) \
41664 (cd $(TARGET_SUBDIR)/libssp && \
41665 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41667 @endif target-libssp
41669 # Other targets (info, dvi, pdf, etc.)
41671 .PHONY: maybe-info-target-libssp info-target-libssp
41672 maybe-info-target-libssp:
41673 @if target-libssp
41674 maybe-info-target-libssp: info-target-libssp
41676 info-target-libssp: \
41677 configure-target-libssp
41678 @: $(MAKE); $(unstage)
41679 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41680 r=`${PWD_COMMAND}`; export r; \
41681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41682 $(NORMAL_TARGET_EXPORTS) \
41683 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
41684 for flag in $(EXTRA_TARGET_FLAGS); do \
41685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41686 done; \
41687 (cd $(TARGET_SUBDIR)/libssp && \
41688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41690 "RANLIB=$${RANLIB}" \
41691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41692 info) \
41693 || exit 1
41695 @endif target-libssp
41697 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
41698 maybe-dvi-target-libssp:
41699 @if target-libssp
41700 maybe-dvi-target-libssp: dvi-target-libssp
41702 dvi-target-libssp: \
41703 configure-target-libssp
41704 @: $(MAKE); $(unstage)
41705 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41706 r=`${PWD_COMMAND}`; export r; \
41707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41708 $(NORMAL_TARGET_EXPORTS) \
41709 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
41710 for flag in $(EXTRA_TARGET_FLAGS); do \
41711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41712 done; \
41713 (cd $(TARGET_SUBDIR)/libssp && \
41714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41716 "RANLIB=$${RANLIB}" \
41717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41718 dvi) \
41719 || exit 1
41721 @endif target-libssp
41723 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
41724 maybe-pdf-target-libssp:
41725 @if target-libssp
41726 maybe-pdf-target-libssp: pdf-target-libssp
41728 pdf-target-libssp: \
41729 configure-target-libssp
41730 @: $(MAKE); $(unstage)
41731 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41732 r=`${PWD_COMMAND}`; export r; \
41733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41734 $(NORMAL_TARGET_EXPORTS) \
41735 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
41736 for flag in $(EXTRA_TARGET_FLAGS); do \
41737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41738 done; \
41739 (cd $(TARGET_SUBDIR)/libssp && \
41740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41742 "RANLIB=$${RANLIB}" \
41743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41744 pdf) \
41745 || exit 1
41747 @endif target-libssp
41749 .PHONY: maybe-html-target-libssp html-target-libssp
41750 maybe-html-target-libssp:
41751 @if target-libssp
41752 maybe-html-target-libssp: html-target-libssp
41754 html-target-libssp: \
41755 configure-target-libssp
41756 @: $(MAKE); $(unstage)
41757 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41758 r=`${PWD_COMMAND}`; export r; \
41759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41760 $(NORMAL_TARGET_EXPORTS) \
41761 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
41762 for flag in $(EXTRA_TARGET_FLAGS); do \
41763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41764 done; \
41765 (cd $(TARGET_SUBDIR)/libssp && \
41766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41768 "RANLIB=$${RANLIB}" \
41769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41770 html) \
41771 || exit 1
41773 @endif target-libssp
41775 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
41776 maybe-TAGS-target-libssp:
41777 @if target-libssp
41778 maybe-TAGS-target-libssp: TAGS-target-libssp
41780 TAGS-target-libssp: \
41781 configure-target-libssp
41782 @: $(MAKE); $(unstage)
41783 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41784 r=`${PWD_COMMAND}`; export r; \
41785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41786 $(NORMAL_TARGET_EXPORTS) \
41787 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
41788 for flag in $(EXTRA_TARGET_FLAGS); do \
41789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41790 done; \
41791 (cd $(TARGET_SUBDIR)/libssp && \
41792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41794 "RANLIB=$${RANLIB}" \
41795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41796 TAGS) \
41797 || exit 1
41799 @endif target-libssp
41801 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
41802 maybe-install-info-target-libssp:
41803 @if target-libssp
41804 maybe-install-info-target-libssp: install-info-target-libssp
41806 install-info-target-libssp: \
41807 configure-target-libssp \
41808 info-target-libssp
41809 @: $(MAKE); $(unstage)
41810 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41811 r=`${PWD_COMMAND}`; export r; \
41812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41813 $(NORMAL_TARGET_EXPORTS) \
41814 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
41815 for flag in $(EXTRA_TARGET_FLAGS); do \
41816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41817 done; \
41818 (cd $(TARGET_SUBDIR)/libssp && \
41819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41821 "RANLIB=$${RANLIB}" \
41822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41823 install-info) \
41824 || exit 1
41826 @endif target-libssp
41828 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
41829 maybe-install-pdf-target-libssp:
41830 @if target-libssp
41831 maybe-install-pdf-target-libssp: install-pdf-target-libssp
41833 install-pdf-target-libssp: \
41834 configure-target-libssp \
41835 pdf-target-libssp
41836 @: $(MAKE); $(unstage)
41837 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41838 r=`${PWD_COMMAND}`; export r; \
41839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41840 $(NORMAL_TARGET_EXPORTS) \
41841 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
41842 for flag in $(EXTRA_TARGET_FLAGS); do \
41843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41844 done; \
41845 (cd $(TARGET_SUBDIR)/libssp && \
41846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41848 "RANLIB=$${RANLIB}" \
41849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41850 install-pdf) \
41851 || exit 1
41853 @endif target-libssp
41855 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
41856 maybe-install-html-target-libssp:
41857 @if target-libssp
41858 maybe-install-html-target-libssp: install-html-target-libssp
41860 install-html-target-libssp: \
41861 configure-target-libssp \
41862 html-target-libssp
41863 @: $(MAKE); $(unstage)
41864 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41865 r=`${PWD_COMMAND}`; export r; \
41866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41867 $(NORMAL_TARGET_EXPORTS) \
41868 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
41869 for flag in $(EXTRA_TARGET_FLAGS); do \
41870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41871 done; \
41872 (cd $(TARGET_SUBDIR)/libssp && \
41873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41875 "RANLIB=$${RANLIB}" \
41876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41877 install-html) \
41878 || exit 1
41880 @endif target-libssp
41882 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
41883 maybe-installcheck-target-libssp:
41884 @if target-libssp
41885 maybe-installcheck-target-libssp: installcheck-target-libssp
41887 installcheck-target-libssp: \
41888 configure-target-libssp
41889 @: $(MAKE); $(unstage)
41890 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41891 r=`${PWD_COMMAND}`; export r; \
41892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41893 $(NORMAL_TARGET_EXPORTS) \
41894 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
41895 for flag in $(EXTRA_TARGET_FLAGS); do \
41896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41897 done; \
41898 (cd $(TARGET_SUBDIR)/libssp && \
41899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41901 "RANLIB=$${RANLIB}" \
41902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41903 installcheck) \
41904 || exit 1
41906 @endif target-libssp
41908 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
41909 maybe-mostlyclean-target-libssp:
41910 @if target-libssp
41911 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
41913 mostlyclean-target-libssp:
41914 @: $(MAKE); $(unstage)
41915 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41916 r=`${PWD_COMMAND}`; export r; \
41917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41918 $(NORMAL_TARGET_EXPORTS) \
41919 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
41920 for flag in $(EXTRA_TARGET_FLAGS); do \
41921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41922 done; \
41923 (cd $(TARGET_SUBDIR)/libssp && \
41924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41926 "RANLIB=$${RANLIB}" \
41927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41928 mostlyclean) \
41929 || exit 1
41931 @endif target-libssp
41933 .PHONY: maybe-clean-target-libssp clean-target-libssp
41934 maybe-clean-target-libssp:
41935 @if target-libssp
41936 maybe-clean-target-libssp: clean-target-libssp
41938 clean-target-libssp:
41939 @: $(MAKE); $(unstage)
41940 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41941 r=`${PWD_COMMAND}`; export r; \
41942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41943 $(NORMAL_TARGET_EXPORTS) \
41944 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
41945 for flag in $(EXTRA_TARGET_FLAGS); do \
41946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41947 done; \
41948 (cd $(TARGET_SUBDIR)/libssp && \
41949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41951 "RANLIB=$${RANLIB}" \
41952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41953 clean) \
41954 || exit 1
41956 @endif target-libssp
41958 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
41959 maybe-distclean-target-libssp:
41960 @if target-libssp
41961 maybe-distclean-target-libssp: distclean-target-libssp
41963 distclean-target-libssp:
41964 @: $(MAKE); $(unstage)
41965 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41966 r=`${PWD_COMMAND}`; export r; \
41967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41968 $(NORMAL_TARGET_EXPORTS) \
41969 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
41970 for flag in $(EXTRA_TARGET_FLAGS); do \
41971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41972 done; \
41973 (cd $(TARGET_SUBDIR)/libssp && \
41974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41976 "RANLIB=$${RANLIB}" \
41977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41978 distclean) \
41979 || exit 1
41981 @endif target-libssp
41983 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
41984 maybe-maintainer-clean-target-libssp:
41985 @if target-libssp
41986 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
41988 maintainer-clean-target-libssp:
41989 @: $(MAKE); $(unstage)
41990 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
41991 r=`${PWD_COMMAND}`; export r; \
41992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41993 $(NORMAL_TARGET_EXPORTS) \
41994 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
41995 for flag in $(EXTRA_TARGET_FLAGS); do \
41996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41997 done; \
41998 (cd $(TARGET_SUBDIR)/libssp && \
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 maintainer-clean) \
42004 || exit 1
42006 @endif target-libssp
42012 .PHONY: configure-target-newlib maybe-configure-target-newlib
42013 maybe-configure-target-newlib:
42014 @if gcc-bootstrap
42015 configure-target-newlib: stage_current
42016 @endif gcc-bootstrap
42017 @if target-newlib
42018 maybe-configure-target-newlib: configure-target-newlib
42019 configure-target-newlib:
42020 @: $(MAKE); $(unstage)
42021 @r=`${PWD_COMMAND}`; export r; \
42022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42023 echo "Checking multilib configuration for newlib..."; \
42024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
42025 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
42026 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
42027 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
42028 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
42029 else \
42030 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
42031 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42032 fi; \
42033 else \
42034 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
42035 fi; \
42036 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
42037 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
42038 $(NORMAL_TARGET_EXPORTS) \
42039 echo Configuring in $(TARGET_SUBDIR)/newlib; \
42040 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
42041 case $(srcdir) in \
42042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42043 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
42044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42045 esac; \
42046 srcdiroption="--srcdir=$${topdir}/newlib"; \
42047 libsrcdir="$$s/newlib"; \
42048 rm -f no-such-file || : ; \
42049 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42050 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42051 --target=${target_alias} $${srcdiroption} \
42052 || exit 1
42053 @endif target-newlib
42059 .PHONY: all-target-newlib maybe-all-target-newlib
42060 maybe-all-target-newlib:
42061 @if gcc-bootstrap
42062 all-target-newlib: stage_current
42063 @endif gcc-bootstrap
42064 @if target-newlib
42065 TARGET-target-newlib=all
42066 maybe-all-target-newlib: all-target-newlib
42067 all-target-newlib: configure-target-newlib
42068 @: $(MAKE); $(unstage)
42069 @r=`${PWD_COMMAND}`; export r; \
42070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42071 $(NORMAL_TARGET_EXPORTS) \
42072 (cd $(TARGET_SUBDIR)/newlib && \
42073 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42074 $(TARGET-target-newlib))
42075 @endif target-newlib
42081 .PHONY: check-target-newlib maybe-check-target-newlib
42082 maybe-check-target-newlib:
42083 @if target-newlib
42084 maybe-check-target-newlib: check-target-newlib
42086 check-target-newlib:
42087 @: $(MAKE); $(unstage)
42088 @r=`${PWD_COMMAND}`; export r; \
42089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42090 $(NORMAL_TARGET_EXPORTS) \
42091 (cd $(TARGET_SUBDIR)/newlib && \
42092 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42094 @endif target-newlib
42096 .PHONY: install-target-newlib maybe-install-target-newlib
42097 maybe-install-target-newlib:
42098 @if target-newlib
42099 maybe-install-target-newlib: install-target-newlib
42101 install-target-newlib: installdirs
42102 @: $(MAKE); $(unstage)
42103 @r=`${PWD_COMMAND}`; export r; \
42104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42105 $(NORMAL_TARGET_EXPORTS) \
42106 (cd $(TARGET_SUBDIR)/newlib && \
42107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42109 @endif target-newlib
42111 # Other targets (info, dvi, pdf, etc.)
42113 .PHONY: maybe-info-target-newlib info-target-newlib
42114 maybe-info-target-newlib:
42115 @if target-newlib
42116 maybe-info-target-newlib: info-target-newlib
42118 info-target-newlib: \
42119 configure-target-newlib
42120 @: $(MAKE); $(unstage)
42121 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42122 r=`${PWD_COMMAND}`; export r; \
42123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42124 $(NORMAL_TARGET_EXPORTS) \
42125 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
42126 for flag in $(EXTRA_TARGET_FLAGS); do \
42127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42128 done; \
42129 (cd $(TARGET_SUBDIR)/newlib && \
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 info) \
42135 || exit 1
42137 @endif target-newlib
42139 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
42140 maybe-dvi-target-newlib:
42141 @if target-newlib
42142 maybe-dvi-target-newlib: dvi-target-newlib
42144 dvi-target-newlib: \
42145 configure-target-newlib
42146 @: $(MAKE); $(unstage)
42147 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42148 r=`${PWD_COMMAND}`; export r; \
42149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42150 $(NORMAL_TARGET_EXPORTS) \
42151 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
42152 for flag in $(EXTRA_TARGET_FLAGS); do \
42153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42154 done; \
42155 (cd $(TARGET_SUBDIR)/newlib && \
42156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42158 "RANLIB=$${RANLIB}" \
42159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42160 dvi) \
42161 || exit 1
42163 @endif target-newlib
42165 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
42166 maybe-pdf-target-newlib:
42167 @if target-newlib
42168 maybe-pdf-target-newlib: pdf-target-newlib
42170 pdf-target-newlib: \
42171 configure-target-newlib
42172 @: $(MAKE); $(unstage)
42173 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42174 r=`${PWD_COMMAND}`; export r; \
42175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42176 $(NORMAL_TARGET_EXPORTS) \
42177 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
42178 for flag in $(EXTRA_TARGET_FLAGS); do \
42179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42180 done; \
42181 (cd $(TARGET_SUBDIR)/newlib && \
42182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42184 "RANLIB=$${RANLIB}" \
42185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42186 pdf) \
42187 || exit 1
42189 @endif target-newlib
42191 .PHONY: maybe-html-target-newlib html-target-newlib
42192 maybe-html-target-newlib:
42193 @if target-newlib
42194 maybe-html-target-newlib: html-target-newlib
42196 html-target-newlib: \
42197 configure-target-newlib
42198 @: $(MAKE); $(unstage)
42199 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42200 r=`${PWD_COMMAND}`; export r; \
42201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42202 $(NORMAL_TARGET_EXPORTS) \
42203 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
42204 for flag in $(EXTRA_TARGET_FLAGS); do \
42205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42206 done; \
42207 (cd $(TARGET_SUBDIR)/newlib && \
42208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42210 "RANLIB=$${RANLIB}" \
42211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42212 html) \
42213 || exit 1
42215 @endif target-newlib
42217 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
42218 maybe-TAGS-target-newlib:
42219 @if target-newlib
42220 maybe-TAGS-target-newlib: TAGS-target-newlib
42222 TAGS-target-newlib: \
42223 configure-target-newlib
42224 @: $(MAKE); $(unstage)
42225 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42226 r=`${PWD_COMMAND}`; export r; \
42227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42228 $(NORMAL_TARGET_EXPORTS) \
42229 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
42230 for flag in $(EXTRA_TARGET_FLAGS); do \
42231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42232 done; \
42233 (cd $(TARGET_SUBDIR)/newlib && \
42234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42236 "RANLIB=$${RANLIB}" \
42237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42238 TAGS) \
42239 || exit 1
42241 @endif target-newlib
42243 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
42244 maybe-install-info-target-newlib:
42245 @if target-newlib
42246 maybe-install-info-target-newlib: install-info-target-newlib
42248 install-info-target-newlib: \
42249 configure-target-newlib \
42250 info-target-newlib
42251 @: $(MAKE); $(unstage)
42252 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42253 r=`${PWD_COMMAND}`; export r; \
42254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42255 $(NORMAL_TARGET_EXPORTS) \
42256 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
42257 for flag in $(EXTRA_TARGET_FLAGS); do \
42258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42259 done; \
42260 (cd $(TARGET_SUBDIR)/newlib && \
42261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42263 "RANLIB=$${RANLIB}" \
42264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42265 install-info) \
42266 || exit 1
42268 @endif target-newlib
42270 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
42271 maybe-install-pdf-target-newlib:
42272 @if target-newlib
42273 maybe-install-pdf-target-newlib: install-pdf-target-newlib
42275 install-pdf-target-newlib: \
42276 configure-target-newlib \
42277 pdf-target-newlib
42278 @: $(MAKE); $(unstage)
42279 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42280 r=`${PWD_COMMAND}`; export r; \
42281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42282 $(NORMAL_TARGET_EXPORTS) \
42283 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
42284 for flag in $(EXTRA_TARGET_FLAGS); do \
42285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42286 done; \
42287 (cd $(TARGET_SUBDIR)/newlib && \
42288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42290 "RANLIB=$${RANLIB}" \
42291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42292 install-pdf) \
42293 || exit 1
42295 @endif target-newlib
42297 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
42298 maybe-install-html-target-newlib:
42299 @if target-newlib
42300 maybe-install-html-target-newlib: install-html-target-newlib
42302 install-html-target-newlib: \
42303 configure-target-newlib \
42304 html-target-newlib
42305 @: $(MAKE); $(unstage)
42306 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42307 r=`${PWD_COMMAND}`; export r; \
42308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42309 $(NORMAL_TARGET_EXPORTS) \
42310 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
42311 for flag in $(EXTRA_TARGET_FLAGS); do \
42312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42313 done; \
42314 (cd $(TARGET_SUBDIR)/newlib && \
42315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42317 "RANLIB=$${RANLIB}" \
42318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42319 install-html) \
42320 || exit 1
42322 @endif target-newlib
42324 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
42325 maybe-installcheck-target-newlib:
42326 @if target-newlib
42327 maybe-installcheck-target-newlib: installcheck-target-newlib
42329 installcheck-target-newlib: \
42330 configure-target-newlib
42331 @: $(MAKE); $(unstage)
42332 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42333 r=`${PWD_COMMAND}`; export r; \
42334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42335 $(NORMAL_TARGET_EXPORTS) \
42336 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
42337 for flag in $(EXTRA_TARGET_FLAGS); do \
42338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42339 done; \
42340 (cd $(TARGET_SUBDIR)/newlib && \
42341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42343 "RANLIB=$${RANLIB}" \
42344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42345 installcheck) \
42346 || exit 1
42348 @endif target-newlib
42350 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
42351 maybe-mostlyclean-target-newlib:
42352 @if target-newlib
42353 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
42355 mostlyclean-target-newlib:
42356 @: $(MAKE); $(unstage)
42357 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42358 r=`${PWD_COMMAND}`; export r; \
42359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42360 $(NORMAL_TARGET_EXPORTS) \
42361 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
42362 for flag in $(EXTRA_TARGET_FLAGS); do \
42363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42364 done; \
42365 (cd $(TARGET_SUBDIR)/newlib && \
42366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42368 "RANLIB=$${RANLIB}" \
42369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42370 mostlyclean) \
42371 || exit 1
42373 @endif target-newlib
42375 .PHONY: maybe-clean-target-newlib clean-target-newlib
42376 maybe-clean-target-newlib:
42377 @if target-newlib
42378 maybe-clean-target-newlib: clean-target-newlib
42380 clean-target-newlib:
42381 @: $(MAKE); $(unstage)
42382 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42383 r=`${PWD_COMMAND}`; export r; \
42384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42385 $(NORMAL_TARGET_EXPORTS) \
42386 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
42387 for flag in $(EXTRA_TARGET_FLAGS); do \
42388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42389 done; \
42390 (cd $(TARGET_SUBDIR)/newlib && \
42391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42393 "RANLIB=$${RANLIB}" \
42394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42395 clean) \
42396 || exit 1
42398 @endif target-newlib
42400 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
42401 maybe-distclean-target-newlib:
42402 @if target-newlib
42403 maybe-distclean-target-newlib: distclean-target-newlib
42405 distclean-target-newlib:
42406 @: $(MAKE); $(unstage)
42407 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42408 r=`${PWD_COMMAND}`; export r; \
42409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42410 $(NORMAL_TARGET_EXPORTS) \
42411 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
42412 for flag in $(EXTRA_TARGET_FLAGS); do \
42413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42414 done; \
42415 (cd $(TARGET_SUBDIR)/newlib && \
42416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42418 "RANLIB=$${RANLIB}" \
42419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42420 distclean) \
42421 || exit 1
42423 @endif target-newlib
42425 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
42426 maybe-maintainer-clean-target-newlib:
42427 @if target-newlib
42428 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
42430 maintainer-clean-target-newlib:
42431 @: $(MAKE); $(unstage)
42432 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
42433 r=`${PWD_COMMAND}`; export r; \
42434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42435 $(NORMAL_TARGET_EXPORTS) \
42436 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
42437 for flag in $(EXTRA_TARGET_FLAGS); do \
42438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42439 done; \
42440 (cd $(TARGET_SUBDIR)/newlib && \
42441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42443 "RANLIB=$${RANLIB}" \
42444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42445 maintainer-clean) \
42446 || exit 1
42448 @endif target-newlib
42454 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
42455 maybe-configure-target-libgcc:
42456 @if gcc-bootstrap
42457 configure-target-libgcc: stage_current
42458 @endif gcc-bootstrap
42459 @if target-libgcc
42460 maybe-configure-target-libgcc: configure-target-libgcc
42461 configure-target-libgcc:
42462 @r=`${PWD_COMMAND}`; export r; \
42463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42464 echo "Checking multilib configuration for libgcc..."; \
42465 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42466 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42467 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42468 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42469 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42470 else \
42471 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42472 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42473 fi; \
42474 else \
42475 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42476 fi; \
42477 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42478 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42479 $(NORMAL_TARGET_EXPORTS) \
42480 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
42481 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
42482 case $(srcdir) in \
42483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42484 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42486 esac; \
42487 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42488 libsrcdir="$$s/libgcc"; \
42489 rm -f no-such-file || : ; \
42490 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42492 --target=${target_alias} $${srcdiroption} \
42493 || exit 1
42494 @endif target-libgcc
42498 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
42499 maybe-configure-stage1-target-libgcc:
42500 @if target-libgcc-bootstrap
42501 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
42502 configure-stage1-target-libgcc:
42503 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42504 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42505 @r=`${PWD_COMMAND}`; export r; \
42506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42507 echo "Checking multilib configuration for libgcc..."; \
42508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42509 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42510 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42511 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42512 else \
42513 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42514 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42515 fi; \
42516 else \
42517 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42518 fi; \
42519 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42520 $(NORMAL_TARGET_EXPORTS) \
42521 CFLAGS="$(STAGE1_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42522 CXXFLAGS="$(STAGE1_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42523 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
42524 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42525 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42526 case $(srcdir) in \
42527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42528 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42530 esac; \
42531 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42532 libsrcdir="$$s/libgcc"; \
42533 $(SHELL) $${libsrcdir}/configure \
42534 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42535 --target=${target_alias} $${srcdiroption} \
42537 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
42538 @endif target-libgcc-bootstrap
42540 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
42541 maybe-configure-stage2-target-libgcc:
42542 @if target-libgcc-bootstrap
42543 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
42544 configure-stage2-target-libgcc:
42545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42546 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42547 @r=`${PWD_COMMAND}`; export r; \
42548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42549 echo "Checking multilib configuration for libgcc..."; \
42550 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42551 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42552 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42553 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42554 else \
42555 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42556 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42557 fi; \
42558 else \
42559 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42560 fi; \
42561 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42562 $(NORMAL_TARGET_EXPORTS) \
42564 CFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42565 CXXFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42566 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
42567 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42568 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42569 case $(srcdir) in \
42570 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42571 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42572 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42573 esac; \
42574 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42575 libsrcdir="$$s/libgcc"; \
42576 $(SHELL) $${libsrcdir}/configure \
42577 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42578 --target=${target_alias} $${srcdiroption} \
42579 --with-build-libsubdir=$(HOST_SUBDIR) \
42580 @stage2_werror_flag@
42581 @endif target-libgcc-bootstrap
42583 .PHONY: configure-stageb2g0-target-libgcc maybe-configure-stageb2g0-target-libgcc
42584 maybe-configure-stageb2g0-target-libgcc:
42585 @if target-libgcc-bootstrap
42586 maybe-configure-stageb2g0-target-libgcc: configure-stageb2g0-target-libgcc
42587 configure-stageb2g0-target-libgcc:
42588 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
42589 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42590 @r=`${PWD_COMMAND}`; export r; \
42591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42592 echo "Checking multilib configuration for libgcc..."; \
42593 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42594 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42595 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42596 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42597 else \
42598 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42599 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42600 fi; \
42601 else \
42602 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42603 fi; \
42604 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42605 $(NORMAL_TARGET_EXPORTS) \
42607 CFLAGS="$(STAGE2_LIBCFLAGS) -g0 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42608 CXXFLAGS="$(STAGE2_LIBCFLAGS) -g0 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42609 echo Configuring stage b2g0 in $(TARGET_SUBDIR)/libgcc ; \
42610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42611 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42612 case $(srcdir) in \
42613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42614 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42616 esac; \
42617 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42618 libsrcdir="$$s/libgcc"; \
42619 $(SHELL) $${libsrcdir}/configure \
42620 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42621 --target=${target_alias} $${srcdiroption} \
42622 --with-build-libsubdir=$(HOST_SUBDIR) \
42623 @stage2_werror_flag@
42624 @endif target-libgcc-bootstrap
42626 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
42627 maybe-configure-stage3-target-libgcc:
42628 @if target-libgcc-bootstrap
42629 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
42630 configure-stage3-target-libgcc:
42631 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42632 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42633 @r=`${PWD_COMMAND}`; export r; \
42634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42635 echo "Checking multilib configuration for libgcc..."; \
42636 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42637 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42638 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42639 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42640 else \
42641 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42642 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42643 fi; \
42644 else \
42645 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42646 fi; \
42647 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42648 $(NORMAL_TARGET_EXPORTS) \
42650 CFLAGS="$(STAGE3_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42651 CXXFLAGS="$(STAGE3_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42652 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
42653 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42654 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42655 case $(srcdir) in \
42656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42657 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42659 esac; \
42660 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42661 libsrcdir="$$s/libgcc"; \
42662 $(SHELL) $${libsrcdir}/configure \
42663 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42664 --target=${target_alias} $${srcdiroption} \
42665 --with-build-libsubdir=$(HOST_SUBDIR) \
42666 @stage2_werror_flag@
42667 @endif target-libgcc-bootstrap
42669 .PHONY: configure-stageb3g2-target-libgcc maybe-configure-stageb3g2-target-libgcc
42670 maybe-configure-stageb3g2-target-libgcc:
42671 @if target-libgcc-bootstrap
42672 maybe-configure-stageb3g2-target-libgcc: configure-stageb3g2-target-libgcc
42673 configure-stageb3g2-target-libgcc:
42674 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
42675 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42676 @r=`${PWD_COMMAND}`; export r; \
42677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42678 echo "Checking multilib configuration for libgcc..."; \
42679 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42680 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42681 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42682 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42683 else \
42684 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42685 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42686 fi; \
42687 else \
42688 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42689 fi; \
42690 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42691 $(NORMAL_TARGET_EXPORTS) \
42693 CFLAGS="$(STAGE3_LIBCFLAGS) -g2 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42694 CXXFLAGS="$(STAGE3_LIBCFLAGS) -g2 $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42695 echo Configuring stage b3g2 in $(TARGET_SUBDIR)/libgcc ; \
42696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42697 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42698 case $(srcdir) in \
42699 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42700 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42701 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42702 esac; \
42703 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42704 libsrcdir="$$s/libgcc"; \
42705 $(SHELL) $${libsrcdir}/configure \
42706 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42707 --target=${target_alias} $${srcdiroption} \
42708 --with-build-libsubdir=$(HOST_SUBDIR) \
42709 @stage2_werror_flag@
42710 @endif target-libgcc-bootstrap
42712 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
42713 maybe-configure-stage4-target-libgcc:
42714 @if target-libgcc-bootstrap
42715 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
42716 configure-stage4-target-libgcc:
42717 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
42718 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42719 @r=`${PWD_COMMAND}`; export r; \
42720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42721 echo "Checking multilib configuration for libgcc..."; \
42722 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42723 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42724 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42725 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42726 else \
42727 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42728 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42729 fi; \
42730 else \
42731 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42732 fi; \
42733 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42734 $(NORMAL_TARGET_EXPORTS) \
42736 CFLAGS="$(STAGE4_CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42737 CXXFLAGS="$(STAGE4_CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42738 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
42739 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42740 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42741 case $(srcdir) in \
42742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42743 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42745 esac; \
42746 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42747 libsrcdir="$$s/libgcc"; \
42748 $(SHELL) $${libsrcdir}/configure \
42749 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42750 --target=${target_alias} $${srcdiroption} \
42751 --with-build-libsubdir=$(HOST_SUBDIR) \
42752 @stage2_werror_flag@
42753 @endif target-libgcc-bootstrap
42755 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
42756 maybe-configure-stageprofile-target-libgcc:
42757 @if target-libgcc-bootstrap
42758 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
42759 configure-stageprofile-target-libgcc:
42760 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
42761 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42762 @r=`${PWD_COMMAND}`; export r; \
42763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42764 echo "Checking multilib configuration for libgcc..."; \
42765 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42766 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42767 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42768 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42769 else \
42770 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42771 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42772 fi; \
42773 else \
42774 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42775 fi; \
42776 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42777 $(NORMAL_TARGET_EXPORTS) \
42779 CFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42780 CXXFLAGS="$(STAGE2_LIBCFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42781 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
42782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42783 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42784 case $(srcdir) in \
42785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42786 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42788 esac; \
42789 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42790 libsrcdir="$$s/libgcc"; \
42791 $(SHELL) $${libsrcdir}/configure \
42792 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42793 --target=${target_alias} $${srcdiroption} \
42794 --with-build-libsubdir=$(HOST_SUBDIR) \
42795 @stage2_werror_flag@
42796 @endif target-libgcc-bootstrap
42798 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
42799 maybe-configure-stagefeedback-target-libgcc:
42800 @if target-libgcc-bootstrap
42801 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
42802 configure-stagefeedback-target-libgcc:
42803 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
42804 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
42805 @r=`${PWD_COMMAND}`; export r; \
42806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42807 echo "Checking multilib configuration for libgcc..."; \
42808 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
42809 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42810 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
42811 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
42812 else \
42813 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
42814 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42815 fi; \
42816 else \
42817 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
42818 fi; \
42819 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
42820 $(NORMAL_TARGET_EXPORTS) \
42822 CFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CFLAGS; \
42823 CXXFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)"; export CXXFLAGS; \
42824 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
42825 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
42826 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
42827 case $(srcdir) in \
42828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42829 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
42830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42831 esac; \
42832 srcdiroption="--srcdir=$${topdir}/libgcc"; \
42833 libsrcdir="$$s/libgcc"; \
42834 $(SHELL) $${libsrcdir}/configure \
42835 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42836 --target=${target_alias} $${srcdiroption} \
42837 --with-build-libsubdir=$(HOST_SUBDIR) \
42838 @stage2_werror_flag@
42839 @endif target-libgcc-bootstrap
42845 .PHONY: all-target-libgcc maybe-all-target-libgcc
42846 maybe-all-target-libgcc:
42847 @if gcc-bootstrap
42848 all-target-libgcc: stage_current
42849 @endif gcc-bootstrap
42850 @if target-libgcc
42851 TARGET-target-libgcc=all
42852 maybe-all-target-libgcc: all-target-libgcc
42853 all-target-libgcc: configure-target-libgcc
42854 @r=`${PWD_COMMAND}`; export r; \
42855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42856 $(NORMAL_TARGET_EXPORTS) \
42857 (cd $(TARGET_SUBDIR)/libgcc && \
42858 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42859 $(TARGET-target-libgcc))
42860 @endif target-libgcc
42864 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
42865 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
42866 maybe-all-stage1-target-libgcc:
42867 maybe-clean-stage1-target-libgcc:
42868 @if target-libgcc-bootstrap
42869 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
42870 all-stage1: all-stage1-target-libgcc
42871 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
42872 all-stage1-target-libgcc: configure-stage1-target-libgcc
42873 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
42874 @r=`${PWD_COMMAND}`; export r; \
42875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42876 $(NORMAL_TARGET_EXPORTS) \
42877 cd $(TARGET_SUBDIR)/libgcc && \
42878 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42879 CFLAGS="$(STAGE1_CFLAGS)" CXXFLAGS="$(STAGE1_CFLAGS)" \
42880 LIBCFLAGS="$(STAGE1_LIBCFLAGS)" \
42881 CFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" \
42882 CXXFLAGS_FOR_TARGET="$(STAGE1_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
42883 $(TARGET-stage1-target-libgcc)
42885 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
42886 clean-stage1: clean-stage1-target-libgcc
42887 clean-stage1-target-libgcc:
42888 @if [ $(current_stage) = stage1 ]; then \
42889 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
42890 else \
42891 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
42892 $(MAKE) stage1-start; \
42893 fi; \
42894 cd $(TARGET_SUBDIR)/libgcc && \
42895 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42896 clean
42897 @endif target-libgcc-bootstrap
42900 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
42901 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
42902 maybe-all-stage2-target-libgcc:
42903 maybe-clean-stage2-target-libgcc:
42904 @if target-libgcc-bootstrap
42905 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
42906 all-stage2: all-stage2-target-libgcc
42907 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
42908 all-stage2-target-libgcc: configure-stage2-target-libgcc
42909 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
42910 @r=`${PWD_COMMAND}`; export r; \
42911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42912 $(NORMAL_TARGET_EXPORTS) \
42914 cd $(TARGET_SUBDIR)/libgcc && \
42915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42916 CFLAGS="$(STAGE2_CFLAGS)" CXXFLAGS="$(STAGE2_CFLAGS)" \
42917 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
42918 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
42919 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
42920 $(TARGET-stage2-target-libgcc)
42922 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
42923 clean-stage2: clean-stage2-target-libgcc
42924 clean-stage2-target-libgcc:
42925 @if [ $(current_stage) = stage2 ]; then \
42926 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
42927 else \
42928 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
42929 $(MAKE) stage2-start; \
42930 fi; \
42931 cd $(TARGET_SUBDIR)/libgcc && \
42932 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42934 clean
42935 @endif target-libgcc-bootstrap
42938 .PHONY: all-stageb2g0-target-libgcc maybe-all-stageb2g0-target-libgcc
42939 .PHONY: clean-stageb2g0-target-libgcc maybe-clean-stageb2g0-target-libgcc
42940 maybe-all-stageb2g0-target-libgcc:
42941 maybe-clean-stageb2g0-target-libgcc:
42942 @if target-libgcc-bootstrap
42943 maybe-all-stageb2g0-target-libgcc: all-stageb2g0-target-libgcc
42944 all-stageb2g0: all-stageb2g0-target-libgcc
42945 TARGET-stageb2g0-target-libgcc = $(TARGET-target-libgcc)
42946 all-stageb2g0-target-libgcc: configure-stageb2g0-target-libgcc
42947 @[ $(current_stage) = stageb2g0 ] || $(MAKE) stageb2g0-start
42948 @r=`${PWD_COMMAND}`; export r; \
42949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42950 $(NORMAL_TARGET_EXPORTS) \
42952 cd $(TARGET_SUBDIR)/libgcc && \
42953 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42954 CFLAGS="$(STAGE2_CFLAGS) -g0" CXXFLAGS="$(STAGE2_CFLAGS) -g0" \
42955 LIBCFLAGS="$(STAGE2_LIBCFLAGS) -g0" \
42956 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" \
42957 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS) -g0" $(EXTRA_TARGET_FLAGS) \
42958 $(TARGET-stageb2g0-target-libgcc)
42960 maybe-clean-stageb2g0-target-libgcc: clean-stageb2g0-target-libgcc
42961 clean-stageb2g0: clean-stageb2g0-target-libgcc
42962 clean-stageb2g0-target-libgcc:
42963 @if [ $(current_stage) = stageb2g0 ]; then \
42964 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
42965 else \
42966 [ -f $(TARGET_SUBDIR)/stageb2g0-libgcc/Makefile ] || exit 0; \
42967 $(MAKE) stageb2g0-start; \
42968 fi; \
42969 cd $(TARGET_SUBDIR)/libgcc && \
42970 $(MAKE) $(EXTRA_TARGET_FLAGS) \
42972 clean
42973 @endif target-libgcc-bootstrap
42976 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
42977 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
42978 maybe-all-stage3-target-libgcc:
42979 maybe-clean-stage3-target-libgcc:
42980 @if target-libgcc-bootstrap
42981 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
42982 all-stage3: all-stage3-target-libgcc
42983 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
42984 all-stage3-target-libgcc: configure-stage3-target-libgcc
42985 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
42986 @r=`${PWD_COMMAND}`; export r; \
42987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42988 $(NORMAL_TARGET_EXPORTS) \
42990 cd $(TARGET_SUBDIR)/libgcc && \
42991 $(MAKE) $(BASE_FLAGS_TO_PASS) \
42992 CFLAGS="$(STAGE3_CFLAGS)" CXXFLAGS="$(STAGE3_CFLAGS)" \
42993 LIBCFLAGS="$(STAGE3_LIBCFLAGS)" \
42994 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" \
42995 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
42996 $(TARGET-stage3-target-libgcc)
42998 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
42999 clean-stage3: clean-stage3-target-libgcc
43000 clean-stage3-target-libgcc:
43001 @if [ $(current_stage) = stage3 ]; then \
43002 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43003 else \
43004 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
43005 $(MAKE) stage3-start; \
43006 fi; \
43007 cd $(TARGET_SUBDIR)/libgcc && \
43008 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43010 clean
43011 @endif target-libgcc-bootstrap
43014 .PHONY: all-stageb3g2-target-libgcc maybe-all-stageb3g2-target-libgcc
43015 .PHONY: clean-stageb3g2-target-libgcc maybe-clean-stageb3g2-target-libgcc
43016 maybe-all-stageb3g2-target-libgcc:
43017 maybe-clean-stageb3g2-target-libgcc:
43018 @if target-libgcc-bootstrap
43019 maybe-all-stageb3g2-target-libgcc: all-stageb3g2-target-libgcc
43020 all-stageb3g2: all-stageb3g2-target-libgcc
43021 TARGET-stageb3g2-target-libgcc = $(TARGET-target-libgcc)
43022 all-stageb3g2-target-libgcc: configure-stageb3g2-target-libgcc
43023 @[ $(current_stage) = stageb3g2 ] || $(MAKE) stageb3g2-start
43024 @r=`${PWD_COMMAND}`; export r; \
43025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43026 $(NORMAL_TARGET_EXPORTS) \
43028 cd $(TARGET_SUBDIR)/libgcc && \
43029 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43030 CFLAGS="$(STAGE3_CFLAGS) -g2" CXXFLAGS="$(STAGE3_CFLAGS) -g2" \
43031 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -g2" \
43032 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" \
43033 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -g2" $(EXTRA_TARGET_FLAGS) \
43034 $(TARGET-stageb3g2-target-libgcc)
43036 maybe-clean-stageb3g2-target-libgcc: clean-stageb3g2-target-libgcc
43037 clean-stageb3g2: clean-stageb3g2-target-libgcc
43038 clean-stageb3g2-target-libgcc:
43039 @if [ $(current_stage) = stageb3g2 ]; then \
43040 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43041 else \
43042 [ -f $(TARGET_SUBDIR)/stageb3g2-libgcc/Makefile ] || exit 0; \
43043 $(MAKE) stageb3g2-start; \
43044 fi; \
43045 cd $(TARGET_SUBDIR)/libgcc && \
43046 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43048 clean
43049 @endif target-libgcc-bootstrap
43052 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
43053 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
43054 maybe-all-stage4-target-libgcc:
43055 maybe-clean-stage4-target-libgcc:
43056 @if target-libgcc-bootstrap
43057 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
43058 all-stage4: all-stage4-target-libgcc
43059 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
43060 all-stage4-target-libgcc: configure-stage4-target-libgcc
43061 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43062 @r=`${PWD_COMMAND}`; export r; \
43063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43064 $(NORMAL_TARGET_EXPORTS) \
43066 cd $(TARGET_SUBDIR)/libgcc && \
43067 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43068 CFLAGS="$(STAGE4_CFLAGS)" CXXFLAGS="$(STAGE4_CFLAGS)" \
43069 LIBCFLAGS="$(STAGE4_CFLAGS)" \
43070 CFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" \
43071 CXXFLAGS_FOR_TARGET="$(STAGE4_CFLAGS)" $(EXTRA_TARGET_FLAGS) \
43072 $(TARGET-stage4-target-libgcc)
43074 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
43075 clean-stage4: clean-stage4-target-libgcc
43076 clean-stage4-target-libgcc:
43077 @if [ $(current_stage) = stage4 ]; then \
43078 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43079 else \
43080 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
43081 $(MAKE) stage4-start; \
43082 fi; \
43083 cd $(TARGET_SUBDIR)/libgcc && \
43084 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43086 clean
43087 @endif target-libgcc-bootstrap
43090 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
43091 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
43092 maybe-all-stageprofile-target-libgcc:
43093 maybe-clean-stageprofile-target-libgcc:
43094 @if target-libgcc-bootstrap
43095 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
43096 all-stageprofile: all-stageprofile-target-libgcc
43097 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
43098 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
43099 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43100 @r=`${PWD_COMMAND}`; export r; \
43101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43102 $(NORMAL_TARGET_EXPORTS) \
43104 cd $(TARGET_SUBDIR)/libgcc && \
43105 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43106 CFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" CXXFLAGS="$(STAGE2_CFLAGS) -fprofile-generate" \
43107 LIBCFLAGS="$(STAGE2_LIBCFLAGS)" \
43108 CFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" \
43109 CXXFLAGS_FOR_TARGET="$(STAGE2_LIBCFLAGS)" $(EXTRA_TARGET_FLAGS) \
43110 $(TARGET-stageprofile-target-libgcc)
43112 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
43113 clean-stageprofile: clean-stageprofile-target-libgcc
43114 clean-stageprofile-target-libgcc:
43115 @if [ $(current_stage) = stageprofile ]; then \
43116 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43117 else \
43118 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
43119 $(MAKE) stageprofile-start; \
43120 fi; \
43121 cd $(TARGET_SUBDIR)/libgcc && \
43122 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43124 clean
43125 @endif target-libgcc-bootstrap
43128 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
43129 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
43130 maybe-all-stagefeedback-target-libgcc:
43131 maybe-clean-stagefeedback-target-libgcc:
43132 @if target-libgcc-bootstrap
43133 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
43134 all-stagefeedback: all-stagefeedback-target-libgcc
43135 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
43136 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
43137 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43138 @r=`${PWD_COMMAND}`; export r; \
43139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43140 $(NORMAL_TARGET_EXPORTS) \
43142 cd $(TARGET_SUBDIR)/libgcc && \
43143 $(MAKE) $(BASE_FLAGS_TO_PASS) \
43144 CFLAGS="$(STAGE3_CFLAGS) -fprofile-use" CXXFLAGS="$(STAGE3_CFLAGS) -fprofile-use" \
43145 LIBCFLAGS="$(STAGE3_LIBCFLAGS) -fprofile-use" \
43146 CFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" \
43147 CXXFLAGS_FOR_TARGET="$(STAGE3_LIBCFLAGS) -fprofile-use" $(EXTRA_TARGET_FLAGS) \
43148 $(TARGET-stagefeedback-target-libgcc)
43150 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
43151 clean-stagefeedback: clean-stagefeedback-target-libgcc
43152 clean-stagefeedback-target-libgcc:
43153 @if [ $(current_stage) = stagefeedback ]; then \
43154 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
43155 else \
43156 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
43157 $(MAKE) stagefeedback-start; \
43158 fi; \
43159 cd $(TARGET_SUBDIR)/libgcc && \
43160 $(MAKE) $(EXTRA_TARGET_FLAGS) \
43162 clean
43163 @endif target-libgcc-bootstrap
43170 .PHONY: check-target-libgcc maybe-check-target-libgcc
43171 maybe-check-target-libgcc:
43172 @if target-libgcc
43173 maybe-check-target-libgcc: check-target-libgcc
43175 # Dummy target for uncheckable module.
43176 check-target-libgcc:
43178 @endif target-libgcc
43180 .PHONY: install-target-libgcc maybe-install-target-libgcc
43181 maybe-install-target-libgcc:
43182 @if target-libgcc
43183 maybe-install-target-libgcc: install-target-libgcc
43185 install-target-libgcc: installdirs
43186 @: $(MAKE); $(unstage)
43187 @r=`${PWD_COMMAND}`; export r; \
43188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43189 $(NORMAL_TARGET_EXPORTS) \
43190 (cd $(TARGET_SUBDIR)/libgcc && \
43191 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43193 @endif target-libgcc
43195 # Other targets (info, dvi, pdf, etc.)
43197 .PHONY: maybe-info-target-libgcc info-target-libgcc
43198 maybe-info-target-libgcc:
43199 @if target-libgcc
43200 maybe-info-target-libgcc: info-target-libgcc
43202 info-target-libgcc: \
43203 configure-target-libgcc
43204 @: $(MAKE); $(unstage)
43205 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43206 r=`${PWD_COMMAND}`; export r; \
43207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43208 $(NORMAL_TARGET_EXPORTS) \
43209 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
43210 for flag in $(EXTRA_TARGET_FLAGS); do \
43211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43212 done; \
43213 (cd $(TARGET_SUBDIR)/libgcc && \
43214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43216 "RANLIB=$${RANLIB}" \
43217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43218 info) \
43219 || exit 1
43221 @endif target-libgcc
43223 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
43224 maybe-dvi-target-libgcc:
43225 @if target-libgcc
43226 maybe-dvi-target-libgcc: dvi-target-libgcc
43228 dvi-target-libgcc: \
43229 configure-target-libgcc
43230 @: $(MAKE); $(unstage)
43231 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43232 r=`${PWD_COMMAND}`; export r; \
43233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43234 $(NORMAL_TARGET_EXPORTS) \
43235 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
43236 for flag in $(EXTRA_TARGET_FLAGS); do \
43237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43238 done; \
43239 (cd $(TARGET_SUBDIR)/libgcc && \
43240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43242 "RANLIB=$${RANLIB}" \
43243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43244 dvi) \
43245 || exit 1
43247 @endif target-libgcc
43249 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
43250 maybe-pdf-target-libgcc:
43251 @if target-libgcc
43252 maybe-pdf-target-libgcc: pdf-target-libgcc
43254 pdf-target-libgcc: \
43255 configure-target-libgcc
43256 @: $(MAKE); $(unstage)
43257 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43258 r=`${PWD_COMMAND}`; export r; \
43259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43260 $(NORMAL_TARGET_EXPORTS) \
43261 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
43262 for flag in $(EXTRA_TARGET_FLAGS); do \
43263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43264 done; \
43265 (cd $(TARGET_SUBDIR)/libgcc && \
43266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43268 "RANLIB=$${RANLIB}" \
43269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43270 pdf) \
43271 || exit 1
43273 @endif target-libgcc
43275 .PHONY: maybe-html-target-libgcc html-target-libgcc
43276 maybe-html-target-libgcc:
43277 @if target-libgcc
43278 maybe-html-target-libgcc: html-target-libgcc
43280 html-target-libgcc: \
43281 configure-target-libgcc
43282 @: $(MAKE); $(unstage)
43283 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43284 r=`${PWD_COMMAND}`; export r; \
43285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43286 $(NORMAL_TARGET_EXPORTS) \
43287 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
43288 for flag in $(EXTRA_TARGET_FLAGS); do \
43289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43290 done; \
43291 (cd $(TARGET_SUBDIR)/libgcc && \
43292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43294 "RANLIB=$${RANLIB}" \
43295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43296 html) \
43297 || exit 1
43299 @endif target-libgcc
43301 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
43302 maybe-TAGS-target-libgcc:
43303 @if target-libgcc
43304 maybe-TAGS-target-libgcc: TAGS-target-libgcc
43306 TAGS-target-libgcc: \
43307 configure-target-libgcc
43308 @: $(MAKE); $(unstage)
43309 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43310 r=`${PWD_COMMAND}`; export r; \
43311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43312 $(NORMAL_TARGET_EXPORTS) \
43313 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
43314 for flag in $(EXTRA_TARGET_FLAGS); do \
43315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43316 done; \
43317 (cd $(TARGET_SUBDIR)/libgcc && \
43318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43320 "RANLIB=$${RANLIB}" \
43321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43322 TAGS) \
43323 || exit 1
43325 @endif target-libgcc
43327 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
43328 maybe-install-info-target-libgcc:
43329 @if target-libgcc
43330 maybe-install-info-target-libgcc: install-info-target-libgcc
43332 install-info-target-libgcc: \
43333 configure-target-libgcc \
43334 info-target-libgcc
43335 @: $(MAKE); $(unstage)
43336 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43337 r=`${PWD_COMMAND}`; export r; \
43338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43339 $(NORMAL_TARGET_EXPORTS) \
43340 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
43341 for flag in $(EXTRA_TARGET_FLAGS); do \
43342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43343 done; \
43344 (cd $(TARGET_SUBDIR)/libgcc && \
43345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43347 "RANLIB=$${RANLIB}" \
43348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43349 install-info) \
43350 || exit 1
43352 @endif target-libgcc
43354 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
43355 maybe-install-pdf-target-libgcc:
43356 @if target-libgcc
43357 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
43359 install-pdf-target-libgcc: \
43360 configure-target-libgcc \
43361 pdf-target-libgcc
43362 @: $(MAKE); $(unstage)
43363 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43364 r=`${PWD_COMMAND}`; export r; \
43365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43366 $(NORMAL_TARGET_EXPORTS) \
43367 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
43368 for flag in $(EXTRA_TARGET_FLAGS); do \
43369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43370 done; \
43371 (cd $(TARGET_SUBDIR)/libgcc && \
43372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43374 "RANLIB=$${RANLIB}" \
43375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43376 install-pdf) \
43377 || exit 1
43379 @endif target-libgcc
43381 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
43382 maybe-install-html-target-libgcc:
43383 @if target-libgcc
43384 maybe-install-html-target-libgcc: install-html-target-libgcc
43386 install-html-target-libgcc: \
43387 configure-target-libgcc \
43388 html-target-libgcc
43389 @: $(MAKE); $(unstage)
43390 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43391 r=`${PWD_COMMAND}`; export r; \
43392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43393 $(NORMAL_TARGET_EXPORTS) \
43394 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
43395 for flag in $(EXTRA_TARGET_FLAGS); do \
43396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43397 done; \
43398 (cd $(TARGET_SUBDIR)/libgcc && \
43399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43401 "RANLIB=$${RANLIB}" \
43402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43403 install-html) \
43404 || exit 1
43406 @endif target-libgcc
43408 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
43409 maybe-installcheck-target-libgcc:
43410 @if target-libgcc
43411 maybe-installcheck-target-libgcc: installcheck-target-libgcc
43413 installcheck-target-libgcc: \
43414 configure-target-libgcc
43415 @: $(MAKE); $(unstage)
43416 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43417 r=`${PWD_COMMAND}`; export r; \
43418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43419 $(NORMAL_TARGET_EXPORTS) \
43420 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
43421 for flag in $(EXTRA_TARGET_FLAGS); do \
43422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43423 done; \
43424 (cd $(TARGET_SUBDIR)/libgcc && \
43425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43427 "RANLIB=$${RANLIB}" \
43428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43429 installcheck) \
43430 || exit 1
43432 @endif target-libgcc
43434 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
43435 maybe-mostlyclean-target-libgcc:
43436 @if target-libgcc
43437 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
43439 mostlyclean-target-libgcc:
43440 @: $(MAKE); $(unstage)
43441 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43442 r=`${PWD_COMMAND}`; export r; \
43443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43444 $(NORMAL_TARGET_EXPORTS) \
43445 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
43446 for flag in $(EXTRA_TARGET_FLAGS); do \
43447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43448 done; \
43449 (cd $(TARGET_SUBDIR)/libgcc && \
43450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43452 "RANLIB=$${RANLIB}" \
43453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43454 mostlyclean) \
43455 || exit 1
43457 @endif target-libgcc
43459 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
43460 maybe-clean-target-libgcc:
43461 @if target-libgcc
43462 maybe-clean-target-libgcc: clean-target-libgcc
43464 clean-target-libgcc:
43465 @: $(MAKE); $(unstage)
43466 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43467 r=`${PWD_COMMAND}`; export r; \
43468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43469 $(NORMAL_TARGET_EXPORTS) \
43470 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
43471 for flag in $(EXTRA_TARGET_FLAGS); do \
43472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43473 done; \
43474 (cd $(TARGET_SUBDIR)/libgcc && \
43475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43477 "RANLIB=$${RANLIB}" \
43478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43479 clean) \
43480 || exit 1
43482 @endif target-libgcc
43484 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
43485 maybe-distclean-target-libgcc:
43486 @if target-libgcc
43487 maybe-distclean-target-libgcc: distclean-target-libgcc
43489 distclean-target-libgcc:
43490 @: $(MAKE); $(unstage)
43491 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43492 r=`${PWD_COMMAND}`; export r; \
43493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43494 $(NORMAL_TARGET_EXPORTS) \
43495 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
43496 for flag in $(EXTRA_TARGET_FLAGS); do \
43497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43498 done; \
43499 (cd $(TARGET_SUBDIR)/libgcc && \
43500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43502 "RANLIB=$${RANLIB}" \
43503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43504 distclean) \
43505 || exit 1
43507 @endif target-libgcc
43509 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
43510 maybe-maintainer-clean-target-libgcc:
43511 @if target-libgcc
43512 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
43514 maintainer-clean-target-libgcc:
43515 @: $(MAKE); $(unstage)
43516 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
43517 r=`${PWD_COMMAND}`; export r; \
43518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43519 $(NORMAL_TARGET_EXPORTS) \
43520 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
43521 for flag in $(EXTRA_TARGET_FLAGS); do \
43522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43523 done; \
43524 (cd $(TARGET_SUBDIR)/libgcc && \
43525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43527 "RANLIB=$${RANLIB}" \
43528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43529 maintainer-clean) \
43530 || exit 1
43532 @endif target-libgcc
43538 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
43539 maybe-configure-target-libgfortran:
43540 @if gcc-bootstrap
43541 configure-target-libgfortran: stage_current
43542 @endif gcc-bootstrap
43543 @if target-libgfortran
43544 maybe-configure-target-libgfortran: configure-target-libgfortran
43545 configure-target-libgfortran:
43546 @: $(MAKE); $(unstage)
43547 @r=`${PWD_COMMAND}`; export r; \
43548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43549 echo "Checking multilib configuration for libgfortran..."; \
43550 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
43551 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
43552 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
43553 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
43554 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
43555 else \
43556 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
43557 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
43558 fi; \
43559 else \
43560 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
43561 fi; \
43562 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
43563 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
43564 $(NORMAL_TARGET_EXPORTS) \
43565 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
43566 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
43567 case $(srcdir) in \
43568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43569 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
43570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43571 esac; \
43572 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
43573 libsrcdir="$$s/libgfortran"; \
43574 rm -f no-such-file || : ; \
43575 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43576 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43577 --target=${target_alias} $${srcdiroption} \
43578 || exit 1
43579 @endif target-libgfortran
43585 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
43586 maybe-all-target-libgfortran:
43587 @if gcc-bootstrap
43588 all-target-libgfortran: stage_current
43589 @endif gcc-bootstrap
43590 @if target-libgfortran
43591 TARGET-target-libgfortran=all
43592 maybe-all-target-libgfortran: all-target-libgfortran
43593 all-target-libgfortran: configure-target-libgfortran
43594 @: $(MAKE); $(unstage)
43595 @r=`${PWD_COMMAND}`; export r; \
43596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43597 $(NORMAL_TARGET_EXPORTS) \
43598 (cd $(TARGET_SUBDIR)/libgfortran && \
43599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43600 $(TARGET-target-libgfortran))
43601 @endif target-libgfortran
43607 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
43608 maybe-check-target-libgfortran:
43609 @if target-libgfortran
43610 maybe-check-target-libgfortran: check-target-libgfortran
43612 check-target-libgfortran:
43613 @: $(MAKE); $(unstage)
43614 @r=`${PWD_COMMAND}`; export r; \
43615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43616 $(NORMAL_TARGET_EXPORTS) \
43617 (cd $(TARGET_SUBDIR)/libgfortran && \
43618 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43620 @endif target-libgfortran
43622 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
43623 maybe-install-target-libgfortran:
43624 @if target-libgfortran
43625 maybe-install-target-libgfortran: install-target-libgfortran
43627 install-target-libgfortran: installdirs
43628 @: $(MAKE); $(unstage)
43629 @r=`${PWD_COMMAND}`; export r; \
43630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43631 $(NORMAL_TARGET_EXPORTS) \
43632 (cd $(TARGET_SUBDIR)/libgfortran && \
43633 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43635 @endif target-libgfortran
43637 # Other targets (info, dvi, pdf, etc.)
43639 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
43640 maybe-info-target-libgfortran:
43641 @if target-libgfortran
43642 maybe-info-target-libgfortran: info-target-libgfortran
43644 info-target-libgfortran: \
43645 configure-target-libgfortran
43646 @: $(MAKE); $(unstage)
43647 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43648 r=`${PWD_COMMAND}`; export r; \
43649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43650 $(NORMAL_TARGET_EXPORTS) \
43651 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
43652 for flag in $(EXTRA_TARGET_FLAGS); do \
43653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43654 done; \
43655 (cd $(TARGET_SUBDIR)/libgfortran && \
43656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43658 "RANLIB=$${RANLIB}" \
43659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43660 info) \
43661 || exit 1
43663 @endif target-libgfortran
43665 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
43666 maybe-dvi-target-libgfortran:
43667 @if target-libgfortran
43668 maybe-dvi-target-libgfortran: dvi-target-libgfortran
43670 dvi-target-libgfortran: \
43671 configure-target-libgfortran
43672 @: $(MAKE); $(unstage)
43673 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43674 r=`${PWD_COMMAND}`; export r; \
43675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43676 $(NORMAL_TARGET_EXPORTS) \
43677 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
43678 for flag in $(EXTRA_TARGET_FLAGS); do \
43679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43680 done; \
43681 (cd $(TARGET_SUBDIR)/libgfortran && \
43682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43684 "RANLIB=$${RANLIB}" \
43685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43686 dvi) \
43687 || exit 1
43689 @endif target-libgfortran
43691 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
43692 maybe-pdf-target-libgfortran:
43693 @if target-libgfortran
43694 maybe-pdf-target-libgfortran: pdf-target-libgfortran
43696 pdf-target-libgfortran: \
43697 configure-target-libgfortran
43698 @: $(MAKE); $(unstage)
43699 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43700 r=`${PWD_COMMAND}`; export r; \
43701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43702 $(NORMAL_TARGET_EXPORTS) \
43703 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
43704 for flag in $(EXTRA_TARGET_FLAGS); do \
43705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43706 done; \
43707 (cd $(TARGET_SUBDIR)/libgfortran && \
43708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43710 "RANLIB=$${RANLIB}" \
43711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43712 pdf) \
43713 || exit 1
43715 @endif target-libgfortran
43717 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
43718 maybe-html-target-libgfortran:
43719 @if target-libgfortran
43720 maybe-html-target-libgfortran: html-target-libgfortran
43722 html-target-libgfortran: \
43723 configure-target-libgfortran
43724 @: $(MAKE); $(unstage)
43725 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43726 r=`${PWD_COMMAND}`; export r; \
43727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43728 $(NORMAL_TARGET_EXPORTS) \
43729 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
43730 for flag in $(EXTRA_TARGET_FLAGS); do \
43731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43732 done; \
43733 (cd $(TARGET_SUBDIR)/libgfortran && \
43734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43736 "RANLIB=$${RANLIB}" \
43737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43738 html) \
43739 || exit 1
43741 @endif target-libgfortran
43743 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
43744 maybe-TAGS-target-libgfortran:
43745 @if target-libgfortran
43746 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
43748 TAGS-target-libgfortran: \
43749 configure-target-libgfortran
43750 @: $(MAKE); $(unstage)
43751 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43752 r=`${PWD_COMMAND}`; export r; \
43753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43754 $(NORMAL_TARGET_EXPORTS) \
43755 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
43756 for flag in $(EXTRA_TARGET_FLAGS); do \
43757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43758 done; \
43759 (cd $(TARGET_SUBDIR)/libgfortran && \
43760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43762 "RANLIB=$${RANLIB}" \
43763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43764 TAGS) \
43765 || exit 1
43767 @endif target-libgfortran
43769 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
43770 maybe-install-info-target-libgfortran:
43771 @if target-libgfortran
43772 maybe-install-info-target-libgfortran: install-info-target-libgfortran
43774 install-info-target-libgfortran: \
43775 configure-target-libgfortran \
43776 info-target-libgfortran
43777 @: $(MAKE); $(unstage)
43778 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43779 r=`${PWD_COMMAND}`; export r; \
43780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43781 $(NORMAL_TARGET_EXPORTS) \
43782 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
43783 for flag in $(EXTRA_TARGET_FLAGS); do \
43784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43785 done; \
43786 (cd $(TARGET_SUBDIR)/libgfortran && \
43787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43789 "RANLIB=$${RANLIB}" \
43790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43791 install-info) \
43792 || exit 1
43794 @endif target-libgfortran
43796 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
43797 maybe-install-pdf-target-libgfortran:
43798 @if target-libgfortran
43799 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
43801 install-pdf-target-libgfortran: \
43802 configure-target-libgfortran \
43803 pdf-target-libgfortran
43804 @: $(MAKE); $(unstage)
43805 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43806 r=`${PWD_COMMAND}`; export r; \
43807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43808 $(NORMAL_TARGET_EXPORTS) \
43809 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
43810 for flag in $(EXTRA_TARGET_FLAGS); do \
43811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43812 done; \
43813 (cd $(TARGET_SUBDIR)/libgfortran && \
43814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43816 "RANLIB=$${RANLIB}" \
43817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43818 install-pdf) \
43819 || exit 1
43821 @endif target-libgfortran
43823 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
43824 maybe-install-html-target-libgfortran:
43825 @if target-libgfortran
43826 maybe-install-html-target-libgfortran: install-html-target-libgfortran
43828 install-html-target-libgfortran: \
43829 configure-target-libgfortran \
43830 html-target-libgfortran
43831 @: $(MAKE); $(unstage)
43832 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43833 r=`${PWD_COMMAND}`; export r; \
43834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43835 $(NORMAL_TARGET_EXPORTS) \
43836 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
43837 for flag in $(EXTRA_TARGET_FLAGS); do \
43838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43839 done; \
43840 (cd $(TARGET_SUBDIR)/libgfortran && \
43841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43843 "RANLIB=$${RANLIB}" \
43844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43845 install-html) \
43846 || exit 1
43848 @endif target-libgfortran
43850 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
43851 maybe-installcheck-target-libgfortran:
43852 @if target-libgfortran
43853 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
43855 installcheck-target-libgfortran: \
43856 configure-target-libgfortran
43857 @: $(MAKE); $(unstage)
43858 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43859 r=`${PWD_COMMAND}`; export r; \
43860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43861 $(NORMAL_TARGET_EXPORTS) \
43862 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
43863 for flag in $(EXTRA_TARGET_FLAGS); do \
43864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43865 done; \
43866 (cd $(TARGET_SUBDIR)/libgfortran && \
43867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43869 "RANLIB=$${RANLIB}" \
43870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43871 installcheck) \
43872 || exit 1
43874 @endif target-libgfortran
43876 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
43877 maybe-mostlyclean-target-libgfortran:
43878 @if target-libgfortran
43879 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
43881 mostlyclean-target-libgfortran:
43882 @: $(MAKE); $(unstage)
43883 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43884 r=`${PWD_COMMAND}`; export r; \
43885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43886 $(NORMAL_TARGET_EXPORTS) \
43887 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
43888 for flag in $(EXTRA_TARGET_FLAGS); do \
43889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43890 done; \
43891 (cd $(TARGET_SUBDIR)/libgfortran && \
43892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43894 "RANLIB=$${RANLIB}" \
43895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43896 mostlyclean) \
43897 || exit 1
43899 @endif target-libgfortran
43901 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
43902 maybe-clean-target-libgfortran:
43903 @if target-libgfortran
43904 maybe-clean-target-libgfortran: clean-target-libgfortran
43906 clean-target-libgfortran:
43907 @: $(MAKE); $(unstage)
43908 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43909 r=`${PWD_COMMAND}`; export r; \
43910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43911 $(NORMAL_TARGET_EXPORTS) \
43912 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
43913 for flag in $(EXTRA_TARGET_FLAGS); do \
43914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43915 done; \
43916 (cd $(TARGET_SUBDIR)/libgfortran && \
43917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43919 "RANLIB=$${RANLIB}" \
43920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43921 clean) \
43922 || exit 1
43924 @endif target-libgfortran
43926 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
43927 maybe-distclean-target-libgfortran:
43928 @if target-libgfortran
43929 maybe-distclean-target-libgfortran: distclean-target-libgfortran
43931 distclean-target-libgfortran:
43932 @: $(MAKE); $(unstage)
43933 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43934 r=`${PWD_COMMAND}`; export r; \
43935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43936 $(NORMAL_TARGET_EXPORTS) \
43937 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
43938 for flag in $(EXTRA_TARGET_FLAGS); do \
43939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43940 done; \
43941 (cd $(TARGET_SUBDIR)/libgfortran && \
43942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43944 "RANLIB=$${RANLIB}" \
43945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43946 distclean) \
43947 || exit 1
43949 @endif target-libgfortran
43951 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
43952 maybe-maintainer-clean-target-libgfortran:
43953 @if target-libgfortran
43954 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
43956 maintainer-clean-target-libgfortran:
43957 @: $(MAKE); $(unstage)
43958 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
43959 r=`${PWD_COMMAND}`; export r; \
43960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43961 $(NORMAL_TARGET_EXPORTS) \
43962 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
43963 for flag in $(EXTRA_TARGET_FLAGS); do \
43964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43965 done; \
43966 (cd $(TARGET_SUBDIR)/libgfortran && \
43967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43969 "RANLIB=$${RANLIB}" \
43970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43971 maintainer-clean) \
43972 || exit 1
43974 @endif target-libgfortran
43980 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
43981 maybe-configure-target-libobjc:
43982 @if gcc-bootstrap
43983 configure-target-libobjc: stage_current
43984 @endif gcc-bootstrap
43985 @if target-libobjc
43986 maybe-configure-target-libobjc: configure-target-libobjc
43987 configure-target-libobjc:
43988 @: $(MAKE); $(unstage)
43989 @r=`${PWD_COMMAND}`; export r; \
43990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43991 echo "Checking multilib configuration for libobjc..."; \
43992 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
43993 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
43994 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
43995 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
43996 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
43997 else \
43998 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
43999 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
44000 fi; \
44001 else \
44002 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
44003 fi; \
44004 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
44005 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
44006 $(NORMAL_TARGET_EXPORTS) \
44007 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
44008 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
44009 case $(srcdir) in \
44010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44011 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
44012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44013 esac; \
44014 srcdiroption="--srcdir=$${topdir}/libobjc"; \
44015 libsrcdir="$$s/libobjc"; \
44016 rm -f no-such-file || : ; \
44017 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44018 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44019 --target=${target_alias} $${srcdiroption} \
44020 || exit 1
44021 @endif target-libobjc
44027 .PHONY: all-target-libobjc maybe-all-target-libobjc
44028 maybe-all-target-libobjc:
44029 @if gcc-bootstrap
44030 all-target-libobjc: stage_current
44031 @endif gcc-bootstrap
44032 @if target-libobjc
44033 TARGET-target-libobjc=all
44034 maybe-all-target-libobjc: all-target-libobjc
44035 all-target-libobjc: configure-target-libobjc
44036 @: $(MAKE); $(unstage)
44037 @r=`${PWD_COMMAND}`; export r; \
44038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44039 $(NORMAL_TARGET_EXPORTS) \
44040 (cd $(TARGET_SUBDIR)/libobjc && \
44041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44042 $(TARGET-target-libobjc))
44043 @endif target-libobjc
44049 .PHONY: check-target-libobjc maybe-check-target-libobjc
44050 maybe-check-target-libobjc:
44051 @if target-libobjc
44052 maybe-check-target-libobjc: check-target-libobjc
44054 check-target-libobjc:
44055 @: $(MAKE); $(unstage)
44056 @r=`${PWD_COMMAND}`; export r; \
44057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44058 $(NORMAL_TARGET_EXPORTS) \
44059 (cd $(TARGET_SUBDIR)/libobjc && \
44060 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44062 @endif target-libobjc
44064 .PHONY: install-target-libobjc maybe-install-target-libobjc
44065 maybe-install-target-libobjc:
44066 @if target-libobjc
44067 maybe-install-target-libobjc: install-target-libobjc
44069 install-target-libobjc: installdirs
44070 @: $(MAKE); $(unstage)
44071 @r=`${PWD_COMMAND}`; export r; \
44072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44073 $(NORMAL_TARGET_EXPORTS) \
44074 (cd $(TARGET_SUBDIR)/libobjc && \
44075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44077 @endif target-libobjc
44079 # Other targets (info, dvi, pdf, etc.)
44081 .PHONY: maybe-info-target-libobjc info-target-libobjc
44082 maybe-info-target-libobjc:
44083 @if target-libobjc
44084 maybe-info-target-libobjc: info-target-libobjc
44086 info-target-libobjc: \
44087 configure-target-libobjc
44088 @: $(MAKE); $(unstage)
44089 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44090 r=`${PWD_COMMAND}`; export r; \
44091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44092 $(NORMAL_TARGET_EXPORTS) \
44093 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
44094 for flag in $(EXTRA_TARGET_FLAGS); do \
44095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44096 done; \
44097 (cd $(TARGET_SUBDIR)/libobjc && \
44098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44100 "RANLIB=$${RANLIB}" \
44101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44102 info) \
44103 || exit 1
44105 @endif target-libobjc
44107 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
44108 maybe-dvi-target-libobjc:
44109 @if target-libobjc
44110 maybe-dvi-target-libobjc: dvi-target-libobjc
44112 dvi-target-libobjc: \
44113 configure-target-libobjc
44114 @: $(MAKE); $(unstage)
44115 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44116 r=`${PWD_COMMAND}`; export r; \
44117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44118 $(NORMAL_TARGET_EXPORTS) \
44119 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
44120 for flag in $(EXTRA_TARGET_FLAGS); do \
44121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44122 done; \
44123 (cd $(TARGET_SUBDIR)/libobjc && \
44124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44126 "RANLIB=$${RANLIB}" \
44127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44128 dvi) \
44129 || exit 1
44131 @endif target-libobjc
44133 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
44134 maybe-pdf-target-libobjc:
44135 @if target-libobjc
44136 maybe-pdf-target-libobjc: pdf-target-libobjc
44138 pdf-target-libobjc: \
44139 configure-target-libobjc
44140 @: $(MAKE); $(unstage)
44141 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44142 r=`${PWD_COMMAND}`; export r; \
44143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44144 $(NORMAL_TARGET_EXPORTS) \
44145 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
44146 for flag in $(EXTRA_TARGET_FLAGS); do \
44147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44148 done; \
44149 (cd $(TARGET_SUBDIR)/libobjc && \
44150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44152 "RANLIB=$${RANLIB}" \
44153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44154 pdf) \
44155 || exit 1
44157 @endif target-libobjc
44159 .PHONY: maybe-html-target-libobjc html-target-libobjc
44160 maybe-html-target-libobjc:
44161 @if target-libobjc
44162 maybe-html-target-libobjc: html-target-libobjc
44164 html-target-libobjc: \
44165 configure-target-libobjc
44166 @: $(MAKE); $(unstage)
44167 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44168 r=`${PWD_COMMAND}`; export r; \
44169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44170 $(NORMAL_TARGET_EXPORTS) \
44171 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
44172 for flag in $(EXTRA_TARGET_FLAGS); do \
44173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44174 done; \
44175 (cd $(TARGET_SUBDIR)/libobjc && \
44176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44178 "RANLIB=$${RANLIB}" \
44179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44180 html) \
44181 || exit 1
44183 @endif target-libobjc
44185 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
44186 maybe-TAGS-target-libobjc:
44187 @if target-libobjc
44188 maybe-TAGS-target-libobjc: TAGS-target-libobjc
44190 TAGS-target-libobjc: \
44191 configure-target-libobjc
44192 @: $(MAKE); $(unstage)
44193 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44194 r=`${PWD_COMMAND}`; export r; \
44195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44196 $(NORMAL_TARGET_EXPORTS) \
44197 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
44198 for flag in $(EXTRA_TARGET_FLAGS); do \
44199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44200 done; \
44201 (cd $(TARGET_SUBDIR)/libobjc && \
44202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44204 "RANLIB=$${RANLIB}" \
44205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44206 TAGS) \
44207 || exit 1
44209 @endif target-libobjc
44211 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
44212 maybe-install-info-target-libobjc:
44213 @if target-libobjc
44214 maybe-install-info-target-libobjc: install-info-target-libobjc
44216 install-info-target-libobjc: \
44217 configure-target-libobjc \
44218 info-target-libobjc
44219 @: $(MAKE); $(unstage)
44220 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44221 r=`${PWD_COMMAND}`; export r; \
44222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44223 $(NORMAL_TARGET_EXPORTS) \
44224 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
44225 for flag in $(EXTRA_TARGET_FLAGS); do \
44226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44227 done; \
44228 (cd $(TARGET_SUBDIR)/libobjc && \
44229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44231 "RANLIB=$${RANLIB}" \
44232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44233 install-info) \
44234 || exit 1
44236 @endif target-libobjc
44238 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
44239 maybe-install-pdf-target-libobjc:
44240 @if target-libobjc
44241 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
44243 install-pdf-target-libobjc: \
44244 configure-target-libobjc \
44245 pdf-target-libobjc
44246 @: $(MAKE); $(unstage)
44247 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44248 r=`${PWD_COMMAND}`; export r; \
44249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44250 $(NORMAL_TARGET_EXPORTS) \
44251 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
44252 for flag in $(EXTRA_TARGET_FLAGS); do \
44253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44254 done; \
44255 (cd $(TARGET_SUBDIR)/libobjc && \
44256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44258 "RANLIB=$${RANLIB}" \
44259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44260 install-pdf) \
44261 || exit 1
44263 @endif target-libobjc
44265 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
44266 maybe-install-html-target-libobjc:
44267 @if target-libobjc
44268 maybe-install-html-target-libobjc: install-html-target-libobjc
44270 install-html-target-libobjc: \
44271 configure-target-libobjc \
44272 html-target-libobjc
44273 @: $(MAKE); $(unstage)
44274 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44275 r=`${PWD_COMMAND}`; export r; \
44276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44277 $(NORMAL_TARGET_EXPORTS) \
44278 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
44279 for flag in $(EXTRA_TARGET_FLAGS); do \
44280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44281 done; \
44282 (cd $(TARGET_SUBDIR)/libobjc && \
44283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44285 "RANLIB=$${RANLIB}" \
44286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44287 install-html) \
44288 || exit 1
44290 @endif target-libobjc
44292 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
44293 maybe-installcheck-target-libobjc:
44294 @if target-libobjc
44295 maybe-installcheck-target-libobjc: installcheck-target-libobjc
44297 installcheck-target-libobjc: \
44298 configure-target-libobjc
44299 @: $(MAKE); $(unstage)
44300 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44301 r=`${PWD_COMMAND}`; export r; \
44302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44303 $(NORMAL_TARGET_EXPORTS) \
44304 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
44305 for flag in $(EXTRA_TARGET_FLAGS); do \
44306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44307 done; \
44308 (cd $(TARGET_SUBDIR)/libobjc && \
44309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44311 "RANLIB=$${RANLIB}" \
44312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44313 installcheck) \
44314 || exit 1
44316 @endif target-libobjc
44318 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
44319 maybe-mostlyclean-target-libobjc:
44320 @if target-libobjc
44321 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
44323 mostlyclean-target-libobjc:
44324 @: $(MAKE); $(unstage)
44325 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44326 r=`${PWD_COMMAND}`; export r; \
44327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44328 $(NORMAL_TARGET_EXPORTS) \
44329 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
44330 for flag in $(EXTRA_TARGET_FLAGS); do \
44331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44332 done; \
44333 (cd $(TARGET_SUBDIR)/libobjc && \
44334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44336 "RANLIB=$${RANLIB}" \
44337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44338 mostlyclean) \
44339 || exit 1
44341 @endif target-libobjc
44343 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
44344 maybe-clean-target-libobjc:
44345 @if target-libobjc
44346 maybe-clean-target-libobjc: clean-target-libobjc
44348 clean-target-libobjc:
44349 @: $(MAKE); $(unstage)
44350 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44351 r=`${PWD_COMMAND}`; export r; \
44352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44353 $(NORMAL_TARGET_EXPORTS) \
44354 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
44355 for flag in $(EXTRA_TARGET_FLAGS); do \
44356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44357 done; \
44358 (cd $(TARGET_SUBDIR)/libobjc && \
44359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44361 "RANLIB=$${RANLIB}" \
44362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44363 clean) \
44364 || exit 1
44366 @endif target-libobjc
44368 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
44369 maybe-distclean-target-libobjc:
44370 @if target-libobjc
44371 maybe-distclean-target-libobjc: distclean-target-libobjc
44373 distclean-target-libobjc:
44374 @: $(MAKE); $(unstage)
44375 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44376 r=`${PWD_COMMAND}`; export r; \
44377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44378 $(NORMAL_TARGET_EXPORTS) \
44379 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
44380 for flag in $(EXTRA_TARGET_FLAGS); do \
44381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44382 done; \
44383 (cd $(TARGET_SUBDIR)/libobjc && \
44384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44386 "RANLIB=$${RANLIB}" \
44387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44388 distclean) \
44389 || exit 1
44391 @endif target-libobjc
44393 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
44394 maybe-maintainer-clean-target-libobjc:
44395 @if target-libobjc
44396 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
44398 maintainer-clean-target-libobjc:
44399 @: $(MAKE); $(unstage)
44400 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
44401 r=`${PWD_COMMAND}`; export r; \
44402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44403 $(NORMAL_TARGET_EXPORTS) \
44404 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
44405 for flag in $(EXTRA_TARGET_FLAGS); do \
44406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44407 done; \
44408 (cd $(TARGET_SUBDIR)/libobjc && \
44409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44411 "RANLIB=$${RANLIB}" \
44412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44413 maintainer-clean) \
44414 || exit 1
44416 @endif target-libobjc
44422 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
44423 maybe-configure-target-libtermcap:
44424 @if gcc-bootstrap
44425 configure-target-libtermcap: stage_current
44426 @endif gcc-bootstrap
44427 @if target-libtermcap
44428 maybe-configure-target-libtermcap: configure-target-libtermcap
44429 configure-target-libtermcap:
44430 @: $(MAKE); $(unstage)
44431 @r=`${PWD_COMMAND}`; export r; \
44432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44433 echo "Checking multilib configuration for libtermcap..."; \
44434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
44435 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
44436 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
44437 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
44438 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
44439 else \
44440 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
44441 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
44442 fi; \
44443 else \
44444 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
44445 fi; \
44446 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
44447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
44448 $(NORMAL_TARGET_EXPORTS) \
44449 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
44450 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
44451 case $(srcdir) in \
44452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44453 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
44454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44455 esac; \
44456 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
44457 libsrcdir="$$s/libtermcap"; \
44458 rm -f no-such-file || : ; \
44459 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44460 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44461 --target=${target_alias} $${srcdiroption} \
44462 || exit 1
44463 @endif target-libtermcap
44469 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
44470 maybe-all-target-libtermcap:
44471 @if gcc-bootstrap
44472 all-target-libtermcap: stage_current
44473 @endif gcc-bootstrap
44474 @if target-libtermcap
44475 TARGET-target-libtermcap=all
44476 maybe-all-target-libtermcap: all-target-libtermcap
44477 all-target-libtermcap: configure-target-libtermcap
44478 @: $(MAKE); $(unstage)
44479 @r=`${PWD_COMMAND}`; export r; \
44480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44481 $(NORMAL_TARGET_EXPORTS) \
44482 (cd $(TARGET_SUBDIR)/libtermcap && \
44483 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44484 $(TARGET-target-libtermcap))
44485 @endif target-libtermcap
44491 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
44492 maybe-check-target-libtermcap:
44493 @if target-libtermcap
44494 maybe-check-target-libtermcap: check-target-libtermcap
44496 # Dummy target for uncheckable module.
44497 check-target-libtermcap:
44499 @endif target-libtermcap
44501 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
44502 maybe-install-target-libtermcap:
44503 @if target-libtermcap
44504 maybe-install-target-libtermcap: install-target-libtermcap
44506 install-target-libtermcap: installdirs
44507 @: $(MAKE); $(unstage)
44508 @r=`${PWD_COMMAND}`; export r; \
44509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44510 $(NORMAL_TARGET_EXPORTS) \
44511 (cd $(TARGET_SUBDIR)/libtermcap && \
44512 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44514 @endif target-libtermcap
44516 # Other targets (info, dvi, pdf, etc.)
44518 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
44519 maybe-info-target-libtermcap:
44520 @if target-libtermcap
44521 maybe-info-target-libtermcap: info-target-libtermcap
44523 info-target-libtermcap: \
44524 configure-target-libtermcap
44525 @: $(MAKE); $(unstage)
44526 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44527 r=`${PWD_COMMAND}`; export r; \
44528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44529 $(NORMAL_TARGET_EXPORTS) \
44530 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
44531 for flag in $(EXTRA_TARGET_FLAGS); do \
44532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44533 done; \
44534 (cd $(TARGET_SUBDIR)/libtermcap && \
44535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44537 "RANLIB=$${RANLIB}" \
44538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44539 info) \
44540 || exit 1
44542 @endif target-libtermcap
44544 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
44545 maybe-dvi-target-libtermcap:
44546 @if target-libtermcap
44547 maybe-dvi-target-libtermcap: dvi-target-libtermcap
44549 dvi-target-libtermcap: \
44550 configure-target-libtermcap
44551 @: $(MAKE); $(unstage)
44552 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44553 r=`${PWD_COMMAND}`; export r; \
44554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44555 $(NORMAL_TARGET_EXPORTS) \
44556 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
44557 for flag in $(EXTRA_TARGET_FLAGS); do \
44558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44559 done; \
44560 (cd $(TARGET_SUBDIR)/libtermcap && \
44561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44563 "RANLIB=$${RANLIB}" \
44564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44565 dvi) \
44566 || exit 1
44568 @endif target-libtermcap
44570 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
44571 maybe-pdf-target-libtermcap:
44572 @if target-libtermcap
44573 maybe-pdf-target-libtermcap: pdf-target-libtermcap
44575 pdf-target-libtermcap: \
44576 configure-target-libtermcap
44577 @: $(MAKE); $(unstage)
44578 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44579 r=`${PWD_COMMAND}`; export r; \
44580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44581 $(NORMAL_TARGET_EXPORTS) \
44582 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
44583 for flag in $(EXTRA_TARGET_FLAGS); do \
44584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44585 done; \
44586 (cd $(TARGET_SUBDIR)/libtermcap && \
44587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44589 "RANLIB=$${RANLIB}" \
44590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44591 pdf) \
44592 || exit 1
44594 @endif target-libtermcap
44596 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
44597 maybe-html-target-libtermcap:
44598 @if target-libtermcap
44599 maybe-html-target-libtermcap: html-target-libtermcap
44601 html-target-libtermcap: \
44602 configure-target-libtermcap
44603 @: $(MAKE); $(unstage)
44604 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44605 r=`${PWD_COMMAND}`; export r; \
44606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44607 $(NORMAL_TARGET_EXPORTS) \
44608 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
44609 for flag in $(EXTRA_TARGET_FLAGS); do \
44610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44611 done; \
44612 (cd $(TARGET_SUBDIR)/libtermcap && \
44613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44615 "RANLIB=$${RANLIB}" \
44616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44617 html) \
44618 || exit 1
44620 @endif target-libtermcap
44622 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
44623 maybe-TAGS-target-libtermcap:
44624 @if target-libtermcap
44625 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
44627 TAGS-target-libtermcap: \
44628 configure-target-libtermcap
44629 @: $(MAKE); $(unstage)
44630 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44631 r=`${PWD_COMMAND}`; export r; \
44632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44633 $(NORMAL_TARGET_EXPORTS) \
44634 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
44635 for flag in $(EXTRA_TARGET_FLAGS); do \
44636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44637 done; \
44638 (cd $(TARGET_SUBDIR)/libtermcap && \
44639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44641 "RANLIB=$${RANLIB}" \
44642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44643 TAGS) \
44644 || exit 1
44646 @endif target-libtermcap
44648 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
44649 maybe-install-info-target-libtermcap:
44650 @if target-libtermcap
44651 maybe-install-info-target-libtermcap: install-info-target-libtermcap
44653 install-info-target-libtermcap: \
44654 configure-target-libtermcap \
44655 info-target-libtermcap
44656 @: $(MAKE); $(unstage)
44657 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44658 r=`${PWD_COMMAND}`; export r; \
44659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44660 $(NORMAL_TARGET_EXPORTS) \
44661 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
44662 for flag in $(EXTRA_TARGET_FLAGS); do \
44663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44664 done; \
44665 (cd $(TARGET_SUBDIR)/libtermcap && \
44666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44668 "RANLIB=$${RANLIB}" \
44669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44670 install-info) \
44671 || exit 1
44673 @endif target-libtermcap
44675 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
44676 maybe-install-pdf-target-libtermcap:
44677 @if target-libtermcap
44678 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
44680 install-pdf-target-libtermcap: \
44681 configure-target-libtermcap \
44682 pdf-target-libtermcap
44683 @: $(MAKE); $(unstage)
44684 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44685 r=`${PWD_COMMAND}`; export r; \
44686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44687 $(NORMAL_TARGET_EXPORTS) \
44688 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
44689 for flag in $(EXTRA_TARGET_FLAGS); do \
44690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44691 done; \
44692 (cd $(TARGET_SUBDIR)/libtermcap && \
44693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44695 "RANLIB=$${RANLIB}" \
44696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44697 install-pdf) \
44698 || exit 1
44700 @endif target-libtermcap
44702 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
44703 maybe-install-html-target-libtermcap:
44704 @if target-libtermcap
44705 maybe-install-html-target-libtermcap: install-html-target-libtermcap
44707 install-html-target-libtermcap: \
44708 configure-target-libtermcap \
44709 html-target-libtermcap
44710 @: $(MAKE); $(unstage)
44711 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44712 r=`${PWD_COMMAND}`; export r; \
44713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44714 $(NORMAL_TARGET_EXPORTS) \
44715 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
44716 for flag in $(EXTRA_TARGET_FLAGS); do \
44717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44718 done; \
44719 (cd $(TARGET_SUBDIR)/libtermcap && \
44720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44722 "RANLIB=$${RANLIB}" \
44723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44724 install-html) \
44725 || exit 1
44727 @endif target-libtermcap
44729 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
44730 maybe-installcheck-target-libtermcap:
44731 @if target-libtermcap
44732 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
44734 installcheck-target-libtermcap: \
44735 configure-target-libtermcap
44736 @: $(MAKE); $(unstage)
44737 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
44738 r=`${PWD_COMMAND}`; export r; \
44739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44740 $(NORMAL_TARGET_EXPORTS) \
44741 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
44742 for flag in $(EXTRA_TARGET_FLAGS); do \
44743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44744 done; \
44745 (cd $(TARGET_SUBDIR)/libtermcap && \
44746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44748 "RANLIB=$${RANLIB}" \
44749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44750 installcheck) \
44751 || exit 1
44753 @endif target-libtermcap
44755 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
44756 maybe-mostlyclean-target-libtermcap:
44757 @if target-libtermcap
44758 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
44760 # libtermcap doesn't support mostlyclean.
44761 mostlyclean-target-libtermcap:
44763 @endif target-libtermcap
44765 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
44766 maybe-clean-target-libtermcap:
44767 @if target-libtermcap
44768 maybe-clean-target-libtermcap: clean-target-libtermcap
44770 # libtermcap doesn't support clean.
44771 clean-target-libtermcap:
44773 @endif target-libtermcap
44775 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
44776 maybe-distclean-target-libtermcap:
44777 @if target-libtermcap
44778 maybe-distclean-target-libtermcap: distclean-target-libtermcap
44780 # libtermcap doesn't support distclean.
44781 distclean-target-libtermcap:
44783 @endif target-libtermcap
44785 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
44786 maybe-maintainer-clean-target-libtermcap:
44787 @if target-libtermcap
44788 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
44790 # libtermcap doesn't support maintainer-clean.
44791 maintainer-clean-target-libtermcap:
44793 @endif target-libtermcap
44799 .PHONY: configure-target-winsup maybe-configure-target-winsup
44800 maybe-configure-target-winsup:
44801 @if gcc-bootstrap
44802 configure-target-winsup: stage_current
44803 @endif gcc-bootstrap
44804 @if target-winsup
44805 maybe-configure-target-winsup: configure-target-winsup
44806 configure-target-winsup:
44807 @: $(MAKE); $(unstage)
44808 @r=`${PWD_COMMAND}`; export r; \
44809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44810 echo "Checking multilib configuration for winsup..."; \
44811 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
44812 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
44813 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
44814 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
44815 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
44816 else \
44817 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
44818 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
44819 fi; \
44820 else \
44821 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
44822 fi; \
44823 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
44824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
44825 $(NORMAL_TARGET_EXPORTS) \
44826 echo Configuring in $(TARGET_SUBDIR)/winsup; \
44827 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
44828 case $(srcdir) in \
44829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44830 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
44831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44832 esac; \
44833 srcdiroption="--srcdir=$${topdir}/winsup"; \
44834 libsrcdir="$$s/winsup"; \
44835 rm -f no-such-file || : ; \
44836 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44837 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44838 --target=${target_alias} $${srcdiroption} \
44839 || exit 1
44840 @endif target-winsup
44846 .PHONY: all-target-winsup maybe-all-target-winsup
44847 maybe-all-target-winsup:
44848 @if gcc-bootstrap
44849 all-target-winsup: stage_current
44850 @endif gcc-bootstrap
44851 @if target-winsup
44852 TARGET-target-winsup=all
44853 maybe-all-target-winsup: all-target-winsup
44854 all-target-winsup: configure-target-winsup
44855 @: $(MAKE); $(unstage)
44856 @r=`${PWD_COMMAND}`; export r; \
44857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44858 $(NORMAL_TARGET_EXPORTS) \
44859 (cd $(TARGET_SUBDIR)/winsup && \
44860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44861 $(TARGET-target-winsup))
44862 @endif target-winsup
44868 .PHONY: check-target-winsup maybe-check-target-winsup
44869 maybe-check-target-winsup:
44870 @if target-winsup
44871 maybe-check-target-winsup: check-target-winsup
44873 check-target-winsup:
44874 @: $(MAKE); $(unstage)
44875 @r=`${PWD_COMMAND}`; export r; \
44876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44877 $(NORMAL_TARGET_EXPORTS) \
44878 (cd $(TARGET_SUBDIR)/winsup && \
44879 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44881 @endif target-winsup
44883 .PHONY: install-target-winsup maybe-install-target-winsup
44884 maybe-install-target-winsup:
44885 @if target-winsup
44886 maybe-install-target-winsup: install-target-winsup
44888 install-target-winsup: installdirs
44889 @: $(MAKE); $(unstage)
44890 @r=`${PWD_COMMAND}`; export r; \
44891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44892 $(NORMAL_TARGET_EXPORTS) \
44893 (cd $(TARGET_SUBDIR)/winsup && \
44894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44896 @endif target-winsup
44898 # Other targets (info, dvi, pdf, etc.)
44900 .PHONY: maybe-info-target-winsup info-target-winsup
44901 maybe-info-target-winsup:
44902 @if target-winsup
44903 maybe-info-target-winsup: info-target-winsup
44905 info-target-winsup: \
44906 configure-target-winsup
44907 @: $(MAKE); $(unstage)
44908 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
44909 r=`${PWD_COMMAND}`; export r; \
44910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44911 $(NORMAL_TARGET_EXPORTS) \
44912 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
44913 for flag in $(EXTRA_TARGET_FLAGS); do \
44914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44915 done; \
44916 (cd $(TARGET_SUBDIR)/winsup && \
44917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44919 "RANLIB=$${RANLIB}" \
44920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44921 info) \
44922 || exit 1
44924 @endif target-winsup
44926 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
44927 maybe-dvi-target-winsup:
44928 @if target-winsup
44929 maybe-dvi-target-winsup: dvi-target-winsup
44931 dvi-target-winsup: \
44932 configure-target-winsup
44933 @: $(MAKE); $(unstage)
44934 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
44935 r=`${PWD_COMMAND}`; export r; \
44936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44937 $(NORMAL_TARGET_EXPORTS) \
44938 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
44939 for flag in $(EXTRA_TARGET_FLAGS); do \
44940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44941 done; \
44942 (cd $(TARGET_SUBDIR)/winsup && \
44943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44945 "RANLIB=$${RANLIB}" \
44946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44947 dvi) \
44948 || exit 1
44950 @endif target-winsup
44952 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
44953 maybe-pdf-target-winsup:
44954 @if target-winsup
44955 maybe-pdf-target-winsup: pdf-target-winsup
44957 pdf-target-winsup: \
44958 configure-target-winsup
44959 @: $(MAKE); $(unstage)
44960 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
44961 r=`${PWD_COMMAND}`; export r; \
44962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44963 $(NORMAL_TARGET_EXPORTS) \
44964 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
44965 for flag in $(EXTRA_TARGET_FLAGS); do \
44966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44967 done; \
44968 (cd $(TARGET_SUBDIR)/winsup && \
44969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44971 "RANLIB=$${RANLIB}" \
44972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44973 pdf) \
44974 || exit 1
44976 @endif target-winsup
44978 .PHONY: maybe-html-target-winsup html-target-winsup
44979 maybe-html-target-winsup:
44980 @if target-winsup
44981 maybe-html-target-winsup: html-target-winsup
44983 html-target-winsup: \
44984 configure-target-winsup
44985 @: $(MAKE); $(unstage)
44986 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
44987 r=`${PWD_COMMAND}`; export r; \
44988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44989 $(NORMAL_TARGET_EXPORTS) \
44990 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
44991 for flag in $(EXTRA_TARGET_FLAGS); do \
44992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44993 done; \
44994 (cd $(TARGET_SUBDIR)/winsup && \
44995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44997 "RANLIB=$${RANLIB}" \
44998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44999 html) \
45000 || exit 1
45002 @endif target-winsup
45004 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
45005 maybe-TAGS-target-winsup:
45006 @if target-winsup
45007 maybe-TAGS-target-winsup: TAGS-target-winsup
45009 TAGS-target-winsup: \
45010 configure-target-winsup
45011 @: $(MAKE); $(unstage)
45012 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45013 r=`${PWD_COMMAND}`; export r; \
45014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45015 $(NORMAL_TARGET_EXPORTS) \
45016 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
45017 for flag in $(EXTRA_TARGET_FLAGS); do \
45018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45019 done; \
45020 (cd $(TARGET_SUBDIR)/winsup && \
45021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45023 "RANLIB=$${RANLIB}" \
45024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45025 TAGS) \
45026 || exit 1
45028 @endif target-winsup
45030 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
45031 maybe-install-info-target-winsup:
45032 @if target-winsup
45033 maybe-install-info-target-winsup: install-info-target-winsup
45035 install-info-target-winsup: \
45036 configure-target-winsup \
45037 info-target-winsup
45038 @: $(MAKE); $(unstage)
45039 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45040 r=`${PWD_COMMAND}`; export r; \
45041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45042 $(NORMAL_TARGET_EXPORTS) \
45043 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
45044 for flag in $(EXTRA_TARGET_FLAGS); do \
45045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45046 done; \
45047 (cd $(TARGET_SUBDIR)/winsup && \
45048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45050 "RANLIB=$${RANLIB}" \
45051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45052 install-info) \
45053 || exit 1
45055 @endif target-winsup
45057 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
45058 maybe-install-pdf-target-winsup:
45059 @if target-winsup
45060 maybe-install-pdf-target-winsup: install-pdf-target-winsup
45062 install-pdf-target-winsup: \
45063 configure-target-winsup \
45064 pdf-target-winsup
45065 @: $(MAKE); $(unstage)
45066 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45067 r=`${PWD_COMMAND}`; export r; \
45068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45069 $(NORMAL_TARGET_EXPORTS) \
45070 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
45071 for flag in $(EXTRA_TARGET_FLAGS); do \
45072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45073 done; \
45074 (cd $(TARGET_SUBDIR)/winsup && \
45075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45077 "RANLIB=$${RANLIB}" \
45078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45079 install-pdf) \
45080 || exit 1
45082 @endif target-winsup
45084 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
45085 maybe-install-html-target-winsup:
45086 @if target-winsup
45087 maybe-install-html-target-winsup: install-html-target-winsup
45089 install-html-target-winsup: \
45090 configure-target-winsup \
45091 html-target-winsup
45092 @: $(MAKE); $(unstage)
45093 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45094 r=`${PWD_COMMAND}`; export r; \
45095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45096 $(NORMAL_TARGET_EXPORTS) \
45097 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
45098 for flag in $(EXTRA_TARGET_FLAGS); do \
45099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45100 done; \
45101 (cd $(TARGET_SUBDIR)/winsup && \
45102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45104 "RANLIB=$${RANLIB}" \
45105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45106 install-html) \
45107 || exit 1
45109 @endif target-winsup
45111 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
45112 maybe-installcheck-target-winsup:
45113 @if target-winsup
45114 maybe-installcheck-target-winsup: installcheck-target-winsup
45116 installcheck-target-winsup: \
45117 configure-target-winsup
45118 @: $(MAKE); $(unstage)
45119 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45120 r=`${PWD_COMMAND}`; export r; \
45121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45122 $(NORMAL_TARGET_EXPORTS) \
45123 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
45124 for flag in $(EXTRA_TARGET_FLAGS); do \
45125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45126 done; \
45127 (cd $(TARGET_SUBDIR)/winsup && \
45128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45130 "RANLIB=$${RANLIB}" \
45131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45132 installcheck) \
45133 || exit 1
45135 @endif target-winsup
45137 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
45138 maybe-mostlyclean-target-winsup:
45139 @if target-winsup
45140 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
45142 mostlyclean-target-winsup:
45143 @: $(MAKE); $(unstage)
45144 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45145 r=`${PWD_COMMAND}`; export r; \
45146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45147 $(NORMAL_TARGET_EXPORTS) \
45148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
45149 for flag in $(EXTRA_TARGET_FLAGS); do \
45150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45151 done; \
45152 (cd $(TARGET_SUBDIR)/winsup && \
45153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45155 "RANLIB=$${RANLIB}" \
45156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45157 mostlyclean) \
45158 || exit 1
45160 @endif target-winsup
45162 .PHONY: maybe-clean-target-winsup clean-target-winsup
45163 maybe-clean-target-winsup:
45164 @if target-winsup
45165 maybe-clean-target-winsup: clean-target-winsup
45167 clean-target-winsup:
45168 @: $(MAKE); $(unstage)
45169 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45170 r=`${PWD_COMMAND}`; export r; \
45171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45172 $(NORMAL_TARGET_EXPORTS) \
45173 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
45174 for flag in $(EXTRA_TARGET_FLAGS); do \
45175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45176 done; \
45177 (cd $(TARGET_SUBDIR)/winsup && \
45178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45180 "RANLIB=$${RANLIB}" \
45181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45182 clean) \
45183 || exit 1
45185 @endif target-winsup
45187 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
45188 maybe-distclean-target-winsup:
45189 @if target-winsup
45190 maybe-distclean-target-winsup: distclean-target-winsup
45192 distclean-target-winsup:
45193 @: $(MAKE); $(unstage)
45194 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45195 r=`${PWD_COMMAND}`; export r; \
45196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45197 $(NORMAL_TARGET_EXPORTS) \
45198 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
45199 for flag in $(EXTRA_TARGET_FLAGS); do \
45200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45201 done; \
45202 (cd $(TARGET_SUBDIR)/winsup && \
45203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45205 "RANLIB=$${RANLIB}" \
45206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45207 distclean) \
45208 || exit 1
45210 @endif target-winsup
45212 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
45213 maybe-maintainer-clean-target-winsup:
45214 @if target-winsup
45215 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
45217 maintainer-clean-target-winsup:
45218 @: $(MAKE); $(unstage)
45219 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
45220 r=`${PWD_COMMAND}`; export r; \
45221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45222 $(NORMAL_TARGET_EXPORTS) \
45223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
45224 for flag in $(EXTRA_TARGET_FLAGS); do \
45225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45226 done; \
45227 (cd $(TARGET_SUBDIR)/winsup && \
45228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45230 "RANLIB=$${RANLIB}" \
45231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45232 maintainer-clean) \
45233 || exit 1
45235 @endif target-winsup
45241 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
45242 maybe-configure-target-libgloss:
45243 @if gcc-bootstrap
45244 configure-target-libgloss: stage_current
45245 @endif gcc-bootstrap
45246 @if target-libgloss
45247 maybe-configure-target-libgloss: configure-target-libgloss
45248 configure-target-libgloss:
45249 @: $(MAKE); $(unstage)
45250 @r=`${PWD_COMMAND}`; export r; \
45251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45252 echo "Checking multilib configuration for libgloss..."; \
45253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
45254 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
45255 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
45256 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
45257 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
45258 else \
45259 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
45260 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
45261 fi; \
45262 else \
45263 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
45264 fi; \
45265 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
45266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
45267 $(NORMAL_TARGET_EXPORTS) \
45268 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
45269 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
45270 case $(srcdir) in \
45271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45272 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
45273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45274 esac; \
45275 srcdiroption="--srcdir=$${topdir}/libgloss"; \
45276 libsrcdir="$$s/libgloss"; \
45277 rm -f no-such-file || : ; \
45278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45279 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45280 --target=${target_alias} $${srcdiroption} \
45281 || exit 1
45282 @endif target-libgloss
45288 .PHONY: all-target-libgloss maybe-all-target-libgloss
45289 maybe-all-target-libgloss:
45290 @if gcc-bootstrap
45291 all-target-libgloss: stage_current
45292 @endif gcc-bootstrap
45293 @if target-libgloss
45294 TARGET-target-libgloss=all
45295 maybe-all-target-libgloss: all-target-libgloss
45296 all-target-libgloss: configure-target-libgloss
45297 @: $(MAKE); $(unstage)
45298 @r=`${PWD_COMMAND}`; export r; \
45299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45300 $(NORMAL_TARGET_EXPORTS) \
45301 (cd $(TARGET_SUBDIR)/libgloss && \
45302 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45303 $(TARGET-target-libgloss))
45304 @endif target-libgloss
45310 .PHONY: check-target-libgloss maybe-check-target-libgloss
45311 maybe-check-target-libgloss:
45312 @if target-libgloss
45313 maybe-check-target-libgloss: check-target-libgloss
45315 # Dummy target for uncheckable module.
45316 check-target-libgloss:
45318 @endif target-libgloss
45320 .PHONY: install-target-libgloss maybe-install-target-libgloss
45321 maybe-install-target-libgloss:
45322 @if target-libgloss
45323 maybe-install-target-libgloss: install-target-libgloss
45325 install-target-libgloss: installdirs
45326 @: $(MAKE); $(unstage)
45327 @r=`${PWD_COMMAND}`; export r; \
45328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45329 $(NORMAL_TARGET_EXPORTS) \
45330 (cd $(TARGET_SUBDIR)/libgloss && \
45331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45333 @endif target-libgloss
45335 # Other targets (info, dvi, pdf, etc.)
45337 .PHONY: maybe-info-target-libgloss info-target-libgloss
45338 maybe-info-target-libgloss:
45339 @if target-libgloss
45340 maybe-info-target-libgloss: info-target-libgloss
45342 info-target-libgloss: \
45343 configure-target-libgloss
45344 @: $(MAKE); $(unstage)
45345 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45346 r=`${PWD_COMMAND}`; export r; \
45347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45348 $(NORMAL_TARGET_EXPORTS) \
45349 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
45350 for flag in $(EXTRA_TARGET_FLAGS); do \
45351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45352 done; \
45353 (cd $(TARGET_SUBDIR)/libgloss && \
45354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45356 "RANLIB=$${RANLIB}" \
45357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45358 info) \
45359 || exit 1
45361 @endif target-libgloss
45363 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
45364 maybe-dvi-target-libgloss:
45365 @if target-libgloss
45366 maybe-dvi-target-libgloss: dvi-target-libgloss
45368 dvi-target-libgloss: \
45369 configure-target-libgloss
45370 @: $(MAKE); $(unstage)
45371 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45372 r=`${PWD_COMMAND}`; export r; \
45373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45374 $(NORMAL_TARGET_EXPORTS) \
45375 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
45376 for flag in $(EXTRA_TARGET_FLAGS); do \
45377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45378 done; \
45379 (cd $(TARGET_SUBDIR)/libgloss && \
45380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45382 "RANLIB=$${RANLIB}" \
45383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45384 dvi) \
45385 || exit 1
45387 @endif target-libgloss
45389 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
45390 maybe-pdf-target-libgloss:
45391 @if target-libgloss
45392 maybe-pdf-target-libgloss: pdf-target-libgloss
45394 pdf-target-libgloss: \
45395 configure-target-libgloss
45396 @: $(MAKE); $(unstage)
45397 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45398 r=`${PWD_COMMAND}`; export r; \
45399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45400 $(NORMAL_TARGET_EXPORTS) \
45401 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
45402 for flag in $(EXTRA_TARGET_FLAGS); do \
45403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45404 done; \
45405 (cd $(TARGET_SUBDIR)/libgloss && \
45406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45408 "RANLIB=$${RANLIB}" \
45409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45410 pdf) \
45411 || exit 1
45413 @endif target-libgloss
45415 .PHONY: maybe-html-target-libgloss html-target-libgloss
45416 maybe-html-target-libgloss:
45417 @if target-libgloss
45418 maybe-html-target-libgloss: html-target-libgloss
45420 html-target-libgloss: \
45421 configure-target-libgloss
45422 @: $(MAKE); $(unstage)
45423 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45424 r=`${PWD_COMMAND}`; export r; \
45425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45426 $(NORMAL_TARGET_EXPORTS) \
45427 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
45428 for flag in $(EXTRA_TARGET_FLAGS); do \
45429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45430 done; \
45431 (cd $(TARGET_SUBDIR)/libgloss && \
45432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45434 "RANLIB=$${RANLIB}" \
45435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45436 html) \
45437 || exit 1
45439 @endif target-libgloss
45441 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
45442 maybe-TAGS-target-libgloss:
45443 @if target-libgloss
45444 maybe-TAGS-target-libgloss: TAGS-target-libgloss
45446 TAGS-target-libgloss: \
45447 configure-target-libgloss
45448 @: $(MAKE); $(unstage)
45449 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45450 r=`${PWD_COMMAND}`; export r; \
45451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45452 $(NORMAL_TARGET_EXPORTS) \
45453 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
45454 for flag in $(EXTRA_TARGET_FLAGS); do \
45455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45456 done; \
45457 (cd $(TARGET_SUBDIR)/libgloss && \
45458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45460 "RANLIB=$${RANLIB}" \
45461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45462 TAGS) \
45463 || exit 1
45465 @endif target-libgloss
45467 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
45468 maybe-install-info-target-libgloss:
45469 @if target-libgloss
45470 maybe-install-info-target-libgloss: install-info-target-libgloss
45472 install-info-target-libgloss: \
45473 configure-target-libgloss \
45474 info-target-libgloss
45475 @: $(MAKE); $(unstage)
45476 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45477 r=`${PWD_COMMAND}`; export r; \
45478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45479 $(NORMAL_TARGET_EXPORTS) \
45480 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
45481 for flag in $(EXTRA_TARGET_FLAGS); do \
45482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45483 done; \
45484 (cd $(TARGET_SUBDIR)/libgloss && \
45485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45487 "RANLIB=$${RANLIB}" \
45488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45489 install-info) \
45490 || exit 1
45492 @endif target-libgloss
45494 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
45495 maybe-install-pdf-target-libgloss:
45496 @if target-libgloss
45497 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
45499 install-pdf-target-libgloss: \
45500 configure-target-libgloss \
45501 pdf-target-libgloss
45502 @: $(MAKE); $(unstage)
45503 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45504 r=`${PWD_COMMAND}`; export r; \
45505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45506 $(NORMAL_TARGET_EXPORTS) \
45507 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
45508 for flag in $(EXTRA_TARGET_FLAGS); do \
45509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45510 done; \
45511 (cd $(TARGET_SUBDIR)/libgloss && \
45512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45514 "RANLIB=$${RANLIB}" \
45515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45516 install-pdf) \
45517 || exit 1
45519 @endif target-libgloss
45521 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
45522 maybe-install-html-target-libgloss:
45523 @if target-libgloss
45524 maybe-install-html-target-libgloss: install-html-target-libgloss
45526 install-html-target-libgloss: \
45527 configure-target-libgloss \
45528 html-target-libgloss
45529 @: $(MAKE); $(unstage)
45530 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45531 r=`${PWD_COMMAND}`; export r; \
45532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45533 $(NORMAL_TARGET_EXPORTS) \
45534 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
45535 for flag in $(EXTRA_TARGET_FLAGS); do \
45536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45537 done; \
45538 (cd $(TARGET_SUBDIR)/libgloss && \
45539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45541 "RANLIB=$${RANLIB}" \
45542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45543 install-html) \
45544 || exit 1
45546 @endif target-libgloss
45548 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
45549 maybe-installcheck-target-libgloss:
45550 @if target-libgloss
45551 maybe-installcheck-target-libgloss: installcheck-target-libgloss
45553 installcheck-target-libgloss: \
45554 configure-target-libgloss
45555 @: $(MAKE); $(unstage)
45556 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45557 r=`${PWD_COMMAND}`; export r; \
45558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45559 $(NORMAL_TARGET_EXPORTS) \
45560 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
45561 for flag in $(EXTRA_TARGET_FLAGS); do \
45562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45563 done; \
45564 (cd $(TARGET_SUBDIR)/libgloss && \
45565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45567 "RANLIB=$${RANLIB}" \
45568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45569 installcheck) \
45570 || exit 1
45572 @endif target-libgloss
45574 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
45575 maybe-mostlyclean-target-libgloss:
45576 @if target-libgloss
45577 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
45579 mostlyclean-target-libgloss:
45580 @: $(MAKE); $(unstage)
45581 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45582 r=`${PWD_COMMAND}`; export r; \
45583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45584 $(NORMAL_TARGET_EXPORTS) \
45585 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
45586 for flag in $(EXTRA_TARGET_FLAGS); do \
45587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45588 done; \
45589 (cd $(TARGET_SUBDIR)/libgloss && \
45590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45592 "RANLIB=$${RANLIB}" \
45593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45594 mostlyclean) \
45595 || exit 1
45597 @endif target-libgloss
45599 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
45600 maybe-clean-target-libgloss:
45601 @if target-libgloss
45602 maybe-clean-target-libgloss: clean-target-libgloss
45604 clean-target-libgloss:
45605 @: $(MAKE); $(unstage)
45606 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45607 r=`${PWD_COMMAND}`; export r; \
45608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45609 $(NORMAL_TARGET_EXPORTS) \
45610 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
45611 for flag in $(EXTRA_TARGET_FLAGS); do \
45612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45613 done; \
45614 (cd $(TARGET_SUBDIR)/libgloss && \
45615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45617 "RANLIB=$${RANLIB}" \
45618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45619 clean) \
45620 || exit 1
45622 @endif target-libgloss
45624 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
45625 maybe-distclean-target-libgloss:
45626 @if target-libgloss
45627 maybe-distclean-target-libgloss: distclean-target-libgloss
45629 distclean-target-libgloss:
45630 @: $(MAKE); $(unstage)
45631 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45632 r=`${PWD_COMMAND}`; export r; \
45633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45634 $(NORMAL_TARGET_EXPORTS) \
45635 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
45636 for flag in $(EXTRA_TARGET_FLAGS); do \
45637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45638 done; \
45639 (cd $(TARGET_SUBDIR)/libgloss && \
45640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45642 "RANLIB=$${RANLIB}" \
45643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45644 distclean) \
45645 || exit 1
45647 @endif target-libgloss
45649 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
45650 maybe-maintainer-clean-target-libgloss:
45651 @if target-libgloss
45652 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
45654 maintainer-clean-target-libgloss:
45655 @: $(MAKE); $(unstage)
45656 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
45657 r=`${PWD_COMMAND}`; export r; \
45658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45659 $(NORMAL_TARGET_EXPORTS) \
45660 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
45661 for flag in $(EXTRA_TARGET_FLAGS); do \
45662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45663 done; \
45664 (cd $(TARGET_SUBDIR)/libgloss && \
45665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45667 "RANLIB=$${RANLIB}" \
45668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45669 maintainer-clean) \
45670 || exit 1
45672 @endif target-libgloss
45678 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
45679 maybe-configure-target-libiberty:
45680 @if gcc-bootstrap
45681 configure-target-libiberty: stage_current
45682 @endif gcc-bootstrap
45683 @if target-libiberty
45684 maybe-configure-target-libiberty: configure-target-libiberty
45685 configure-target-libiberty:
45686 @: $(MAKE); $(unstage)
45687 @r=`${PWD_COMMAND}`; export r; \
45688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45689 echo "Checking multilib configuration for libiberty..."; \
45690 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
45691 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
45692 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
45693 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
45694 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
45695 else \
45696 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
45697 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
45698 fi; \
45699 else \
45700 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
45701 fi; \
45702 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
45703 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
45704 $(NORMAL_TARGET_EXPORTS) \
45705 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
45706 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
45707 case $(srcdir) in \
45708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45709 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
45710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45711 esac; \
45712 srcdiroption="--srcdir=$${topdir}/libiberty"; \
45713 libsrcdir="$$s/libiberty"; \
45714 rm -f no-such-file || : ; \
45715 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45716 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45717 --target=${target_alias} $${srcdiroption} \
45718 || exit 1
45719 @endif target-libiberty
45725 .PHONY: all-target-libiberty maybe-all-target-libiberty
45726 maybe-all-target-libiberty:
45727 @if gcc-bootstrap
45728 all-target-libiberty: stage_current
45729 @endif gcc-bootstrap
45730 @if target-libiberty
45731 TARGET-target-libiberty=all
45732 maybe-all-target-libiberty: all-target-libiberty
45733 all-target-libiberty: configure-target-libiberty
45734 @: $(MAKE); $(unstage)
45735 @r=`${PWD_COMMAND}`; export r; \
45736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45737 $(NORMAL_TARGET_EXPORTS) \
45738 (cd $(TARGET_SUBDIR)/libiberty && \
45739 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45740 $(TARGET-target-libiberty))
45741 @endif target-libiberty
45747 .PHONY: check-target-libiberty maybe-check-target-libiberty
45748 maybe-check-target-libiberty:
45749 @if target-libiberty
45750 maybe-check-target-libiberty: check-target-libiberty
45752 check-target-libiberty:
45753 @: $(MAKE); $(unstage)
45754 @r=`${PWD_COMMAND}`; export r; \
45755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45756 $(NORMAL_TARGET_EXPORTS) \
45757 (cd $(TARGET_SUBDIR)/libiberty && \
45758 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45760 @endif target-libiberty
45762 .PHONY: install-target-libiberty maybe-install-target-libiberty
45763 maybe-install-target-libiberty:
45764 @if target-libiberty
45765 maybe-install-target-libiberty: install-target-libiberty
45767 install-target-libiberty: installdirs
45768 @: $(MAKE); $(unstage)
45769 @r=`${PWD_COMMAND}`; export r; \
45770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45771 $(NORMAL_TARGET_EXPORTS) \
45772 (cd $(TARGET_SUBDIR)/libiberty && \
45773 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45775 @endif target-libiberty
45777 # Other targets (info, dvi, pdf, etc.)
45779 .PHONY: maybe-info-target-libiberty info-target-libiberty
45780 maybe-info-target-libiberty:
45781 @if target-libiberty
45782 maybe-info-target-libiberty: info-target-libiberty
45784 info-target-libiberty: \
45785 configure-target-libiberty
45786 @: $(MAKE); $(unstage)
45787 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45788 r=`${PWD_COMMAND}`; export r; \
45789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45790 $(NORMAL_TARGET_EXPORTS) \
45791 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
45792 for flag in $(EXTRA_TARGET_FLAGS); do \
45793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45794 done; \
45795 (cd $(TARGET_SUBDIR)/libiberty && \
45796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45798 "RANLIB=$${RANLIB}" \
45799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45800 info) \
45801 || exit 1
45803 @endif target-libiberty
45805 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
45806 maybe-dvi-target-libiberty:
45807 @if target-libiberty
45808 maybe-dvi-target-libiberty: dvi-target-libiberty
45810 dvi-target-libiberty: \
45811 configure-target-libiberty
45812 @: $(MAKE); $(unstage)
45813 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45814 r=`${PWD_COMMAND}`; export r; \
45815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45816 $(NORMAL_TARGET_EXPORTS) \
45817 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
45818 for flag in $(EXTRA_TARGET_FLAGS); do \
45819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45820 done; \
45821 (cd $(TARGET_SUBDIR)/libiberty && \
45822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45824 "RANLIB=$${RANLIB}" \
45825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45826 dvi) \
45827 || exit 1
45829 @endif target-libiberty
45831 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
45832 maybe-pdf-target-libiberty:
45833 @if target-libiberty
45834 maybe-pdf-target-libiberty: pdf-target-libiberty
45836 pdf-target-libiberty: \
45837 configure-target-libiberty
45838 @: $(MAKE); $(unstage)
45839 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45840 r=`${PWD_COMMAND}`; export r; \
45841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45842 $(NORMAL_TARGET_EXPORTS) \
45843 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
45844 for flag in $(EXTRA_TARGET_FLAGS); do \
45845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45846 done; \
45847 (cd $(TARGET_SUBDIR)/libiberty && \
45848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45850 "RANLIB=$${RANLIB}" \
45851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45852 pdf) \
45853 || exit 1
45855 @endif target-libiberty
45857 .PHONY: maybe-html-target-libiberty html-target-libiberty
45858 maybe-html-target-libiberty:
45859 @if target-libiberty
45860 maybe-html-target-libiberty: html-target-libiberty
45862 html-target-libiberty: \
45863 configure-target-libiberty
45864 @: $(MAKE); $(unstage)
45865 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45866 r=`${PWD_COMMAND}`; export r; \
45867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45868 $(NORMAL_TARGET_EXPORTS) \
45869 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
45870 for flag in $(EXTRA_TARGET_FLAGS); do \
45871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45872 done; \
45873 (cd $(TARGET_SUBDIR)/libiberty && \
45874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45876 "RANLIB=$${RANLIB}" \
45877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45878 html) \
45879 || exit 1
45881 @endif target-libiberty
45883 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
45884 maybe-TAGS-target-libiberty:
45885 @if target-libiberty
45886 maybe-TAGS-target-libiberty: TAGS-target-libiberty
45888 TAGS-target-libiberty: \
45889 configure-target-libiberty
45890 @: $(MAKE); $(unstage)
45891 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45892 r=`${PWD_COMMAND}`; export r; \
45893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45894 $(NORMAL_TARGET_EXPORTS) \
45895 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
45896 for flag in $(EXTRA_TARGET_FLAGS); do \
45897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45898 done; \
45899 (cd $(TARGET_SUBDIR)/libiberty && \
45900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45902 "RANLIB=$${RANLIB}" \
45903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45904 TAGS) \
45905 || exit 1
45907 @endif target-libiberty
45909 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
45910 maybe-install-info-target-libiberty:
45911 @if target-libiberty
45912 maybe-install-info-target-libiberty: install-info-target-libiberty
45914 install-info-target-libiberty: \
45915 configure-target-libiberty \
45916 info-target-libiberty
45917 @: $(MAKE); $(unstage)
45918 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45919 r=`${PWD_COMMAND}`; export r; \
45920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45921 $(NORMAL_TARGET_EXPORTS) \
45922 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
45923 for flag in $(EXTRA_TARGET_FLAGS); do \
45924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45925 done; \
45926 (cd $(TARGET_SUBDIR)/libiberty && \
45927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45929 "RANLIB=$${RANLIB}" \
45930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45931 install-info) \
45932 || exit 1
45934 @endif target-libiberty
45936 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
45937 maybe-install-pdf-target-libiberty:
45938 @if target-libiberty
45939 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
45941 install-pdf-target-libiberty: \
45942 configure-target-libiberty \
45943 pdf-target-libiberty
45944 @: $(MAKE); $(unstage)
45945 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45946 r=`${PWD_COMMAND}`; export r; \
45947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45948 $(NORMAL_TARGET_EXPORTS) \
45949 echo "Doing install-pdf in $(TARGET_SUBDIR)/libiberty" ; \
45950 for flag in $(EXTRA_TARGET_FLAGS); do \
45951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45952 done; \
45953 (cd $(TARGET_SUBDIR)/libiberty && \
45954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45956 "RANLIB=$${RANLIB}" \
45957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45958 install-pdf) \
45959 || exit 1
45961 @endif target-libiberty
45963 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
45964 maybe-install-html-target-libiberty:
45965 @if target-libiberty
45966 maybe-install-html-target-libiberty: install-html-target-libiberty
45968 install-html-target-libiberty: \
45969 configure-target-libiberty \
45970 html-target-libiberty
45971 @: $(MAKE); $(unstage)
45972 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45973 r=`${PWD_COMMAND}`; export r; \
45974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45975 $(NORMAL_TARGET_EXPORTS) \
45976 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
45977 for flag in $(EXTRA_TARGET_FLAGS); do \
45978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45979 done; \
45980 (cd $(TARGET_SUBDIR)/libiberty && \
45981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45983 "RANLIB=$${RANLIB}" \
45984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45985 install-html) \
45986 || exit 1
45988 @endif target-libiberty
45990 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
45991 maybe-installcheck-target-libiberty:
45992 @if target-libiberty
45993 maybe-installcheck-target-libiberty: installcheck-target-libiberty
45995 installcheck-target-libiberty: \
45996 configure-target-libiberty
45997 @: $(MAKE); $(unstage)
45998 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
45999 r=`${PWD_COMMAND}`; export r; \
46000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46001 $(NORMAL_TARGET_EXPORTS) \
46002 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
46003 for flag in $(EXTRA_TARGET_FLAGS); do \
46004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46005 done; \
46006 (cd $(TARGET_SUBDIR)/libiberty && \
46007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46009 "RANLIB=$${RANLIB}" \
46010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46011 installcheck) \
46012 || exit 1
46014 @endif target-libiberty
46016 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
46017 maybe-mostlyclean-target-libiberty:
46018 @if target-libiberty
46019 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
46021 mostlyclean-target-libiberty:
46022 @: $(MAKE); $(unstage)
46023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
46024 r=`${PWD_COMMAND}`; export r; \
46025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46026 $(NORMAL_TARGET_EXPORTS) \
46027 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
46028 for flag in $(EXTRA_TARGET_FLAGS); do \
46029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46030 done; \
46031 (cd $(TARGET_SUBDIR)/libiberty && \
46032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46034 "RANLIB=$${RANLIB}" \
46035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46036 mostlyclean) \
46037 || exit 1
46039 @endif target-libiberty
46041 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
46042 maybe-clean-target-libiberty:
46043 @if target-libiberty
46044 maybe-clean-target-libiberty: clean-target-libiberty
46046 clean-target-libiberty:
46047 @: $(MAKE); $(unstage)
46048 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
46049 r=`${PWD_COMMAND}`; export r; \
46050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46051 $(NORMAL_TARGET_EXPORTS) \
46052 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
46053 for flag in $(EXTRA_TARGET_FLAGS); do \
46054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46055 done; \
46056 (cd $(TARGET_SUBDIR)/libiberty && \
46057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46059 "RANLIB=$${RANLIB}" \
46060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46061 clean) \
46062 || exit 1
46064 @endif target-libiberty
46066 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
46067 maybe-distclean-target-libiberty:
46068 @if target-libiberty
46069 maybe-distclean-target-libiberty: distclean-target-libiberty
46071 distclean-target-libiberty:
46072 @: $(MAKE); $(unstage)
46073 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
46074 r=`${PWD_COMMAND}`; export r; \
46075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46076 $(NORMAL_TARGET_EXPORTS) \
46077 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
46078 for flag in $(EXTRA_TARGET_FLAGS); do \
46079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46080 done; \
46081 (cd $(TARGET_SUBDIR)/libiberty && \
46082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46084 "RANLIB=$${RANLIB}" \
46085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46086 distclean) \
46087 || exit 1
46089 @endif target-libiberty
46091 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
46092 maybe-maintainer-clean-target-libiberty:
46093 @if target-libiberty
46094 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
46096 maintainer-clean-target-libiberty:
46097 @: $(MAKE); $(unstage)
46098 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
46099 r=`${PWD_COMMAND}`; export r; \
46100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46101 $(NORMAL_TARGET_EXPORTS) \
46102 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
46103 for flag in $(EXTRA_TARGET_FLAGS); do \
46104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46105 done; \
46106 (cd $(TARGET_SUBDIR)/libiberty && \
46107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46109 "RANLIB=$${RANLIB}" \
46110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46111 maintainer-clean) \
46112 || exit 1
46114 @endif target-libiberty
46120 .PHONY: configure-target-gperf maybe-configure-target-gperf
46121 maybe-configure-target-gperf:
46122 @if gcc-bootstrap
46123 configure-target-gperf: stage_current
46124 @endif gcc-bootstrap
46125 @if target-gperf
46126 maybe-configure-target-gperf: configure-target-gperf
46127 configure-target-gperf:
46128 @: $(MAKE); $(unstage)
46129 @r=`${PWD_COMMAND}`; export r; \
46130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46131 echo "Checking multilib configuration for gperf..."; \
46132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
46133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
46134 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
46135 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
46136 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
46137 else \
46138 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
46139 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
46140 fi; \
46141 else \
46142 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
46143 fi; \
46144 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
46145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
46146 $(NORMAL_TARGET_EXPORTS) \
46147 echo Configuring in $(TARGET_SUBDIR)/gperf; \
46148 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
46149 case $(srcdir) in \
46150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46151 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
46152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46153 esac; \
46154 srcdiroption="--srcdir=$${topdir}/gperf"; \
46155 libsrcdir="$$s/gperf"; \
46156 rm -f no-such-file || : ; \
46157 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46158 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46159 --target=${target_alias} $${srcdiroption} \
46160 || exit 1
46161 @endif target-gperf
46167 .PHONY: all-target-gperf maybe-all-target-gperf
46168 maybe-all-target-gperf:
46169 @if gcc-bootstrap
46170 all-target-gperf: stage_current
46171 @endif gcc-bootstrap
46172 @if target-gperf
46173 TARGET-target-gperf=all
46174 maybe-all-target-gperf: all-target-gperf
46175 all-target-gperf: configure-target-gperf
46176 @: $(MAKE); $(unstage)
46177 @r=`${PWD_COMMAND}`; export r; \
46178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46179 $(NORMAL_TARGET_EXPORTS) \
46180 (cd $(TARGET_SUBDIR)/gperf && \
46181 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46182 $(TARGET-target-gperf))
46183 @endif target-gperf
46189 .PHONY: check-target-gperf maybe-check-target-gperf
46190 maybe-check-target-gperf:
46191 @if target-gperf
46192 maybe-check-target-gperf: check-target-gperf
46194 check-target-gperf:
46195 @: $(MAKE); $(unstage)
46196 @r=`${PWD_COMMAND}`; export r; \
46197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46198 $(NORMAL_TARGET_EXPORTS) \
46199 (cd $(TARGET_SUBDIR)/gperf && \
46200 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46202 @endif target-gperf
46204 .PHONY: install-target-gperf maybe-install-target-gperf
46205 maybe-install-target-gperf:
46206 @if target-gperf
46207 maybe-install-target-gperf: install-target-gperf
46209 install-target-gperf: installdirs
46210 @: $(MAKE); $(unstage)
46211 @r=`${PWD_COMMAND}`; export r; \
46212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46213 $(NORMAL_TARGET_EXPORTS) \
46214 (cd $(TARGET_SUBDIR)/gperf && \
46215 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46217 @endif target-gperf
46219 # Other targets (info, dvi, pdf, etc.)
46221 .PHONY: maybe-info-target-gperf info-target-gperf
46222 maybe-info-target-gperf:
46223 @if target-gperf
46224 maybe-info-target-gperf: info-target-gperf
46226 info-target-gperf: \
46227 configure-target-gperf
46228 @: $(MAKE); $(unstage)
46229 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46230 r=`${PWD_COMMAND}`; export r; \
46231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46232 $(NORMAL_TARGET_EXPORTS) \
46233 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
46234 for flag in $(EXTRA_TARGET_FLAGS); do \
46235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46236 done; \
46237 (cd $(TARGET_SUBDIR)/gperf && \
46238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46240 "RANLIB=$${RANLIB}" \
46241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46242 info) \
46243 || exit 1
46245 @endif target-gperf
46247 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
46248 maybe-dvi-target-gperf:
46249 @if target-gperf
46250 maybe-dvi-target-gperf: dvi-target-gperf
46252 dvi-target-gperf: \
46253 configure-target-gperf
46254 @: $(MAKE); $(unstage)
46255 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46256 r=`${PWD_COMMAND}`; export r; \
46257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46258 $(NORMAL_TARGET_EXPORTS) \
46259 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
46260 for flag in $(EXTRA_TARGET_FLAGS); do \
46261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46262 done; \
46263 (cd $(TARGET_SUBDIR)/gperf && \
46264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46266 "RANLIB=$${RANLIB}" \
46267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46268 dvi) \
46269 || exit 1
46271 @endif target-gperf
46273 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
46274 maybe-pdf-target-gperf:
46275 @if target-gperf
46276 maybe-pdf-target-gperf: pdf-target-gperf
46278 pdf-target-gperf: \
46279 configure-target-gperf
46280 @: $(MAKE); $(unstage)
46281 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46282 r=`${PWD_COMMAND}`; export r; \
46283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46284 $(NORMAL_TARGET_EXPORTS) \
46285 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
46286 for flag in $(EXTRA_TARGET_FLAGS); do \
46287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46288 done; \
46289 (cd $(TARGET_SUBDIR)/gperf && \
46290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46292 "RANLIB=$${RANLIB}" \
46293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46294 pdf) \
46295 || exit 1
46297 @endif target-gperf
46299 .PHONY: maybe-html-target-gperf html-target-gperf
46300 maybe-html-target-gperf:
46301 @if target-gperf
46302 maybe-html-target-gperf: html-target-gperf
46304 html-target-gperf: \
46305 configure-target-gperf
46306 @: $(MAKE); $(unstage)
46307 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46308 r=`${PWD_COMMAND}`; export r; \
46309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46310 $(NORMAL_TARGET_EXPORTS) \
46311 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
46312 for flag in $(EXTRA_TARGET_FLAGS); do \
46313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46314 done; \
46315 (cd $(TARGET_SUBDIR)/gperf && \
46316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46318 "RANLIB=$${RANLIB}" \
46319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46320 html) \
46321 || exit 1
46323 @endif target-gperf
46325 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
46326 maybe-TAGS-target-gperf:
46327 @if target-gperf
46328 maybe-TAGS-target-gperf: TAGS-target-gperf
46330 TAGS-target-gperf: \
46331 configure-target-gperf
46332 @: $(MAKE); $(unstage)
46333 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46334 r=`${PWD_COMMAND}`; export r; \
46335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46336 $(NORMAL_TARGET_EXPORTS) \
46337 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
46338 for flag in $(EXTRA_TARGET_FLAGS); do \
46339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46340 done; \
46341 (cd $(TARGET_SUBDIR)/gperf && \
46342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46344 "RANLIB=$${RANLIB}" \
46345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46346 TAGS) \
46347 || exit 1
46349 @endif target-gperf
46351 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
46352 maybe-install-info-target-gperf:
46353 @if target-gperf
46354 maybe-install-info-target-gperf: install-info-target-gperf
46356 install-info-target-gperf: \
46357 configure-target-gperf \
46358 info-target-gperf
46359 @: $(MAKE); $(unstage)
46360 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46361 r=`${PWD_COMMAND}`; export r; \
46362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46363 $(NORMAL_TARGET_EXPORTS) \
46364 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
46365 for flag in $(EXTRA_TARGET_FLAGS); do \
46366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46367 done; \
46368 (cd $(TARGET_SUBDIR)/gperf && \
46369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46371 "RANLIB=$${RANLIB}" \
46372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46373 install-info) \
46374 || exit 1
46376 @endif target-gperf
46378 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
46379 maybe-install-pdf-target-gperf:
46380 @if target-gperf
46381 maybe-install-pdf-target-gperf: install-pdf-target-gperf
46383 install-pdf-target-gperf: \
46384 configure-target-gperf \
46385 pdf-target-gperf
46386 @: $(MAKE); $(unstage)
46387 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46388 r=`${PWD_COMMAND}`; export r; \
46389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46390 $(NORMAL_TARGET_EXPORTS) \
46391 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
46392 for flag in $(EXTRA_TARGET_FLAGS); do \
46393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46394 done; \
46395 (cd $(TARGET_SUBDIR)/gperf && \
46396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46398 "RANLIB=$${RANLIB}" \
46399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46400 install-pdf) \
46401 || exit 1
46403 @endif target-gperf
46405 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
46406 maybe-install-html-target-gperf:
46407 @if target-gperf
46408 maybe-install-html-target-gperf: install-html-target-gperf
46410 install-html-target-gperf: \
46411 configure-target-gperf \
46412 html-target-gperf
46413 @: $(MAKE); $(unstage)
46414 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46415 r=`${PWD_COMMAND}`; export r; \
46416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46417 $(NORMAL_TARGET_EXPORTS) \
46418 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
46419 for flag in $(EXTRA_TARGET_FLAGS); do \
46420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46421 done; \
46422 (cd $(TARGET_SUBDIR)/gperf && \
46423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46425 "RANLIB=$${RANLIB}" \
46426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46427 install-html) \
46428 || exit 1
46430 @endif target-gperf
46432 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
46433 maybe-installcheck-target-gperf:
46434 @if target-gperf
46435 maybe-installcheck-target-gperf: installcheck-target-gperf
46437 installcheck-target-gperf: \
46438 configure-target-gperf
46439 @: $(MAKE); $(unstage)
46440 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46441 r=`${PWD_COMMAND}`; export r; \
46442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46443 $(NORMAL_TARGET_EXPORTS) \
46444 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
46445 for flag in $(EXTRA_TARGET_FLAGS); do \
46446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46447 done; \
46448 (cd $(TARGET_SUBDIR)/gperf && \
46449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46451 "RANLIB=$${RANLIB}" \
46452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46453 installcheck) \
46454 || exit 1
46456 @endif target-gperf
46458 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
46459 maybe-mostlyclean-target-gperf:
46460 @if target-gperf
46461 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
46463 mostlyclean-target-gperf:
46464 @: $(MAKE); $(unstage)
46465 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46466 r=`${PWD_COMMAND}`; export r; \
46467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46468 $(NORMAL_TARGET_EXPORTS) \
46469 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
46470 for flag in $(EXTRA_TARGET_FLAGS); do \
46471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46472 done; \
46473 (cd $(TARGET_SUBDIR)/gperf && \
46474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46476 "RANLIB=$${RANLIB}" \
46477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46478 mostlyclean) \
46479 || exit 1
46481 @endif target-gperf
46483 .PHONY: maybe-clean-target-gperf clean-target-gperf
46484 maybe-clean-target-gperf:
46485 @if target-gperf
46486 maybe-clean-target-gperf: clean-target-gperf
46488 clean-target-gperf:
46489 @: $(MAKE); $(unstage)
46490 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46491 r=`${PWD_COMMAND}`; export r; \
46492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46493 $(NORMAL_TARGET_EXPORTS) \
46494 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
46495 for flag in $(EXTRA_TARGET_FLAGS); do \
46496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46497 done; \
46498 (cd $(TARGET_SUBDIR)/gperf && \
46499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46501 "RANLIB=$${RANLIB}" \
46502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46503 clean) \
46504 || exit 1
46506 @endif target-gperf
46508 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
46509 maybe-distclean-target-gperf:
46510 @if target-gperf
46511 maybe-distclean-target-gperf: distclean-target-gperf
46513 distclean-target-gperf:
46514 @: $(MAKE); $(unstage)
46515 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46516 r=`${PWD_COMMAND}`; export r; \
46517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46518 $(NORMAL_TARGET_EXPORTS) \
46519 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
46520 for flag in $(EXTRA_TARGET_FLAGS); do \
46521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46522 done; \
46523 (cd $(TARGET_SUBDIR)/gperf && \
46524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46526 "RANLIB=$${RANLIB}" \
46527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46528 distclean) \
46529 || exit 1
46531 @endif target-gperf
46533 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
46534 maybe-maintainer-clean-target-gperf:
46535 @if target-gperf
46536 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
46538 maintainer-clean-target-gperf:
46539 @: $(MAKE); $(unstage)
46540 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
46541 r=`${PWD_COMMAND}`; export r; \
46542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46543 $(NORMAL_TARGET_EXPORTS) \
46544 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
46545 for flag in $(EXTRA_TARGET_FLAGS); do \
46546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46547 done; \
46548 (cd $(TARGET_SUBDIR)/gperf && \
46549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46551 "RANLIB=$${RANLIB}" \
46552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46553 maintainer-clean) \
46554 || exit 1
46556 @endif target-gperf
46562 .PHONY: configure-target-examples maybe-configure-target-examples
46563 maybe-configure-target-examples:
46564 @if gcc-bootstrap
46565 configure-target-examples: stage_current
46566 @endif gcc-bootstrap
46567 @if target-examples
46568 maybe-configure-target-examples: configure-target-examples
46569 configure-target-examples:
46570 @: $(MAKE); $(unstage)
46571 @r=`${PWD_COMMAND}`; export r; \
46572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46573 echo "Checking multilib configuration for examples..."; \
46574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
46575 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
46576 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
46577 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
46578 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
46579 else \
46580 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
46581 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
46582 fi; \
46583 else \
46584 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
46585 fi; \
46586 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
46587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
46588 $(NORMAL_TARGET_EXPORTS) \
46589 echo Configuring in $(TARGET_SUBDIR)/examples; \
46590 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
46591 case $(srcdir) in \
46592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46593 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
46594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46595 esac; \
46596 srcdiroption="--srcdir=$${topdir}/examples"; \
46597 libsrcdir="$$s/examples"; \
46598 rm -f no-such-file || : ; \
46599 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46600 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46601 --target=${target_alias} $${srcdiroption} \
46602 || exit 1
46603 @endif target-examples
46609 .PHONY: all-target-examples maybe-all-target-examples
46610 maybe-all-target-examples:
46611 @if gcc-bootstrap
46612 all-target-examples: stage_current
46613 @endif gcc-bootstrap
46614 @if target-examples
46615 TARGET-target-examples=all
46616 maybe-all-target-examples: all-target-examples
46617 all-target-examples: configure-target-examples
46618 @: $(MAKE); $(unstage)
46619 @r=`${PWD_COMMAND}`; export r; \
46620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46621 $(NORMAL_TARGET_EXPORTS) \
46622 (cd $(TARGET_SUBDIR)/examples && \
46623 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
46624 $(TARGET-target-examples))
46625 @endif target-examples
46631 .PHONY: check-target-examples maybe-check-target-examples
46632 maybe-check-target-examples:
46633 @if target-examples
46634 maybe-check-target-examples: check-target-examples
46636 # Dummy target for uncheckable module.
46637 check-target-examples:
46639 @endif target-examples
46641 .PHONY: install-target-examples maybe-install-target-examples
46642 maybe-install-target-examples:
46643 @if target-examples
46644 maybe-install-target-examples: install-target-examples
46646 # Dummy target for uninstallable.
46647 install-target-examples:
46649 @endif target-examples
46651 # Other targets (info, dvi, pdf, etc.)
46653 .PHONY: maybe-info-target-examples info-target-examples
46654 maybe-info-target-examples:
46655 @if target-examples
46656 maybe-info-target-examples: info-target-examples
46658 info-target-examples: \
46659 configure-target-examples
46660 @: $(MAKE); $(unstage)
46661 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46662 r=`${PWD_COMMAND}`; export r; \
46663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46664 $(NORMAL_TARGET_EXPORTS) \
46665 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
46666 for flag in $(EXTRA_TARGET_FLAGS); do \
46667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46668 done; \
46669 (cd $(TARGET_SUBDIR)/examples && \
46670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46672 "RANLIB=$${RANLIB}" \
46673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46674 info) \
46675 || exit 1
46677 @endif target-examples
46679 .PHONY: maybe-dvi-target-examples dvi-target-examples
46680 maybe-dvi-target-examples:
46681 @if target-examples
46682 maybe-dvi-target-examples: dvi-target-examples
46684 dvi-target-examples: \
46685 configure-target-examples
46686 @: $(MAKE); $(unstage)
46687 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46688 r=`${PWD_COMMAND}`; export r; \
46689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46690 $(NORMAL_TARGET_EXPORTS) \
46691 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
46692 for flag in $(EXTRA_TARGET_FLAGS); do \
46693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46694 done; \
46695 (cd $(TARGET_SUBDIR)/examples && \
46696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46698 "RANLIB=$${RANLIB}" \
46699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46700 dvi) \
46701 || exit 1
46703 @endif target-examples
46705 .PHONY: maybe-pdf-target-examples pdf-target-examples
46706 maybe-pdf-target-examples:
46707 @if target-examples
46708 maybe-pdf-target-examples: pdf-target-examples
46710 pdf-target-examples: \
46711 configure-target-examples
46712 @: $(MAKE); $(unstage)
46713 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46714 r=`${PWD_COMMAND}`; export r; \
46715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46716 $(NORMAL_TARGET_EXPORTS) \
46717 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
46718 for flag in $(EXTRA_TARGET_FLAGS); do \
46719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46720 done; \
46721 (cd $(TARGET_SUBDIR)/examples && \
46722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46724 "RANLIB=$${RANLIB}" \
46725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46726 pdf) \
46727 || exit 1
46729 @endif target-examples
46731 .PHONY: maybe-html-target-examples html-target-examples
46732 maybe-html-target-examples:
46733 @if target-examples
46734 maybe-html-target-examples: html-target-examples
46736 html-target-examples: \
46737 configure-target-examples
46738 @: $(MAKE); $(unstage)
46739 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46740 r=`${PWD_COMMAND}`; export r; \
46741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46742 $(NORMAL_TARGET_EXPORTS) \
46743 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
46744 for flag in $(EXTRA_TARGET_FLAGS); do \
46745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46746 done; \
46747 (cd $(TARGET_SUBDIR)/examples && \
46748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46750 "RANLIB=$${RANLIB}" \
46751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46752 html) \
46753 || exit 1
46755 @endif target-examples
46757 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
46758 maybe-TAGS-target-examples:
46759 @if target-examples
46760 maybe-TAGS-target-examples: TAGS-target-examples
46762 TAGS-target-examples: \
46763 configure-target-examples
46764 @: $(MAKE); $(unstage)
46765 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46766 r=`${PWD_COMMAND}`; export r; \
46767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46768 $(NORMAL_TARGET_EXPORTS) \
46769 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
46770 for flag in $(EXTRA_TARGET_FLAGS); do \
46771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46772 done; \
46773 (cd $(TARGET_SUBDIR)/examples && \
46774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46776 "RANLIB=$${RANLIB}" \
46777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46778 TAGS) \
46779 || exit 1
46781 @endif target-examples
46783 .PHONY: maybe-install-info-target-examples install-info-target-examples
46784 maybe-install-info-target-examples:
46785 @if target-examples
46786 maybe-install-info-target-examples: install-info-target-examples
46788 install-info-target-examples: \
46789 configure-target-examples \
46790 info-target-examples
46791 @: $(MAKE); $(unstage)
46792 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46793 r=`${PWD_COMMAND}`; export r; \
46794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46795 $(NORMAL_TARGET_EXPORTS) \
46796 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
46797 for flag in $(EXTRA_TARGET_FLAGS); do \
46798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46799 done; \
46800 (cd $(TARGET_SUBDIR)/examples && \
46801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46803 "RANLIB=$${RANLIB}" \
46804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46805 install-info) \
46806 || exit 1
46808 @endif target-examples
46810 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
46811 maybe-install-pdf-target-examples:
46812 @if target-examples
46813 maybe-install-pdf-target-examples: install-pdf-target-examples
46815 install-pdf-target-examples: \
46816 configure-target-examples \
46817 pdf-target-examples
46818 @: $(MAKE); $(unstage)
46819 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46820 r=`${PWD_COMMAND}`; export r; \
46821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46822 $(NORMAL_TARGET_EXPORTS) \
46823 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
46824 for flag in $(EXTRA_TARGET_FLAGS); do \
46825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46826 done; \
46827 (cd $(TARGET_SUBDIR)/examples && \
46828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46830 "RANLIB=$${RANLIB}" \
46831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46832 install-pdf) \
46833 || exit 1
46835 @endif target-examples
46837 .PHONY: maybe-install-html-target-examples install-html-target-examples
46838 maybe-install-html-target-examples:
46839 @if target-examples
46840 maybe-install-html-target-examples: install-html-target-examples
46842 install-html-target-examples: \
46843 configure-target-examples \
46844 html-target-examples
46845 @: $(MAKE); $(unstage)
46846 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46847 r=`${PWD_COMMAND}`; export r; \
46848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46849 $(NORMAL_TARGET_EXPORTS) \
46850 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
46851 for flag in $(EXTRA_TARGET_FLAGS); do \
46852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46853 done; \
46854 (cd $(TARGET_SUBDIR)/examples && \
46855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46857 "RANLIB=$${RANLIB}" \
46858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46859 install-html) \
46860 || exit 1
46862 @endif target-examples
46864 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
46865 maybe-installcheck-target-examples:
46866 @if target-examples
46867 maybe-installcheck-target-examples: installcheck-target-examples
46869 installcheck-target-examples: \
46870 configure-target-examples
46871 @: $(MAKE); $(unstage)
46872 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46873 r=`${PWD_COMMAND}`; export r; \
46874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46875 $(NORMAL_TARGET_EXPORTS) \
46876 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
46877 for flag in $(EXTRA_TARGET_FLAGS); do \
46878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46879 done; \
46880 (cd $(TARGET_SUBDIR)/examples && \
46881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46883 "RANLIB=$${RANLIB}" \
46884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46885 installcheck) \
46886 || exit 1
46888 @endif target-examples
46890 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
46891 maybe-mostlyclean-target-examples:
46892 @if target-examples
46893 maybe-mostlyclean-target-examples: mostlyclean-target-examples
46895 mostlyclean-target-examples:
46896 @: $(MAKE); $(unstage)
46897 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46898 r=`${PWD_COMMAND}`; export r; \
46899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46900 $(NORMAL_TARGET_EXPORTS) \
46901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
46902 for flag in $(EXTRA_TARGET_FLAGS); do \
46903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46904 done; \
46905 (cd $(TARGET_SUBDIR)/examples && \
46906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46908 "RANLIB=$${RANLIB}" \
46909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46910 mostlyclean) \
46911 || exit 1
46913 @endif target-examples
46915 .PHONY: maybe-clean-target-examples clean-target-examples
46916 maybe-clean-target-examples:
46917 @if target-examples
46918 maybe-clean-target-examples: clean-target-examples
46920 clean-target-examples:
46921 @: $(MAKE); $(unstage)
46922 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46923 r=`${PWD_COMMAND}`; export r; \
46924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46925 $(NORMAL_TARGET_EXPORTS) \
46926 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
46927 for flag in $(EXTRA_TARGET_FLAGS); do \
46928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46929 done; \
46930 (cd $(TARGET_SUBDIR)/examples && \
46931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46933 "RANLIB=$${RANLIB}" \
46934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46935 clean) \
46936 || exit 1
46938 @endif target-examples
46940 .PHONY: maybe-distclean-target-examples distclean-target-examples
46941 maybe-distclean-target-examples:
46942 @if target-examples
46943 maybe-distclean-target-examples: distclean-target-examples
46945 distclean-target-examples:
46946 @: $(MAKE); $(unstage)
46947 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46948 r=`${PWD_COMMAND}`; export r; \
46949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46950 $(NORMAL_TARGET_EXPORTS) \
46951 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
46952 for flag in $(EXTRA_TARGET_FLAGS); do \
46953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46954 done; \
46955 (cd $(TARGET_SUBDIR)/examples && \
46956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46958 "RANLIB=$${RANLIB}" \
46959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46960 distclean) \
46961 || exit 1
46963 @endif target-examples
46965 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
46966 maybe-maintainer-clean-target-examples:
46967 @if target-examples
46968 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
46970 maintainer-clean-target-examples:
46971 @: $(MAKE); $(unstage)
46972 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
46973 r=`${PWD_COMMAND}`; export r; \
46974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46975 $(NORMAL_TARGET_EXPORTS) \
46976 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
46977 for flag in $(EXTRA_TARGET_FLAGS); do \
46978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46979 done; \
46980 (cd $(TARGET_SUBDIR)/examples && \
46981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46983 "RANLIB=$${RANLIB}" \
46984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46985 maintainer-clean) \
46986 || exit 1
46988 @endif target-examples
46994 .PHONY: configure-target-libffi maybe-configure-target-libffi
46995 maybe-configure-target-libffi:
46996 @if gcc-bootstrap
46997 configure-target-libffi: stage_current
46998 @endif gcc-bootstrap
46999 @if target-libffi
47000 maybe-configure-target-libffi: configure-target-libffi
47001 configure-target-libffi:
47002 @: $(MAKE); $(unstage)
47003 @r=`${PWD_COMMAND}`; export r; \
47004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47005 echo "Checking multilib configuration for libffi..."; \
47006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
47007 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
47008 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
47009 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
47010 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
47011 else \
47012 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
47013 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47014 fi; \
47015 else \
47016 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
47017 fi; \
47018 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
47019 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
47020 $(NORMAL_TARGET_EXPORTS) \
47021 echo Configuring in $(TARGET_SUBDIR)/libffi; \
47022 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
47023 case $(srcdir) in \
47024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47025 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
47026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47027 esac; \
47028 srcdiroption="--srcdir=$${topdir}/libffi"; \
47029 libsrcdir="$$s/libffi"; \
47030 rm -f no-such-file || : ; \
47031 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47032 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47033 --target=${target_alias} $${srcdiroption} \
47034 || exit 1
47035 @endif target-libffi
47041 .PHONY: all-target-libffi maybe-all-target-libffi
47042 maybe-all-target-libffi:
47043 @if gcc-bootstrap
47044 all-target-libffi: stage_current
47045 @endif gcc-bootstrap
47046 @if target-libffi
47047 TARGET-target-libffi=all
47048 maybe-all-target-libffi: all-target-libffi
47049 all-target-libffi: configure-target-libffi
47050 @: $(MAKE); $(unstage)
47051 @r=`${PWD_COMMAND}`; export r; \
47052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47053 $(NORMAL_TARGET_EXPORTS) \
47054 (cd $(TARGET_SUBDIR)/libffi && \
47055 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47056 $(TARGET-target-libffi))
47057 @endif target-libffi
47063 .PHONY: check-target-libffi maybe-check-target-libffi
47064 maybe-check-target-libffi:
47065 @if target-libffi
47066 maybe-check-target-libffi: check-target-libffi
47068 check-target-libffi:
47069 @: $(MAKE); $(unstage)
47070 @r=`${PWD_COMMAND}`; export r; \
47071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47072 $(NORMAL_TARGET_EXPORTS) \
47073 (cd $(TARGET_SUBDIR)/libffi && \
47074 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47076 @endif target-libffi
47078 .PHONY: install-target-libffi maybe-install-target-libffi
47079 maybe-install-target-libffi:
47080 @if target-libffi
47081 maybe-install-target-libffi: install-target-libffi
47083 install-target-libffi: installdirs
47084 @: $(MAKE); $(unstage)
47085 @r=`${PWD_COMMAND}`; export r; \
47086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47087 $(NORMAL_TARGET_EXPORTS) \
47088 (cd $(TARGET_SUBDIR)/libffi && \
47089 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47091 @endif target-libffi
47093 # Other targets (info, dvi, pdf, etc.)
47095 .PHONY: maybe-info-target-libffi info-target-libffi
47096 maybe-info-target-libffi:
47097 @if target-libffi
47098 maybe-info-target-libffi: info-target-libffi
47100 info-target-libffi: \
47101 configure-target-libffi
47102 @: $(MAKE); $(unstage)
47103 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47104 r=`${PWD_COMMAND}`; export r; \
47105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47106 $(NORMAL_TARGET_EXPORTS) \
47107 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
47108 for flag in $(EXTRA_TARGET_FLAGS); do \
47109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47110 done; \
47111 (cd $(TARGET_SUBDIR)/libffi && \
47112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47114 "RANLIB=$${RANLIB}" \
47115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47116 info) \
47117 || exit 1
47119 @endif target-libffi
47121 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
47122 maybe-dvi-target-libffi:
47123 @if target-libffi
47124 maybe-dvi-target-libffi: dvi-target-libffi
47126 dvi-target-libffi: \
47127 configure-target-libffi
47128 @: $(MAKE); $(unstage)
47129 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47130 r=`${PWD_COMMAND}`; export r; \
47131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47132 $(NORMAL_TARGET_EXPORTS) \
47133 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
47134 for flag in $(EXTRA_TARGET_FLAGS); do \
47135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47136 done; \
47137 (cd $(TARGET_SUBDIR)/libffi && \
47138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47140 "RANLIB=$${RANLIB}" \
47141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47142 dvi) \
47143 || exit 1
47145 @endif target-libffi
47147 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
47148 maybe-pdf-target-libffi:
47149 @if target-libffi
47150 maybe-pdf-target-libffi: pdf-target-libffi
47152 pdf-target-libffi: \
47153 configure-target-libffi
47154 @: $(MAKE); $(unstage)
47155 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47156 r=`${PWD_COMMAND}`; export r; \
47157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47158 $(NORMAL_TARGET_EXPORTS) \
47159 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
47160 for flag in $(EXTRA_TARGET_FLAGS); do \
47161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47162 done; \
47163 (cd $(TARGET_SUBDIR)/libffi && \
47164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47166 "RANLIB=$${RANLIB}" \
47167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47168 pdf) \
47169 || exit 1
47171 @endif target-libffi
47173 .PHONY: maybe-html-target-libffi html-target-libffi
47174 maybe-html-target-libffi:
47175 @if target-libffi
47176 maybe-html-target-libffi: html-target-libffi
47178 html-target-libffi: \
47179 configure-target-libffi
47180 @: $(MAKE); $(unstage)
47181 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47182 r=`${PWD_COMMAND}`; export r; \
47183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47184 $(NORMAL_TARGET_EXPORTS) \
47185 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
47186 for flag in $(EXTRA_TARGET_FLAGS); do \
47187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47188 done; \
47189 (cd $(TARGET_SUBDIR)/libffi && \
47190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47192 "RANLIB=$${RANLIB}" \
47193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47194 html) \
47195 || exit 1
47197 @endif target-libffi
47199 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
47200 maybe-TAGS-target-libffi:
47201 @if target-libffi
47202 maybe-TAGS-target-libffi: TAGS-target-libffi
47204 TAGS-target-libffi: \
47205 configure-target-libffi
47206 @: $(MAKE); $(unstage)
47207 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47208 r=`${PWD_COMMAND}`; export r; \
47209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47210 $(NORMAL_TARGET_EXPORTS) \
47211 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
47212 for flag in $(EXTRA_TARGET_FLAGS); do \
47213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47214 done; \
47215 (cd $(TARGET_SUBDIR)/libffi && \
47216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47218 "RANLIB=$${RANLIB}" \
47219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47220 TAGS) \
47221 || exit 1
47223 @endif target-libffi
47225 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
47226 maybe-install-info-target-libffi:
47227 @if target-libffi
47228 maybe-install-info-target-libffi: install-info-target-libffi
47230 install-info-target-libffi: \
47231 configure-target-libffi \
47232 info-target-libffi
47233 @: $(MAKE); $(unstage)
47234 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47235 r=`${PWD_COMMAND}`; export r; \
47236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47237 $(NORMAL_TARGET_EXPORTS) \
47238 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
47239 for flag in $(EXTRA_TARGET_FLAGS); do \
47240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47241 done; \
47242 (cd $(TARGET_SUBDIR)/libffi && \
47243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47245 "RANLIB=$${RANLIB}" \
47246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47247 install-info) \
47248 || exit 1
47250 @endif target-libffi
47252 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
47253 maybe-install-pdf-target-libffi:
47254 @if target-libffi
47255 maybe-install-pdf-target-libffi: install-pdf-target-libffi
47257 install-pdf-target-libffi: \
47258 configure-target-libffi \
47259 pdf-target-libffi
47260 @: $(MAKE); $(unstage)
47261 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47262 r=`${PWD_COMMAND}`; export r; \
47263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47264 $(NORMAL_TARGET_EXPORTS) \
47265 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
47266 for flag in $(EXTRA_TARGET_FLAGS); do \
47267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47268 done; \
47269 (cd $(TARGET_SUBDIR)/libffi && \
47270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47272 "RANLIB=$${RANLIB}" \
47273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47274 install-pdf) \
47275 || exit 1
47277 @endif target-libffi
47279 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
47280 maybe-install-html-target-libffi:
47281 @if target-libffi
47282 maybe-install-html-target-libffi: install-html-target-libffi
47284 install-html-target-libffi: \
47285 configure-target-libffi \
47286 html-target-libffi
47287 @: $(MAKE); $(unstage)
47288 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47289 r=`${PWD_COMMAND}`; export r; \
47290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47291 $(NORMAL_TARGET_EXPORTS) \
47292 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
47293 for flag in $(EXTRA_TARGET_FLAGS); do \
47294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47295 done; \
47296 (cd $(TARGET_SUBDIR)/libffi && \
47297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47299 "RANLIB=$${RANLIB}" \
47300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47301 install-html) \
47302 || exit 1
47304 @endif target-libffi
47306 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
47307 maybe-installcheck-target-libffi:
47308 @if target-libffi
47309 maybe-installcheck-target-libffi: installcheck-target-libffi
47311 installcheck-target-libffi: \
47312 configure-target-libffi
47313 @: $(MAKE); $(unstage)
47314 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47315 r=`${PWD_COMMAND}`; export r; \
47316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47317 $(NORMAL_TARGET_EXPORTS) \
47318 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
47319 for flag in $(EXTRA_TARGET_FLAGS); do \
47320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47321 done; \
47322 (cd $(TARGET_SUBDIR)/libffi && \
47323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47325 "RANLIB=$${RANLIB}" \
47326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47327 installcheck) \
47328 || exit 1
47330 @endif target-libffi
47332 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
47333 maybe-mostlyclean-target-libffi:
47334 @if target-libffi
47335 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
47337 mostlyclean-target-libffi:
47338 @: $(MAKE); $(unstage)
47339 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47340 r=`${PWD_COMMAND}`; export r; \
47341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47342 $(NORMAL_TARGET_EXPORTS) \
47343 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
47344 for flag in $(EXTRA_TARGET_FLAGS); do \
47345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47346 done; \
47347 (cd $(TARGET_SUBDIR)/libffi && \
47348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47350 "RANLIB=$${RANLIB}" \
47351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47352 mostlyclean) \
47353 || exit 1
47355 @endif target-libffi
47357 .PHONY: maybe-clean-target-libffi clean-target-libffi
47358 maybe-clean-target-libffi:
47359 @if target-libffi
47360 maybe-clean-target-libffi: clean-target-libffi
47362 clean-target-libffi:
47363 @: $(MAKE); $(unstage)
47364 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47365 r=`${PWD_COMMAND}`; export r; \
47366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47367 $(NORMAL_TARGET_EXPORTS) \
47368 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
47369 for flag in $(EXTRA_TARGET_FLAGS); do \
47370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47371 done; \
47372 (cd $(TARGET_SUBDIR)/libffi && \
47373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47375 "RANLIB=$${RANLIB}" \
47376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47377 clean) \
47378 || exit 1
47380 @endif target-libffi
47382 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
47383 maybe-distclean-target-libffi:
47384 @if target-libffi
47385 maybe-distclean-target-libffi: distclean-target-libffi
47387 distclean-target-libffi:
47388 @: $(MAKE); $(unstage)
47389 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47390 r=`${PWD_COMMAND}`; export r; \
47391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47392 $(NORMAL_TARGET_EXPORTS) \
47393 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
47394 for flag in $(EXTRA_TARGET_FLAGS); do \
47395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47396 done; \
47397 (cd $(TARGET_SUBDIR)/libffi && \
47398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47400 "RANLIB=$${RANLIB}" \
47401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47402 distclean) \
47403 || exit 1
47405 @endif target-libffi
47407 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
47408 maybe-maintainer-clean-target-libffi:
47409 @if target-libffi
47410 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
47412 maintainer-clean-target-libffi:
47413 @: $(MAKE); $(unstage)
47414 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
47415 r=`${PWD_COMMAND}`; export r; \
47416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47417 $(NORMAL_TARGET_EXPORTS) \
47418 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
47419 for flag in $(EXTRA_TARGET_FLAGS); do \
47420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47421 done; \
47422 (cd $(TARGET_SUBDIR)/libffi && \
47423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47425 "RANLIB=$${RANLIB}" \
47426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47427 maintainer-clean) \
47428 || exit 1
47430 @endif target-libffi
47436 .PHONY: configure-target-libjava maybe-configure-target-libjava
47437 maybe-configure-target-libjava:
47438 @if gcc-bootstrap
47439 configure-target-libjava: stage_current
47440 @endif gcc-bootstrap
47441 @if target-libjava
47442 maybe-configure-target-libjava: configure-target-libjava
47443 configure-target-libjava:
47444 @: $(MAKE); $(unstage)
47445 @r=`${PWD_COMMAND}`; export r; \
47446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47447 echo "Checking multilib configuration for libjava..."; \
47448 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
47449 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
47450 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
47451 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
47452 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
47453 else \
47454 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
47455 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
47456 fi; \
47457 else \
47458 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
47459 fi; \
47460 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
47461 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
47462 $(RAW_CXX_TARGET_EXPORTS) \
47463 echo Configuring in $(TARGET_SUBDIR)/libjava; \
47464 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
47465 case $(srcdir) in \
47466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47467 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
47468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47469 esac; \
47470 srcdiroption="--srcdir=$${topdir}/libjava"; \
47471 libsrcdir="$$s/libjava"; \
47472 rm -f no-such-file || : ; \
47473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47474 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47475 --target=${target_alias} $${srcdiroption} \
47476 || exit 1
47477 @endif target-libjava
47483 .PHONY: all-target-libjava maybe-all-target-libjava
47484 maybe-all-target-libjava:
47485 @if gcc-bootstrap
47486 all-target-libjava: stage_current
47487 @endif gcc-bootstrap
47488 @if target-libjava
47489 TARGET-target-libjava=all
47490 maybe-all-target-libjava: all-target-libjava
47491 all-target-libjava: configure-target-libjava
47492 @: $(MAKE); $(unstage)
47493 @r=`${PWD_COMMAND}`; export r; \
47494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47495 $(RAW_CXX_TARGET_EXPORTS) \
47496 (cd $(TARGET_SUBDIR)/libjava && \
47497 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
47498 $(TARGET-target-libjava))
47499 @endif target-libjava
47505 .PHONY: check-target-libjava maybe-check-target-libjava
47506 maybe-check-target-libjava:
47507 @if target-libjava
47508 maybe-check-target-libjava: check-target-libjava
47510 check-target-libjava:
47511 @: $(MAKE); $(unstage)
47512 @r=`${PWD_COMMAND}`; export r; \
47513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47514 $(RAW_CXX_TARGET_EXPORTS) \
47515 (cd $(TARGET_SUBDIR)/libjava && \
47516 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
47518 @endif target-libjava
47520 .PHONY: install-target-libjava maybe-install-target-libjava
47521 maybe-install-target-libjava:
47522 @if target-libjava
47523 maybe-install-target-libjava: install-target-libjava
47525 install-target-libjava: installdirs
47526 @: $(MAKE); $(unstage)
47527 @r=`${PWD_COMMAND}`; export r; \
47528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47529 $(RAW_CXX_TARGET_EXPORTS) \
47530 (cd $(TARGET_SUBDIR)/libjava && \
47531 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47533 @endif target-libjava
47535 # Other targets (info, dvi, pdf, etc.)
47537 .PHONY: maybe-info-target-libjava info-target-libjava
47538 maybe-info-target-libjava:
47539 @if target-libjava
47540 maybe-info-target-libjava: info-target-libjava
47542 info-target-libjava: \
47543 configure-target-libjava
47544 @: $(MAKE); $(unstage)
47545 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47546 r=`${PWD_COMMAND}`; export r; \
47547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47548 $(RAW_CXX_TARGET_EXPORTS) \
47549 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
47550 for flag in $(EXTRA_TARGET_FLAGS); do \
47551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47552 done; \
47553 (cd $(TARGET_SUBDIR)/libjava && \
47554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47556 "RANLIB=$${RANLIB}" \
47557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47558 info) \
47559 || exit 1
47561 @endif target-libjava
47563 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
47564 maybe-dvi-target-libjava:
47565 @if target-libjava
47566 maybe-dvi-target-libjava: dvi-target-libjava
47568 dvi-target-libjava: \
47569 configure-target-libjava
47570 @: $(MAKE); $(unstage)
47571 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47572 r=`${PWD_COMMAND}`; export r; \
47573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47574 $(RAW_CXX_TARGET_EXPORTS) \
47575 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
47576 for flag in $(EXTRA_TARGET_FLAGS); do \
47577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47578 done; \
47579 (cd $(TARGET_SUBDIR)/libjava && \
47580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47582 "RANLIB=$${RANLIB}" \
47583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47584 dvi) \
47585 || exit 1
47587 @endif target-libjava
47589 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
47590 maybe-pdf-target-libjava:
47591 @if target-libjava
47592 maybe-pdf-target-libjava: pdf-target-libjava
47594 pdf-target-libjava: \
47595 configure-target-libjava
47596 @: $(MAKE); $(unstage)
47597 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47598 r=`${PWD_COMMAND}`; export r; \
47599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47600 $(RAW_CXX_TARGET_EXPORTS) \
47601 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
47602 for flag in $(EXTRA_TARGET_FLAGS); do \
47603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47604 done; \
47605 (cd $(TARGET_SUBDIR)/libjava && \
47606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47608 "RANLIB=$${RANLIB}" \
47609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47610 pdf) \
47611 || exit 1
47613 @endif target-libjava
47615 .PHONY: maybe-html-target-libjava html-target-libjava
47616 maybe-html-target-libjava:
47617 @if target-libjava
47618 maybe-html-target-libjava: html-target-libjava
47620 html-target-libjava: \
47621 configure-target-libjava
47622 @: $(MAKE); $(unstage)
47623 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47624 r=`${PWD_COMMAND}`; export r; \
47625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47626 $(RAW_CXX_TARGET_EXPORTS) \
47627 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
47628 for flag in $(EXTRA_TARGET_FLAGS); do \
47629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47630 done; \
47631 (cd $(TARGET_SUBDIR)/libjava && \
47632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47634 "RANLIB=$${RANLIB}" \
47635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47636 html) \
47637 || exit 1
47639 @endif target-libjava
47641 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
47642 maybe-TAGS-target-libjava:
47643 @if target-libjava
47644 maybe-TAGS-target-libjava: TAGS-target-libjava
47646 TAGS-target-libjava: \
47647 configure-target-libjava
47648 @: $(MAKE); $(unstage)
47649 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47650 r=`${PWD_COMMAND}`; export r; \
47651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47652 $(RAW_CXX_TARGET_EXPORTS) \
47653 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
47654 for flag in $(EXTRA_TARGET_FLAGS); do \
47655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47656 done; \
47657 (cd $(TARGET_SUBDIR)/libjava && \
47658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47660 "RANLIB=$${RANLIB}" \
47661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47662 TAGS) \
47663 || exit 1
47665 @endif target-libjava
47667 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
47668 maybe-install-info-target-libjava:
47669 @if target-libjava
47670 maybe-install-info-target-libjava: install-info-target-libjava
47672 install-info-target-libjava: \
47673 configure-target-libjava \
47674 info-target-libjava
47675 @: $(MAKE); $(unstage)
47676 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47677 r=`${PWD_COMMAND}`; export r; \
47678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47679 $(RAW_CXX_TARGET_EXPORTS) \
47680 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
47681 for flag in $(EXTRA_TARGET_FLAGS); do \
47682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47683 done; \
47684 (cd $(TARGET_SUBDIR)/libjava && \
47685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47687 "RANLIB=$${RANLIB}" \
47688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47689 install-info) \
47690 || exit 1
47692 @endif target-libjava
47694 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
47695 maybe-install-pdf-target-libjava:
47696 @if target-libjava
47697 maybe-install-pdf-target-libjava: install-pdf-target-libjava
47699 install-pdf-target-libjava: \
47700 configure-target-libjava \
47701 pdf-target-libjava
47702 @: $(MAKE); $(unstage)
47703 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47704 r=`${PWD_COMMAND}`; export r; \
47705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47706 $(RAW_CXX_TARGET_EXPORTS) \
47707 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
47708 for flag in $(EXTRA_TARGET_FLAGS); do \
47709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47710 done; \
47711 (cd $(TARGET_SUBDIR)/libjava && \
47712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47714 "RANLIB=$${RANLIB}" \
47715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47716 install-pdf) \
47717 || exit 1
47719 @endif target-libjava
47721 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
47722 maybe-install-html-target-libjava:
47723 @if target-libjava
47724 maybe-install-html-target-libjava: install-html-target-libjava
47726 install-html-target-libjava: \
47727 configure-target-libjava \
47728 html-target-libjava
47729 @: $(MAKE); $(unstage)
47730 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47731 r=`${PWD_COMMAND}`; export r; \
47732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47733 $(RAW_CXX_TARGET_EXPORTS) \
47734 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
47735 for flag in $(EXTRA_TARGET_FLAGS); do \
47736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47737 done; \
47738 (cd $(TARGET_SUBDIR)/libjava && \
47739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47741 "RANLIB=$${RANLIB}" \
47742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47743 install-html) \
47744 || exit 1
47746 @endif target-libjava
47748 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
47749 maybe-installcheck-target-libjava:
47750 @if target-libjava
47751 maybe-installcheck-target-libjava: installcheck-target-libjava
47753 installcheck-target-libjava: \
47754 configure-target-libjava
47755 @: $(MAKE); $(unstage)
47756 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47757 r=`${PWD_COMMAND}`; export r; \
47758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47759 $(RAW_CXX_TARGET_EXPORTS) \
47760 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
47761 for flag in $(EXTRA_TARGET_FLAGS); do \
47762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47763 done; \
47764 (cd $(TARGET_SUBDIR)/libjava && \
47765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47767 "RANLIB=$${RANLIB}" \
47768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47769 installcheck) \
47770 || exit 1
47772 @endif target-libjava
47774 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
47775 maybe-mostlyclean-target-libjava:
47776 @if target-libjava
47777 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
47779 mostlyclean-target-libjava:
47780 @: $(MAKE); $(unstage)
47781 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47782 r=`${PWD_COMMAND}`; export r; \
47783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47784 $(RAW_CXX_TARGET_EXPORTS) \
47785 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
47786 for flag in $(EXTRA_TARGET_FLAGS); do \
47787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47788 done; \
47789 (cd $(TARGET_SUBDIR)/libjava && \
47790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47792 "RANLIB=$${RANLIB}" \
47793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47794 mostlyclean) \
47795 || exit 1
47797 @endif target-libjava
47799 .PHONY: maybe-clean-target-libjava clean-target-libjava
47800 maybe-clean-target-libjava:
47801 @if target-libjava
47802 maybe-clean-target-libjava: clean-target-libjava
47804 clean-target-libjava:
47805 @: $(MAKE); $(unstage)
47806 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47807 r=`${PWD_COMMAND}`; export r; \
47808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47809 $(RAW_CXX_TARGET_EXPORTS) \
47810 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
47811 for flag in $(EXTRA_TARGET_FLAGS); do \
47812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47813 done; \
47814 (cd $(TARGET_SUBDIR)/libjava && \
47815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47817 "RANLIB=$${RANLIB}" \
47818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47819 clean) \
47820 || exit 1
47822 @endif target-libjava
47824 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
47825 maybe-distclean-target-libjava:
47826 @if target-libjava
47827 maybe-distclean-target-libjava: distclean-target-libjava
47829 distclean-target-libjava:
47830 @: $(MAKE); $(unstage)
47831 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47832 r=`${PWD_COMMAND}`; export r; \
47833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47834 $(RAW_CXX_TARGET_EXPORTS) \
47835 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
47836 for flag in $(EXTRA_TARGET_FLAGS); do \
47837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47838 done; \
47839 (cd $(TARGET_SUBDIR)/libjava && \
47840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47842 "RANLIB=$${RANLIB}" \
47843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47844 distclean) \
47845 || exit 1
47847 @endif target-libjava
47849 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
47850 maybe-maintainer-clean-target-libjava:
47851 @if target-libjava
47852 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
47854 maintainer-clean-target-libjava:
47855 @: $(MAKE); $(unstage)
47856 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
47857 r=`${PWD_COMMAND}`; export r; \
47858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47859 $(RAW_CXX_TARGET_EXPORTS) \
47860 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
47861 for flag in $(EXTRA_TARGET_FLAGS); do \
47862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47863 done; \
47864 (cd $(TARGET_SUBDIR)/libjava && \
47865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47867 "RANLIB=$${RANLIB}" \
47868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
47869 maintainer-clean) \
47870 || exit 1
47872 @endif target-libjava
47878 .PHONY: configure-target-zlib maybe-configure-target-zlib
47879 maybe-configure-target-zlib:
47880 @if gcc-bootstrap
47881 configure-target-zlib: stage_current
47882 @endif gcc-bootstrap
47883 @if target-zlib
47884 maybe-configure-target-zlib: configure-target-zlib
47885 configure-target-zlib:
47886 @: $(MAKE); $(unstage)
47887 @r=`${PWD_COMMAND}`; export r; \
47888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47889 echo "Checking multilib configuration for zlib..."; \
47890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
47891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
47892 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
47893 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
47894 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
47895 else \
47896 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
47897 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
47898 fi; \
47899 else \
47900 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
47901 fi; \
47902 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
47903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
47904 $(NORMAL_TARGET_EXPORTS) \
47905 echo Configuring in $(TARGET_SUBDIR)/zlib; \
47906 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
47907 case $(srcdir) in \
47908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
47909 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
47910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
47911 esac; \
47912 srcdiroption="--srcdir=$${topdir}/zlib"; \
47913 libsrcdir="$$s/zlib"; \
47914 rm -f no-such-file || : ; \
47915 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
47916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
47917 --target=${target_alias} $${srcdiroption} \
47918 || exit 1
47919 @endif target-zlib
47925 .PHONY: all-target-zlib maybe-all-target-zlib
47926 maybe-all-target-zlib:
47927 @if gcc-bootstrap
47928 all-target-zlib: stage_current
47929 @endif gcc-bootstrap
47930 @if target-zlib
47931 TARGET-target-zlib=all
47932 maybe-all-target-zlib: all-target-zlib
47933 all-target-zlib: configure-target-zlib
47934 @: $(MAKE); $(unstage)
47935 @r=`${PWD_COMMAND}`; export r; \
47936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47937 $(NORMAL_TARGET_EXPORTS) \
47938 (cd $(TARGET_SUBDIR)/zlib && \
47939 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
47940 $(TARGET-target-zlib))
47941 @endif target-zlib
47947 .PHONY: check-target-zlib maybe-check-target-zlib
47948 maybe-check-target-zlib:
47949 @if target-zlib
47950 maybe-check-target-zlib: check-target-zlib
47952 check-target-zlib:
47953 @: $(MAKE); $(unstage)
47954 @r=`${PWD_COMMAND}`; export r; \
47955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47956 $(NORMAL_TARGET_EXPORTS) \
47957 (cd $(TARGET_SUBDIR)/zlib && \
47958 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
47960 @endif target-zlib
47962 .PHONY: install-target-zlib maybe-install-target-zlib
47963 maybe-install-target-zlib:
47964 @if target-zlib
47965 maybe-install-target-zlib: install-target-zlib
47967 install-target-zlib: installdirs
47968 @: $(MAKE); $(unstage)
47969 @r=`${PWD_COMMAND}`; export r; \
47970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47971 $(NORMAL_TARGET_EXPORTS) \
47972 (cd $(TARGET_SUBDIR)/zlib && \
47973 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
47975 @endif target-zlib
47977 # Other targets (info, dvi, pdf, etc.)
47979 .PHONY: maybe-info-target-zlib info-target-zlib
47980 maybe-info-target-zlib:
47981 @if target-zlib
47982 maybe-info-target-zlib: info-target-zlib
47984 info-target-zlib: \
47985 configure-target-zlib
47986 @: $(MAKE); $(unstage)
47987 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
47988 r=`${PWD_COMMAND}`; export r; \
47989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47990 $(NORMAL_TARGET_EXPORTS) \
47991 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
47992 for flag in $(EXTRA_TARGET_FLAGS); do \
47993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
47994 done; \
47995 (cd $(TARGET_SUBDIR)/zlib && \
47996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
47997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
47998 "RANLIB=$${RANLIB}" \
47999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48000 info) \
48001 || exit 1
48003 @endif target-zlib
48005 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
48006 maybe-dvi-target-zlib:
48007 @if target-zlib
48008 maybe-dvi-target-zlib: dvi-target-zlib
48010 dvi-target-zlib: \
48011 configure-target-zlib
48012 @: $(MAKE); $(unstage)
48013 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48014 r=`${PWD_COMMAND}`; export r; \
48015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48016 $(NORMAL_TARGET_EXPORTS) \
48017 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
48018 for flag in $(EXTRA_TARGET_FLAGS); do \
48019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48020 done; \
48021 (cd $(TARGET_SUBDIR)/zlib && \
48022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48024 "RANLIB=$${RANLIB}" \
48025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48026 dvi) \
48027 || exit 1
48029 @endif target-zlib
48031 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
48032 maybe-pdf-target-zlib:
48033 @if target-zlib
48034 maybe-pdf-target-zlib: pdf-target-zlib
48036 pdf-target-zlib: \
48037 configure-target-zlib
48038 @: $(MAKE); $(unstage)
48039 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48040 r=`${PWD_COMMAND}`; export r; \
48041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48042 $(NORMAL_TARGET_EXPORTS) \
48043 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
48044 for flag in $(EXTRA_TARGET_FLAGS); do \
48045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48046 done; \
48047 (cd $(TARGET_SUBDIR)/zlib && \
48048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48050 "RANLIB=$${RANLIB}" \
48051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48052 pdf) \
48053 || exit 1
48055 @endif target-zlib
48057 .PHONY: maybe-html-target-zlib html-target-zlib
48058 maybe-html-target-zlib:
48059 @if target-zlib
48060 maybe-html-target-zlib: html-target-zlib
48062 html-target-zlib: \
48063 configure-target-zlib
48064 @: $(MAKE); $(unstage)
48065 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48066 r=`${PWD_COMMAND}`; export r; \
48067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48068 $(NORMAL_TARGET_EXPORTS) \
48069 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
48070 for flag in $(EXTRA_TARGET_FLAGS); do \
48071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48072 done; \
48073 (cd $(TARGET_SUBDIR)/zlib && \
48074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48076 "RANLIB=$${RANLIB}" \
48077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48078 html) \
48079 || exit 1
48081 @endif target-zlib
48083 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
48084 maybe-TAGS-target-zlib:
48085 @if target-zlib
48086 maybe-TAGS-target-zlib: TAGS-target-zlib
48088 TAGS-target-zlib: \
48089 configure-target-zlib
48090 @: $(MAKE); $(unstage)
48091 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48092 r=`${PWD_COMMAND}`; export r; \
48093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48094 $(NORMAL_TARGET_EXPORTS) \
48095 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
48096 for flag in $(EXTRA_TARGET_FLAGS); do \
48097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48098 done; \
48099 (cd $(TARGET_SUBDIR)/zlib && \
48100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48102 "RANLIB=$${RANLIB}" \
48103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48104 TAGS) \
48105 || exit 1
48107 @endif target-zlib
48109 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
48110 maybe-install-info-target-zlib:
48111 @if target-zlib
48112 maybe-install-info-target-zlib: install-info-target-zlib
48114 install-info-target-zlib: \
48115 configure-target-zlib \
48116 info-target-zlib
48117 @: $(MAKE); $(unstage)
48118 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48119 r=`${PWD_COMMAND}`; export r; \
48120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48121 $(NORMAL_TARGET_EXPORTS) \
48122 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
48123 for flag in $(EXTRA_TARGET_FLAGS); do \
48124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48125 done; \
48126 (cd $(TARGET_SUBDIR)/zlib && \
48127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48129 "RANLIB=$${RANLIB}" \
48130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48131 install-info) \
48132 || exit 1
48134 @endif target-zlib
48136 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
48137 maybe-install-pdf-target-zlib:
48138 @if target-zlib
48139 maybe-install-pdf-target-zlib: install-pdf-target-zlib
48141 install-pdf-target-zlib: \
48142 configure-target-zlib \
48143 pdf-target-zlib
48144 @: $(MAKE); $(unstage)
48145 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48146 r=`${PWD_COMMAND}`; export r; \
48147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48148 $(NORMAL_TARGET_EXPORTS) \
48149 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
48150 for flag in $(EXTRA_TARGET_FLAGS); do \
48151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48152 done; \
48153 (cd $(TARGET_SUBDIR)/zlib && \
48154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48156 "RANLIB=$${RANLIB}" \
48157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48158 install-pdf) \
48159 || exit 1
48161 @endif target-zlib
48163 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
48164 maybe-install-html-target-zlib:
48165 @if target-zlib
48166 maybe-install-html-target-zlib: install-html-target-zlib
48168 install-html-target-zlib: \
48169 configure-target-zlib \
48170 html-target-zlib
48171 @: $(MAKE); $(unstage)
48172 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48173 r=`${PWD_COMMAND}`; export r; \
48174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48175 $(NORMAL_TARGET_EXPORTS) \
48176 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
48177 for flag in $(EXTRA_TARGET_FLAGS); do \
48178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48179 done; \
48180 (cd $(TARGET_SUBDIR)/zlib && \
48181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48183 "RANLIB=$${RANLIB}" \
48184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48185 install-html) \
48186 || exit 1
48188 @endif target-zlib
48190 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
48191 maybe-installcheck-target-zlib:
48192 @if target-zlib
48193 maybe-installcheck-target-zlib: installcheck-target-zlib
48195 installcheck-target-zlib: \
48196 configure-target-zlib
48197 @: $(MAKE); $(unstage)
48198 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48199 r=`${PWD_COMMAND}`; export r; \
48200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48201 $(NORMAL_TARGET_EXPORTS) \
48202 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
48203 for flag in $(EXTRA_TARGET_FLAGS); do \
48204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48205 done; \
48206 (cd $(TARGET_SUBDIR)/zlib && \
48207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48209 "RANLIB=$${RANLIB}" \
48210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48211 installcheck) \
48212 || exit 1
48214 @endif target-zlib
48216 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
48217 maybe-mostlyclean-target-zlib:
48218 @if target-zlib
48219 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
48221 mostlyclean-target-zlib:
48222 @: $(MAKE); $(unstage)
48223 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48224 r=`${PWD_COMMAND}`; export r; \
48225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48226 $(NORMAL_TARGET_EXPORTS) \
48227 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
48228 for flag in $(EXTRA_TARGET_FLAGS); do \
48229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48230 done; \
48231 (cd $(TARGET_SUBDIR)/zlib && \
48232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48234 "RANLIB=$${RANLIB}" \
48235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48236 mostlyclean) \
48237 || exit 1
48239 @endif target-zlib
48241 .PHONY: maybe-clean-target-zlib clean-target-zlib
48242 maybe-clean-target-zlib:
48243 @if target-zlib
48244 maybe-clean-target-zlib: clean-target-zlib
48246 clean-target-zlib:
48247 @: $(MAKE); $(unstage)
48248 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48249 r=`${PWD_COMMAND}`; export r; \
48250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48251 $(NORMAL_TARGET_EXPORTS) \
48252 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
48253 for flag in $(EXTRA_TARGET_FLAGS); do \
48254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48255 done; \
48256 (cd $(TARGET_SUBDIR)/zlib && \
48257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48259 "RANLIB=$${RANLIB}" \
48260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48261 clean) \
48262 || exit 1
48264 @endif target-zlib
48266 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
48267 maybe-distclean-target-zlib:
48268 @if target-zlib
48269 maybe-distclean-target-zlib: distclean-target-zlib
48271 distclean-target-zlib:
48272 @: $(MAKE); $(unstage)
48273 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48274 r=`${PWD_COMMAND}`; export r; \
48275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48276 $(NORMAL_TARGET_EXPORTS) \
48277 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
48278 for flag in $(EXTRA_TARGET_FLAGS); do \
48279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48280 done; \
48281 (cd $(TARGET_SUBDIR)/zlib && \
48282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48284 "RANLIB=$${RANLIB}" \
48285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48286 distclean) \
48287 || exit 1
48289 @endif target-zlib
48291 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
48292 maybe-maintainer-clean-target-zlib:
48293 @if target-zlib
48294 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
48296 maintainer-clean-target-zlib:
48297 @: $(MAKE); $(unstage)
48298 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
48299 r=`${PWD_COMMAND}`; export r; \
48300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48301 $(NORMAL_TARGET_EXPORTS) \
48302 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
48303 for flag in $(EXTRA_TARGET_FLAGS); do \
48304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48305 done; \
48306 (cd $(TARGET_SUBDIR)/zlib && \
48307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48309 "RANLIB=$${RANLIB}" \
48310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48311 maintainer-clean) \
48312 || exit 1
48314 @endif target-zlib
48320 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
48321 maybe-configure-target-boehm-gc:
48322 @if gcc-bootstrap
48323 configure-target-boehm-gc: stage_current
48324 @endif gcc-bootstrap
48325 @if target-boehm-gc
48326 maybe-configure-target-boehm-gc: configure-target-boehm-gc
48327 configure-target-boehm-gc:
48328 @: $(MAKE); $(unstage)
48329 @r=`${PWD_COMMAND}`; export r; \
48330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48331 echo "Checking multilib configuration for boehm-gc..."; \
48332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
48333 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
48334 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
48335 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
48336 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
48337 else \
48338 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
48339 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
48340 fi; \
48341 else \
48342 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
48343 fi; \
48344 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
48345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
48346 $(NORMAL_TARGET_EXPORTS) \
48347 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
48348 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
48349 case $(srcdir) in \
48350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48351 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
48352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48353 esac; \
48354 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
48355 libsrcdir="$$s/boehm-gc"; \
48356 rm -f no-such-file || : ; \
48357 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48358 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48359 --target=${target_alias} $${srcdiroption} \
48360 || exit 1
48361 @endif target-boehm-gc
48367 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
48368 maybe-all-target-boehm-gc:
48369 @if gcc-bootstrap
48370 all-target-boehm-gc: stage_current
48371 @endif gcc-bootstrap
48372 @if target-boehm-gc
48373 TARGET-target-boehm-gc=all
48374 maybe-all-target-boehm-gc: all-target-boehm-gc
48375 all-target-boehm-gc: configure-target-boehm-gc
48376 @: $(MAKE); $(unstage)
48377 @r=`${PWD_COMMAND}`; export r; \
48378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48379 $(NORMAL_TARGET_EXPORTS) \
48380 (cd $(TARGET_SUBDIR)/boehm-gc && \
48381 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48382 $(TARGET-target-boehm-gc))
48383 @endif target-boehm-gc
48389 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
48390 maybe-check-target-boehm-gc:
48391 @if target-boehm-gc
48392 maybe-check-target-boehm-gc: check-target-boehm-gc
48394 check-target-boehm-gc:
48395 @: $(MAKE); $(unstage)
48396 @r=`${PWD_COMMAND}`; export r; \
48397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48398 $(NORMAL_TARGET_EXPORTS) \
48399 (cd $(TARGET_SUBDIR)/boehm-gc && \
48400 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48402 @endif target-boehm-gc
48404 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
48405 maybe-install-target-boehm-gc:
48406 @if target-boehm-gc
48407 maybe-install-target-boehm-gc: install-target-boehm-gc
48409 install-target-boehm-gc: installdirs
48410 @: $(MAKE); $(unstage)
48411 @r=`${PWD_COMMAND}`; export r; \
48412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48413 $(NORMAL_TARGET_EXPORTS) \
48414 (cd $(TARGET_SUBDIR)/boehm-gc && \
48415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48417 @endif target-boehm-gc
48419 # Other targets (info, dvi, pdf, etc.)
48421 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
48422 maybe-info-target-boehm-gc:
48423 @if target-boehm-gc
48424 maybe-info-target-boehm-gc: info-target-boehm-gc
48426 info-target-boehm-gc: \
48427 configure-target-boehm-gc
48428 @: $(MAKE); $(unstage)
48429 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48430 r=`${PWD_COMMAND}`; export r; \
48431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48432 $(NORMAL_TARGET_EXPORTS) \
48433 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
48434 for flag in $(EXTRA_TARGET_FLAGS); do \
48435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48436 done; \
48437 (cd $(TARGET_SUBDIR)/boehm-gc && \
48438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48440 "RANLIB=$${RANLIB}" \
48441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48442 info) \
48443 || exit 1
48445 @endif target-boehm-gc
48447 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
48448 maybe-dvi-target-boehm-gc:
48449 @if target-boehm-gc
48450 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
48452 dvi-target-boehm-gc: \
48453 configure-target-boehm-gc
48454 @: $(MAKE); $(unstage)
48455 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48456 r=`${PWD_COMMAND}`; export r; \
48457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48458 $(NORMAL_TARGET_EXPORTS) \
48459 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
48460 for flag in $(EXTRA_TARGET_FLAGS); do \
48461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48462 done; \
48463 (cd $(TARGET_SUBDIR)/boehm-gc && \
48464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48466 "RANLIB=$${RANLIB}" \
48467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48468 dvi) \
48469 || exit 1
48471 @endif target-boehm-gc
48473 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
48474 maybe-pdf-target-boehm-gc:
48475 @if target-boehm-gc
48476 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
48478 pdf-target-boehm-gc: \
48479 configure-target-boehm-gc
48480 @: $(MAKE); $(unstage)
48481 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48482 r=`${PWD_COMMAND}`; export r; \
48483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48484 $(NORMAL_TARGET_EXPORTS) \
48485 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
48486 for flag in $(EXTRA_TARGET_FLAGS); do \
48487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48488 done; \
48489 (cd $(TARGET_SUBDIR)/boehm-gc && \
48490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48492 "RANLIB=$${RANLIB}" \
48493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48494 pdf) \
48495 || exit 1
48497 @endif target-boehm-gc
48499 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
48500 maybe-html-target-boehm-gc:
48501 @if target-boehm-gc
48502 maybe-html-target-boehm-gc: html-target-boehm-gc
48504 html-target-boehm-gc: \
48505 configure-target-boehm-gc
48506 @: $(MAKE); $(unstage)
48507 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48508 r=`${PWD_COMMAND}`; export r; \
48509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48510 $(NORMAL_TARGET_EXPORTS) \
48511 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
48512 for flag in $(EXTRA_TARGET_FLAGS); do \
48513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48514 done; \
48515 (cd $(TARGET_SUBDIR)/boehm-gc && \
48516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48518 "RANLIB=$${RANLIB}" \
48519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48520 html) \
48521 || exit 1
48523 @endif target-boehm-gc
48525 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
48526 maybe-TAGS-target-boehm-gc:
48527 @if target-boehm-gc
48528 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
48530 TAGS-target-boehm-gc: \
48531 configure-target-boehm-gc
48532 @: $(MAKE); $(unstage)
48533 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48534 r=`${PWD_COMMAND}`; export r; \
48535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48536 $(NORMAL_TARGET_EXPORTS) \
48537 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
48538 for flag in $(EXTRA_TARGET_FLAGS); do \
48539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48540 done; \
48541 (cd $(TARGET_SUBDIR)/boehm-gc && \
48542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48544 "RANLIB=$${RANLIB}" \
48545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48546 TAGS) \
48547 || exit 1
48549 @endif target-boehm-gc
48551 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
48552 maybe-install-info-target-boehm-gc:
48553 @if target-boehm-gc
48554 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
48556 install-info-target-boehm-gc: \
48557 configure-target-boehm-gc \
48558 info-target-boehm-gc
48559 @: $(MAKE); $(unstage)
48560 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48561 r=`${PWD_COMMAND}`; export r; \
48562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48563 $(NORMAL_TARGET_EXPORTS) \
48564 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
48565 for flag in $(EXTRA_TARGET_FLAGS); do \
48566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48567 done; \
48568 (cd $(TARGET_SUBDIR)/boehm-gc && \
48569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48571 "RANLIB=$${RANLIB}" \
48572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48573 install-info) \
48574 || exit 1
48576 @endif target-boehm-gc
48578 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
48579 maybe-install-pdf-target-boehm-gc:
48580 @if target-boehm-gc
48581 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
48583 install-pdf-target-boehm-gc: \
48584 configure-target-boehm-gc \
48585 pdf-target-boehm-gc
48586 @: $(MAKE); $(unstage)
48587 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48588 r=`${PWD_COMMAND}`; export r; \
48589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48590 $(NORMAL_TARGET_EXPORTS) \
48591 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
48592 for flag in $(EXTRA_TARGET_FLAGS); do \
48593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48594 done; \
48595 (cd $(TARGET_SUBDIR)/boehm-gc && \
48596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48598 "RANLIB=$${RANLIB}" \
48599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48600 install-pdf) \
48601 || exit 1
48603 @endif target-boehm-gc
48605 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
48606 maybe-install-html-target-boehm-gc:
48607 @if target-boehm-gc
48608 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
48610 install-html-target-boehm-gc: \
48611 configure-target-boehm-gc \
48612 html-target-boehm-gc
48613 @: $(MAKE); $(unstage)
48614 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48615 r=`${PWD_COMMAND}`; export r; \
48616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48617 $(NORMAL_TARGET_EXPORTS) \
48618 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
48619 for flag in $(EXTRA_TARGET_FLAGS); do \
48620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48621 done; \
48622 (cd $(TARGET_SUBDIR)/boehm-gc && \
48623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48625 "RANLIB=$${RANLIB}" \
48626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48627 install-html) \
48628 || exit 1
48630 @endif target-boehm-gc
48632 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
48633 maybe-installcheck-target-boehm-gc:
48634 @if target-boehm-gc
48635 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
48637 installcheck-target-boehm-gc: \
48638 configure-target-boehm-gc
48639 @: $(MAKE); $(unstage)
48640 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48641 r=`${PWD_COMMAND}`; export r; \
48642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48643 $(NORMAL_TARGET_EXPORTS) \
48644 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
48645 for flag in $(EXTRA_TARGET_FLAGS); do \
48646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48647 done; \
48648 (cd $(TARGET_SUBDIR)/boehm-gc && \
48649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48651 "RANLIB=$${RANLIB}" \
48652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48653 installcheck) \
48654 || exit 1
48656 @endif target-boehm-gc
48658 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
48659 maybe-mostlyclean-target-boehm-gc:
48660 @if target-boehm-gc
48661 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
48663 mostlyclean-target-boehm-gc:
48664 @: $(MAKE); $(unstage)
48665 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48666 r=`${PWD_COMMAND}`; export r; \
48667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48668 $(NORMAL_TARGET_EXPORTS) \
48669 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
48670 for flag in $(EXTRA_TARGET_FLAGS); do \
48671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48672 done; \
48673 (cd $(TARGET_SUBDIR)/boehm-gc && \
48674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48676 "RANLIB=$${RANLIB}" \
48677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48678 mostlyclean) \
48679 || exit 1
48681 @endif target-boehm-gc
48683 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
48684 maybe-clean-target-boehm-gc:
48685 @if target-boehm-gc
48686 maybe-clean-target-boehm-gc: clean-target-boehm-gc
48688 clean-target-boehm-gc:
48689 @: $(MAKE); $(unstage)
48690 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48691 r=`${PWD_COMMAND}`; export r; \
48692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48693 $(NORMAL_TARGET_EXPORTS) \
48694 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
48695 for flag in $(EXTRA_TARGET_FLAGS); do \
48696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48697 done; \
48698 (cd $(TARGET_SUBDIR)/boehm-gc && \
48699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48701 "RANLIB=$${RANLIB}" \
48702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48703 clean) \
48704 || exit 1
48706 @endif target-boehm-gc
48708 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
48709 maybe-distclean-target-boehm-gc:
48710 @if target-boehm-gc
48711 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
48713 distclean-target-boehm-gc:
48714 @: $(MAKE); $(unstage)
48715 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48716 r=`${PWD_COMMAND}`; export r; \
48717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48718 $(NORMAL_TARGET_EXPORTS) \
48719 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
48720 for flag in $(EXTRA_TARGET_FLAGS); do \
48721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48722 done; \
48723 (cd $(TARGET_SUBDIR)/boehm-gc && \
48724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48726 "RANLIB=$${RANLIB}" \
48727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48728 distclean) \
48729 || exit 1
48731 @endif target-boehm-gc
48733 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
48734 maybe-maintainer-clean-target-boehm-gc:
48735 @if target-boehm-gc
48736 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
48738 maintainer-clean-target-boehm-gc:
48739 @: $(MAKE); $(unstage)
48740 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
48741 r=`${PWD_COMMAND}`; export r; \
48742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48743 $(NORMAL_TARGET_EXPORTS) \
48744 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
48745 for flag in $(EXTRA_TARGET_FLAGS); do \
48746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48747 done; \
48748 (cd $(TARGET_SUBDIR)/boehm-gc && \
48749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48751 "RANLIB=$${RANLIB}" \
48752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48753 maintainer-clean) \
48754 || exit 1
48756 @endif target-boehm-gc
48762 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
48763 maybe-configure-target-qthreads:
48764 @if gcc-bootstrap
48765 configure-target-qthreads: stage_current
48766 @endif gcc-bootstrap
48767 @if target-qthreads
48768 maybe-configure-target-qthreads: configure-target-qthreads
48769 configure-target-qthreads:
48770 @: $(MAKE); $(unstage)
48771 @r=`${PWD_COMMAND}`; export r; \
48772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48773 echo "Checking multilib configuration for qthreads..."; \
48774 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
48775 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
48776 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
48777 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
48778 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
48779 else \
48780 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
48781 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
48782 fi; \
48783 else \
48784 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
48785 fi; \
48786 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
48787 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
48788 $(NORMAL_TARGET_EXPORTS) \
48789 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
48790 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
48791 case $(srcdir) in \
48792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
48793 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
48794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
48795 esac; \
48796 srcdiroption="--srcdir=$${topdir}/qthreads"; \
48797 libsrcdir="$$s/qthreads"; \
48798 rm -f no-such-file || : ; \
48799 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
48800 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
48801 --target=${target_alias} $${srcdiroption} \
48802 || exit 1
48803 @endif target-qthreads
48809 .PHONY: all-target-qthreads maybe-all-target-qthreads
48810 maybe-all-target-qthreads:
48811 @if gcc-bootstrap
48812 all-target-qthreads: stage_current
48813 @endif gcc-bootstrap
48814 @if target-qthreads
48815 TARGET-target-qthreads=all
48816 maybe-all-target-qthreads: all-target-qthreads
48817 all-target-qthreads: configure-target-qthreads
48818 @: $(MAKE); $(unstage)
48819 @r=`${PWD_COMMAND}`; export r; \
48820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48821 $(NORMAL_TARGET_EXPORTS) \
48822 (cd $(TARGET_SUBDIR)/qthreads && \
48823 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
48824 $(TARGET-target-qthreads))
48825 @endif target-qthreads
48831 .PHONY: check-target-qthreads maybe-check-target-qthreads
48832 maybe-check-target-qthreads:
48833 @if target-qthreads
48834 maybe-check-target-qthreads: check-target-qthreads
48836 check-target-qthreads:
48837 @: $(MAKE); $(unstage)
48838 @r=`${PWD_COMMAND}`; export r; \
48839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48840 $(NORMAL_TARGET_EXPORTS) \
48841 (cd $(TARGET_SUBDIR)/qthreads && \
48842 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
48844 @endif target-qthreads
48846 .PHONY: install-target-qthreads maybe-install-target-qthreads
48847 maybe-install-target-qthreads:
48848 @if target-qthreads
48849 maybe-install-target-qthreads: install-target-qthreads
48851 install-target-qthreads: installdirs
48852 @: $(MAKE); $(unstage)
48853 @r=`${PWD_COMMAND}`; export r; \
48854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48855 $(NORMAL_TARGET_EXPORTS) \
48856 (cd $(TARGET_SUBDIR)/qthreads && \
48857 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
48859 @endif target-qthreads
48861 # Other targets (info, dvi, pdf, etc.)
48863 .PHONY: maybe-info-target-qthreads info-target-qthreads
48864 maybe-info-target-qthreads:
48865 @if target-qthreads
48866 maybe-info-target-qthreads: info-target-qthreads
48868 info-target-qthreads: \
48869 configure-target-qthreads
48870 @: $(MAKE); $(unstage)
48871 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
48872 r=`${PWD_COMMAND}`; export r; \
48873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48874 $(NORMAL_TARGET_EXPORTS) \
48875 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
48876 for flag in $(EXTRA_TARGET_FLAGS); do \
48877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48878 done; \
48879 (cd $(TARGET_SUBDIR)/qthreads && \
48880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48882 "RANLIB=$${RANLIB}" \
48883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48884 info) \
48885 || exit 1
48887 @endif target-qthreads
48889 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
48890 maybe-dvi-target-qthreads:
48891 @if target-qthreads
48892 maybe-dvi-target-qthreads: dvi-target-qthreads
48894 dvi-target-qthreads: \
48895 configure-target-qthreads
48896 @: $(MAKE); $(unstage)
48897 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
48898 r=`${PWD_COMMAND}`; export r; \
48899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48900 $(NORMAL_TARGET_EXPORTS) \
48901 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
48902 for flag in $(EXTRA_TARGET_FLAGS); do \
48903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48904 done; \
48905 (cd $(TARGET_SUBDIR)/qthreads && \
48906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48908 "RANLIB=$${RANLIB}" \
48909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48910 dvi) \
48911 || exit 1
48913 @endif target-qthreads
48915 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
48916 maybe-pdf-target-qthreads:
48917 @if target-qthreads
48918 maybe-pdf-target-qthreads: pdf-target-qthreads
48920 pdf-target-qthreads: \
48921 configure-target-qthreads
48922 @: $(MAKE); $(unstage)
48923 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
48924 r=`${PWD_COMMAND}`; export r; \
48925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48926 $(NORMAL_TARGET_EXPORTS) \
48927 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
48928 for flag in $(EXTRA_TARGET_FLAGS); do \
48929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48930 done; \
48931 (cd $(TARGET_SUBDIR)/qthreads && \
48932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48934 "RANLIB=$${RANLIB}" \
48935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48936 pdf) \
48937 || exit 1
48939 @endif target-qthreads
48941 .PHONY: maybe-html-target-qthreads html-target-qthreads
48942 maybe-html-target-qthreads:
48943 @if target-qthreads
48944 maybe-html-target-qthreads: html-target-qthreads
48946 html-target-qthreads: \
48947 configure-target-qthreads
48948 @: $(MAKE); $(unstage)
48949 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
48950 r=`${PWD_COMMAND}`; export r; \
48951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48952 $(NORMAL_TARGET_EXPORTS) \
48953 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
48954 for flag in $(EXTRA_TARGET_FLAGS); do \
48955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48956 done; \
48957 (cd $(TARGET_SUBDIR)/qthreads && \
48958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48960 "RANLIB=$${RANLIB}" \
48961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48962 html) \
48963 || exit 1
48965 @endif target-qthreads
48967 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
48968 maybe-TAGS-target-qthreads:
48969 @if target-qthreads
48970 maybe-TAGS-target-qthreads: TAGS-target-qthreads
48972 TAGS-target-qthreads: \
48973 configure-target-qthreads
48974 @: $(MAKE); $(unstage)
48975 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
48976 r=`${PWD_COMMAND}`; export r; \
48977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48978 $(NORMAL_TARGET_EXPORTS) \
48979 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
48980 for flag in $(EXTRA_TARGET_FLAGS); do \
48981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
48982 done; \
48983 (cd $(TARGET_SUBDIR)/qthreads && \
48984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
48985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
48986 "RANLIB=$${RANLIB}" \
48987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
48988 TAGS) \
48989 || exit 1
48991 @endif target-qthreads
48993 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
48994 maybe-install-info-target-qthreads:
48995 @if target-qthreads
48996 maybe-install-info-target-qthreads: install-info-target-qthreads
48998 install-info-target-qthreads: \
48999 configure-target-qthreads \
49000 info-target-qthreads
49001 @: $(MAKE); $(unstage)
49002 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49003 r=`${PWD_COMMAND}`; export r; \
49004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49005 $(NORMAL_TARGET_EXPORTS) \
49006 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
49007 for flag in $(EXTRA_TARGET_FLAGS); do \
49008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49009 done; \
49010 (cd $(TARGET_SUBDIR)/qthreads && \
49011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49013 "RANLIB=$${RANLIB}" \
49014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49015 install-info) \
49016 || exit 1
49018 @endif target-qthreads
49020 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
49021 maybe-install-pdf-target-qthreads:
49022 @if target-qthreads
49023 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
49025 install-pdf-target-qthreads: \
49026 configure-target-qthreads \
49027 pdf-target-qthreads
49028 @: $(MAKE); $(unstage)
49029 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49030 r=`${PWD_COMMAND}`; export r; \
49031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49032 $(NORMAL_TARGET_EXPORTS) \
49033 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
49034 for flag in $(EXTRA_TARGET_FLAGS); do \
49035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49036 done; \
49037 (cd $(TARGET_SUBDIR)/qthreads && \
49038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49040 "RANLIB=$${RANLIB}" \
49041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49042 install-pdf) \
49043 || exit 1
49045 @endif target-qthreads
49047 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
49048 maybe-install-html-target-qthreads:
49049 @if target-qthreads
49050 maybe-install-html-target-qthreads: install-html-target-qthreads
49052 install-html-target-qthreads: \
49053 configure-target-qthreads \
49054 html-target-qthreads
49055 @: $(MAKE); $(unstage)
49056 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49057 r=`${PWD_COMMAND}`; export r; \
49058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49059 $(NORMAL_TARGET_EXPORTS) \
49060 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
49061 for flag in $(EXTRA_TARGET_FLAGS); do \
49062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49063 done; \
49064 (cd $(TARGET_SUBDIR)/qthreads && \
49065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49067 "RANLIB=$${RANLIB}" \
49068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49069 install-html) \
49070 || exit 1
49072 @endif target-qthreads
49074 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
49075 maybe-installcheck-target-qthreads:
49076 @if target-qthreads
49077 maybe-installcheck-target-qthreads: installcheck-target-qthreads
49079 installcheck-target-qthreads: \
49080 configure-target-qthreads
49081 @: $(MAKE); $(unstage)
49082 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49083 r=`${PWD_COMMAND}`; export r; \
49084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49085 $(NORMAL_TARGET_EXPORTS) \
49086 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
49087 for flag in $(EXTRA_TARGET_FLAGS); do \
49088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49089 done; \
49090 (cd $(TARGET_SUBDIR)/qthreads && \
49091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49093 "RANLIB=$${RANLIB}" \
49094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49095 installcheck) \
49096 || exit 1
49098 @endif target-qthreads
49100 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
49101 maybe-mostlyclean-target-qthreads:
49102 @if target-qthreads
49103 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
49105 mostlyclean-target-qthreads:
49106 @: $(MAKE); $(unstage)
49107 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49108 r=`${PWD_COMMAND}`; export r; \
49109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49110 $(NORMAL_TARGET_EXPORTS) \
49111 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
49112 for flag in $(EXTRA_TARGET_FLAGS); do \
49113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49114 done; \
49115 (cd $(TARGET_SUBDIR)/qthreads && \
49116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49118 "RANLIB=$${RANLIB}" \
49119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49120 mostlyclean) \
49121 || exit 1
49123 @endif target-qthreads
49125 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
49126 maybe-clean-target-qthreads:
49127 @if target-qthreads
49128 maybe-clean-target-qthreads: clean-target-qthreads
49130 clean-target-qthreads:
49131 @: $(MAKE); $(unstage)
49132 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49133 r=`${PWD_COMMAND}`; export r; \
49134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49135 $(NORMAL_TARGET_EXPORTS) \
49136 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
49137 for flag in $(EXTRA_TARGET_FLAGS); do \
49138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49139 done; \
49140 (cd $(TARGET_SUBDIR)/qthreads && \
49141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49143 "RANLIB=$${RANLIB}" \
49144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49145 clean) \
49146 || exit 1
49148 @endif target-qthreads
49150 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
49151 maybe-distclean-target-qthreads:
49152 @if target-qthreads
49153 maybe-distclean-target-qthreads: distclean-target-qthreads
49155 distclean-target-qthreads:
49156 @: $(MAKE); $(unstage)
49157 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49158 r=`${PWD_COMMAND}`; export r; \
49159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49160 $(NORMAL_TARGET_EXPORTS) \
49161 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
49162 for flag in $(EXTRA_TARGET_FLAGS); do \
49163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49164 done; \
49165 (cd $(TARGET_SUBDIR)/qthreads && \
49166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49168 "RANLIB=$${RANLIB}" \
49169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49170 distclean) \
49171 || exit 1
49173 @endif target-qthreads
49175 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
49176 maybe-maintainer-clean-target-qthreads:
49177 @if target-qthreads
49178 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
49180 maintainer-clean-target-qthreads:
49181 @: $(MAKE); $(unstage)
49182 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
49183 r=`${PWD_COMMAND}`; export r; \
49184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49185 $(NORMAL_TARGET_EXPORTS) \
49186 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
49187 for flag in $(EXTRA_TARGET_FLAGS); do \
49188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49189 done; \
49190 (cd $(TARGET_SUBDIR)/qthreads && \
49191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49193 "RANLIB=$${RANLIB}" \
49194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49195 maintainer-clean) \
49196 || exit 1
49198 @endif target-qthreads
49204 .PHONY: configure-target-rda maybe-configure-target-rda
49205 maybe-configure-target-rda:
49206 @if gcc-bootstrap
49207 configure-target-rda: stage_current
49208 @endif gcc-bootstrap
49209 @if target-rda
49210 maybe-configure-target-rda: configure-target-rda
49211 configure-target-rda:
49212 @: $(MAKE); $(unstage)
49213 @r=`${PWD_COMMAND}`; export r; \
49214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49215 echo "Checking multilib configuration for rda..."; \
49216 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
49217 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
49218 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
49219 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
49220 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
49221 else \
49222 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
49223 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49224 fi; \
49225 else \
49226 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
49227 fi; \
49228 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
49229 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
49230 $(NORMAL_TARGET_EXPORTS) \
49231 echo Configuring in $(TARGET_SUBDIR)/rda; \
49232 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
49233 case $(srcdir) in \
49234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49235 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
49236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49237 esac; \
49238 srcdiroption="--srcdir=$${topdir}/rda"; \
49239 libsrcdir="$$s/rda"; \
49240 rm -f no-such-file || : ; \
49241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49242 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49243 --target=${target_alias} $${srcdiroption} \
49244 || exit 1
49245 @endif target-rda
49251 .PHONY: all-target-rda maybe-all-target-rda
49252 maybe-all-target-rda:
49253 @if gcc-bootstrap
49254 all-target-rda: stage_current
49255 @endif gcc-bootstrap
49256 @if target-rda
49257 TARGET-target-rda=all
49258 maybe-all-target-rda: all-target-rda
49259 all-target-rda: configure-target-rda
49260 @: $(MAKE); $(unstage)
49261 @r=`${PWD_COMMAND}`; export r; \
49262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49263 $(NORMAL_TARGET_EXPORTS) \
49264 (cd $(TARGET_SUBDIR)/rda && \
49265 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49266 $(TARGET-target-rda))
49267 @endif target-rda
49273 .PHONY: check-target-rda maybe-check-target-rda
49274 maybe-check-target-rda:
49275 @if target-rda
49276 maybe-check-target-rda: check-target-rda
49278 check-target-rda:
49279 @: $(MAKE); $(unstage)
49280 @r=`${PWD_COMMAND}`; export r; \
49281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49282 $(NORMAL_TARGET_EXPORTS) \
49283 (cd $(TARGET_SUBDIR)/rda && \
49284 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49286 @endif target-rda
49288 .PHONY: install-target-rda maybe-install-target-rda
49289 maybe-install-target-rda:
49290 @if target-rda
49291 maybe-install-target-rda: install-target-rda
49293 install-target-rda: installdirs
49294 @: $(MAKE); $(unstage)
49295 @r=`${PWD_COMMAND}`; export r; \
49296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49297 $(NORMAL_TARGET_EXPORTS) \
49298 (cd $(TARGET_SUBDIR)/rda && \
49299 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49301 @endif target-rda
49303 # Other targets (info, dvi, pdf, etc.)
49305 .PHONY: maybe-info-target-rda info-target-rda
49306 maybe-info-target-rda:
49307 @if target-rda
49308 maybe-info-target-rda: info-target-rda
49310 info-target-rda: \
49311 configure-target-rda
49312 @: $(MAKE); $(unstage)
49313 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49314 r=`${PWD_COMMAND}`; export r; \
49315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49316 $(NORMAL_TARGET_EXPORTS) \
49317 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
49318 for flag in $(EXTRA_TARGET_FLAGS); do \
49319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49320 done; \
49321 (cd $(TARGET_SUBDIR)/rda && \
49322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49324 "RANLIB=$${RANLIB}" \
49325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49326 info) \
49327 || exit 1
49329 @endif target-rda
49331 .PHONY: maybe-dvi-target-rda dvi-target-rda
49332 maybe-dvi-target-rda:
49333 @if target-rda
49334 maybe-dvi-target-rda: dvi-target-rda
49336 dvi-target-rda: \
49337 configure-target-rda
49338 @: $(MAKE); $(unstage)
49339 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49340 r=`${PWD_COMMAND}`; export r; \
49341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49342 $(NORMAL_TARGET_EXPORTS) \
49343 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
49344 for flag in $(EXTRA_TARGET_FLAGS); do \
49345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49346 done; \
49347 (cd $(TARGET_SUBDIR)/rda && \
49348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49350 "RANLIB=$${RANLIB}" \
49351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49352 dvi) \
49353 || exit 1
49355 @endif target-rda
49357 .PHONY: maybe-pdf-target-rda pdf-target-rda
49358 maybe-pdf-target-rda:
49359 @if target-rda
49360 maybe-pdf-target-rda: pdf-target-rda
49362 pdf-target-rda: \
49363 configure-target-rda
49364 @: $(MAKE); $(unstage)
49365 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49366 r=`${PWD_COMMAND}`; export r; \
49367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49368 $(NORMAL_TARGET_EXPORTS) \
49369 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
49370 for flag in $(EXTRA_TARGET_FLAGS); do \
49371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49372 done; \
49373 (cd $(TARGET_SUBDIR)/rda && \
49374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49376 "RANLIB=$${RANLIB}" \
49377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49378 pdf) \
49379 || exit 1
49381 @endif target-rda
49383 .PHONY: maybe-html-target-rda html-target-rda
49384 maybe-html-target-rda:
49385 @if target-rda
49386 maybe-html-target-rda: html-target-rda
49388 html-target-rda: \
49389 configure-target-rda
49390 @: $(MAKE); $(unstage)
49391 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49392 r=`${PWD_COMMAND}`; export r; \
49393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49394 $(NORMAL_TARGET_EXPORTS) \
49395 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
49396 for flag in $(EXTRA_TARGET_FLAGS); do \
49397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49398 done; \
49399 (cd $(TARGET_SUBDIR)/rda && \
49400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49402 "RANLIB=$${RANLIB}" \
49403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49404 html) \
49405 || exit 1
49407 @endif target-rda
49409 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
49410 maybe-TAGS-target-rda:
49411 @if target-rda
49412 maybe-TAGS-target-rda: TAGS-target-rda
49414 TAGS-target-rda: \
49415 configure-target-rda
49416 @: $(MAKE); $(unstage)
49417 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49418 r=`${PWD_COMMAND}`; export r; \
49419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49420 $(NORMAL_TARGET_EXPORTS) \
49421 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
49422 for flag in $(EXTRA_TARGET_FLAGS); do \
49423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49424 done; \
49425 (cd $(TARGET_SUBDIR)/rda && \
49426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49428 "RANLIB=$${RANLIB}" \
49429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49430 TAGS) \
49431 || exit 1
49433 @endif target-rda
49435 .PHONY: maybe-install-info-target-rda install-info-target-rda
49436 maybe-install-info-target-rda:
49437 @if target-rda
49438 maybe-install-info-target-rda: install-info-target-rda
49440 install-info-target-rda: \
49441 configure-target-rda \
49442 info-target-rda
49443 @: $(MAKE); $(unstage)
49444 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49445 r=`${PWD_COMMAND}`; export r; \
49446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49447 $(NORMAL_TARGET_EXPORTS) \
49448 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
49449 for flag in $(EXTRA_TARGET_FLAGS); do \
49450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49451 done; \
49452 (cd $(TARGET_SUBDIR)/rda && \
49453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49455 "RANLIB=$${RANLIB}" \
49456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49457 install-info) \
49458 || exit 1
49460 @endif target-rda
49462 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
49463 maybe-install-pdf-target-rda:
49464 @if target-rda
49465 maybe-install-pdf-target-rda: install-pdf-target-rda
49467 install-pdf-target-rda: \
49468 configure-target-rda \
49469 pdf-target-rda
49470 @: $(MAKE); $(unstage)
49471 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49472 r=`${PWD_COMMAND}`; export r; \
49473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49474 $(NORMAL_TARGET_EXPORTS) \
49475 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
49476 for flag in $(EXTRA_TARGET_FLAGS); do \
49477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49478 done; \
49479 (cd $(TARGET_SUBDIR)/rda && \
49480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49482 "RANLIB=$${RANLIB}" \
49483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49484 install-pdf) \
49485 || exit 1
49487 @endif target-rda
49489 .PHONY: maybe-install-html-target-rda install-html-target-rda
49490 maybe-install-html-target-rda:
49491 @if target-rda
49492 maybe-install-html-target-rda: install-html-target-rda
49494 install-html-target-rda: \
49495 configure-target-rda \
49496 html-target-rda
49497 @: $(MAKE); $(unstage)
49498 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49499 r=`${PWD_COMMAND}`; export r; \
49500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49501 $(NORMAL_TARGET_EXPORTS) \
49502 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
49503 for flag in $(EXTRA_TARGET_FLAGS); do \
49504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49505 done; \
49506 (cd $(TARGET_SUBDIR)/rda && \
49507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49509 "RANLIB=$${RANLIB}" \
49510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49511 install-html) \
49512 || exit 1
49514 @endif target-rda
49516 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
49517 maybe-installcheck-target-rda:
49518 @if target-rda
49519 maybe-installcheck-target-rda: installcheck-target-rda
49521 installcheck-target-rda: \
49522 configure-target-rda
49523 @: $(MAKE); $(unstage)
49524 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49525 r=`${PWD_COMMAND}`; export r; \
49526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49527 $(NORMAL_TARGET_EXPORTS) \
49528 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
49529 for flag in $(EXTRA_TARGET_FLAGS); do \
49530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49531 done; \
49532 (cd $(TARGET_SUBDIR)/rda && \
49533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49535 "RANLIB=$${RANLIB}" \
49536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49537 installcheck) \
49538 || exit 1
49540 @endif target-rda
49542 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
49543 maybe-mostlyclean-target-rda:
49544 @if target-rda
49545 maybe-mostlyclean-target-rda: mostlyclean-target-rda
49547 mostlyclean-target-rda:
49548 @: $(MAKE); $(unstage)
49549 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49550 r=`${PWD_COMMAND}`; export r; \
49551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49552 $(NORMAL_TARGET_EXPORTS) \
49553 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
49554 for flag in $(EXTRA_TARGET_FLAGS); do \
49555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49556 done; \
49557 (cd $(TARGET_SUBDIR)/rda && \
49558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49560 "RANLIB=$${RANLIB}" \
49561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49562 mostlyclean) \
49563 || exit 1
49565 @endif target-rda
49567 .PHONY: maybe-clean-target-rda clean-target-rda
49568 maybe-clean-target-rda:
49569 @if target-rda
49570 maybe-clean-target-rda: clean-target-rda
49572 clean-target-rda:
49573 @: $(MAKE); $(unstage)
49574 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49575 r=`${PWD_COMMAND}`; export r; \
49576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49577 $(NORMAL_TARGET_EXPORTS) \
49578 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
49579 for flag in $(EXTRA_TARGET_FLAGS); do \
49580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49581 done; \
49582 (cd $(TARGET_SUBDIR)/rda && \
49583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49585 "RANLIB=$${RANLIB}" \
49586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49587 clean) \
49588 || exit 1
49590 @endif target-rda
49592 .PHONY: maybe-distclean-target-rda distclean-target-rda
49593 maybe-distclean-target-rda:
49594 @if target-rda
49595 maybe-distclean-target-rda: distclean-target-rda
49597 distclean-target-rda:
49598 @: $(MAKE); $(unstage)
49599 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49600 r=`${PWD_COMMAND}`; export r; \
49601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49602 $(NORMAL_TARGET_EXPORTS) \
49603 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
49604 for flag in $(EXTRA_TARGET_FLAGS); do \
49605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49606 done; \
49607 (cd $(TARGET_SUBDIR)/rda && \
49608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49610 "RANLIB=$${RANLIB}" \
49611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49612 distclean) \
49613 || exit 1
49615 @endif target-rda
49617 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
49618 maybe-maintainer-clean-target-rda:
49619 @if target-rda
49620 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
49622 maintainer-clean-target-rda:
49623 @: $(MAKE); $(unstage)
49624 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
49625 r=`${PWD_COMMAND}`; export r; \
49626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49627 $(NORMAL_TARGET_EXPORTS) \
49628 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
49629 for flag in $(EXTRA_TARGET_FLAGS); do \
49630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49631 done; \
49632 (cd $(TARGET_SUBDIR)/rda && \
49633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49635 "RANLIB=$${RANLIB}" \
49636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49637 maintainer-clean) \
49638 || exit 1
49640 @endif target-rda
49646 .PHONY: configure-target-libada maybe-configure-target-libada
49647 maybe-configure-target-libada:
49648 @if gcc-bootstrap
49649 configure-target-libada: stage_current
49650 @endif gcc-bootstrap
49651 @if target-libada
49652 maybe-configure-target-libada: configure-target-libada
49653 configure-target-libada:
49654 @: $(MAKE); $(unstage)
49655 @r=`${PWD_COMMAND}`; export r; \
49656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49657 echo "Checking multilib configuration for libada..."; \
49658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
49659 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
49660 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
49661 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
49662 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
49663 else \
49664 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
49665 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49666 fi; \
49667 else \
49668 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
49669 fi; \
49670 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
49671 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
49672 $(NORMAL_TARGET_EXPORTS) \
49673 echo Configuring in $(TARGET_SUBDIR)/libada; \
49674 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
49675 case $(srcdir) in \
49676 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
49677 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
49678 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
49679 esac; \
49680 srcdiroption="--srcdir=$${topdir}/libada"; \
49681 libsrcdir="$$s/libada"; \
49682 rm -f no-such-file || : ; \
49683 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
49684 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
49685 --target=${target_alias} $${srcdiroption} \
49686 || exit 1
49687 @endif target-libada
49693 .PHONY: all-target-libada maybe-all-target-libada
49694 maybe-all-target-libada:
49695 @if gcc-bootstrap
49696 all-target-libada: stage_current
49697 @endif gcc-bootstrap
49698 @if target-libada
49699 TARGET-target-libada=all
49700 maybe-all-target-libada: all-target-libada
49701 all-target-libada: configure-target-libada
49702 @: $(MAKE); $(unstage)
49703 @r=`${PWD_COMMAND}`; export r; \
49704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49705 $(NORMAL_TARGET_EXPORTS) \
49706 (cd $(TARGET_SUBDIR)/libada && \
49707 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
49708 $(TARGET-target-libada))
49709 @endif target-libada
49715 .PHONY: check-target-libada maybe-check-target-libada
49716 maybe-check-target-libada:
49717 @if target-libada
49718 maybe-check-target-libada: check-target-libada
49720 check-target-libada:
49721 @: $(MAKE); $(unstage)
49722 @r=`${PWD_COMMAND}`; export r; \
49723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49724 $(NORMAL_TARGET_EXPORTS) \
49725 (cd $(TARGET_SUBDIR)/libada && \
49726 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
49728 @endif target-libada
49730 .PHONY: install-target-libada maybe-install-target-libada
49731 maybe-install-target-libada:
49732 @if target-libada
49733 maybe-install-target-libada: install-target-libada
49735 install-target-libada: installdirs
49736 @: $(MAKE); $(unstage)
49737 @r=`${PWD_COMMAND}`; export r; \
49738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49739 $(NORMAL_TARGET_EXPORTS) \
49740 (cd $(TARGET_SUBDIR)/libada && \
49741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
49743 @endif target-libada
49745 # Other targets (info, dvi, pdf, etc.)
49747 .PHONY: maybe-info-target-libada info-target-libada
49748 maybe-info-target-libada:
49749 @if target-libada
49750 maybe-info-target-libada: info-target-libada
49752 info-target-libada: \
49753 configure-target-libada
49754 @: $(MAKE); $(unstage)
49755 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49756 r=`${PWD_COMMAND}`; export r; \
49757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49758 $(NORMAL_TARGET_EXPORTS) \
49759 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
49760 for flag in $(EXTRA_TARGET_FLAGS); do \
49761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49762 done; \
49763 (cd $(TARGET_SUBDIR)/libada && \
49764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49766 "RANLIB=$${RANLIB}" \
49767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49768 info) \
49769 || exit 1
49771 @endif target-libada
49773 .PHONY: maybe-dvi-target-libada dvi-target-libada
49774 maybe-dvi-target-libada:
49775 @if target-libada
49776 maybe-dvi-target-libada: dvi-target-libada
49778 dvi-target-libada: \
49779 configure-target-libada
49780 @: $(MAKE); $(unstage)
49781 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49782 r=`${PWD_COMMAND}`; export r; \
49783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49784 $(NORMAL_TARGET_EXPORTS) \
49785 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
49786 for flag in $(EXTRA_TARGET_FLAGS); do \
49787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49788 done; \
49789 (cd $(TARGET_SUBDIR)/libada && \
49790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49792 "RANLIB=$${RANLIB}" \
49793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49794 dvi) \
49795 || exit 1
49797 @endif target-libada
49799 .PHONY: maybe-pdf-target-libada pdf-target-libada
49800 maybe-pdf-target-libada:
49801 @if target-libada
49802 maybe-pdf-target-libada: pdf-target-libada
49804 pdf-target-libada: \
49805 configure-target-libada
49806 @: $(MAKE); $(unstage)
49807 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49808 r=`${PWD_COMMAND}`; export r; \
49809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49810 $(NORMAL_TARGET_EXPORTS) \
49811 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
49812 for flag in $(EXTRA_TARGET_FLAGS); do \
49813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49814 done; \
49815 (cd $(TARGET_SUBDIR)/libada && \
49816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49818 "RANLIB=$${RANLIB}" \
49819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49820 pdf) \
49821 || exit 1
49823 @endif target-libada
49825 .PHONY: maybe-html-target-libada html-target-libada
49826 maybe-html-target-libada:
49827 @if target-libada
49828 maybe-html-target-libada: html-target-libada
49830 html-target-libada: \
49831 configure-target-libada
49832 @: $(MAKE); $(unstage)
49833 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49834 r=`${PWD_COMMAND}`; export r; \
49835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49836 $(NORMAL_TARGET_EXPORTS) \
49837 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
49838 for flag in $(EXTRA_TARGET_FLAGS); do \
49839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49840 done; \
49841 (cd $(TARGET_SUBDIR)/libada && \
49842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49844 "RANLIB=$${RANLIB}" \
49845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49846 html) \
49847 || exit 1
49849 @endif target-libada
49851 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
49852 maybe-TAGS-target-libada:
49853 @if target-libada
49854 maybe-TAGS-target-libada: TAGS-target-libada
49856 TAGS-target-libada: \
49857 configure-target-libada
49858 @: $(MAKE); $(unstage)
49859 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49860 r=`${PWD_COMMAND}`; export r; \
49861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49862 $(NORMAL_TARGET_EXPORTS) \
49863 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
49864 for flag in $(EXTRA_TARGET_FLAGS); do \
49865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49866 done; \
49867 (cd $(TARGET_SUBDIR)/libada && \
49868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49870 "RANLIB=$${RANLIB}" \
49871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49872 TAGS) \
49873 || exit 1
49875 @endif target-libada
49877 .PHONY: maybe-install-info-target-libada install-info-target-libada
49878 maybe-install-info-target-libada:
49879 @if target-libada
49880 maybe-install-info-target-libada: install-info-target-libada
49882 install-info-target-libada: \
49883 configure-target-libada \
49884 info-target-libada
49885 @: $(MAKE); $(unstage)
49886 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49887 r=`${PWD_COMMAND}`; export r; \
49888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49889 $(NORMAL_TARGET_EXPORTS) \
49890 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 install-info) \
49900 || exit 1
49902 @endif target-libada
49904 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
49905 maybe-install-pdf-target-libada:
49906 @if target-libada
49907 maybe-install-pdf-target-libada: install-pdf-target-libada
49909 install-pdf-target-libada: \
49910 configure-target-libada \
49911 pdf-target-libada
49912 @: $(MAKE); $(unstage)
49913 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49914 r=`${PWD_COMMAND}`; export r; \
49915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49916 $(NORMAL_TARGET_EXPORTS) \
49917 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
49918 for flag in $(EXTRA_TARGET_FLAGS); do \
49919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49920 done; \
49921 (cd $(TARGET_SUBDIR)/libada && \
49922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49924 "RANLIB=$${RANLIB}" \
49925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49926 install-pdf) \
49927 || exit 1
49929 @endif target-libada
49931 .PHONY: maybe-install-html-target-libada install-html-target-libada
49932 maybe-install-html-target-libada:
49933 @if target-libada
49934 maybe-install-html-target-libada: install-html-target-libada
49936 install-html-target-libada: \
49937 configure-target-libada \
49938 html-target-libada
49939 @: $(MAKE); $(unstage)
49940 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49941 r=`${PWD_COMMAND}`; export r; \
49942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49943 $(NORMAL_TARGET_EXPORTS) \
49944 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
49945 for flag in $(EXTRA_TARGET_FLAGS); do \
49946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49947 done; \
49948 (cd $(TARGET_SUBDIR)/libada && \
49949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49951 "RANLIB=$${RANLIB}" \
49952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49953 install-html) \
49954 || exit 1
49956 @endif target-libada
49958 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
49959 maybe-installcheck-target-libada:
49960 @if target-libada
49961 maybe-installcheck-target-libada: installcheck-target-libada
49963 installcheck-target-libada: \
49964 configure-target-libada
49965 @: $(MAKE); $(unstage)
49966 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49967 r=`${PWD_COMMAND}`; export r; \
49968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49969 $(NORMAL_TARGET_EXPORTS) \
49970 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
49971 for flag in $(EXTRA_TARGET_FLAGS); do \
49972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49973 done; \
49974 (cd $(TARGET_SUBDIR)/libada && \
49975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
49976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
49977 "RANLIB=$${RANLIB}" \
49978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
49979 installcheck) \
49980 || exit 1
49982 @endif target-libada
49984 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
49985 maybe-mostlyclean-target-libada:
49986 @if target-libada
49987 maybe-mostlyclean-target-libada: mostlyclean-target-libada
49989 mostlyclean-target-libada:
49990 @: $(MAKE); $(unstage)
49991 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
49992 r=`${PWD_COMMAND}`; export r; \
49993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
49994 $(NORMAL_TARGET_EXPORTS) \
49995 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
49996 for flag in $(EXTRA_TARGET_FLAGS); do \
49997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
49998 done; \
49999 (cd $(TARGET_SUBDIR)/libada && \
50000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50002 "RANLIB=$${RANLIB}" \
50003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50004 mostlyclean) \
50005 || exit 1
50007 @endif target-libada
50009 .PHONY: maybe-clean-target-libada clean-target-libada
50010 maybe-clean-target-libada:
50011 @if target-libada
50012 maybe-clean-target-libada: clean-target-libada
50014 clean-target-libada:
50015 @: $(MAKE); $(unstage)
50016 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
50017 r=`${PWD_COMMAND}`; export r; \
50018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50019 $(NORMAL_TARGET_EXPORTS) \
50020 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
50021 for flag in $(EXTRA_TARGET_FLAGS); do \
50022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50023 done; \
50024 (cd $(TARGET_SUBDIR)/libada && \
50025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50027 "RANLIB=$${RANLIB}" \
50028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50029 clean) \
50030 || exit 1
50032 @endif target-libada
50034 .PHONY: maybe-distclean-target-libada distclean-target-libada
50035 maybe-distclean-target-libada:
50036 @if target-libada
50037 maybe-distclean-target-libada: distclean-target-libada
50039 distclean-target-libada:
50040 @: $(MAKE); $(unstage)
50041 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
50042 r=`${PWD_COMMAND}`; export r; \
50043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50044 $(NORMAL_TARGET_EXPORTS) \
50045 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
50046 for flag in $(EXTRA_TARGET_FLAGS); do \
50047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50048 done; \
50049 (cd $(TARGET_SUBDIR)/libada && \
50050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50052 "RANLIB=$${RANLIB}" \
50053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50054 distclean) \
50055 || exit 1
50057 @endif target-libada
50059 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
50060 maybe-maintainer-clean-target-libada:
50061 @if target-libada
50062 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
50064 maintainer-clean-target-libada:
50065 @: $(MAKE); $(unstage)
50066 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
50067 r=`${PWD_COMMAND}`; export r; \
50068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50069 $(NORMAL_TARGET_EXPORTS) \
50070 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
50071 for flag in $(EXTRA_TARGET_FLAGS); do \
50072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50073 done; \
50074 (cd $(TARGET_SUBDIR)/libada && \
50075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50077 "RANLIB=$${RANLIB}" \
50078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50079 maintainer-clean) \
50080 || exit 1
50082 @endif target-libada
50088 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
50089 maybe-configure-target-libgomp:
50090 @if gcc-bootstrap
50091 configure-target-libgomp: stage_current
50092 @endif gcc-bootstrap
50093 @if target-libgomp
50094 maybe-configure-target-libgomp: configure-target-libgomp
50095 configure-target-libgomp:
50096 @: $(MAKE); $(unstage)
50097 @r=`${PWD_COMMAND}`; export r; \
50098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50099 echo "Checking multilib configuration for libgomp..."; \
50100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
50101 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
50102 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50103 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
50104 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
50105 else \
50106 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
50107 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50108 fi; \
50109 else \
50110 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
50111 fi; \
50112 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
50113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
50114 $(NORMAL_TARGET_EXPORTS) \
50115 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
50116 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
50117 case $(srcdir) in \
50118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50119 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
50120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50121 esac; \
50122 srcdiroption="--srcdir=$${topdir}/libgomp"; \
50123 libsrcdir="$$s/libgomp"; \
50124 rm -f no-such-file || : ; \
50125 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
50126 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50127 --target=${target_alias} $${srcdiroption} \
50128 || exit 1
50129 @endif target-libgomp
50135 .PHONY: all-target-libgomp maybe-all-target-libgomp
50136 maybe-all-target-libgomp:
50137 @if gcc-bootstrap
50138 all-target-libgomp: stage_current
50139 @endif gcc-bootstrap
50140 @if target-libgomp
50141 TARGET-target-libgomp=all
50142 maybe-all-target-libgomp: all-target-libgomp
50143 all-target-libgomp: configure-target-libgomp
50144 @: $(MAKE); $(unstage)
50145 @r=`${PWD_COMMAND}`; export r; \
50146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50147 $(NORMAL_TARGET_EXPORTS) \
50148 (cd $(TARGET_SUBDIR)/libgomp && \
50149 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
50150 $(TARGET-target-libgomp))
50151 @endif target-libgomp
50157 .PHONY: check-target-libgomp maybe-check-target-libgomp
50158 maybe-check-target-libgomp:
50159 @if target-libgomp
50160 maybe-check-target-libgomp: check-target-libgomp
50162 check-target-libgomp:
50163 @: $(MAKE); $(unstage)
50164 @r=`${PWD_COMMAND}`; export r; \
50165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50166 $(NORMAL_TARGET_EXPORTS) \
50167 (cd $(TARGET_SUBDIR)/libgomp && \
50168 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
50170 @endif target-libgomp
50172 .PHONY: install-target-libgomp maybe-install-target-libgomp
50173 maybe-install-target-libgomp:
50174 @if target-libgomp
50175 maybe-install-target-libgomp: install-target-libgomp
50177 install-target-libgomp: installdirs
50178 @: $(MAKE); $(unstage)
50179 @r=`${PWD_COMMAND}`; export r; \
50180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50181 $(NORMAL_TARGET_EXPORTS) \
50182 (cd $(TARGET_SUBDIR)/libgomp && \
50183 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
50185 @endif target-libgomp
50187 # Other targets (info, dvi, pdf, etc.)
50189 .PHONY: maybe-info-target-libgomp info-target-libgomp
50190 maybe-info-target-libgomp:
50191 @if target-libgomp
50192 maybe-info-target-libgomp: info-target-libgomp
50194 info-target-libgomp: \
50195 configure-target-libgomp
50196 @: $(MAKE); $(unstage)
50197 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50198 r=`${PWD_COMMAND}`; export r; \
50199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50200 $(NORMAL_TARGET_EXPORTS) \
50201 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 info) \
50211 || exit 1
50213 @endif target-libgomp
50215 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
50216 maybe-dvi-target-libgomp:
50217 @if target-libgomp
50218 maybe-dvi-target-libgomp: dvi-target-libgomp
50220 dvi-target-libgomp: \
50221 configure-target-libgomp
50222 @: $(MAKE); $(unstage)
50223 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50224 r=`${PWD_COMMAND}`; export r; \
50225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50226 $(NORMAL_TARGET_EXPORTS) \
50227 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
50228 for flag in $(EXTRA_TARGET_FLAGS); do \
50229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50230 done; \
50231 (cd $(TARGET_SUBDIR)/libgomp && \
50232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50234 "RANLIB=$${RANLIB}" \
50235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50236 dvi) \
50237 || exit 1
50239 @endif target-libgomp
50241 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
50242 maybe-pdf-target-libgomp:
50243 @if target-libgomp
50244 maybe-pdf-target-libgomp: pdf-target-libgomp
50246 pdf-target-libgomp: \
50247 configure-target-libgomp
50248 @: $(MAKE); $(unstage)
50249 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50250 r=`${PWD_COMMAND}`; export r; \
50251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50252 $(NORMAL_TARGET_EXPORTS) \
50253 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
50254 for flag in $(EXTRA_TARGET_FLAGS); do \
50255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50256 done; \
50257 (cd $(TARGET_SUBDIR)/libgomp && \
50258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50260 "RANLIB=$${RANLIB}" \
50261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50262 pdf) \
50263 || exit 1
50265 @endif target-libgomp
50267 .PHONY: maybe-html-target-libgomp html-target-libgomp
50268 maybe-html-target-libgomp:
50269 @if target-libgomp
50270 maybe-html-target-libgomp: html-target-libgomp
50272 html-target-libgomp: \
50273 configure-target-libgomp
50274 @: $(MAKE); $(unstage)
50275 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50276 r=`${PWD_COMMAND}`; export r; \
50277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50278 $(NORMAL_TARGET_EXPORTS) \
50279 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
50280 for flag in $(EXTRA_TARGET_FLAGS); do \
50281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50282 done; \
50283 (cd $(TARGET_SUBDIR)/libgomp && \
50284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50286 "RANLIB=$${RANLIB}" \
50287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50288 html) \
50289 || exit 1
50291 @endif target-libgomp
50293 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
50294 maybe-TAGS-target-libgomp:
50295 @if target-libgomp
50296 maybe-TAGS-target-libgomp: TAGS-target-libgomp
50298 TAGS-target-libgomp: \
50299 configure-target-libgomp
50300 @: $(MAKE); $(unstage)
50301 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50302 r=`${PWD_COMMAND}`; export r; \
50303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50304 $(NORMAL_TARGET_EXPORTS) \
50305 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
50306 for flag in $(EXTRA_TARGET_FLAGS); do \
50307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50308 done; \
50309 (cd $(TARGET_SUBDIR)/libgomp && \
50310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50312 "RANLIB=$${RANLIB}" \
50313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50314 TAGS) \
50315 || exit 1
50317 @endif target-libgomp
50319 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
50320 maybe-install-info-target-libgomp:
50321 @if target-libgomp
50322 maybe-install-info-target-libgomp: install-info-target-libgomp
50324 install-info-target-libgomp: \
50325 configure-target-libgomp \
50326 info-target-libgomp
50327 @: $(MAKE); $(unstage)
50328 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50329 r=`${PWD_COMMAND}`; export r; \
50330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50331 $(NORMAL_TARGET_EXPORTS) \
50332 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 install-info) \
50342 || exit 1
50344 @endif target-libgomp
50346 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
50347 maybe-install-pdf-target-libgomp:
50348 @if target-libgomp
50349 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
50351 install-pdf-target-libgomp: \
50352 configure-target-libgomp \
50353 pdf-target-libgomp
50354 @: $(MAKE); $(unstage)
50355 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50356 r=`${PWD_COMMAND}`; export r; \
50357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50358 $(NORMAL_TARGET_EXPORTS) \
50359 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
50360 for flag in $(EXTRA_TARGET_FLAGS); do \
50361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50362 done; \
50363 (cd $(TARGET_SUBDIR)/libgomp && \
50364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50366 "RANLIB=$${RANLIB}" \
50367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50368 install-pdf) \
50369 || exit 1
50371 @endif target-libgomp
50373 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
50374 maybe-install-html-target-libgomp:
50375 @if target-libgomp
50376 maybe-install-html-target-libgomp: install-html-target-libgomp
50378 install-html-target-libgomp: \
50379 configure-target-libgomp \
50380 html-target-libgomp
50381 @: $(MAKE); $(unstage)
50382 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50383 r=`${PWD_COMMAND}`; export r; \
50384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50385 $(NORMAL_TARGET_EXPORTS) \
50386 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
50387 for flag in $(EXTRA_TARGET_FLAGS); do \
50388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50389 done; \
50390 (cd $(TARGET_SUBDIR)/libgomp && \
50391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50393 "RANLIB=$${RANLIB}" \
50394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50395 install-html) \
50396 || exit 1
50398 @endif target-libgomp
50400 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
50401 maybe-installcheck-target-libgomp:
50402 @if target-libgomp
50403 maybe-installcheck-target-libgomp: installcheck-target-libgomp
50405 installcheck-target-libgomp: \
50406 configure-target-libgomp
50407 @: $(MAKE); $(unstage)
50408 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50409 r=`${PWD_COMMAND}`; export r; \
50410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50411 $(NORMAL_TARGET_EXPORTS) \
50412 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
50413 for flag in $(EXTRA_TARGET_FLAGS); do \
50414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50415 done; \
50416 (cd $(TARGET_SUBDIR)/libgomp && \
50417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50419 "RANLIB=$${RANLIB}" \
50420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50421 installcheck) \
50422 || exit 1
50424 @endif target-libgomp
50426 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
50427 maybe-mostlyclean-target-libgomp:
50428 @if target-libgomp
50429 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
50431 mostlyclean-target-libgomp:
50432 @: $(MAKE); $(unstage)
50433 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50434 r=`${PWD_COMMAND}`; export r; \
50435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50436 $(NORMAL_TARGET_EXPORTS) \
50437 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
50438 for flag in $(EXTRA_TARGET_FLAGS); do \
50439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50440 done; \
50441 (cd $(TARGET_SUBDIR)/libgomp && \
50442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50444 "RANLIB=$${RANLIB}" \
50445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50446 mostlyclean) \
50447 || exit 1
50449 @endif target-libgomp
50451 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
50452 maybe-clean-target-libgomp:
50453 @if target-libgomp
50454 maybe-clean-target-libgomp: clean-target-libgomp
50456 clean-target-libgomp:
50457 @: $(MAKE); $(unstage)
50458 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50459 r=`${PWD_COMMAND}`; export r; \
50460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50461 $(NORMAL_TARGET_EXPORTS) \
50462 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
50463 for flag in $(EXTRA_TARGET_FLAGS); do \
50464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50465 done; \
50466 (cd $(TARGET_SUBDIR)/libgomp && \
50467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50469 "RANLIB=$${RANLIB}" \
50470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50471 clean) \
50472 || exit 1
50474 @endif target-libgomp
50476 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
50477 maybe-distclean-target-libgomp:
50478 @if target-libgomp
50479 maybe-distclean-target-libgomp: distclean-target-libgomp
50481 distclean-target-libgomp:
50482 @: $(MAKE); $(unstage)
50483 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50484 r=`${PWD_COMMAND}`; export r; \
50485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50486 $(NORMAL_TARGET_EXPORTS) \
50487 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
50488 for flag in $(EXTRA_TARGET_FLAGS); do \
50489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50490 done; \
50491 (cd $(TARGET_SUBDIR)/libgomp && \
50492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50494 "RANLIB=$${RANLIB}" \
50495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50496 distclean) \
50497 || exit 1
50499 @endif target-libgomp
50501 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
50502 maybe-maintainer-clean-target-libgomp:
50503 @if target-libgomp
50504 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
50506 maintainer-clean-target-libgomp:
50507 @: $(MAKE); $(unstage)
50508 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
50509 r=`${PWD_COMMAND}`; export r; \
50510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50511 $(NORMAL_TARGET_EXPORTS) \
50512 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
50513 for flag in $(EXTRA_TARGET_FLAGS); do \
50514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
50515 done; \
50516 (cd $(TARGET_SUBDIR)/libgomp && \
50517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
50518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
50519 "RANLIB=$${RANLIB}" \
50520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
50521 maintainer-clean) \
50522 || exit 1
50524 @endif target-libgomp
50528 # ----------
50529 # GCC module
50530 # ----------
50532 @if gcc-no-bootstrap
50533 .PHONY: cross
50534 cross: all-build all-gas all-ld
50535 @r=`${PWD_COMMAND}`; export r; \
50536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50537 $(HOST_EXPORTS) \
50538 echo "Building the C and C++ compiler"; \
50539 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
50540 @r=`${PWD_COMMAND}`; export r; \
50541 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
50542 echo "Building runtime libraries"; \
50543 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
50544 @endif gcc-no-bootstrap
50546 @if gcc
50547 .PHONY: check-gcc-c++
50548 check-gcc-c++:
50549 @if [ -f ./gcc/Makefile ] ; then \
50550 r=`${PWD_COMMAND}`; export r; \
50551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50552 $(HOST_EXPORTS) \
50553 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
50554 else \
50555 true; \
50558 .PHONY: check-c++
50559 check-c++: check-target-libstdc++-v3 check-gcc-c++
50561 # Install the gcc headers files, but not the fixed include files,
50562 # which Cygnus is not allowed to distribute. This rule is very
50563 # dependent on the workings of the gcc Makefile.in.
50564 .PHONY: gcc-no-fixedincludes
50565 gcc-no-fixedincludes:
50566 @if [ -f ./gcc/Makefile ]; then \
50567 rm -rf gcc/tmp-include; \
50568 mv gcc/include gcc/tmp-include 2>/dev/null; \
50569 mkdir gcc/include; \
50570 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
50571 touch gcc/stmp-fixinc gcc/include/fixed; \
50572 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
50573 r=`${PWD_COMMAND}`; export r; \
50574 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
50575 $(HOST_EXPORTS) \
50576 (cd ./gcc && \
50577 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
50578 rm -rf gcc/include; \
50579 mv gcc/tmp-include gcc/include 2>/dev/null; \
50580 else true; fi
50581 @endif gcc
50583 # ---------------------
50584 # GCC bootstrap support
50585 # ---------------------
50587 # We track the current stage (the one in 'gcc') in the stage_current file.
50588 # stage_last instead tracks the stage that was built last. These targets
50589 # are dummy when toplevel bootstrap is not active.
50591 # While making host and target tools, symlinks to the final stage must be
50592 # there, so $(unstage) should be run at various points. To avoid excessive
50593 # recursive invocations of make, we "inline" them using a variable. These
50594 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
50595 # to avoid warnings from the GNU Make job server.
50597 unstage = :
50598 stage = :
50599 current_stage = ""
50601 @if gcc-bootstrap
50602 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
50603 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
50604 current_stage = "`cat stage_current 2> /dev/null`"
50605 @endif gcc-bootstrap
50607 .PHONY: unstage stage
50608 unstage:
50609 @: $(MAKE); $(unstage)
50610 stage:
50611 @: $(MAKE); $(stage)
50613 # Disable commands for lean bootstrap.
50614 LEAN = false
50616 # We name the build directories for the various stages "stage1-gcc",
50617 # "stage2-gcc","stage3-gcc", etc.
50619 # Since the 'compare' process will fail (on debugging information) if any
50620 # directory names are different, we need to link the gcc directory for
50621 # the previous stage to a constant name ('prev-gcc'), and to make the name of
50622 # the build directories constant as well. For the latter, we use naked names
50623 # like 'gcc', because the scripts in that directory assume it. We use
50624 # mv on platforms where symlinks to directories do not work or are not
50625 # reliable.
50627 # 'touch' doesn't work right on some platforms.
50628 STAMP = echo timestamp >
50630 # We only want to compare .o files, so set this!
50631 objext = .o
50634 .PHONY: stage1-start stage1-end
50636 stage1-start::
50637 @: $(MAKE); $(stage); \
50638 echo stage1 > stage_current ; \
50639 echo stage1 > stage_last; \
50640 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
50641 @if bfd
50642 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
50643 mkdir stage1-bfd; \
50644 mv stage1-bfd bfd
50645 @endif bfd
50646 @if opcodes
50647 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
50648 mkdir stage1-opcodes; \
50649 mv stage1-opcodes opcodes
50650 @endif opcodes
50651 @if binutils
50652 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
50653 mkdir stage1-binutils; \
50654 mv stage1-binutils binutils
50655 @endif binutils
50656 @if gas
50657 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
50658 mkdir stage1-gas; \
50659 mv stage1-gas gas
50660 @endif gas
50661 @if gcc
50662 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
50663 mkdir stage1-gcc; \
50664 mv stage1-gcc gcc
50665 @endif gcc
50666 @if gmp
50667 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
50668 mkdir stage1-gmp; \
50669 mv stage1-gmp gmp
50670 @endif gmp
50671 @if mpfr
50672 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
50673 mkdir stage1-mpfr; \
50674 mv stage1-mpfr mpfr
50675 @endif mpfr
50676 @if gold
50677 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
50678 mkdir stage1-gold; \
50679 mv stage1-gold gold
50680 @endif gold
50681 @if intl
50682 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
50683 mkdir stage1-intl; \
50684 mv stage1-intl intl
50685 @endif intl
50686 @if ld
50687 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
50688 mkdir stage1-ld; \
50689 mv stage1-ld ld
50690 @endif ld
50691 @if libcpp
50692 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
50693 mkdir stage1-libcpp; \
50694 mv stage1-libcpp libcpp
50695 @endif libcpp
50696 @if libdecnumber
50697 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
50698 mkdir stage1-libdecnumber; \
50699 mv stage1-libdecnumber libdecnumber
50700 @endif libdecnumber
50701 @if libiberty
50702 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
50703 mkdir stage1-libiberty; \
50704 mv stage1-libiberty libiberty
50705 @endif libiberty
50706 @if zlib
50707 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
50708 mkdir stage1-zlib; \
50709 mv stage1-zlib zlib
50710 @endif zlib
50711 @[ -d stage1-$(TARGET_SUBDIR) ] || \
50712 mkdir stage1-$(TARGET_SUBDIR); \
50713 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
50715 stage1-end::
50716 @if bfd
50717 @if test -d $(HOST_SUBDIR)/bfd ; then \
50718 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
50720 @endif bfd
50721 @if opcodes
50722 @if test -d $(HOST_SUBDIR)/opcodes ; then \
50723 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
50725 @endif opcodes
50726 @if binutils
50727 @if test -d $(HOST_SUBDIR)/binutils ; then \
50728 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
50730 @endif binutils
50731 @if gas
50732 @if test -d $(HOST_SUBDIR)/gas ; then \
50733 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
50735 @endif gas
50736 @if gcc
50737 @if test -d $(HOST_SUBDIR)/gcc ; then \
50738 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
50740 @endif gcc
50741 @if gmp
50742 @if test -d $(HOST_SUBDIR)/gmp ; then \
50743 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
50745 @endif gmp
50746 @if mpfr
50747 @if test -d $(HOST_SUBDIR)/mpfr ; then \
50748 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
50750 @endif mpfr
50751 @if gold
50752 @if test -d $(HOST_SUBDIR)/gold ; then \
50753 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
50755 @endif gold
50756 @if intl
50757 @if test -d $(HOST_SUBDIR)/intl ; then \
50758 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
50760 @endif intl
50761 @if ld
50762 @if test -d $(HOST_SUBDIR)/ld ; then \
50763 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
50765 @endif ld
50766 @if libcpp
50767 @if test -d $(HOST_SUBDIR)/libcpp ; then \
50768 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
50770 @endif libcpp
50771 @if libdecnumber
50772 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
50773 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
50775 @endif libdecnumber
50776 @if libiberty
50777 @if test -d $(HOST_SUBDIR)/libiberty ; then \
50778 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
50780 @endif libiberty
50781 @if zlib
50782 @if test -d $(HOST_SUBDIR)/zlib ; then \
50783 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
50785 @endif zlib
50786 @if test -d $(TARGET_SUBDIR) ; then \
50787 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
50789 rm -f stage_current
50791 # Bubble a bug fix through all the stages up to stage 1. They are
50792 # remade, but not reconfigured. The next stage (if any) will not be
50793 # reconfigured as well.
50794 .PHONY: stage1-bubble
50795 stage1-bubble::
50796 @r=`${PWD_COMMAND}`; export r; \
50797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50798 if test -f stage1-lean ; then \
50799 echo Skipping rebuild of stage1 ; \
50800 else \
50801 $(MAKE) stage1-start; \
50802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
50805 .PHONY: all-stage1 clean-stage1
50806 do-clean: clean-stage1
50808 # FIXME: Will not need to be conditional when toplevel bootstrap is the
50809 # only possibility, but now it conflicts with no-bootstrap rules
50810 @if gcc-bootstrap
50815 # Rules to wipe a stage and all the following ones, also used for cleanstrap
50817 .PHONY: distclean-stage1
50818 distclean-stage1::
50819 @: $(MAKE); $(stage)
50820 @test "`cat stage_last`" != stage1 || rm -f stage_last
50821 rm -rf stage1-*
50824 @endif gcc-bootstrap
50827 .PHONY: stage2-start stage2-end
50829 stage2-start::
50830 @: $(MAKE); $(stage); \
50831 echo stage2 > stage_current ; \
50832 echo stage2 > stage_last; \
50833 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
50834 @if bfd
50835 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
50836 mkdir stage2-bfd; \
50837 mv stage2-bfd bfd ; \
50838 mv stage1-bfd prev-bfd || test -f stage1-lean
50839 @endif bfd
50840 @if opcodes
50841 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
50842 mkdir stage2-opcodes; \
50843 mv stage2-opcodes opcodes ; \
50844 mv stage1-opcodes prev-opcodes || test -f stage1-lean
50845 @endif opcodes
50846 @if binutils
50847 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
50848 mkdir stage2-binutils; \
50849 mv stage2-binutils binutils ; \
50850 mv stage1-binutils prev-binutils || test -f stage1-lean
50851 @endif binutils
50852 @if gas
50853 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
50854 mkdir stage2-gas; \
50855 mv stage2-gas gas ; \
50856 mv stage1-gas prev-gas || test -f stage1-lean
50857 @endif gas
50858 @if gcc
50859 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
50860 mkdir stage2-gcc; \
50861 mv stage2-gcc gcc ; \
50862 mv stage1-gcc prev-gcc || test -f stage1-lean
50863 @endif gcc
50864 @if gmp
50865 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
50866 mkdir stage2-gmp; \
50867 mv stage2-gmp gmp ; \
50868 mv stage1-gmp prev-gmp || test -f stage1-lean
50869 @endif gmp
50870 @if mpfr
50871 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
50872 mkdir stage2-mpfr; \
50873 mv stage2-mpfr mpfr ; \
50874 mv stage1-mpfr prev-mpfr || test -f stage1-lean
50875 @endif mpfr
50876 @if gold
50877 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
50878 mkdir stage2-gold; \
50879 mv stage2-gold gold ; \
50880 mv stage1-gold prev-gold || test -f stage1-lean
50881 @endif gold
50882 @if intl
50883 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
50884 mkdir stage2-intl; \
50885 mv stage2-intl intl ; \
50886 mv stage1-intl prev-intl || test -f stage1-lean
50887 @endif intl
50888 @if ld
50889 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
50890 mkdir stage2-ld; \
50891 mv stage2-ld ld ; \
50892 mv stage1-ld prev-ld || test -f stage1-lean
50893 @endif ld
50894 @if libcpp
50895 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
50896 mkdir stage2-libcpp; \
50897 mv stage2-libcpp libcpp ; \
50898 mv stage1-libcpp prev-libcpp || test -f stage1-lean
50899 @endif libcpp
50900 @if libdecnumber
50901 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
50902 mkdir stage2-libdecnumber; \
50903 mv stage2-libdecnumber libdecnumber ; \
50904 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
50905 @endif libdecnumber
50906 @if libiberty
50907 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
50908 mkdir stage2-libiberty; \
50909 mv stage2-libiberty libiberty ; \
50910 mv stage1-libiberty prev-libiberty || test -f stage1-lean
50911 @endif libiberty
50912 @if zlib
50913 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
50914 mkdir stage2-zlib; \
50915 mv stage2-zlib zlib ; \
50916 mv stage1-zlib prev-zlib || test -f stage1-lean
50917 @endif zlib
50918 @[ -d stage2-$(TARGET_SUBDIR) ] || \
50919 mkdir stage2-$(TARGET_SUBDIR); \
50920 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
50921 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
50923 stage2-end::
50924 @if bfd
50925 @if test -d $(HOST_SUBDIR)/bfd ; then \
50926 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
50927 mv prev-bfd stage1-bfd ; : ; \
50929 @endif bfd
50930 @if opcodes
50931 @if test -d $(HOST_SUBDIR)/opcodes ; then \
50932 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
50933 mv prev-opcodes stage1-opcodes ; : ; \
50935 @endif opcodes
50936 @if binutils
50937 @if test -d $(HOST_SUBDIR)/binutils ; then \
50938 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
50939 mv prev-binutils stage1-binutils ; : ; \
50941 @endif binutils
50942 @if gas
50943 @if test -d $(HOST_SUBDIR)/gas ; then \
50944 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
50945 mv prev-gas stage1-gas ; : ; \
50947 @endif gas
50948 @if gcc
50949 @if test -d $(HOST_SUBDIR)/gcc ; then \
50950 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
50951 mv prev-gcc stage1-gcc ; : ; \
50953 @endif gcc
50954 @if gmp
50955 @if test -d $(HOST_SUBDIR)/gmp ; then \
50956 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
50957 mv prev-gmp stage1-gmp ; : ; \
50959 @endif gmp
50960 @if mpfr
50961 @if test -d $(HOST_SUBDIR)/mpfr ; then \
50962 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
50963 mv prev-mpfr stage1-mpfr ; : ; \
50965 @endif mpfr
50966 @if gold
50967 @if test -d $(HOST_SUBDIR)/gold ; then \
50968 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
50969 mv prev-gold stage1-gold ; : ; \
50971 @endif gold
50972 @if intl
50973 @if test -d $(HOST_SUBDIR)/intl ; then \
50974 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
50975 mv prev-intl stage1-intl ; : ; \
50977 @endif intl
50978 @if ld
50979 @if test -d $(HOST_SUBDIR)/ld ; then \
50980 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
50981 mv prev-ld stage1-ld ; : ; \
50983 @endif ld
50984 @if libcpp
50985 @if test -d $(HOST_SUBDIR)/libcpp ; then \
50986 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
50987 mv prev-libcpp stage1-libcpp ; : ; \
50989 @endif libcpp
50990 @if libdecnumber
50991 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
50992 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
50993 mv prev-libdecnumber stage1-libdecnumber ; : ; \
50995 @endif libdecnumber
50996 @if libiberty
50997 @if test -d $(HOST_SUBDIR)/libiberty ; then \
50998 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
50999 mv prev-libiberty stage1-libiberty ; : ; \
51001 @endif libiberty
51002 @if zlib
51003 @if test -d $(HOST_SUBDIR)/zlib ; then \
51004 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
51005 mv prev-zlib stage1-zlib ; : ; \
51007 @endif zlib
51008 @if test -d $(TARGET_SUBDIR) ; then \
51009 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
51010 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
51012 rm -f stage_current
51014 # Bubble a bug fix through all the stages up to stage 2. They are
51015 # remade, but not reconfigured. The next stage (if any) will not be
51016 # reconfigured as well.
51017 .PHONY: stage2-bubble
51018 stage2-bubble:: stage1-bubble
51019 @r=`${PWD_COMMAND}`; export r; \
51020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51021 if test -f stage2-lean || test -f stage1-lean ; then \
51022 echo Skipping rebuild of stage2 ; \
51023 else \
51024 $(MAKE) stage2-start; \
51025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
51028 .PHONY: all-stage2 clean-stage2
51029 do-clean: clean-stage2
51031 # FIXME: Will not need to be conditional when toplevel bootstrap is the
51032 # only possibility, but now it conflicts with no-bootstrap rules
51033 @if gcc-bootstrap
51037 .PHONY: bootstrap2 bootstrap2-lean
51038 bootstrap2:
51039 echo stage2 > stage_final
51040 @r=`${PWD_COMMAND}`; export r; \
51041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51042 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
51043 @: $(MAKE); $(unstage)
51044 @r=`${PWD_COMMAND}`; export r; \
51045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51046 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51048 bootstrap2-lean:
51049 echo stage2 > stage_final
51050 @r=`${PWD_COMMAND}`; export r; \
51051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51052 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
51053 @: $(MAKE); $(unstage)
51054 @r=`${PWD_COMMAND}`; export r; \
51055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51056 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51059 # Rules to wipe a stage and all the following ones, also used for cleanstrap
51060 distclean-stage1:: distclean-stage2
51061 .PHONY: distclean-stage2
51062 distclean-stage2::
51063 @: $(MAKE); $(stage)
51064 @test "`cat stage_last`" != stage2 || rm -f stage_last
51065 rm -rf stage2-*
51068 @endif gcc-bootstrap
51071 .PHONY: stageb2g0-start stageb2g0-end
51073 stageb2g0-start::
51074 @: $(MAKE); $(stage); \
51075 echo stageb2g0 > stage_current ; \
51076 echo stageb2g0 > stage_last; \
51077 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51078 @if bfd
51079 @cd $(HOST_SUBDIR); [ -d stageb2g0-bfd ] || \
51080 mkdir stageb2g0-bfd; \
51081 mv stageb2g0-bfd bfd ; \
51082 mv stage1-bfd prev-bfd || test -f stage1-lean
51083 @endif bfd
51084 @if opcodes
51085 @cd $(HOST_SUBDIR); [ -d stageb2g0-opcodes ] || \
51086 mkdir stageb2g0-opcodes; \
51087 mv stageb2g0-opcodes opcodes ; \
51088 mv stage1-opcodes prev-opcodes || test -f stage1-lean
51089 @endif opcodes
51090 @if binutils
51091 @cd $(HOST_SUBDIR); [ -d stageb2g0-binutils ] || \
51092 mkdir stageb2g0-binutils; \
51093 mv stageb2g0-binutils binutils ; \
51094 mv stage1-binutils prev-binutils || test -f stage1-lean
51095 @endif binutils
51096 @if gas
51097 @cd $(HOST_SUBDIR); [ -d stageb2g0-gas ] || \
51098 mkdir stageb2g0-gas; \
51099 mv stageb2g0-gas gas ; \
51100 mv stage1-gas prev-gas || test -f stage1-lean
51101 @endif gas
51102 @if gcc
51103 @cd $(HOST_SUBDIR); [ -d stageb2g0-gcc ] || \
51104 mkdir stageb2g0-gcc; \
51105 mv stageb2g0-gcc gcc ; \
51106 mv stage1-gcc prev-gcc || test -f stage1-lean
51107 @endif gcc
51108 @if gmp
51109 @cd $(HOST_SUBDIR); [ -d stageb2g0-gmp ] || \
51110 mkdir stageb2g0-gmp; \
51111 mv stageb2g0-gmp gmp ; \
51112 mv stage1-gmp prev-gmp || test -f stage1-lean
51113 @endif gmp
51114 @if mpfr
51115 @cd $(HOST_SUBDIR); [ -d stageb2g0-mpfr ] || \
51116 mkdir stageb2g0-mpfr; \
51117 mv stageb2g0-mpfr mpfr ; \
51118 mv stage1-mpfr prev-mpfr || test -f stage1-lean
51119 @endif mpfr
51120 @if gold
51121 @cd $(HOST_SUBDIR); [ -d stageb2g0-gold ] || \
51122 mkdir stageb2g0-gold; \
51123 mv stageb2g0-gold gold ; \
51124 mv stage1-gold prev-gold || test -f stage1-lean
51125 @endif gold
51126 @if intl
51127 @cd $(HOST_SUBDIR); [ -d stageb2g0-intl ] || \
51128 mkdir stageb2g0-intl; \
51129 mv stageb2g0-intl intl ; \
51130 mv stage1-intl prev-intl || test -f stage1-lean
51131 @endif intl
51132 @if ld
51133 @cd $(HOST_SUBDIR); [ -d stageb2g0-ld ] || \
51134 mkdir stageb2g0-ld; \
51135 mv stageb2g0-ld ld ; \
51136 mv stage1-ld prev-ld || test -f stage1-lean
51137 @endif ld
51138 @if libcpp
51139 @cd $(HOST_SUBDIR); [ -d stageb2g0-libcpp ] || \
51140 mkdir stageb2g0-libcpp; \
51141 mv stageb2g0-libcpp libcpp ; \
51142 mv stage1-libcpp prev-libcpp || test -f stage1-lean
51143 @endif libcpp
51144 @if libdecnumber
51145 @cd $(HOST_SUBDIR); [ -d stageb2g0-libdecnumber ] || \
51146 mkdir stageb2g0-libdecnumber; \
51147 mv stageb2g0-libdecnumber libdecnumber ; \
51148 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
51149 @endif libdecnumber
51150 @if libiberty
51151 @cd $(HOST_SUBDIR); [ -d stageb2g0-libiberty ] || \
51152 mkdir stageb2g0-libiberty; \
51153 mv stageb2g0-libiberty libiberty ; \
51154 mv stage1-libiberty prev-libiberty || test -f stage1-lean
51155 @endif libiberty
51156 @if zlib
51157 @cd $(HOST_SUBDIR); [ -d stageb2g0-zlib ] || \
51158 mkdir stageb2g0-zlib; \
51159 mv stageb2g0-zlib zlib ; \
51160 mv stage1-zlib prev-zlib || test -f stage1-lean
51161 @endif zlib
51162 @[ -d stageb2g0-$(TARGET_SUBDIR) ] || \
51163 mkdir stageb2g0-$(TARGET_SUBDIR); \
51164 mv stageb2g0-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
51165 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
51167 stageb2g0-end::
51168 @if bfd
51169 @if test -d $(HOST_SUBDIR)/bfd ; then \
51170 cd $(HOST_SUBDIR); mv bfd stageb2g0-bfd ; \
51171 mv prev-bfd stage1-bfd ; : ; \
51173 @endif bfd
51174 @if opcodes
51175 @if test -d $(HOST_SUBDIR)/opcodes ; then \
51176 cd $(HOST_SUBDIR); mv opcodes stageb2g0-opcodes ; \
51177 mv prev-opcodes stage1-opcodes ; : ; \
51179 @endif opcodes
51180 @if binutils
51181 @if test -d $(HOST_SUBDIR)/binutils ; then \
51182 cd $(HOST_SUBDIR); mv binutils stageb2g0-binutils ; \
51183 mv prev-binutils stage1-binutils ; : ; \
51185 @endif binutils
51186 @if gas
51187 @if test -d $(HOST_SUBDIR)/gas ; then \
51188 cd $(HOST_SUBDIR); mv gas stageb2g0-gas ; \
51189 mv prev-gas stage1-gas ; : ; \
51191 @endif gas
51192 @if gcc
51193 @if test -d $(HOST_SUBDIR)/gcc ; then \
51194 cd $(HOST_SUBDIR); mv gcc stageb2g0-gcc ; \
51195 mv prev-gcc stage1-gcc ; : ; \
51197 @endif gcc
51198 @if gmp
51199 @if test -d $(HOST_SUBDIR)/gmp ; then \
51200 cd $(HOST_SUBDIR); mv gmp stageb2g0-gmp ; \
51201 mv prev-gmp stage1-gmp ; : ; \
51203 @endif gmp
51204 @if mpfr
51205 @if test -d $(HOST_SUBDIR)/mpfr ; then \
51206 cd $(HOST_SUBDIR); mv mpfr stageb2g0-mpfr ; \
51207 mv prev-mpfr stage1-mpfr ; : ; \
51209 @endif mpfr
51210 @if gold
51211 @if test -d $(HOST_SUBDIR)/gold ; then \
51212 cd $(HOST_SUBDIR); mv gold stageb2g0-gold ; \
51213 mv prev-gold stage1-gold ; : ; \
51215 @endif gold
51216 @if intl
51217 @if test -d $(HOST_SUBDIR)/intl ; then \
51218 cd $(HOST_SUBDIR); mv intl stageb2g0-intl ; \
51219 mv prev-intl stage1-intl ; : ; \
51221 @endif intl
51222 @if ld
51223 @if test -d $(HOST_SUBDIR)/ld ; then \
51224 cd $(HOST_SUBDIR); mv ld stageb2g0-ld ; \
51225 mv prev-ld stage1-ld ; : ; \
51227 @endif ld
51228 @if libcpp
51229 @if test -d $(HOST_SUBDIR)/libcpp ; then \
51230 cd $(HOST_SUBDIR); mv libcpp stageb2g0-libcpp ; \
51231 mv prev-libcpp stage1-libcpp ; : ; \
51233 @endif libcpp
51234 @if libdecnumber
51235 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
51236 cd $(HOST_SUBDIR); mv libdecnumber stageb2g0-libdecnumber ; \
51237 mv prev-libdecnumber stage1-libdecnumber ; : ; \
51239 @endif libdecnumber
51240 @if libiberty
51241 @if test -d $(HOST_SUBDIR)/libiberty ; then \
51242 cd $(HOST_SUBDIR); mv libiberty stageb2g0-libiberty ; \
51243 mv prev-libiberty stage1-libiberty ; : ; \
51245 @endif libiberty
51246 @if zlib
51247 @if test -d $(HOST_SUBDIR)/zlib ; then \
51248 cd $(HOST_SUBDIR); mv zlib stageb2g0-zlib ; \
51249 mv prev-zlib stage1-zlib ; : ; \
51251 @endif zlib
51252 @if test -d $(TARGET_SUBDIR) ; then \
51253 mv $(TARGET_SUBDIR) stageb2g0-$(TARGET_SUBDIR) ; \
51254 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
51256 rm -f stage_current
51258 # Bubble a bug fix through all the stages up to stage b2g0. They are
51259 # remade, but not reconfigured. The next stage (if any) will not be
51260 # reconfigured as well.
51261 .PHONY: stageb2g0-bubble
51262 stageb2g0-bubble:: stage1-bubble
51263 @r=`${PWD_COMMAND}`; export r; \
51264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51265 if test -f stageb2g0-lean || test -f stage1-lean ; then \
51266 echo Skipping rebuild of stageb2g0 ; \
51267 else \
51268 $(MAKE) stageb2g0-start; \
51269 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageb2g0; \
51272 .PHONY: all-stageb2g0 clean-stageb2g0
51273 do-clean: clean-stageb2g0
51275 # FIXME: Will not need to be conditional when toplevel bootstrap is the
51276 # only possibility, but now it conflicts with no-bootstrap rules
51277 @if gcc-bootstrap
51281 .PHONY: bootstrap2-debug bootstrap2-debug-lean
51282 bootstrap2-debug:
51283 echo stageb2g0 > stage_final
51284 @r=`${PWD_COMMAND}`; export r; \
51285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51286 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb2g0-bubble
51287 @: $(MAKE); $(unstage)
51288 @r=`${PWD_COMMAND}`; export r; \
51289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51290 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51292 bootstrap2-debug-lean:
51293 echo stageb2g0 > stage_final
51294 @r=`${PWD_COMMAND}`; export r; \
51295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51296 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageb2g0-bubble
51297 @: $(MAKE); $(unstage)
51298 @r=`${PWD_COMMAND}`; export r; \
51299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51300 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51303 # Rules to wipe a stage and all the following ones, also used for cleanstrap
51304 distclean-stage1:: distclean-stageb2g0
51305 .PHONY: distclean-stageb2g0
51306 distclean-stageb2g0::
51307 @: $(MAKE); $(stage)
51308 @test "`cat stage_last`" != stageb2g0 || rm -f stage_last
51309 rm -rf stageb2g0-*
51312 @endif gcc-bootstrap
51315 .PHONY: stage3-start stage3-end
51317 stage3-start::
51318 @: $(MAKE); $(stage); \
51319 echo stage3 > stage_current ; \
51320 echo stage3 > stage_last; \
51321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51322 @if bfd
51323 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
51324 mkdir stage3-bfd; \
51325 mv stage3-bfd bfd ; \
51326 mv stage2-bfd prev-bfd || test -f stage2-lean
51327 @endif bfd
51328 @if opcodes
51329 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
51330 mkdir stage3-opcodes; \
51331 mv stage3-opcodes opcodes ; \
51332 mv stage2-opcodes prev-opcodes || test -f stage2-lean
51333 @endif opcodes
51334 @if binutils
51335 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
51336 mkdir stage3-binutils; \
51337 mv stage3-binutils binutils ; \
51338 mv stage2-binutils prev-binutils || test -f stage2-lean
51339 @endif binutils
51340 @if gas
51341 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
51342 mkdir stage3-gas; \
51343 mv stage3-gas gas ; \
51344 mv stage2-gas prev-gas || test -f stage2-lean
51345 @endif gas
51346 @if gcc
51347 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
51348 mkdir stage3-gcc; \
51349 mv stage3-gcc gcc ; \
51350 mv stage2-gcc prev-gcc || test -f stage2-lean
51351 @endif gcc
51352 @if gmp
51353 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
51354 mkdir stage3-gmp; \
51355 mv stage3-gmp gmp ; \
51356 mv stage2-gmp prev-gmp || test -f stage2-lean
51357 @endif gmp
51358 @if mpfr
51359 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
51360 mkdir stage3-mpfr; \
51361 mv stage3-mpfr mpfr ; \
51362 mv stage2-mpfr prev-mpfr || test -f stage2-lean
51363 @endif mpfr
51364 @if gold
51365 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
51366 mkdir stage3-gold; \
51367 mv stage3-gold gold ; \
51368 mv stage2-gold prev-gold || test -f stage2-lean
51369 @endif gold
51370 @if intl
51371 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
51372 mkdir stage3-intl; \
51373 mv stage3-intl intl ; \
51374 mv stage2-intl prev-intl || test -f stage2-lean
51375 @endif intl
51376 @if ld
51377 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
51378 mkdir stage3-ld; \
51379 mv stage3-ld ld ; \
51380 mv stage2-ld prev-ld || test -f stage2-lean
51381 @endif ld
51382 @if libcpp
51383 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
51384 mkdir stage3-libcpp; \
51385 mv stage3-libcpp libcpp ; \
51386 mv stage2-libcpp prev-libcpp || test -f stage2-lean
51387 @endif libcpp
51388 @if libdecnumber
51389 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
51390 mkdir stage3-libdecnumber; \
51391 mv stage3-libdecnumber libdecnumber ; \
51392 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
51393 @endif libdecnumber
51394 @if libiberty
51395 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
51396 mkdir stage3-libiberty; \
51397 mv stage3-libiberty libiberty ; \
51398 mv stage2-libiberty prev-libiberty || test -f stage2-lean
51399 @endif libiberty
51400 @if zlib
51401 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
51402 mkdir stage3-zlib; \
51403 mv stage3-zlib zlib ; \
51404 mv stage2-zlib prev-zlib || test -f stage2-lean
51405 @endif zlib
51406 @[ -d stage3-$(TARGET_SUBDIR) ] || \
51407 mkdir stage3-$(TARGET_SUBDIR); \
51408 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
51409 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
51411 stage3-end::
51412 @if bfd
51413 @if test -d $(HOST_SUBDIR)/bfd ; then \
51414 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
51415 mv prev-bfd stage2-bfd ; : ; \
51417 @endif bfd
51418 @if opcodes
51419 @if test -d $(HOST_SUBDIR)/opcodes ; then \
51420 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
51421 mv prev-opcodes stage2-opcodes ; : ; \
51423 @endif opcodes
51424 @if binutils
51425 @if test -d $(HOST_SUBDIR)/binutils ; then \
51426 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
51427 mv prev-binutils stage2-binutils ; : ; \
51429 @endif binutils
51430 @if gas
51431 @if test -d $(HOST_SUBDIR)/gas ; then \
51432 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
51433 mv prev-gas stage2-gas ; : ; \
51435 @endif gas
51436 @if gcc
51437 @if test -d $(HOST_SUBDIR)/gcc ; then \
51438 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
51439 mv prev-gcc stage2-gcc ; : ; \
51441 @endif gcc
51442 @if gmp
51443 @if test -d $(HOST_SUBDIR)/gmp ; then \
51444 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
51445 mv prev-gmp stage2-gmp ; : ; \
51447 @endif gmp
51448 @if mpfr
51449 @if test -d $(HOST_SUBDIR)/mpfr ; then \
51450 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
51451 mv prev-mpfr stage2-mpfr ; : ; \
51453 @endif mpfr
51454 @if gold
51455 @if test -d $(HOST_SUBDIR)/gold ; then \
51456 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
51457 mv prev-gold stage2-gold ; : ; \
51459 @endif gold
51460 @if intl
51461 @if test -d $(HOST_SUBDIR)/intl ; then \
51462 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
51463 mv prev-intl stage2-intl ; : ; \
51465 @endif intl
51466 @if ld
51467 @if test -d $(HOST_SUBDIR)/ld ; then \
51468 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
51469 mv prev-ld stage2-ld ; : ; \
51471 @endif ld
51472 @if libcpp
51473 @if test -d $(HOST_SUBDIR)/libcpp ; then \
51474 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
51475 mv prev-libcpp stage2-libcpp ; : ; \
51477 @endif libcpp
51478 @if libdecnumber
51479 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
51480 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
51481 mv prev-libdecnumber stage2-libdecnumber ; : ; \
51483 @endif libdecnumber
51484 @if libiberty
51485 @if test -d $(HOST_SUBDIR)/libiberty ; then \
51486 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
51487 mv prev-libiberty stage2-libiberty ; : ; \
51489 @endif libiberty
51490 @if zlib
51491 @if test -d $(HOST_SUBDIR)/zlib ; then \
51492 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
51493 mv prev-zlib stage2-zlib ; : ; \
51495 @endif zlib
51496 @if test -d $(TARGET_SUBDIR) ; then \
51497 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
51498 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
51500 rm -f stage_current
51502 # Bubble a bug fix through all the stages up to stage 3. They are
51503 # remade, but not reconfigured. The next stage (if any) will not be
51504 # reconfigured as well.
51505 .PHONY: stage3-bubble
51506 stage3-bubble:: stage2-bubble
51507 @r=`${PWD_COMMAND}`; export r; \
51508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51509 if test -f stage3-lean || test -f stage2-lean ; then \
51510 echo Skipping rebuild of stage3 ; \
51511 else \
51512 $(MAKE) stage3-start; \
51513 if $(LEAN); then \
51514 rm -rf stage1-* ; \
51515 $(STAMP) stage1-lean ; \
51516 fi; \
51517 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
51519 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
51521 .PHONY: all-stage3 clean-stage3
51522 do-clean: clean-stage3
51524 # FIXME: Will not need to be conditional when toplevel bootstrap is the
51525 # only possibility, but now it conflicts with no-bootstrap rules
51526 @if gcc-bootstrap
51528 compare:
51529 @r=`${PWD_COMMAND}`; export r; \
51530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51531 if test -f stage2-lean; then \
51532 echo Cannot compare object files as stage 2 was deleted. ; \
51533 exit 0 ; \
51534 fi; \
51535 : $(MAKE); $(stage); \
51536 rm -f .bad_compare ; \
51537 echo Comparing stages 2 and 3 ; \
51538 cd stage3-gcc; \
51539 files=`find . -name "*$(objext)" -print` ; \
51540 cd .. ; \
51541 for file in $${files} ; do \
51542 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
51543 $(do-compare) > /dev/null 2>&1; \
51544 if test $$? -eq 1; then \
51545 case $$file in \
51546 ./cc*-checksum$(objext) | ./libgcc/* ) \
51547 echo warning: $$file differs ;; \
51548 *) \
51549 echo $$file differs >> .bad_compare ;; \
51550 esac ; \
51551 fi ; \
51552 done ; \
51553 if [ -f .bad_compare ]; then \
51554 echo "Bootstrap comparison failure!"; \
51555 cat .bad_compare; \
51556 exit 1; \
51557 else \
51558 echo Comparison successful.; \
51559 fi ; \
51560 $(STAMP) compare
51561 if $(LEAN); then \
51562 rm -rf stage2-*; \
51563 $(STAMP) stage2-lean; \
51568 .PHONY: bootstrap bootstrap-lean
51569 bootstrap:
51570 echo stage3 > stage_final
51571 @r=`${PWD_COMMAND}`; export r; \
51572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
51574 @: $(MAKE); $(unstage)
51575 @r=`${PWD_COMMAND}`; export r; \
51576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51577 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51579 bootstrap-lean:
51580 echo stage3 > stage_final
51581 @r=`${PWD_COMMAND}`; export r; \
51582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51583 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
51584 @: $(MAKE); $(unstage)
51585 @r=`${PWD_COMMAND}`; export r; \
51586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51587 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51590 # Rules to wipe a stage and all the following ones, also used for cleanstrap
51591 distclean-stage2:: distclean-stage3
51592 .PHONY: distclean-stage3
51593 distclean-stage3::
51594 @: $(MAKE); $(stage)
51595 @test "`cat stage_last`" != stage3 || rm -f stage_last
51596 rm -rf stage3-* compare
51599 .PHONY: cleanstrap
51600 cleanstrap: do-distclean local-clean
51601 echo stage3 > stage_final
51602 @r=`${PWD_COMMAND}`; export r; \
51603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51604 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
51605 @: $(MAKE); $(unstage)
51606 @r=`${PWD_COMMAND}`; export r; \
51607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51608 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51610 @endif gcc-bootstrap
51613 .PHONY: stageb3g2-start stageb3g2-end
51615 stageb3g2-start::
51616 @: $(MAKE); $(stage); \
51617 echo stageb3g2 > stage_current ; \
51618 echo stageb3g2 > stage_last; \
51619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51620 @if bfd
51621 @cd $(HOST_SUBDIR); [ -d stageb3g2-bfd ] || \
51622 mkdir stageb3g2-bfd; \
51623 mv stageb3g2-bfd bfd ; \
51624 mv stageb2g0-bfd prev-bfd || test -f stageb2g0-lean
51625 @endif bfd
51626 @if opcodes
51627 @cd $(HOST_SUBDIR); [ -d stageb3g2-opcodes ] || \
51628 mkdir stageb3g2-opcodes; \
51629 mv stageb3g2-opcodes opcodes ; \
51630 mv stageb2g0-opcodes prev-opcodes || test -f stageb2g0-lean
51631 @endif opcodes
51632 @if binutils
51633 @cd $(HOST_SUBDIR); [ -d stageb3g2-binutils ] || \
51634 mkdir stageb3g2-binutils; \
51635 mv stageb3g2-binutils binutils ; \
51636 mv stageb2g0-binutils prev-binutils || test -f stageb2g0-lean
51637 @endif binutils
51638 @if gas
51639 @cd $(HOST_SUBDIR); [ -d stageb3g2-gas ] || \
51640 mkdir stageb3g2-gas; \
51641 mv stageb3g2-gas gas ; \
51642 mv stageb2g0-gas prev-gas || test -f stageb2g0-lean
51643 @endif gas
51644 @if gcc
51645 @cd $(HOST_SUBDIR); [ -d stageb3g2-gcc ] || \
51646 mkdir stageb3g2-gcc; \
51647 mv stageb3g2-gcc gcc ; \
51648 mv stageb2g0-gcc prev-gcc || test -f stageb2g0-lean
51649 @endif gcc
51650 @if gmp
51651 @cd $(HOST_SUBDIR); [ -d stageb3g2-gmp ] || \
51652 mkdir stageb3g2-gmp; \
51653 mv stageb3g2-gmp gmp ; \
51654 mv stageb2g0-gmp prev-gmp || test -f stageb2g0-lean
51655 @endif gmp
51656 @if mpfr
51657 @cd $(HOST_SUBDIR); [ -d stageb3g2-mpfr ] || \
51658 mkdir stageb3g2-mpfr; \
51659 mv stageb3g2-mpfr mpfr ; \
51660 mv stageb2g0-mpfr prev-mpfr || test -f stageb2g0-lean
51661 @endif mpfr
51662 @if gold
51663 @cd $(HOST_SUBDIR); [ -d stageb3g2-gold ] || \
51664 mkdir stageb3g2-gold; \
51665 mv stageb3g2-gold gold ; \
51666 mv stageb2g0-gold prev-gold || test -f stageb2g0-lean
51667 @endif gold
51668 @if intl
51669 @cd $(HOST_SUBDIR); [ -d stageb3g2-intl ] || \
51670 mkdir stageb3g2-intl; \
51671 mv stageb3g2-intl intl ; \
51672 mv stageb2g0-intl prev-intl || test -f stageb2g0-lean
51673 @endif intl
51674 @if ld
51675 @cd $(HOST_SUBDIR); [ -d stageb3g2-ld ] || \
51676 mkdir stageb3g2-ld; \
51677 mv stageb3g2-ld ld ; \
51678 mv stageb2g0-ld prev-ld || test -f stageb2g0-lean
51679 @endif ld
51680 @if libcpp
51681 @cd $(HOST_SUBDIR); [ -d stageb3g2-libcpp ] || \
51682 mkdir stageb3g2-libcpp; \
51683 mv stageb3g2-libcpp libcpp ; \
51684 mv stageb2g0-libcpp prev-libcpp || test -f stageb2g0-lean
51685 @endif libcpp
51686 @if libdecnumber
51687 @cd $(HOST_SUBDIR); [ -d stageb3g2-libdecnumber ] || \
51688 mkdir stageb3g2-libdecnumber; \
51689 mv stageb3g2-libdecnumber libdecnumber ; \
51690 mv stageb2g0-libdecnumber prev-libdecnumber || test -f stageb2g0-lean
51691 @endif libdecnumber
51692 @if libiberty
51693 @cd $(HOST_SUBDIR); [ -d stageb3g2-libiberty ] || \
51694 mkdir stageb3g2-libiberty; \
51695 mv stageb3g2-libiberty libiberty ; \
51696 mv stageb2g0-libiberty prev-libiberty || test -f stageb2g0-lean
51697 @endif libiberty
51698 @if zlib
51699 @cd $(HOST_SUBDIR); [ -d stageb3g2-zlib ] || \
51700 mkdir stageb3g2-zlib; \
51701 mv stageb3g2-zlib zlib ; \
51702 mv stageb2g0-zlib prev-zlib || test -f stageb2g0-lean
51703 @endif zlib
51704 @[ -d stageb3g2-$(TARGET_SUBDIR) ] || \
51705 mkdir stageb3g2-$(TARGET_SUBDIR); \
51706 mv stageb3g2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
51707 mv stageb2g0-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageb2g0-lean
51709 stageb3g2-end::
51710 @if bfd
51711 @if test -d $(HOST_SUBDIR)/bfd ; then \
51712 cd $(HOST_SUBDIR); mv bfd stageb3g2-bfd ; \
51713 mv prev-bfd stageb2g0-bfd ; : ; \
51715 @endif bfd
51716 @if opcodes
51717 @if test -d $(HOST_SUBDIR)/opcodes ; then \
51718 cd $(HOST_SUBDIR); mv opcodes stageb3g2-opcodes ; \
51719 mv prev-opcodes stageb2g0-opcodes ; : ; \
51721 @endif opcodes
51722 @if binutils
51723 @if test -d $(HOST_SUBDIR)/binutils ; then \
51724 cd $(HOST_SUBDIR); mv binutils stageb3g2-binutils ; \
51725 mv prev-binutils stageb2g0-binutils ; : ; \
51727 @endif binutils
51728 @if gas
51729 @if test -d $(HOST_SUBDIR)/gas ; then \
51730 cd $(HOST_SUBDIR); mv gas stageb3g2-gas ; \
51731 mv prev-gas stageb2g0-gas ; : ; \
51733 @endif gas
51734 @if gcc
51735 @if test -d $(HOST_SUBDIR)/gcc ; then \
51736 cd $(HOST_SUBDIR); mv gcc stageb3g2-gcc ; \
51737 mv prev-gcc stageb2g0-gcc ; : ; \
51739 @endif gcc
51740 @if gmp
51741 @if test -d $(HOST_SUBDIR)/gmp ; then \
51742 cd $(HOST_SUBDIR); mv gmp stageb3g2-gmp ; \
51743 mv prev-gmp stageb2g0-gmp ; : ; \
51745 @endif gmp
51746 @if mpfr
51747 @if test -d $(HOST_SUBDIR)/mpfr ; then \
51748 cd $(HOST_SUBDIR); mv mpfr stageb3g2-mpfr ; \
51749 mv prev-mpfr stageb2g0-mpfr ; : ; \
51751 @endif mpfr
51752 @if gold
51753 @if test -d $(HOST_SUBDIR)/gold ; then \
51754 cd $(HOST_SUBDIR); mv gold stageb3g2-gold ; \
51755 mv prev-gold stageb2g0-gold ; : ; \
51757 @endif gold
51758 @if intl
51759 @if test -d $(HOST_SUBDIR)/intl ; then \
51760 cd $(HOST_SUBDIR); mv intl stageb3g2-intl ; \
51761 mv prev-intl stageb2g0-intl ; : ; \
51763 @endif intl
51764 @if ld
51765 @if test -d $(HOST_SUBDIR)/ld ; then \
51766 cd $(HOST_SUBDIR); mv ld stageb3g2-ld ; \
51767 mv prev-ld stageb2g0-ld ; : ; \
51769 @endif ld
51770 @if libcpp
51771 @if test -d $(HOST_SUBDIR)/libcpp ; then \
51772 cd $(HOST_SUBDIR); mv libcpp stageb3g2-libcpp ; \
51773 mv prev-libcpp stageb2g0-libcpp ; : ; \
51775 @endif libcpp
51776 @if libdecnumber
51777 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
51778 cd $(HOST_SUBDIR); mv libdecnumber stageb3g2-libdecnumber ; \
51779 mv prev-libdecnumber stageb2g0-libdecnumber ; : ; \
51781 @endif libdecnumber
51782 @if libiberty
51783 @if test -d $(HOST_SUBDIR)/libiberty ; then \
51784 cd $(HOST_SUBDIR); mv libiberty stageb3g2-libiberty ; \
51785 mv prev-libiberty stageb2g0-libiberty ; : ; \
51787 @endif libiberty
51788 @if zlib
51789 @if test -d $(HOST_SUBDIR)/zlib ; then \
51790 cd $(HOST_SUBDIR); mv zlib stageb3g2-zlib ; \
51791 mv prev-zlib stageb2g0-zlib ; : ; \
51793 @endif zlib
51794 @if test -d $(TARGET_SUBDIR) ; then \
51795 mv $(TARGET_SUBDIR) stageb3g2-$(TARGET_SUBDIR) ; \
51796 mv prev-$(TARGET_SUBDIR) stageb2g0-$(TARGET_SUBDIR) ; : ; \
51798 rm -f stage_current
51800 # Bubble a bug fix through all the stages up to stage b3g2. They are
51801 # remade, but not reconfigured. The next stage (if any) will not be
51802 # reconfigured as well.
51803 .PHONY: stageb3g2-bubble
51804 stageb3g2-bubble:: stageb2g0-bubble
51805 @r=`${PWD_COMMAND}`; export r; \
51806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51807 if test -f stageb3g2-lean || test -f stageb2g0-lean ; then \
51808 echo Skipping rebuild of stageb3g2 ; \
51809 else \
51810 $(MAKE) stageb3g2-start; \
51811 if $(LEAN); then \
51812 rm -rf stage1-* ; \
51813 $(STAMP) stage1-lean ; \
51814 fi; \
51815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageb3g2; \
51817 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare-debug
51819 .PHONY: all-stageb3g2 clean-stageb3g2
51820 do-clean: clean-stageb3g2
51822 # FIXME: Will not need to be conditional when toplevel bootstrap is the
51823 # only possibility, but now it conflicts with no-bootstrap rules
51824 @if gcc-bootstrap
51826 compare-debug:
51827 @r=`${PWD_COMMAND}`; export r; \
51828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51829 if test -f stageb2g0-lean; then \
51830 echo Cannot compare object files as stage b2g0 was deleted. ; \
51831 exit 0 ; \
51832 fi; \
51833 : $(MAKE); $(stage); \
51834 rm -f .bad_compare ; \
51835 echo Comparing stages b2g0 and b3g2 ; \
51836 cd stageb3g2-gcc; \
51837 files=`find . -name "*$(objext)" -print` ; \
51838 cd .. ; \
51839 for file in $${files} ; do \
51840 f1=$$r/stageb2g0-gcc/$$file; f2=$$r/stageb3g2-gcc/$$file; \
51841 $(do-compare-debug) > /dev/null 2>&1; \
51842 if test $$? -eq 1; then \
51843 case $$file in \
51844 ./cc*-checksum$(objext) | ./libgcc/* ) \
51845 echo warning: $$file differs ;; \
51846 *) \
51847 echo $$file differs >> .bad_compare ;; \
51848 esac ; \
51849 fi ; \
51850 done ; \
51851 if [ -f .bad_compare ]; then \
51852 echo "Bootstrap comparison failure!"; \
51853 cat .bad_compare; \
51854 exit 1; \
51855 else \
51856 echo Comparison successful.; \
51857 fi ; \
51858 $(STAMP) compare-debug
51859 if $(LEAN); then \
51860 rm -rf stageb2g0-*; \
51861 $(STAMP) stageb2g0-lean; \
51866 .PHONY: bootstrap-debug bootstrap-debug-lean
51867 bootstrap-debug:
51868 echo stageb3g2 > stage_final
51869 @r=`${PWD_COMMAND}`; export r; \
51870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51871 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb3g2-bubble
51872 @: $(MAKE); $(unstage)
51873 @r=`${PWD_COMMAND}`; export r; \
51874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51875 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51877 bootstrap-debug-lean:
51878 echo stageb3g2 > stage_final
51879 @r=`${PWD_COMMAND}`; export r; \
51880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51881 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stageb3g2-bubble
51882 @: $(MAKE); $(unstage)
51883 @r=`${PWD_COMMAND}`; export r; \
51884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51885 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51888 # Rules to wipe a stage and all the following ones, also used for cleanstrap
51889 distclean-stageb2g0:: distclean-stageb3g2
51890 .PHONY: distclean-stageb3g2
51891 distclean-stageb3g2::
51892 @: $(MAKE); $(stage)
51893 @test "`cat stage_last`" != stageb3g2 || rm -f stage_last
51894 rm -rf stageb3g2-* compare-debug
51897 .PHONY: cleanstrap-debug
51898 cleanstrap-debug: do-distclean local-clean
51899 echo stageb3g2 > stage_final
51900 @r=`${PWD_COMMAND}`; export r; \
51901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51902 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stageb3g2-bubble
51903 @: $(MAKE); $(unstage)
51904 @r=`${PWD_COMMAND}`; export r; \
51905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
51906 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
51908 @endif gcc-bootstrap
51911 .PHONY: stage4-start stage4-end
51913 stage4-start::
51914 @: $(MAKE); $(stage); \
51915 echo stage4 > stage_current ; \
51916 echo stage4 > stage_last; \
51917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
51918 @if bfd
51919 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
51920 mkdir stage4-bfd; \
51921 mv stage4-bfd bfd ; \
51922 mv stage3-bfd prev-bfd || test -f stage3-lean
51923 @endif bfd
51924 @if opcodes
51925 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
51926 mkdir stage4-opcodes; \
51927 mv stage4-opcodes opcodes ; \
51928 mv stage3-opcodes prev-opcodes || test -f stage3-lean
51929 @endif opcodes
51930 @if binutils
51931 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
51932 mkdir stage4-binutils; \
51933 mv stage4-binutils binutils ; \
51934 mv stage3-binutils prev-binutils || test -f stage3-lean
51935 @endif binutils
51936 @if gas
51937 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
51938 mkdir stage4-gas; \
51939 mv stage4-gas gas ; \
51940 mv stage3-gas prev-gas || test -f stage3-lean
51941 @endif gas
51942 @if gcc
51943 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
51944 mkdir stage4-gcc; \
51945 mv stage4-gcc gcc ; \
51946 mv stage3-gcc prev-gcc || test -f stage3-lean
51947 @endif gcc
51948 @if gmp
51949 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
51950 mkdir stage4-gmp; \
51951 mv stage4-gmp gmp ; \
51952 mv stage3-gmp prev-gmp || test -f stage3-lean
51953 @endif gmp
51954 @if mpfr
51955 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
51956 mkdir stage4-mpfr; \
51957 mv stage4-mpfr mpfr ; \
51958 mv stage3-mpfr prev-mpfr || test -f stage3-lean
51959 @endif mpfr
51960 @if gold
51961 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
51962 mkdir stage4-gold; \
51963 mv stage4-gold gold ; \
51964 mv stage3-gold prev-gold || test -f stage3-lean
51965 @endif gold
51966 @if intl
51967 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
51968 mkdir stage4-intl; \
51969 mv stage4-intl intl ; \
51970 mv stage3-intl prev-intl || test -f stage3-lean
51971 @endif intl
51972 @if ld
51973 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
51974 mkdir stage4-ld; \
51975 mv stage4-ld ld ; \
51976 mv stage3-ld prev-ld || test -f stage3-lean
51977 @endif ld
51978 @if libcpp
51979 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
51980 mkdir stage4-libcpp; \
51981 mv stage4-libcpp libcpp ; \
51982 mv stage3-libcpp prev-libcpp || test -f stage3-lean
51983 @endif libcpp
51984 @if libdecnumber
51985 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
51986 mkdir stage4-libdecnumber; \
51987 mv stage4-libdecnumber libdecnumber ; \
51988 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
51989 @endif libdecnumber
51990 @if libiberty
51991 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
51992 mkdir stage4-libiberty; \
51993 mv stage4-libiberty libiberty ; \
51994 mv stage3-libiberty prev-libiberty || test -f stage3-lean
51995 @endif libiberty
51996 @if zlib
51997 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
51998 mkdir stage4-zlib; \
51999 mv stage4-zlib zlib ; \
52000 mv stage3-zlib prev-zlib || test -f stage3-lean
52001 @endif zlib
52002 @[ -d stage4-$(TARGET_SUBDIR) ] || \
52003 mkdir stage4-$(TARGET_SUBDIR); \
52004 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52005 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
52007 stage4-end::
52008 @if bfd
52009 @if test -d $(HOST_SUBDIR)/bfd ; then \
52010 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
52011 mv prev-bfd stage3-bfd ; : ; \
52013 @endif bfd
52014 @if opcodes
52015 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52016 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
52017 mv prev-opcodes stage3-opcodes ; : ; \
52019 @endif opcodes
52020 @if binutils
52021 @if test -d $(HOST_SUBDIR)/binutils ; then \
52022 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
52023 mv prev-binutils stage3-binutils ; : ; \
52025 @endif binutils
52026 @if gas
52027 @if test -d $(HOST_SUBDIR)/gas ; then \
52028 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
52029 mv prev-gas stage3-gas ; : ; \
52031 @endif gas
52032 @if gcc
52033 @if test -d $(HOST_SUBDIR)/gcc ; then \
52034 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
52035 mv prev-gcc stage3-gcc ; : ; \
52037 @endif gcc
52038 @if gmp
52039 @if test -d $(HOST_SUBDIR)/gmp ; then \
52040 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
52041 mv prev-gmp stage3-gmp ; : ; \
52043 @endif gmp
52044 @if mpfr
52045 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52046 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
52047 mv prev-mpfr stage3-mpfr ; : ; \
52049 @endif mpfr
52050 @if gold
52051 @if test -d $(HOST_SUBDIR)/gold ; then \
52052 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
52053 mv prev-gold stage3-gold ; : ; \
52055 @endif gold
52056 @if intl
52057 @if test -d $(HOST_SUBDIR)/intl ; then \
52058 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
52059 mv prev-intl stage3-intl ; : ; \
52061 @endif intl
52062 @if ld
52063 @if test -d $(HOST_SUBDIR)/ld ; then \
52064 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
52065 mv prev-ld stage3-ld ; : ; \
52067 @endif ld
52068 @if libcpp
52069 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52070 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
52071 mv prev-libcpp stage3-libcpp ; : ; \
52073 @endif libcpp
52074 @if libdecnumber
52075 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52076 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
52077 mv prev-libdecnumber stage3-libdecnumber ; : ; \
52079 @endif libdecnumber
52080 @if libiberty
52081 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52082 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
52083 mv prev-libiberty stage3-libiberty ; : ; \
52085 @endif libiberty
52086 @if zlib
52087 @if test -d $(HOST_SUBDIR)/zlib ; then \
52088 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
52089 mv prev-zlib stage3-zlib ; : ; \
52091 @endif zlib
52092 @if test -d $(TARGET_SUBDIR) ; then \
52093 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
52094 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
52096 rm -f stage_current
52098 # Bubble a bug fix through all the stages up to stage 4. They are
52099 # remade, but not reconfigured. The next stage (if any) will not be
52100 # reconfigured as well.
52101 .PHONY: stage4-bubble
52102 stage4-bubble:: stage3-bubble
52103 @r=`${PWD_COMMAND}`; export r; \
52104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52105 if test -f stage4-lean || test -f stage3-lean ; then \
52106 echo Skipping rebuild of stage4 ; \
52107 else \
52108 $(MAKE) stage4-start; \
52109 if $(LEAN); then \
52110 rm -rf stage2-* ; \
52111 $(STAMP) stage2-lean ; \
52112 fi; \
52113 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
52115 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
52117 .PHONY: all-stage4 clean-stage4
52118 do-clean: clean-stage4
52120 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52121 # only possibility, but now it conflicts with no-bootstrap rules
52122 @if gcc-bootstrap
52124 compare3:
52125 @r=`${PWD_COMMAND}`; export r; \
52126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52127 if test -f stage3-lean; then \
52128 echo Cannot compare object files as stage 3 was deleted. ; \
52129 exit 0 ; \
52130 fi; \
52131 : $(MAKE); $(stage); \
52132 rm -f .bad_compare ; \
52133 echo Comparing stages 3 and 4 ; \
52134 cd stage4-gcc; \
52135 files=`find . -name "*$(objext)" -print` ; \
52136 cd .. ; \
52137 for file in $${files} ; do \
52138 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
52139 $(do-compare3) > /dev/null 2>&1; \
52140 if test $$? -eq 1; then \
52141 case $$file in \
52142 ./cc*-checksum$(objext) | ./libgcc/* ) \
52143 echo warning: $$file differs ;; \
52144 *) \
52145 echo $$file differs >> .bad_compare ;; \
52146 esac ; \
52147 fi ; \
52148 done ; \
52149 if [ -f .bad_compare ]; then \
52150 echo "Bootstrap comparison failure!"; \
52151 cat .bad_compare; \
52152 exit 1; \
52153 else \
52154 echo Comparison successful.; \
52155 fi ; \
52156 $(STAMP) compare3
52157 if $(LEAN); then \
52158 rm -rf stage3-*; \
52159 $(STAMP) stage3-lean; \
52164 .PHONY: bootstrap4 bootstrap4-lean
52165 bootstrap4:
52166 echo stage4 > stage_final
52167 @r=`${PWD_COMMAND}`; export r; \
52168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52169 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
52170 @: $(MAKE); $(unstage)
52171 @r=`${PWD_COMMAND}`; export r; \
52172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52173 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52175 bootstrap4-lean:
52176 echo stage4 > stage_final
52177 @r=`${PWD_COMMAND}`; export r; \
52178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52179 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
52180 @: $(MAKE); $(unstage)
52181 @r=`${PWD_COMMAND}`; export r; \
52182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52183 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52186 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52187 distclean-stage3:: distclean-stage4
52188 .PHONY: distclean-stage4
52189 distclean-stage4::
52190 @: $(MAKE); $(stage)
52191 @test "`cat stage_last`" != stage4 || rm -f stage_last
52192 rm -rf stage4-* compare3
52195 @endif gcc-bootstrap
52198 .PHONY: stageprofile-start stageprofile-end
52200 stageprofile-start::
52201 @: $(MAKE); $(stage); \
52202 echo stageprofile > stage_current ; \
52203 echo stageprofile > stage_last; \
52204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52205 @if bfd
52206 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
52207 mkdir stageprofile-bfd; \
52208 mv stageprofile-bfd bfd ; \
52209 mv stage1-bfd prev-bfd || test -f stage1-lean
52210 @endif bfd
52211 @if opcodes
52212 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
52213 mkdir stageprofile-opcodes; \
52214 mv stageprofile-opcodes opcodes ; \
52215 mv stage1-opcodes prev-opcodes || test -f stage1-lean
52216 @endif opcodes
52217 @if binutils
52218 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
52219 mkdir stageprofile-binutils; \
52220 mv stageprofile-binutils binutils ; \
52221 mv stage1-binutils prev-binutils || test -f stage1-lean
52222 @endif binutils
52223 @if gas
52224 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
52225 mkdir stageprofile-gas; \
52226 mv stageprofile-gas gas ; \
52227 mv stage1-gas prev-gas || test -f stage1-lean
52228 @endif gas
52229 @if gcc
52230 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
52231 mkdir stageprofile-gcc; \
52232 mv stageprofile-gcc gcc ; \
52233 mv stage1-gcc prev-gcc || test -f stage1-lean
52234 @endif gcc
52235 @if gmp
52236 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
52237 mkdir stageprofile-gmp; \
52238 mv stageprofile-gmp gmp ; \
52239 mv stage1-gmp prev-gmp || test -f stage1-lean
52240 @endif gmp
52241 @if mpfr
52242 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
52243 mkdir stageprofile-mpfr; \
52244 mv stageprofile-mpfr mpfr ; \
52245 mv stage1-mpfr prev-mpfr || test -f stage1-lean
52246 @endif mpfr
52247 @if gold
52248 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
52249 mkdir stageprofile-gold; \
52250 mv stageprofile-gold gold ; \
52251 mv stage1-gold prev-gold || test -f stage1-lean
52252 @endif gold
52253 @if intl
52254 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
52255 mkdir stageprofile-intl; \
52256 mv stageprofile-intl intl ; \
52257 mv stage1-intl prev-intl || test -f stage1-lean
52258 @endif intl
52259 @if ld
52260 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
52261 mkdir stageprofile-ld; \
52262 mv stageprofile-ld ld ; \
52263 mv stage1-ld prev-ld || test -f stage1-lean
52264 @endif ld
52265 @if libcpp
52266 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
52267 mkdir stageprofile-libcpp; \
52268 mv stageprofile-libcpp libcpp ; \
52269 mv stage1-libcpp prev-libcpp || test -f stage1-lean
52270 @endif libcpp
52271 @if libdecnumber
52272 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
52273 mkdir stageprofile-libdecnumber; \
52274 mv stageprofile-libdecnumber libdecnumber ; \
52275 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
52276 @endif libdecnumber
52277 @if libiberty
52278 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
52279 mkdir stageprofile-libiberty; \
52280 mv stageprofile-libiberty libiberty ; \
52281 mv stage1-libiberty prev-libiberty || test -f stage1-lean
52282 @endif libiberty
52283 @if zlib
52284 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
52285 mkdir stageprofile-zlib; \
52286 mv stageprofile-zlib zlib ; \
52287 mv stage1-zlib prev-zlib || test -f stage1-lean
52288 @endif zlib
52289 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
52290 mkdir stageprofile-$(TARGET_SUBDIR); \
52291 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52292 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
52294 stageprofile-end::
52295 @if bfd
52296 @if test -d $(HOST_SUBDIR)/bfd ; then \
52297 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
52298 mv prev-bfd stage1-bfd ; : ; \
52300 @endif bfd
52301 @if opcodes
52302 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52303 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
52304 mv prev-opcodes stage1-opcodes ; : ; \
52306 @endif opcodes
52307 @if binutils
52308 @if test -d $(HOST_SUBDIR)/binutils ; then \
52309 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
52310 mv prev-binutils stage1-binutils ; : ; \
52312 @endif binutils
52313 @if gas
52314 @if test -d $(HOST_SUBDIR)/gas ; then \
52315 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
52316 mv prev-gas stage1-gas ; : ; \
52318 @endif gas
52319 @if gcc
52320 @if test -d $(HOST_SUBDIR)/gcc ; then \
52321 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
52322 mv prev-gcc stage1-gcc ; : ; \
52324 @endif gcc
52325 @if gmp
52326 @if test -d $(HOST_SUBDIR)/gmp ; then \
52327 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
52328 mv prev-gmp stage1-gmp ; : ; \
52330 @endif gmp
52331 @if mpfr
52332 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52333 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
52334 mv prev-mpfr stage1-mpfr ; : ; \
52336 @endif mpfr
52337 @if gold
52338 @if test -d $(HOST_SUBDIR)/gold ; then \
52339 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
52340 mv prev-gold stage1-gold ; : ; \
52342 @endif gold
52343 @if intl
52344 @if test -d $(HOST_SUBDIR)/intl ; then \
52345 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
52346 mv prev-intl stage1-intl ; : ; \
52348 @endif intl
52349 @if ld
52350 @if test -d $(HOST_SUBDIR)/ld ; then \
52351 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
52352 mv prev-ld stage1-ld ; : ; \
52354 @endif ld
52355 @if libcpp
52356 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52357 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
52358 mv prev-libcpp stage1-libcpp ; : ; \
52360 @endif libcpp
52361 @if libdecnumber
52362 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52363 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
52364 mv prev-libdecnumber stage1-libdecnumber ; : ; \
52366 @endif libdecnumber
52367 @if libiberty
52368 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52369 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
52370 mv prev-libiberty stage1-libiberty ; : ; \
52372 @endif libiberty
52373 @if zlib
52374 @if test -d $(HOST_SUBDIR)/zlib ; then \
52375 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
52376 mv prev-zlib stage1-zlib ; : ; \
52378 @endif zlib
52379 @if test -d $(TARGET_SUBDIR) ; then \
52380 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
52381 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
52383 rm -f stage_current
52385 # Bubble a bug fix through all the stages up to stage profile. They are
52386 # remade, but not reconfigured. The next stage (if any) will not be
52387 # reconfigured as well.
52388 .PHONY: stageprofile-bubble
52389 stageprofile-bubble:: stage1-bubble
52390 @r=`${PWD_COMMAND}`; export r; \
52391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52392 if test -f stageprofile-lean || test -f stage1-lean ; then \
52393 echo Skipping rebuild of stageprofile ; \
52394 else \
52395 $(MAKE) stageprofile-start; \
52396 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
52399 .PHONY: all-stageprofile clean-stageprofile
52400 do-clean: clean-stageprofile
52402 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52403 # only possibility, but now it conflicts with no-bootstrap rules
52404 @if gcc-bootstrap
52409 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52410 distclean-stage1:: distclean-stageprofile
52411 .PHONY: distclean-stageprofile
52412 distclean-stageprofile::
52413 @: $(MAKE); $(stage)
52414 @test "`cat stage_last`" != stageprofile || rm -f stage_last
52415 rm -rf stageprofile-*
52418 @endif gcc-bootstrap
52421 .PHONY: stagefeedback-start stagefeedback-end
52423 stagefeedback-start::
52424 @: $(MAKE); $(stage); \
52425 echo stagefeedback > stage_current ; \
52426 echo stagefeedback > stage_last; \
52427 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
52428 @if bfd
52429 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
52430 mkdir stagefeedback-bfd; \
52431 mv stagefeedback-bfd bfd ; \
52432 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
52433 @endif bfd
52434 @if opcodes
52435 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
52436 mkdir stagefeedback-opcodes; \
52437 mv stagefeedback-opcodes opcodes ; \
52438 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
52439 @endif opcodes
52440 @if binutils
52441 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
52442 mkdir stagefeedback-binutils; \
52443 mv stagefeedback-binutils binutils ; \
52444 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
52445 @endif binutils
52446 @if gas
52447 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
52448 mkdir stagefeedback-gas; \
52449 mv stagefeedback-gas gas ; \
52450 mv stageprofile-gas prev-gas || test -f stageprofile-lean
52451 @endif gas
52452 @if gcc
52453 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
52454 mkdir stagefeedback-gcc; \
52455 mv stagefeedback-gcc gcc ; \
52456 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
52457 @endif gcc
52458 @if gmp
52459 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
52460 mkdir stagefeedback-gmp; \
52461 mv stagefeedback-gmp gmp ; \
52462 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
52463 @endif gmp
52464 @if mpfr
52465 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
52466 mkdir stagefeedback-mpfr; \
52467 mv stagefeedback-mpfr mpfr ; \
52468 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
52469 @endif mpfr
52470 @if gold
52471 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
52472 mkdir stagefeedback-gold; \
52473 mv stagefeedback-gold gold ; \
52474 mv stageprofile-gold prev-gold || test -f stageprofile-lean
52475 @endif gold
52476 @if intl
52477 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
52478 mkdir stagefeedback-intl; \
52479 mv stagefeedback-intl intl ; \
52480 mv stageprofile-intl prev-intl || test -f stageprofile-lean
52481 @endif intl
52482 @if ld
52483 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
52484 mkdir stagefeedback-ld; \
52485 mv stagefeedback-ld ld ; \
52486 mv stageprofile-ld prev-ld || test -f stageprofile-lean
52487 @endif ld
52488 @if libcpp
52489 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
52490 mkdir stagefeedback-libcpp; \
52491 mv stagefeedback-libcpp libcpp ; \
52492 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
52493 @endif libcpp
52494 @if libdecnumber
52495 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
52496 mkdir stagefeedback-libdecnumber; \
52497 mv stagefeedback-libdecnumber libdecnumber ; \
52498 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
52499 @endif libdecnumber
52500 @if libiberty
52501 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
52502 mkdir stagefeedback-libiberty; \
52503 mv stagefeedback-libiberty libiberty ; \
52504 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
52505 @endif libiberty
52506 @if zlib
52507 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
52508 mkdir stagefeedback-zlib; \
52509 mv stagefeedback-zlib zlib ; \
52510 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
52511 @endif zlib
52512 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
52513 mkdir stagefeedback-$(TARGET_SUBDIR); \
52514 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
52515 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
52517 stagefeedback-end::
52518 @if bfd
52519 @if test -d $(HOST_SUBDIR)/bfd ; then \
52520 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
52521 mv prev-bfd stageprofile-bfd ; : ; \
52523 @endif bfd
52524 @if opcodes
52525 @if test -d $(HOST_SUBDIR)/opcodes ; then \
52526 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
52527 mv prev-opcodes stageprofile-opcodes ; : ; \
52529 @endif opcodes
52530 @if binutils
52531 @if test -d $(HOST_SUBDIR)/binutils ; then \
52532 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
52533 mv prev-binutils stageprofile-binutils ; : ; \
52535 @endif binutils
52536 @if gas
52537 @if test -d $(HOST_SUBDIR)/gas ; then \
52538 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
52539 mv prev-gas stageprofile-gas ; : ; \
52541 @endif gas
52542 @if gcc
52543 @if test -d $(HOST_SUBDIR)/gcc ; then \
52544 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
52545 mv prev-gcc stageprofile-gcc ; : ; \
52547 @endif gcc
52548 @if gmp
52549 @if test -d $(HOST_SUBDIR)/gmp ; then \
52550 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
52551 mv prev-gmp stageprofile-gmp ; : ; \
52553 @endif gmp
52554 @if mpfr
52555 @if test -d $(HOST_SUBDIR)/mpfr ; then \
52556 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
52557 mv prev-mpfr stageprofile-mpfr ; : ; \
52559 @endif mpfr
52560 @if gold
52561 @if test -d $(HOST_SUBDIR)/gold ; then \
52562 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
52563 mv prev-gold stageprofile-gold ; : ; \
52565 @endif gold
52566 @if intl
52567 @if test -d $(HOST_SUBDIR)/intl ; then \
52568 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
52569 mv prev-intl stageprofile-intl ; : ; \
52571 @endif intl
52572 @if ld
52573 @if test -d $(HOST_SUBDIR)/ld ; then \
52574 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
52575 mv prev-ld stageprofile-ld ; : ; \
52577 @endif ld
52578 @if libcpp
52579 @if test -d $(HOST_SUBDIR)/libcpp ; then \
52580 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
52581 mv prev-libcpp stageprofile-libcpp ; : ; \
52583 @endif libcpp
52584 @if libdecnumber
52585 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
52586 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
52587 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
52589 @endif libdecnumber
52590 @if libiberty
52591 @if test -d $(HOST_SUBDIR)/libiberty ; then \
52592 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
52593 mv prev-libiberty stageprofile-libiberty ; : ; \
52595 @endif libiberty
52596 @if zlib
52597 @if test -d $(HOST_SUBDIR)/zlib ; then \
52598 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
52599 mv prev-zlib stageprofile-zlib ; : ; \
52601 @endif zlib
52602 @if test -d $(TARGET_SUBDIR) ; then \
52603 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
52604 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
52606 rm -f stage_current
52608 # Bubble a bug fix through all the stages up to stage feedback. They are
52609 # remade, but not reconfigured. The next stage (if any) will not be
52610 # reconfigured as well.
52611 .PHONY: stagefeedback-bubble
52612 stagefeedback-bubble:: stageprofile-bubble
52613 @r=`${PWD_COMMAND}`; export r; \
52614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52615 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
52616 echo Skipping rebuild of stagefeedback ; \
52617 else \
52618 $(MAKE) stagefeedback-start; \
52619 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
52622 .PHONY: all-stagefeedback clean-stagefeedback
52623 do-clean: clean-stagefeedback
52625 # FIXME: Will not need to be conditional when toplevel bootstrap is the
52626 # only possibility, but now it conflicts with no-bootstrap rules
52627 @if gcc-bootstrap
52631 .PHONY: profiledbootstrap profiledbootstrap-lean
52632 profiledbootstrap:
52633 echo stagefeedback > stage_final
52634 @r=`${PWD_COMMAND}`; export r; \
52635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52636 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
52637 @: $(MAKE); $(unstage)
52638 @r=`${PWD_COMMAND}`; export r; \
52639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52640 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52642 profiledbootstrap-lean:
52643 echo stagefeedback > stage_final
52644 @r=`${PWD_COMMAND}`; export r; \
52645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
52647 @: $(MAKE); $(unstage)
52648 @r=`${PWD_COMMAND}`; export r; \
52649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52650 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
52653 # Rules to wipe a stage and all the following ones, also used for cleanstrap
52654 distclean-stageprofile:: distclean-stagefeedback
52655 .PHONY: distclean-stagefeedback
52656 distclean-stagefeedback::
52657 @: $(MAKE); $(stage)
52658 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
52659 rm -rf stagefeedback-*
52662 @endif gcc-bootstrap
52666 stageprofile-end::
52667 $(MAKE) distclean-stagefeedback
52669 stagefeedback-start::
52670 @r=`${PWD_COMMAND}`; export r; \
52671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52672 for i in prev-*; do \
52673 j=`echo $$i | sed s/^prev-//` ; \
52674 cd $$r/$$i && \
52675 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
52676 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
52677 done
52679 @if gcc-bootstrap
52680 do-distclean: distclean-stage1
52682 # Provide a GCC build when we're building target libraries. This does
52683 # not work as a dependency, just as the minimum necessary to avoid errors.
52684 stage_last:
52685 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
52687 # Same as unstage, but not phony and defaulting to stage1-start. We place
52688 # it in the dependency so that for example `make -j3 all-gcc' works.
52689 stage_current:
52690 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
52692 .PHONY: restrap
52693 restrap:
52694 @: $(MAKE); $(stage)
52695 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stageb2g0-* stage3-* stageb3g2-* stage4-* stageprofile-* stagefeedback-*
52696 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
52697 @endif gcc-bootstrap
52699 # --------------------------------------
52700 # Dependencies between different modules
52701 # --------------------------------------
52703 # Generic dependencies for target modules on host stuff, especially gcc
52704 @if gcc-bootstrap
52705 configure-target-libstdc++-v3: stage_last
52706 configure-target-libmudflap: stage_last
52707 configure-target-libssp: stage_last
52708 configure-target-newlib: stage_last
52709 configure-stage1-target-libgcc: maybe-all-stage1-gcc
52710 configure-stage2-target-libgcc: maybe-all-stage2-gcc
52711 configure-stageb2g0-target-libgcc: maybe-all-stageb2g0-gcc
52712 configure-stage3-target-libgcc: maybe-all-stage3-gcc
52713 configure-stageb3g2-target-libgcc: maybe-all-stageb3g2-gcc
52714 configure-stage4-target-libgcc: maybe-all-stage4-gcc
52715 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
52716 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
52717 configure-target-libgfortran: stage_last
52718 configure-target-libobjc: stage_last
52719 configure-target-libtermcap: stage_last
52720 configure-target-winsup: stage_last
52721 configure-target-libgloss: stage_last
52722 configure-target-libiberty: stage_last
52723 configure-target-gperf: stage_last
52724 configure-target-examples: stage_last
52725 configure-target-libffi: stage_last
52726 configure-target-libjava: stage_last
52727 configure-target-zlib: stage_last
52728 configure-target-boehm-gc: stage_last
52729 configure-target-qthreads: stage_last
52730 configure-target-rda: stage_last
52731 configure-target-libada: stage_last
52732 configure-target-libgomp: stage_last
52733 @endif gcc-bootstrap
52735 @if gcc-no-bootstrap
52736 configure-target-libstdc++-v3: maybe-all-gcc
52737 configure-target-libmudflap: maybe-all-gcc
52738 configure-target-libssp: maybe-all-gcc
52739 configure-target-newlib: maybe-all-gcc
52740 configure-target-libgcc: maybe-all-gcc
52741 configure-target-libgfortran: maybe-all-gcc
52742 configure-target-libobjc: maybe-all-gcc
52743 configure-target-libtermcap: maybe-all-gcc
52744 configure-target-winsup: maybe-all-gcc
52745 configure-target-libgloss: maybe-all-gcc
52746 configure-target-libiberty: maybe-all-gcc
52747 configure-target-gperf: maybe-all-gcc
52748 configure-target-examples: maybe-all-gcc
52749 configure-target-libffi: maybe-all-gcc
52750 configure-target-libjava: maybe-all-gcc
52751 configure-target-zlib: maybe-all-gcc
52752 configure-target-boehm-gc: maybe-all-gcc
52753 configure-target-qthreads: maybe-all-gcc
52754 configure-target-rda: maybe-all-gcc
52755 configure-target-libada: maybe-all-gcc
52756 configure-target-libgomp: maybe-all-gcc
52757 @endif gcc-no-bootstrap
52760 # There are two types of dependencies here: 'hard' dependencies, where one
52761 # module simply won't build without the other; and 'soft' dependencies, where
52762 # if the depended-on module is missing, the depending module will do without
52763 # or find a substitute somewhere (perhaps installed). Soft dependencies
52764 # are made here to depend on a 'maybe-' target. If you're not sure,
52765 # it's safer to use a soft dependency.
52772 # With all the machinery above in place, it is pretty easy to generate
52773 # dependencies. Host dependencies are a bit more complex because we have
52774 # to check for bootstrap/prebootstrap dependencies. To resolve
52775 # prebootstrap dependencies, prebootstrap modules are gathered in
52776 # a hash table.
52777 all-build-bison: maybe-all-build-texinfo
52778 all-build-byacc: maybe-all-build-texinfo
52779 all-build-flex: maybe-all-build-texinfo
52780 all-build-flex: maybe-all-build-bison
52781 all-build-flex: maybe-all-build-byacc
52782 all-build-flex: maybe-all-build-m4
52783 all-build-libiberty: maybe-all-build-texinfo
52784 all-build-m4: maybe-all-build-texinfo
52785 all-build-fixincludes: maybe-all-build-libiberty
52786 configure-gcc: maybe-configure-intl
52788 configure-stage1-gcc: maybe-configure-stage1-intl
52789 configure-stage2-gcc: maybe-configure-stage2-intl
52790 configure-stageb2g0-gcc: maybe-configure-stageb2g0-intl
52791 configure-stage3-gcc: maybe-configure-stage3-intl
52792 configure-stageb3g2-gcc: maybe-configure-stageb3g2-intl
52793 configure-stage4-gcc: maybe-configure-stage4-intl
52794 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
52795 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
52796 configure-gcc: maybe-all-binutils
52798 configure-stage1-gcc: maybe-all-stage1-binutils
52799 configure-stage2-gcc: maybe-all-stage2-binutils
52800 configure-stageb2g0-gcc: maybe-all-stageb2g0-binutils
52801 configure-stage3-gcc: maybe-all-stage3-binutils
52802 configure-stageb3g2-gcc: maybe-all-stageb3g2-binutils
52803 configure-stage4-gcc: maybe-all-stage4-binutils
52804 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
52805 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
52806 configure-gcc: maybe-all-gas
52808 configure-stage1-gcc: maybe-all-stage1-gas
52809 configure-stage2-gcc: maybe-all-stage2-gas
52810 configure-stageb2g0-gcc: maybe-all-stageb2g0-gas
52811 configure-stage3-gcc: maybe-all-stage3-gas
52812 configure-stageb3g2-gcc: maybe-all-stageb3g2-gas
52813 configure-stage4-gcc: maybe-all-stage4-gas
52814 configure-stageprofile-gcc: maybe-all-stageprofile-gas
52815 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
52816 configure-gcc: maybe-all-ld
52818 configure-stage1-gcc: maybe-all-stage1-ld
52819 configure-stage2-gcc: maybe-all-stage2-ld
52820 configure-stageb2g0-gcc: maybe-all-stageb2g0-ld
52821 configure-stage3-gcc: maybe-all-stage3-ld
52822 configure-stageb3g2-gcc: maybe-all-stageb3g2-ld
52823 configure-stage4-gcc: maybe-all-stage4-ld
52824 configure-stageprofile-gcc: maybe-all-stageprofile-ld
52825 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
52826 configure-gcc: maybe-all-gold
52828 configure-stage1-gcc: maybe-all-stage1-gold
52829 configure-stage2-gcc: maybe-all-stage2-gold
52830 configure-stageb2g0-gcc: maybe-all-stageb2g0-gold
52831 configure-stage3-gcc: maybe-all-stage3-gold
52832 configure-stageb3g2-gcc: maybe-all-stageb3g2-gold
52833 configure-stage4-gcc: maybe-all-stage4-gold
52834 configure-stageprofile-gcc: maybe-all-stageprofile-gold
52835 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
52836 all-gcc: all-libiberty
52838 all-stage1-gcc: all-stage1-libiberty
52839 all-stage2-gcc: all-stage2-libiberty
52840 all-stageb2g0-gcc: all-stageb2g0-libiberty
52841 all-stage3-gcc: all-stage3-libiberty
52842 all-stageb3g2-gcc: all-stageb3g2-libiberty
52843 all-stage4-gcc: all-stage4-libiberty
52844 all-stageprofile-gcc: all-stageprofile-libiberty
52845 all-stagefeedback-gcc: all-stagefeedback-libiberty
52846 all-gcc: maybe-all-gmp
52848 all-stage1-gcc: maybe-all-stage1-gmp
52849 all-stage2-gcc: maybe-all-stage2-gmp
52850 all-stageb2g0-gcc: maybe-all-stageb2g0-gmp
52851 all-stage3-gcc: maybe-all-stage3-gmp
52852 all-stageb3g2-gcc: maybe-all-stageb3g2-gmp
52853 all-stage4-gcc: maybe-all-stage4-gmp
52854 all-stageprofile-gcc: maybe-all-stageprofile-gmp
52855 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
52856 all-gcc: maybe-all-intl
52858 all-stage1-gcc: maybe-all-stage1-intl
52859 all-stage2-gcc: maybe-all-stage2-intl
52860 all-stageb2g0-gcc: maybe-all-stageb2g0-intl
52861 all-stage3-gcc: maybe-all-stage3-intl
52862 all-stageb3g2-gcc: maybe-all-stageb3g2-intl
52863 all-stage4-gcc: maybe-all-stage4-intl
52864 all-stageprofile-gcc: maybe-all-stageprofile-intl
52865 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
52866 all-gcc: maybe-all-mpfr
52868 all-stage1-gcc: maybe-all-stage1-mpfr
52869 all-stage2-gcc: maybe-all-stage2-mpfr
52870 all-stageb2g0-gcc: maybe-all-stageb2g0-mpfr
52871 all-stage3-gcc: maybe-all-stage3-mpfr
52872 all-stageb3g2-gcc: maybe-all-stageb3g2-mpfr
52873 all-stage4-gcc: maybe-all-stage4-mpfr
52874 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
52875 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
52876 all-gcc: maybe-all-build-texinfo
52878 all-stage1-gcc: maybe-all-build-texinfo
52879 all-stage2-gcc: maybe-all-build-texinfo
52880 all-stageb2g0-gcc: maybe-all-build-texinfo
52881 all-stage3-gcc: maybe-all-build-texinfo
52882 all-stageb3g2-gcc: maybe-all-build-texinfo
52883 all-stage4-gcc: maybe-all-build-texinfo
52884 all-stageprofile-gcc: maybe-all-build-texinfo
52885 all-stagefeedback-gcc: maybe-all-build-texinfo
52886 all-gcc: maybe-all-build-bison
52888 all-stage1-gcc: maybe-all-build-bison
52889 all-stage2-gcc: maybe-all-build-bison
52890 all-stageb2g0-gcc: maybe-all-build-bison
52891 all-stage3-gcc: maybe-all-build-bison
52892 all-stageb3g2-gcc: maybe-all-build-bison
52893 all-stage4-gcc: maybe-all-build-bison
52894 all-stageprofile-gcc: maybe-all-build-bison
52895 all-stagefeedback-gcc: maybe-all-build-bison
52896 all-gcc: maybe-all-build-byacc
52898 all-stage1-gcc: maybe-all-build-byacc
52899 all-stage2-gcc: maybe-all-build-byacc
52900 all-stageb2g0-gcc: maybe-all-build-byacc
52901 all-stage3-gcc: maybe-all-build-byacc
52902 all-stageb3g2-gcc: maybe-all-build-byacc
52903 all-stage4-gcc: maybe-all-build-byacc
52904 all-stageprofile-gcc: maybe-all-build-byacc
52905 all-stagefeedback-gcc: maybe-all-build-byacc
52906 all-gcc: maybe-all-build-flex
52908 all-stage1-gcc: maybe-all-build-flex
52909 all-stage2-gcc: maybe-all-build-flex
52910 all-stageb2g0-gcc: maybe-all-build-flex
52911 all-stage3-gcc: maybe-all-build-flex
52912 all-stageb3g2-gcc: maybe-all-build-flex
52913 all-stage4-gcc: maybe-all-build-flex
52914 all-stageprofile-gcc: maybe-all-build-flex
52915 all-stagefeedback-gcc: maybe-all-build-flex
52916 all-gcc: maybe-all-build-libiberty
52918 all-stage1-gcc: maybe-all-build-libiberty
52919 all-stage2-gcc: maybe-all-build-libiberty
52920 all-stageb2g0-gcc: maybe-all-build-libiberty
52921 all-stage3-gcc: maybe-all-build-libiberty
52922 all-stageb3g2-gcc: maybe-all-build-libiberty
52923 all-stage4-gcc: maybe-all-build-libiberty
52924 all-stageprofile-gcc: maybe-all-build-libiberty
52925 all-stagefeedback-gcc: maybe-all-build-libiberty
52926 all-gcc: maybe-all-build-fixincludes
52928 all-stage1-gcc: maybe-all-build-fixincludes
52929 all-stage2-gcc: maybe-all-build-fixincludes
52930 all-stageb2g0-gcc: maybe-all-build-fixincludes
52931 all-stage3-gcc: maybe-all-build-fixincludes
52932 all-stageb3g2-gcc: maybe-all-build-fixincludes
52933 all-stage4-gcc: maybe-all-build-fixincludes
52934 all-stageprofile-gcc: maybe-all-build-fixincludes
52935 all-stagefeedback-gcc: maybe-all-build-fixincludes
52936 all-gcc: maybe-all-zlib
52938 all-stage1-gcc: maybe-all-stage1-zlib
52939 all-stage2-gcc: maybe-all-stage2-zlib
52940 all-stageb2g0-gcc: maybe-all-stageb2g0-zlib
52941 all-stage3-gcc: maybe-all-stage3-zlib
52942 all-stageb3g2-gcc: maybe-all-stageb3g2-zlib
52943 all-stage4-gcc: maybe-all-stage4-zlib
52944 all-stageprofile-gcc: maybe-all-stageprofile-zlib
52945 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
52946 all-gcc: all-libcpp
52948 all-stage1-gcc: all-stage1-libcpp
52949 all-stage2-gcc: all-stage2-libcpp
52950 all-stageb2g0-gcc: all-stageb2g0-libcpp
52951 all-stage3-gcc: all-stage3-libcpp
52952 all-stageb3g2-gcc: all-stageb3g2-libcpp
52953 all-stage4-gcc: all-stage4-libcpp
52954 all-stageprofile-gcc: all-stageprofile-libcpp
52955 all-stagefeedback-gcc: all-stagefeedback-libcpp
52956 all-gcc: all-libdecnumber
52958 all-stage1-gcc: all-stage1-libdecnumber
52959 all-stage2-gcc: all-stage2-libdecnumber
52960 all-stageb2g0-gcc: all-stageb2g0-libdecnumber
52961 all-stage3-gcc: all-stage3-libdecnumber
52962 all-stageb3g2-gcc: all-stageb3g2-libdecnumber
52963 all-stage4-gcc: all-stage4-libdecnumber
52964 all-stageprofile-gcc: all-stageprofile-libdecnumber
52965 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
52966 all-gcc: maybe-all-libiberty
52968 all-stage1-gcc: maybe-all-stage1-libiberty
52969 all-stage2-gcc: maybe-all-stage2-libiberty
52970 all-stageb2g0-gcc: maybe-all-stageb2g0-libiberty
52971 all-stage3-gcc: maybe-all-stage3-libiberty
52972 all-stageb3g2-gcc: maybe-all-stageb3g2-libiberty
52973 all-stage4-gcc: maybe-all-stage4-libiberty
52974 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
52975 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
52976 all-gcc: maybe-all-fixincludes
52977 install-gcc: maybe-install-fixincludes
52978 configure-libcpp: configure-libiberty
52980 configure-stage1-libcpp: configure-stage1-libiberty
52981 configure-stage2-libcpp: configure-stage2-libiberty
52982 configure-stageb2g0-libcpp: configure-stageb2g0-libiberty
52983 configure-stage3-libcpp: configure-stage3-libiberty
52984 configure-stageb3g2-libcpp: configure-stageb3g2-libiberty
52985 configure-stage4-libcpp: configure-stage4-libiberty
52986 configure-stageprofile-libcpp: configure-stageprofile-libiberty
52987 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
52988 configure-libcpp: maybe-configure-intl
52990 configure-stage1-libcpp: maybe-configure-stage1-intl
52991 configure-stage2-libcpp: maybe-configure-stage2-intl
52992 configure-stageb2g0-libcpp: maybe-configure-stageb2g0-intl
52993 configure-stage3-libcpp: maybe-configure-stage3-intl
52994 configure-stageb3g2-libcpp: maybe-configure-stageb3g2-intl
52995 configure-stage4-libcpp: maybe-configure-stage4-intl
52996 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
52997 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
52998 all-libcpp: all-libiberty
53000 all-stage1-libcpp: all-stage1-libiberty
53001 all-stage2-libcpp: all-stage2-libiberty
53002 all-stageb2g0-libcpp: all-stageb2g0-libiberty
53003 all-stage3-libcpp: all-stage3-libiberty
53004 all-stageb3g2-libcpp: all-stageb3g2-libiberty
53005 all-stage4-libcpp: all-stage4-libiberty
53006 all-stageprofile-libcpp: all-stageprofile-libiberty
53007 all-stagefeedback-libcpp: all-stagefeedback-libiberty
53008 all-libcpp: maybe-all-intl
53010 all-stage1-libcpp: maybe-all-stage1-intl
53011 all-stage2-libcpp: maybe-all-stage2-intl
53012 all-stageb2g0-libcpp: maybe-all-stageb2g0-intl
53013 all-stage3-libcpp: maybe-all-stage3-intl
53014 all-stageb3g2-libcpp: maybe-all-stageb3g2-intl
53015 all-stage4-libcpp: maybe-all-stage4-intl
53016 all-stageprofile-libcpp: maybe-all-stageprofile-intl
53017 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
53018 all-fixincludes: maybe-all-libiberty
53019 all-gnattools: maybe-all-target-libada
53020 configure-mpfr: maybe-all-gmp
53022 configure-stage1-mpfr: maybe-all-stage1-gmp
53023 configure-stage2-mpfr: maybe-all-stage2-gmp
53024 configure-stageb2g0-mpfr: maybe-all-stageb2g0-gmp
53025 configure-stage3-mpfr: maybe-all-stage3-gmp
53026 configure-stageb3g2-mpfr: maybe-all-stageb3g2-gmp
53027 configure-stage4-mpfr: maybe-all-stage4-gmp
53028 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
53029 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
53030 configure-gdb: maybe-all-intl
53031 configure-gdb: maybe-configure-sim
53032 configure-gdb: maybe-all-bfd
53033 all-gdb: maybe-all-libiberty
53034 all-gdb: maybe-all-opcodes
53035 all-gdb: maybe-all-readline
53036 all-gdb: maybe-all-build-bison
53037 all-gdb: maybe-all-build-byacc
53038 all-gdb: maybe-all-sim
53039 all-gdb: maybe-all-libdecnumber
53040 configure-libgui: maybe-configure-tcl
53041 configure-libgui: maybe-configure-tk
53042 all-libgui: maybe-all-tcl
53043 all-libgui: maybe-all-tk
53044 all-libgui: maybe-all-itcl
53045 configure-bfd: configure-libiberty
53047 configure-stage1-bfd: configure-stage1-libiberty
53048 configure-stage2-bfd: configure-stage2-libiberty
53049 configure-stageb2g0-bfd: configure-stageb2g0-libiberty
53050 configure-stage3-bfd: configure-stage3-libiberty
53051 configure-stageb3g2-bfd: configure-stageb3g2-libiberty
53052 configure-stage4-bfd: configure-stage4-libiberty
53053 configure-stageprofile-bfd: configure-stageprofile-libiberty
53054 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
53055 configure-bfd: maybe-configure-intl
53057 configure-stage1-bfd: maybe-configure-stage1-intl
53058 configure-stage2-bfd: maybe-configure-stage2-intl
53059 configure-stageb2g0-bfd: maybe-configure-stageb2g0-intl
53060 configure-stage3-bfd: maybe-configure-stage3-intl
53061 configure-stageb3g2-bfd: maybe-configure-stageb3g2-intl
53062 configure-stage4-bfd: maybe-configure-stage4-intl
53063 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
53064 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
53065 all-bfd: maybe-all-libiberty
53067 all-stage1-bfd: maybe-all-stage1-libiberty
53068 all-stage2-bfd: maybe-all-stage2-libiberty
53069 all-stageb2g0-bfd: maybe-all-stageb2g0-libiberty
53070 all-stage3-bfd: maybe-all-stage3-libiberty
53071 all-stageb3g2-bfd: maybe-all-stageb3g2-libiberty
53072 all-stage4-bfd: maybe-all-stage4-libiberty
53073 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
53074 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
53075 all-bfd: maybe-all-intl
53077 all-stage1-bfd: maybe-all-stage1-intl
53078 all-stage2-bfd: maybe-all-stage2-intl
53079 all-stageb2g0-bfd: maybe-all-stageb2g0-intl
53080 all-stage3-bfd: maybe-all-stage3-intl
53081 all-stageb3g2-bfd: maybe-all-stageb3g2-intl
53082 all-stage4-bfd: maybe-all-stage4-intl
53083 all-stageprofile-bfd: maybe-all-stageprofile-intl
53084 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
53085 configure-binutils: maybe-configure-intl
53087 configure-stage1-binutils: maybe-configure-stage1-intl
53088 configure-stage2-binutils: maybe-configure-stage2-intl
53089 configure-stageb2g0-binutils: maybe-configure-stageb2g0-intl
53090 configure-stage3-binutils: maybe-configure-stage3-intl
53091 configure-stageb3g2-binutils: maybe-configure-stageb3g2-intl
53092 configure-stage4-binutils: maybe-configure-stage4-intl
53093 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
53094 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
53095 all-binutils: maybe-all-libiberty
53097 all-stage1-binutils: maybe-all-stage1-libiberty
53098 all-stage2-binutils: maybe-all-stage2-libiberty
53099 all-stageb2g0-binutils: maybe-all-stageb2g0-libiberty
53100 all-stage3-binutils: maybe-all-stage3-libiberty
53101 all-stageb3g2-binutils: maybe-all-stageb3g2-libiberty
53102 all-stage4-binutils: maybe-all-stage4-libiberty
53103 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
53104 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
53105 all-binutils: maybe-all-opcodes
53107 all-stage1-binutils: maybe-all-stage1-opcodes
53108 all-stage2-binutils: maybe-all-stage2-opcodes
53109 all-stageb2g0-binutils: maybe-all-stageb2g0-opcodes
53110 all-stage3-binutils: maybe-all-stage3-opcodes
53111 all-stageb3g2-binutils: maybe-all-stageb3g2-opcodes
53112 all-stage4-binutils: maybe-all-stage4-opcodes
53113 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
53114 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
53115 all-binutils: maybe-all-bfd
53117 all-stage1-binutils: maybe-all-stage1-bfd
53118 all-stage2-binutils: maybe-all-stage2-bfd
53119 all-stageb2g0-binutils: maybe-all-stageb2g0-bfd
53120 all-stage3-binutils: maybe-all-stage3-bfd
53121 all-stageb3g2-binutils: maybe-all-stageb3g2-bfd
53122 all-stage4-binutils: maybe-all-stage4-bfd
53123 all-stageprofile-binutils: maybe-all-stageprofile-bfd
53124 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
53125 all-binutils: maybe-all-build-flex
53127 all-stage1-binutils: maybe-all-build-flex
53128 all-stage2-binutils: maybe-all-build-flex
53129 all-stageb2g0-binutils: maybe-all-build-flex
53130 all-stage3-binutils: maybe-all-build-flex
53131 all-stageb3g2-binutils: maybe-all-build-flex
53132 all-stage4-binutils: maybe-all-build-flex
53133 all-stageprofile-binutils: maybe-all-build-flex
53134 all-stagefeedback-binutils: maybe-all-build-flex
53135 all-binutils: maybe-all-build-bison
53137 all-stage1-binutils: maybe-all-build-bison
53138 all-stage2-binutils: maybe-all-build-bison
53139 all-stageb2g0-binutils: maybe-all-build-bison
53140 all-stage3-binutils: maybe-all-build-bison
53141 all-stageb3g2-binutils: maybe-all-build-bison
53142 all-stage4-binutils: maybe-all-build-bison
53143 all-stageprofile-binutils: maybe-all-build-bison
53144 all-stagefeedback-binutils: maybe-all-build-bison
53145 all-binutils: maybe-all-build-byacc
53147 all-stage1-binutils: maybe-all-build-byacc
53148 all-stage2-binutils: maybe-all-build-byacc
53149 all-stageb2g0-binutils: maybe-all-build-byacc
53150 all-stage3-binutils: maybe-all-build-byacc
53151 all-stageb3g2-binutils: maybe-all-build-byacc
53152 all-stage4-binutils: maybe-all-build-byacc
53153 all-stageprofile-binutils: maybe-all-build-byacc
53154 all-stagefeedback-binutils: maybe-all-build-byacc
53155 all-binutils: maybe-all-intl
53157 all-stage1-binutils: maybe-all-stage1-intl
53158 all-stage2-binutils: maybe-all-stage2-intl
53159 all-stageb2g0-binutils: maybe-all-stageb2g0-intl
53160 all-stage3-binutils: maybe-all-stage3-intl
53161 all-stageb3g2-binutils: maybe-all-stageb3g2-intl
53162 all-stage4-binutils: maybe-all-stage4-intl
53163 all-stageprofile-binutils: maybe-all-stageprofile-intl
53164 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
53165 install-binutils: maybe-install-opcodes
53166 install-opcodes: maybe-install-bfd
53167 configure-gas: maybe-configure-intl
53169 configure-stage1-gas: maybe-configure-stage1-intl
53170 configure-stage2-gas: maybe-configure-stage2-intl
53171 configure-stageb2g0-gas: maybe-configure-stageb2g0-intl
53172 configure-stage3-gas: maybe-configure-stage3-intl
53173 configure-stageb3g2-gas: maybe-configure-stageb3g2-intl
53174 configure-stage4-gas: maybe-configure-stage4-intl
53175 configure-stageprofile-gas: maybe-configure-stageprofile-intl
53176 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
53177 all-gas: maybe-all-libiberty
53179 all-stage1-gas: maybe-all-stage1-libiberty
53180 all-stage2-gas: maybe-all-stage2-libiberty
53181 all-stageb2g0-gas: maybe-all-stageb2g0-libiberty
53182 all-stage3-gas: maybe-all-stage3-libiberty
53183 all-stageb3g2-gas: maybe-all-stageb3g2-libiberty
53184 all-stage4-gas: maybe-all-stage4-libiberty
53185 all-stageprofile-gas: maybe-all-stageprofile-libiberty
53186 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
53187 all-gas: maybe-all-opcodes
53189 all-stage1-gas: maybe-all-stage1-opcodes
53190 all-stage2-gas: maybe-all-stage2-opcodes
53191 all-stageb2g0-gas: maybe-all-stageb2g0-opcodes
53192 all-stage3-gas: maybe-all-stage3-opcodes
53193 all-stageb3g2-gas: maybe-all-stageb3g2-opcodes
53194 all-stage4-gas: maybe-all-stage4-opcodes
53195 all-stageprofile-gas: maybe-all-stageprofile-opcodes
53196 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
53197 all-gas: maybe-all-bfd
53199 all-stage1-gas: maybe-all-stage1-bfd
53200 all-stage2-gas: maybe-all-stage2-bfd
53201 all-stageb2g0-gas: maybe-all-stageb2g0-bfd
53202 all-stage3-gas: maybe-all-stage3-bfd
53203 all-stageb3g2-gas: maybe-all-stageb3g2-bfd
53204 all-stage4-gas: maybe-all-stage4-bfd
53205 all-stageprofile-gas: maybe-all-stageprofile-bfd
53206 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
53207 all-gas: maybe-all-intl
53209 all-stage1-gas: maybe-all-stage1-intl
53210 all-stage2-gas: maybe-all-stage2-intl
53211 all-stageb2g0-gas: maybe-all-stageb2g0-intl
53212 all-stage3-gas: maybe-all-stage3-intl
53213 all-stageb3g2-gas: maybe-all-stageb3g2-intl
53214 all-stage4-gas: maybe-all-stage4-intl
53215 all-stageprofile-gas: maybe-all-stageprofile-intl
53216 all-stagefeedback-gas: maybe-all-stagefeedback-intl
53217 configure-gprof: maybe-configure-intl
53218 all-gprof: maybe-all-libiberty
53219 all-gprof: maybe-all-bfd
53220 all-gprof: maybe-all-opcodes
53221 all-gprof: maybe-all-intl
53222 configure-ld: maybe-configure-intl
53224 configure-stage1-ld: maybe-configure-stage1-intl
53225 configure-stage2-ld: maybe-configure-stage2-intl
53226 configure-stageb2g0-ld: maybe-configure-stageb2g0-intl
53227 configure-stage3-ld: maybe-configure-stage3-intl
53228 configure-stageb3g2-ld: maybe-configure-stageb3g2-intl
53229 configure-stage4-ld: maybe-configure-stage4-intl
53230 configure-stageprofile-ld: maybe-configure-stageprofile-intl
53231 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
53232 all-ld: maybe-all-libiberty
53234 all-stage1-ld: maybe-all-stage1-libiberty
53235 all-stage2-ld: maybe-all-stage2-libiberty
53236 all-stageb2g0-ld: maybe-all-stageb2g0-libiberty
53237 all-stage3-ld: maybe-all-stage3-libiberty
53238 all-stageb3g2-ld: maybe-all-stageb3g2-libiberty
53239 all-stage4-ld: maybe-all-stage4-libiberty
53240 all-stageprofile-ld: maybe-all-stageprofile-libiberty
53241 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
53242 all-ld: maybe-all-bfd
53244 all-stage1-ld: maybe-all-stage1-bfd
53245 all-stage2-ld: maybe-all-stage2-bfd
53246 all-stageb2g0-ld: maybe-all-stageb2g0-bfd
53247 all-stage3-ld: maybe-all-stage3-bfd
53248 all-stageb3g2-ld: maybe-all-stageb3g2-bfd
53249 all-stage4-ld: maybe-all-stage4-bfd
53250 all-stageprofile-ld: maybe-all-stageprofile-bfd
53251 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
53252 all-ld: maybe-all-opcodes
53254 all-stage1-ld: maybe-all-stage1-opcodes
53255 all-stage2-ld: maybe-all-stage2-opcodes
53256 all-stageb2g0-ld: maybe-all-stageb2g0-opcodes
53257 all-stage3-ld: maybe-all-stage3-opcodes
53258 all-stageb3g2-ld: maybe-all-stageb3g2-opcodes
53259 all-stage4-ld: maybe-all-stage4-opcodes
53260 all-stageprofile-ld: maybe-all-stageprofile-opcodes
53261 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
53262 all-ld: maybe-all-build-bison
53264 all-stage1-ld: maybe-all-build-bison
53265 all-stage2-ld: maybe-all-build-bison
53266 all-stageb2g0-ld: maybe-all-build-bison
53267 all-stage3-ld: maybe-all-build-bison
53268 all-stageb3g2-ld: maybe-all-build-bison
53269 all-stage4-ld: maybe-all-build-bison
53270 all-stageprofile-ld: maybe-all-build-bison
53271 all-stagefeedback-ld: maybe-all-build-bison
53272 all-ld: maybe-all-build-byacc
53274 all-stage1-ld: maybe-all-build-byacc
53275 all-stage2-ld: maybe-all-build-byacc
53276 all-stageb2g0-ld: maybe-all-build-byacc
53277 all-stage3-ld: maybe-all-build-byacc
53278 all-stageb3g2-ld: maybe-all-build-byacc
53279 all-stage4-ld: maybe-all-build-byacc
53280 all-stageprofile-ld: maybe-all-build-byacc
53281 all-stagefeedback-ld: maybe-all-build-byacc
53282 all-ld: maybe-all-build-flex
53284 all-stage1-ld: maybe-all-build-flex
53285 all-stage2-ld: maybe-all-build-flex
53286 all-stageb2g0-ld: maybe-all-build-flex
53287 all-stage3-ld: maybe-all-build-flex
53288 all-stageb3g2-ld: maybe-all-build-flex
53289 all-stage4-ld: maybe-all-build-flex
53290 all-stageprofile-ld: maybe-all-build-flex
53291 all-stagefeedback-ld: maybe-all-build-flex
53292 all-ld: maybe-all-intl
53294 all-stage1-ld: maybe-all-stage1-intl
53295 all-stage2-ld: maybe-all-stage2-intl
53296 all-stageb2g0-ld: maybe-all-stageb2g0-intl
53297 all-stage3-ld: maybe-all-stage3-intl
53298 all-stageb3g2-ld: maybe-all-stageb3g2-intl
53299 all-stage4-ld: maybe-all-stage4-intl
53300 all-stageprofile-ld: maybe-all-stageprofile-intl
53301 all-stagefeedback-ld: maybe-all-stagefeedback-intl
53302 configure-gold: maybe-configure-intl
53304 configure-stage1-gold: maybe-configure-stage1-intl
53305 configure-stage2-gold: maybe-configure-stage2-intl
53306 configure-stageb2g0-gold: maybe-configure-stageb2g0-intl
53307 configure-stage3-gold: maybe-configure-stage3-intl
53308 configure-stageb3g2-gold: maybe-configure-stageb3g2-intl
53309 configure-stage4-gold: maybe-configure-stage4-intl
53310 configure-stageprofile-gold: maybe-configure-stageprofile-intl
53311 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
53312 all-gold: maybe-all-libiberty
53314 all-stage1-gold: maybe-all-stage1-libiberty
53315 all-stage2-gold: maybe-all-stage2-libiberty
53316 all-stageb2g0-gold: maybe-all-stageb2g0-libiberty
53317 all-stage3-gold: maybe-all-stage3-libiberty
53318 all-stageb3g2-gold: maybe-all-stageb3g2-libiberty
53319 all-stage4-gold: maybe-all-stage4-libiberty
53320 all-stageprofile-gold: maybe-all-stageprofile-libiberty
53321 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
53322 all-gold: maybe-all-intl
53324 all-stage1-gold: maybe-all-stage1-intl
53325 all-stage2-gold: maybe-all-stage2-intl
53326 all-stageb2g0-gold: maybe-all-stageb2g0-intl
53327 all-stage3-gold: maybe-all-stage3-intl
53328 all-stageb3g2-gold: maybe-all-stageb3g2-intl
53329 all-stage4-gold: maybe-all-stage4-intl
53330 all-stageprofile-gold: maybe-all-stageprofile-intl
53331 all-stagefeedback-gold: maybe-all-stagefeedback-intl
53332 all-gold: maybe-all-bfd
53334 all-stage1-gold: maybe-all-stage1-bfd
53335 all-stage2-gold: maybe-all-stage2-bfd
53336 all-stageb2g0-gold: maybe-all-stageb2g0-bfd
53337 all-stage3-gold: maybe-all-stage3-bfd
53338 all-stageb3g2-gold: maybe-all-stageb3g2-bfd
53339 all-stage4-gold: maybe-all-stage4-bfd
53340 all-stageprofile-gold: maybe-all-stageprofile-bfd
53341 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
53342 all-gold: maybe-all-build-bison
53344 all-stage1-gold: maybe-all-build-bison
53345 all-stage2-gold: maybe-all-build-bison
53346 all-stageb2g0-gold: maybe-all-build-bison
53347 all-stage3-gold: maybe-all-build-bison
53348 all-stageb3g2-gold: maybe-all-build-bison
53349 all-stage4-gold: maybe-all-build-bison
53350 all-stageprofile-gold: maybe-all-build-bison
53351 all-stagefeedback-gold: maybe-all-build-bison
53352 all-gold: maybe-all-build-byacc
53354 all-stage1-gold: maybe-all-build-byacc
53355 all-stage2-gold: maybe-all-build-byacc
53356 all-stageb2g0-gold: maybe-all-build-byacc
53357 all-stage3-gold: maybe-all-build-byacc
53358 all-stageb3g2-gold: maybe-all-build-byacc
53359 all-stage4-gold: maybe-all-build-byacc
53360 all-stageprofile-gold: maybe-all-build-byacc
53361 all-stagefeedback-gold: maybe-all-build-byacc
53362 check-gold: maybe-all-binutils
53364 check-stage1-gold: maybe-all-stage1-binutils
53365 check-stage2-gold: maybe-all-stage2-binutils
53366 check-stageb2g0-gold: maybe-all-stageb2g0-binutils
53367 check-stage3-gold: maybe-all-stage3-binutils
53368 check-stageb3g2-gold: maybe-all-stageb3g2-binutils
53369 check-stage4-gold: maybe-all-stage4-binutils
53370 check-stageprofile-gold: maybe-all-stageprofile-binutils
53371 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
53372 configure-opcodes: maybe-configure-intl
53374 configure-stage1-opcodes: maybe-configure-stage1-intl
53375 configure-stage2-opcodes: maybe-configure-stage2-intl
53376 configure-stageb2g0-opcodes: maybe-configure-stageb2g0-intl
53377 configure-stage3-opcodes: maybe-configure-stage3-intl
53378 configure-stageb3g2-opcodes: maybe-configure-stageb3g2-intl
53379 configure-stage4-opcodes: maybe-configure-stage4-intl
53380 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
53381 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
53382 all-opcodes: maybe-all-bfd
53384 all-stage1-opcodes: maybe-all-stage1-bfd
53385 all-stage2-opcodes: maybe-all-stage2-bfd
53386 all-stageb2g0-opcodes: maybe-all-stageb2g0-bfd
53387 all-stage3-opcodes: maybe-all-stage3-bfd
53388 all-stageb3g2-opcodes: maybe-all-stageb3g2-bfd
53389 all-stage4-opcodes: maybe-all-stage4-bfd
53390 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
53391 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
53392 all-opcodes: maybe-all-libiberty
53394 all-stage1-opcodes: maybe-all-stage1-libiberty
53395 all-stage2-opcodes: maybe-all-stage2-libiberty
53396 all-stageb2g0-opcodes: maybe-all-stageb2g0-libiberty
53397 all-stage3-opcodes: maybe-all-stage3-libiberty
53398 all-stageb3g2-opcodes: maybe-all-stageb3g2-libiberty
53399 all-stage4-opcodes: maybe-all-stage4-libiberty
53400 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
53401 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
53402 all-opcodes: maybe-all-intl
53404 all-stage1-opcodes: maybe-all-stage1-intl
53405 all-stage2-opcodes: maybe-all-stage2-intl
53406 all-stageb2g0-opcodes: maybe-all-stageb2g0-intl
53407 all-stage3-opcodes: maybe-all-stage3-intl
53408 all-stageb3g2-opcodes: maybe-all-stageb3g2-intl
53409 all-stage4-opcodes: maybe-all-stage4-intl
53410 all-stageprofile-opcodes: maybe-all-stageprofile-intl
53411 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
53412 all-dejagnu: maybe-all-tcl
53413 all-dejagnu: maybe-all-expect
53414 all-dejagnu: maybe-all-tk
53415 configure-expect: maybe-configure-tcl
53416 configure-expect: maybe-configure-tk
53417 all-expect: maybe-all-tcl
53418 all-expect: maybe-all-tk
53419 configure-itcl: maybe-configure-tcl
53420 configure-itcl: maybe-configure-tk
53421 all-itcl: maybe-all-tcl
53422 all-itcl: maybe-all-tk
53423 install-itcl: maybe-install-tcl
53424 configure-tk: maybe-configure-tcl
53425 all-tk: maybe-all-tcl
53426 all-sid: maybe-all-libiberty
53427 all-sid: maybe-all-bfd
53428 all-sid: maybe-all-opcodes
53429 all-sid: maybe-all-tcl
53430 all-sid: maybe-all-tk
53431 install-sid: maybe-install-tcl
53432 install-sid: maybe-install-tk
53433 configure-sim: maybe-configure-intl
53434 all-sim: maybe-all-intl
53435 all-sim: maybe-all-libiberty
53436 all-sim: maybe-all-bfd
53437 all-sim: maybe-all-opcodes
53438 all-sim: maybe-all-readline
53439 all-sim: maybe-configure-gdb
53440 all-fastjar: maybe-all-zlib
53441 all-fastjar: maybe-all-build-texinfo
53442 all-fastjar: maybe-all-libiberty
53443 all-autoconf: maybe-all-m4
53444 all-autoconf: maybe-all-build-texinfo
53445 all-automake: maybe-all-m4
53446 all-automake: maybe-all-build-texinfo
53447 all-automake: maybe-all-autoconf
53448 all-bison: maybe-all-intl
53449 all-bison: maybe-all-build-texinfo
53450 all-diff: maybe-all-intl
53451 all-diff: maybe-all-build-texinfo
53452 all-fileutils: maybe-all-intl
53453 all-fileutils: maybe-all-build-texinfo
53454 all-flex: maybe-all-build-bison
53455 all-flex: maybe-all-build-byacc
53456 all-flex: maybe-all-intl
53457 all-flex: maybe-all-m4
53458 all-flex: maybe-all-build-texinfo
53459 all-gzip: maybe-all-intl
53460 all-gzip: maybe-all-zlib
53461 all-gzip: maybe-all-build-texinfo
53462 all-hello: maybe-all-intl
53463 all-hello: maybe-all-build-texinfo
53464 all-m4: maybe-all-intl
53465 all-m4: maybe-all-build-texinfo
53466 all-make: maybe-all-intl
53467 all-make: maybe-all-build-texinfo
53468 all-patch: maybe-all-build-texinfo
53469 all-make: maybe-all-build-texinfo
53470 all-prms: maybe-all-libiberty
53471 all-recode: maybe-all-build-texinfo
53472 all-sed: maybe-all-build-texinfo
53473 all-send-pr: maybe-all-prms
53474 all-tar: maybe-all-build-texinfo
53475 all-uudecode: maybe-all-build-texinfo
53476 configure-target-boehm-gc: maybe-configure-target-qthreads
53477 configure-target-fastjar: maybe-configure-target-zlib
53478 all-target-fastjar: maybe-all-target-zlib
53479 all-target-fastjar: maybe-all-target-libiberty
53480 configure-target-libjava: maybe-configure-target-zlib
53481 configure-target-libjava: maybe-configure-target-boehm-gc
53482 configure-target-libjava: maybe-configure-target-qthreads
53483 configure-target-libjava: maybe-configure-target-libffi
53484 all-target-libjava: maybe-all-fastjar
53485 all-target-libjava: maybe-all-target-zlib
53486 all-target-libjava: maybe-all-target-boehm-gc
53487 all-target-libjava: maybe-all-target-qthreads
53488 all-target-libjava: maybe-all-target-libffi
53489 configure-target-libobjc: maybe-configure-target-boehm-gc
53490 all-target-libobjc: maybe-all-target-libiberty
53491 all-target-libobjc: maybe-all-target-boehm-gc
53492 all-target-libstdc++-v3: maybe-all-target-libiberty
53493 configure-target-libstdc++-v3: maybe-configure-target-libgomp
53494 all-target-libgloss: maybe-all-target-newlib
53495 all-target-winsup: maybe-all-target-libiberty
53496 all-target-winsup: maybe-all-target-libtermcap
53499 # Dependencies for target modules on other target modules are
53500 # described by lang_env_dependencies; the defaults apply to anything
53501 # not mentioned there.
53504 @if gcc-bootstrap
53505 @endif gcc-bootstrap
53507 @if gcc-no-bootstrap
53508 configure-target-libstdc++-v3: maybe-all-target-libgcc
53509 configure-target-libmudflap: maybe-all-target-libgcc
53510 configure-target-libssp: maybe-all-target-libgcc
53511 configure-target-newlib: maybe-all-target-libgcc
53512 configure-target-libgfortran: maybe-all-target-libgcc
53513 configure-target-libobjc: maybe-all-target-libgcc
53514 configure-target-libtermcap: maybe-all-target-libgcc
53515 configure-target-winsup: maybe-all-target-libgcc
53516 configure-target-libgloss: maybe-all-target-libgcc
53517 configure-target-libiberty: maybe-all-target-libgcc
53518 configure-target-gperf: maybe-all-target-libgcc
53519 configure-target-examples: maybe-all-target-libgcc
53520 configure-target-libffi: maybe-all-target-libgcc
53521 configure-target-libjava: maybe-all-target-libgcc
53522 configure-target-zlib: maybe-all-target-libgcc
53523 configure-target-boehm-gc: maybe-all-target-libgcc
53524 configure-target-qthreads: maybe-all-target-libgcc
53525 configure-target-rda: maybe-all-target-libgcc
53526 configure-target-libada: maybe-all-target-libgcc
53527 configure-target-libgomp: maybe-all-target-libgcc
53528 @endif gcc-no-bootstrap
53531 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
53533 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
53535 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
53539 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
53541 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
53543 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
53545 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
53549 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
53550 configure-target-gperf: maybe-all-target-libstdc++-v3
53552 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
53554 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
53556 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
53557 configure-target-libjava: maybe-all-target-libstdc++-v3
53559 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
53561 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
53563 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
53565 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
53567 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
53569 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
53572 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
53573 GDB_TK = @GDB_TK@
53574 INSTALL_GDB_TK = @INSTALL_GDB_TK@
53575 configure-gdb: $(CONFIGURE_GDB_TK)
53576 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
53577 install-gdb: $(INSTALL_GDB_TK)
53579 # Serialization dependencies. Host configures don't work well in parallel to
53580 # each other, due to contention over config.cache. Target configures and
53581 # build configures are similar.
53582 @serialization_dependencies@
53584 # --------------------------------
53585 # Regenerating top level configury
53586 # --------------------------------
53588 # Rebuilding Makefile.in, using autogen.
53589 AUTOGEN = autogen
53590 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
53591 cd $(srcdir) && $(AUTOGEN) Makefile.def
53593 # Rebuilding Makefile.
53594 Makefile: $(srcdir)/Makefile.in config.status
53595 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
53597 config.status: configure
53598 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
53600 # Rebuilding configure.
53601 AUTOCONF = autoconf
53602 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4
53603 cd $(srcdir) && $(AUTOCONF)
53605 # ------------------------------
53606 # Special directives to GNU Make
53607 # ------------------------------
53609 # Don't pass command-line variables to submakes.
53610 .NOEXPORT:
53611 MAKEOVERRIDES=
53613 # end of Makefile.in