* config/sh/sh.c (sh_insn_length_adjustment): Adjust for
[official-gcc.git] / Makefile.in
blob60d42922cd5561fbccef2ba3ef65790a0e7aa9b1
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 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 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_noncanonical@
29 build_vendor=@build_vendor@
30 build_os=@build_os@
31 build=@build@
32 host_alias=@host_noncanonical@
33 host_vendor=@host_vendor@
34 host_os=@host_os@
35 host=@host@
36 target_alias=@target_noncanonical@
37 target_vendor=@target_vendor@
38 target_os=@target_os@
39 target=@target@
41 program_transform_name = @program_transform_name@
43 prefix = @prefix@
44 exec_prefix = @exec_prefix@
46 srcdir = @srcdir@
48 bindir = @bindir@
49 sbindir = @sbindir@
50 libexecdir = @libexecdir@
51 datadir = @datadir@
52 sysconfdir = @sysconfdir@
53 sharedstatedir = @sharedstatedir@
54 localstatedir = @localstatedir@
55 libdir = @libdir@
56 includedir = @includedir@
57 oldincludedir = @oldincludedir@
58 infodir = @infodir@
59 datarootdir = @datarootdir@
60 docdir = @docdir@
61 pdfdir = @pdfdir@
62 htmldir = @htmldir@
63 mandir = @mandir@
64 man1dir = $(mandir)/man1
65 man2dir = $(mandir)/man2
66 man3dir = $(mandir)/man3
67 man4dir = $(mandir)/man4
68 man5dir = $(mandir)/man5
69 man6dir = $(mandir)/man6
70 man7dir = $(mandir)/man7
71 man8dir = $(mandir)/man8
72 man9dir = $(mandir)/man9
74 INSTALL = @INSTALL@
75 INSTALL_PROGRAM = @INSTALL_PROGRAM@
76 INSTALL_SCRIPT = @INSTALL_SCRIPT@
77 INSTALL_DATA = @INSTALL_DATA@
78 LN = @LN@
79 LN_S = @LN_S@
80 MAINT = @MAINT@
81 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
82 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
84 # -------------------------------------------------
85 # Miscellaneous non-standard autoconf-set variables
86 # -------------------------------------------------
88 # The gcc driver likes to know the arguments it was configured with.
89 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
91 tooldir = @tooldir@
92 build_tooldir = @build_tooldir@
94 GDB_NLM_DEPS =
96 # This is the name of the environment variable used for the path to
97 # the libraries.
98 RPATH_ENVVAR = @RPATH_ENVVAR@
100 # Build programs are put under this directory.
101 BUILD_SUBDIR = @build_subdir@
102 # This is set by the configure script to the arguments to use when configuring
103 # directories built for the build system.
104 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
106 # This is the list of variables to export in the environment when
107 # configuring any subdirectory. It must also be exported whenever
108 # recursing into a build directory in case that directory's Makefile
109 # re-runs configure.
110 BASE_EXPORTS = \
111 FLEX="$(FLEX)"; export FLEX; \
112 LEX="$(LEX)"; export LEX; \
113 BISON="$(BISON)"; export BISON; \
114 YACC="$(YACC)"; export YACC; \
115 M4="$(M4)"; export M4; \
116 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
118 # This is the list of variables to export in the environment when
119 # configuring subdirectories for the build system.
120 BUILD_EXPORTS = \
121 $(BASE_EXPORTS) \
122 AR="$(AR_FOR_BUILD)"; export AR; \
123 AS="$(AS_FOR_BUILD)"; export AS; \
124 CC="$(CC_FOR_BUILD)"; export CC; \
125 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
126 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
127 CXX="$(CXX_FOR_BUILD)"; export CXX; \
128 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
129 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
130 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
131 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
132 LD="$(LD_FOR_BUILD)"; export LD; \
133 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
134 NM="$(NM_FOR_BUILD)"; export NM; \
135 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
136 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
138 # This is the list of directories to built for the host system.
139 SUBDIRS = @configdirs@
140 # This is set by the configure script to the arguments to use when configuring
141 # directories built for the host system.
142 HOST_CONFIGARGS = @host_configargs@
143 # Host programs are put under this directory, which is . except if building
144 # with srcdir=..
145 HOST_SUBDIR = @host_subdir@
146 # This is the list of variables to export in the environment when
147 # configuring subdirectories for the host system. We need to pass
148 # some to the GCC configure because of its hybrid host/target nature.
149 HOST_EXPORTS = \
150 $(BASE_EXPORTS) \
151 CC="$(CC)"; export CC; \
152 CFLAGS="$(CFLAGS)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
156 AR="$(AR)"; export AR; \
157 AS="$(AS)"; export AS; \
158 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
159 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
160 LD="$(LD)"; export LD; \
161 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
162 NM="$(NM)"; export NM; \
163 RANLIB="$(RANLIB)"; export RANLIB; \
164 WINDRES="$(WINDRES)"; export WINDRES; \
165 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
166 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
167 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
168 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
169 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
170 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
171 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
172 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
173 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
174 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
175 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
176 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
177 @if gcc-bootstrap
178 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
179 @endif gcc-bootstrap
180 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
182 # Similar, for later GCC stages.
183 POSTSTAGE1_HOST_EXPORTS = \
184 $(HOST_EXPORTS) \
185 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
186 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
187 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
188 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
189 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
190 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
191 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
192 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
194 # Target libraries are put under this directory:
195 TARGET_SUBDIR = @target_subdir@
196 # This is set by the configure script to the arguments to use when configuring
197 # directories built for the target.
198 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
199 # This is the list of variables to export in the environment when
200 # configuring subdirectories for the host system.
201 BASE_TARGET_EXPORTS = \
202 $(BASE_EXPORTS) \
203 AR="$(AR_FOR_TARGET)"; export AR; \
204 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
205 CC="$(CC_FOR_TARGET)"; export CC; \
206 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
207 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
208 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
209 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
210 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
211 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
212 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
213 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
214 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
215 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
216 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
217 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
218 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
219 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
220 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
221 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
223 RAW_CXX_TARGET_EXPORTS = \
224 $(BASE_TARGET_EXPORTS) \
225 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
226 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
228 NORMAL_TARGET_EXPORTS = \
229 $(BASE_TARGET_EXPORTS) \
230 CXX="$(CXX_FOR_TARGET)"; export CXX;
232 # Where to find GMP
233 HOST_GMPLIBS = @gmplibs@
234 HOST_GMPINC = @gmpinc@
236 # ----------------------------------------------
237 # Programs producing files for the BUILD machine
238 # ----------------------------------------------
240 SHELL = @config_shell@
242 # pwd command to use. Allow user to override default by setting PWDCMD in
243 # the environment to account for automounters. The make variable must not
244 # be called PWDCMD, otherwise the value set here is passed to make
245 # subprocesses and overrides the setting from the user's environment.
246 # Don't use PWD since it is a common shell environment variable and we
247 # don't want to corrupt it.
248 PWD_COMMAND = $${PWDCMD-pwd}
250 # compilers to use to create programs which must be run in the build
251 # environment.
252 CC_FOR_BUILD = @CC_FOR_BUILD@
253 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
255 CXX_FOR_BUILD = $(CXX)
257 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
258 # here so that they can be overridden by Makefile fragments.
259 BUILD_PREFIX = @BUILD_PREFIX@
260 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
262 # Flags to pass to stage2 and later makes. They are defined
263 # here so that they can be overridden by Makefile fragments.
264 BOOT_CFLAGS= -g -O2
265 BOOT_LDFLAGS=
267 BISON = @BISON@
268 YACC = @YACC@
269 FLEX = @FLEX@
270 LEX = @LEX@
271 M4 = @M4@
272 MAKEINFO = @MAKEINFO@
273 EXPECT = @EXPECT@
274 RUNTEST = @RUNTEST@
276 # This just becomes part of the MAKEINFO definition passed down to
277 # sub-makes. It lets flags be given on the command line while still
278 # using the makeinfo from the object tree.
279 # (Default to avoid splitting info files by setting the threshold high.)
280 MAKEINFOFLAGS = --split-size=5000000
282 # ---------------------------------------------
283 # Programs producing files for the HOST machine
284 # ---------------------------------------------
286 AS = @AS@
287 AR = @AR@
288 AR_FLAGS = rc
289 CC = @CC@
290 CXX = @CXX@
291 DLLTOOL = @DLLTOOL@
292 LD = @LD@
293 LIPO = @LIPO@
294 NM = @NM@
295 OBJDUMP = @OBJDUMP@
296 RANLIB = @RANLIB@
297 STRIP = @STRIP@
298 WINDRES = @WINDRES@
300 GNATBIND = @GNATBIND@
301 GNATMAKE = @GNATMAKE@
303 CFLAGS = @CFLAGS@
304 LDFLAGS = @LDFLAGS@
305 LIBCFLAGS = $(CFLAGS)
306 CXXFLAGS = @CXXFLAGS@
307 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
308 PICFLAG =
310 # Only build the C compiler for stage1, because that is the only one that
311 # we can guarantee will build with the native compiler, and also it is the
312 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
313 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
314 # overrideable (for a bootstrap build stage1 also builds gcc.info).
316 STAGE1_CFLAGS=@stage1_cflags@
317 STAGE1_CHECKING=@stage1_checking@
318 STAGE1_LANGUAGES=@stage1_languages@
320 # -----------------------------------------------
321 # Programs producing files for the TARGET machine
322 # -----------------------------------------------
324 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
326 AR_FOR_TARGET=@AR_FOR_TARGET@
327 AS_FOR_TARGET=@AS_FOR_TARGET@
328 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
330 # If GCC_FOR_TARGET is not overriden on the command line, then this
331 # variable is passed down to the gcc Makefile, where it is used to
332 # build libgcc2.a. We define it here so that it can itself be
333 # overridden on the command line.
334 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
335 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
336 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
337 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
338 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
339 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
340 LD_FOR_TARGET=@LD_FOR_TARGET@
342 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
343 NM_FOR_TARGET=@NM_FOR_TARGET@
344 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
345 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
346 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
347 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
349 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
350 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
351 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
353 # During gcc bootstrap, if we use some random cc for stage1 then
354 # CFLAGS will be just -g. We want to ensure that TARGET libraries
355 # (which we know are built with gcc) are built with optimizations so
356 # prepend -O2 when setting CFLAGS_FOR_TARGET.
357 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
358 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
359 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
360 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
361 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
362 LDFLAGS_FOR_TARGET =
363 PICFLAG_FOR_TARGET =
365 # ------------------------------------
366 # Miscellaneous targets and flag lists
367 # ------------------------------------
369 # The first rule in the file had better be this one. Don't put any above it.
370 # This lives here to allow makefile fragments to contain dependencies.
371 all:
373 #### host and target specific makefile fragments come in here.
374 @target_makefile_frag@
375 @alphaieee_frag@
376 @ospace_frag@
377 @host_makefile_frag@
380 # This is the list of directories that may be needed in RPATH_ENVVAR
381 # so that prorgams built for the target machine work.
382 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
384 @if target-libstdc++-v3
385 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
386 @endif target-libstdc++-v3
388 @if target-libmudflap
389 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
390 @endif target-libmudflap
392 @if target-libssp
393 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
394 @endif target-libssp
396 @if target-libgomp
397 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
398 @endif target-libgomp
402 # This is the list of directories that may be needed in RPATH_ENVVAR
403 # so that programs built for the host machine work.
404 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)
406 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
407 @if gcc
408 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
409 @endif gcc
412 @if bfd
413 HOST_LIB_PATH_bfd = \
414 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
415 @endif bfd
417 @if opcodes
418 HOST_LIB_PATH_opcodes = \
419 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
420 @endif opcodes
422 @if gmp
423 HOST_LIB_PATH_gmp = \
424 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
425 @endif gmp
427 @if mpfr
428 HOST_LIB_PATH_mpfr = \
429 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
430 @endif mpfr
433 # Flags to pass down to all sub-makes.
434 BASE_FLAGS_TO_PASS = \
435 "DESTDIR=$(DESTDIR)" \
436 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
437 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
438 "bindir=$(bindir)" \
439 "datadir=$(datadir)" \
440 "exec_prefix=$(exec_prefix)" \
441 "includedir=$(includedir)" \
442 "datarootdir=$(datarootdir)" \
443 "docdir=$(docdir)" \
444 "infodir=$(infodir)" \
445 "pdfdir=$(pdfdir)" \
446 "htmldir=$(htmldir)" \
447 "libdir=$(libdir)" \
448 "libexecdir=$(libexecdir)" \
449 "lispdir=$(lispdir)" \
450 "localstatedir=$(localstatedir)" \
451 "mandir=$(mandir)" \
452 "oldincludedir=$(oldincludedir)" \
453 "prefix=$(prefix)" \
454 "sbindir=$(sbindir)" \
455 "sharedstatedir=$(sharedstatedir)" \
456 "sysconfdir=$(sysconfdir)" \
457 "tooldir=$(tooldir)" \
458 "build_tooldir=$(build_tooldir)" \
459 "target_alias=$(target_alias)" \
460 "BISON=$(BISON)" \
461 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
462 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
463 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
464 "EXPECT=$(EXPECT)" \
465 "FLEX=$(FLEX)" \
466 "INSTALL=$(INSTALL)" \
467 "INSTALL_DATA=$(INSTALL_DATA)" \
468 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
469 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
470 "LEX=$(LEX)" \
471 "M4=$(M4)" \
472 "MAKE=$(MAKE)" \
473 "RUNTEST=$(RUNTEST)" \
474 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
475 "SHELL=$(SHELL)" \
476 "YACC=$(YACC)" \
477 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
478 "AR_FLAGS=$(AR_FLAGS)" \
479 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
480 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
481 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
482 "CFLAGS=$(CFLAGS)" \
483 "CXXFLAGS=$(CXXFLAGS)" \
484 "LDFLAGS=$(LDFLAGS)" \
485 "LIBCFLAGS=$(LIBCFLAGS)" \
486 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
487 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
488 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
489 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
490 "GNATBIND=$(GNATBIND)" \
491 "GNATMAKE=$(GNATMAKE)" \
492 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
493 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
494 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
495 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
496 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
497 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
498 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
499 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
500 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
501 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
502 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
503 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
504 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
505 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
506 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
507 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
508 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
509 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
510 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
511 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
512 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
513 "LEAN=$(LEAN)" \
514 "CONFIG_SHELL=$(SHELL)" \
515 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
517 # We leave this in just in case, but it is not needed anymore.
518 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
520 # Flags to pass down to most sub-makes, in which we're building with
521 # the host environment.
522 EXTRA_HOST_FLAGS = \
523 'AR=$(AR)' \
524 'AS=$(AS)' \
525 'CC=$(CC)' \
526 'CXX=$(CXX)' \
527 'DLLTOOL=$(DLLTOOL)' \
528 'LD=$(LD)' \
529 'LIPO=$(LIPO)' \
530 'NM=$(NM)' \
531 'OBJDUMP=$(OBJDUMP)' \
532 'RANLIB=$(RANLIB)' \
533 'STRIP=$(STRIP)' \
534 'WINDRES=$(WINDRES)'
536 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
538 # Flags that are concerned with the location of the X11 include files
539 # and library files
541 # NOTE: until the top-level is getting the values via autoconf, it only
542 # causes problems to have this top-level Makefile overriding the autoconf-set
543 # values in child directories. Only variables that don't conflict with
544 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
546 X11_FLAGS_TO_PASS = \
547 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
548 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
550 # Flags to pass to stage2 and later makes.
552 POSTSTAGE1_FLAGS_TO_PASS = \
553 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
554 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
555 CFLAGS="$(BOOT_CFLAGS)" \
556 LIBCFLAGS="$(BOOT_CFLAGS)" \
557 LDFLAGS="$(BOOT_LDFLAGS)" \
558 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
560 # Flags to pass down to makes which are built with the target environment.
561 # The double $ decreases the length of the command line; those variables
562 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
563 # COMPILER_ prefixed variables are not passed down so we expand them here.
564 EXTRA_TARGET_FLAGS = \
565 'AR=$$(AR_FOR_TARGET)' \
566 'AS=$(COMPILER_AS_FOR_TARGET)' \
567 'CC=$$(CC_FOR_TARGET)' \
568 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
569 'CXX=$$(CXX_FOR_TARGET)' \
570 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
571 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
572 'LD=$(COMPILER_LD_FOR_TARGET)' \
573 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
574 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
575 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
576 'NM=$(COMPILER_NM_FOR_TARGET)' \
577 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
578 'RANLIB=$$(RANLIB_FOR_TARGET)' \
579 'WINDRES=$$(WINDRES_FOR_TARGET)'
581 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
583 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
584 # unfortunately needs the native compiler and the target ar and
585 # ranlib.
586 # If any variables are added here, they must be added to do-*, below.
587 # The BUILD_* variables are a special case, which are used for the gcc
588 # cross-building scheme.
589 EXTRA_GCC_FLAGS = \
590 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
591 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
592 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
593 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
594 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
595 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
597 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
599 .PHONY: configure-host
600 configure-host: \
601 maybe-configure-ash \
602 maybe-configure-autoconf \
603 maybe-configure-automake \
604 maybe-configure-bash \
605 maybe-configure-bfd \
606 maybe-configure-opcodes \
607 maybe-configure-binutils \
608 maybe-configure-bison \
609 maybe-configure-byacc \
610 maybe-configure-bzip2 \
611 maybe-configure-dejagnu \
612 maybe-configure-diff \
613 maybe-configure-dosutils \
614 maybe-configure-etc \
615 maybe-configure-fastjar \
616 maybe-configure-fileutils \
617 maybe-configure-findutils \
618 maybe-configure-find \
619 maybe-configure-fixincludes \
620 maybe-configure-flex \
621 maybe-configure-gas \
622 maybe-configure-gcc \
623 maybe-configure-gawk \
624 maybe-configure-gettext \
625 maybe-configure-gmp \
626 maybe-configure-mpfr \
627 maybe-configure-gnuserv \
628 maybe-configure-gprof \
629 maybe-configure-gzip \
630 maybe-configure-hello \
631 maybe-configure-indent \
632 maybe-configure-intl \
633 maybe-configure-tcl \
634 maybe-configure-itcl \
635 maybe-configure-ld \
636 maybe-configure-libcpp \
637 maybe-configure-libdecnumber \
638 maybe-configure-libgui \
639 maybe-configure-libiberty \
640 maybe-configure-libtool \
641 maybe-configure-m4 \
642 maybe-configure-make \
643 maybe-configure-mmalloc \
644 maybe-configure-patch \
645 maybe-configure-perl \
646 maybe-configure-prms \
647 maybe-configure-rcs \
648 maybe-configure-readline \
649 maybe-configure-release \
650 maybe-configure-recode \
651 maybe-configure-sed \
652 maybe-configure-send-pr \
653 maybe-configure-shellutils \
654 maybe-configure-sid \
655 maybe-configure-sim \
656 maybe-configure-tar \
657 maybe-configure-texinfo \
658 maybe-configure-textutils \
659 maybe-configure-time \
660 maybe-configure-uudecode \
661 maybe-configure-wdiff \
662 maybe-configure-zip \
663 maybe-configure-zlib \
664 maybe-configure-gdb \
665 maybe-configure-expect \
666 maybe-configure-guile \
667 maybe-configure-tk \
668 maybe-configure-libtermcap \
669 maybe-configure-utils \
670 maybe-configure-gnattools
671 .PHONY: configure-target
672 configure-target: \
673 maybe-configure-target-libstdc++-v3 \
674 maybe-configure-target-libmudflap \
675 maybe-configure-target-libssp \
676 maybe-configure-target-newlib \
677 maybe-configure-target-libgcc \
678 maybe-configure-target-libgfortran \
679 maybe-configure-target-libobjc \
680 maybe-configure-target-libtermcap \
681 maybe-configure-target-winsup \
682 maybe-configure-target-libgloss \
683 maybe-configure-target-libiberty \
684 maybe-configure-target-gperf \
685 maybe-configure-target-examples \
686 maybe-configure-target-libffi \
687 maybe-configure-target-libjava \
688 maybe-configure-target-zlib \
689 maybe-configure-target-boehm-gc \
690 maybe-configure-target-qthreads \
691 maybe-configure-target-rda \
692 maybe-configure-target-libada \
693 maybe-configure-target-libgomp
695 # The target built for a native non-bootstrap build.
696 .PHONY: all
697 all:
698 @if gcc-bootstrap
699 [ -f stage_final ] || echo stage3 > stage_final
700 @r=`${PWD_COMMAND}`; export r; \
701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
702 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
703 @endif gcc-bootstrap
704 @: $(MAKE); $(unstage)
705 @r=`${PWD_COMMAND}`; export r; \
706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
707 if [ -f stage_last ]; then \
708 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
709 else \
710 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
713 .PHONY: all-build
715 all-build: maybe-all-build-libiberty
716 all-build: maybe-all-build-bison
717 all-build: maybe-all-build-byacc
718 all-build: maybe-all-build-flex
719 all-build: maybe-all-build-m4
720 all-build: maybe-all-build-texinfo
721 all-build: maybe-all-build-fixincludes
723 .PHONY: all-host
725 all-host: maybe-all-ash
726 all-host: maybe-all-autoconf
727 all-host: maybe-all-automake
728 all-host: maybe-all-bash
729 @if bfd-no-bootstrap
730 all-host: maybe-all-bfd
731 @endif bfd-no-bootstrap
732 @if opcodes-no-bootstrap
733 all-host: maybe-all-opcodes
734 @endif opcodes-no-bootstrap
735 @if binutils-no-bootstrap
736 all-host: maybe-all-binutils
737 @endif binutils-no-bootstrap
738 all-host: maybe-all-bison
739 all-host: maybe-all-byacc
740 all-host: maybe-all-bzip2
741 all-host: maybe-all-dejagnu
742 all-host: maybe-all-diff
743 all-host: maybe-all-dosutils
744 all-host: maybe-all-etc
745 all-host: maybe-all-fastjar
746 all-host: maybe-all-fileutils
747 all-host: maybe-all-findutils
748 all-host: maybe-all-find
749 all-host: maybe-all-fixincludes
750 all-host: maybe-all-flex
751 @if gas-no-bootstrap
752 all-host: maybe-all-gas
753 @endif gas-no-bootstrap
754 @if gcc-no-bootstrap
755 all-host: maybe-all-gcc
756 @endif gcc-no-bootstrap
757 all-host: maybe-all-gawk
758 all-host: maybe-all-gettext
759 @if gmp-no-bootstrap
760 all-host: maybe-all-gmp
761 @endif gmp-no-bootstrap
762 @if mpfr-no-bootstrap
763 all-host: maybe-all-mpfr
764 @endif mpfr-no-bootstrap
765 all-host: maybe-all-gnuserv
766 all-host: maybe-all-gprof
767 all-host: maybe-all-gzip
768 all-host: maybe-all-hello
769 all-host: maybe-all-indent
770 @if intl-no-bootstrap
771 all-host: maybe-all-intl
772 @endif intl-no-bootstrap
773 all-host: maybe-all-tcl
774 all-host: maybe-all-itcl
775 @if ld-no-bootstrap
776 all-host: maybe-all-ld
777 @endif ld-no-bootstrap
778 @if libcpp-no-bootstrap
779 all-host: maybe-all-libcpp
780 @endif libcpp-no-bootstrap
781 @if libdecnumber-no-bootstrap
782 all-host: maybe-all-libdecnumber
783 @endif libdecnumber-no-bootstrap
784 all-host: maybe-all-libgui
785 @if libiberty-no-bootstrap
786 all-host: maybe-all-libiberty
787 @endif libiberty-no-bootstrap
788 all-host: maybe-all-libtool
789 all-host: maybe-all-m4
790 all-host: maybe-all-make
791 all-host: maybe-all-mmalloc
792 all-host: maybe-all-patch
793 all-host: maybe-all-perl
794 all-host: maybe-all-prms
795 all-host: maybe-all-rcs
796 all-host: maybe-all-readline
797 all-host: maybe-all-release
798 all-host: maybe-all-recode
799 all-host: maybe-all-sed
800 all-host: maybe-all-send-pr
801 all-host: maybe-all-shellutils
802 all-host: maybe-all-sid
803 all-host: maybe-all-sim
804 all-host: maybe-all-tar
805 all-host: maybe-all-texinfo
806 all-host: maybe-all-textutils
807 all-host: maybe-all-time
808 all-host: maybe-all-uudecode
809 all-host: maybe-all-wdiff
810 all-host: maybe-all-zip
811 @if zlib-no-bootstrap
812 all-host: maybe-all-zlib
813 @endif zlib-no-bootstrap
814 all-host: maybe-all-gdb
815 all-host: maybe-all-expect
816 all-host: maybe-all-guile
817 all-host: maybe-all-tk
818 all-host: maybe-all-libtermcap
819 all-host: maybe-all-utils
820 all-host: maybe-all-gnattools
822 .PHONY: all-target
824 all-target: maybe-all-target-libstdc++-v3
825 all-target: maybe-all-target-libmudflap
826 all-target: maybe-all-target-libssp
827 all-target: maybe-all-target-newlib
828 @if target-libgcc-no-bootstrap
829 all-target: maybe-all-target-libgcc
830 @endif target-libgcc-no-bootstrap
831 all-target: maybe-all-target-libgfortran
832 all-target: maybe-all-target-libobjc
833 all-target: maybe-all-target-libtermcap
834 all-target: maybe-all-target-winsup
835 all-target: maybe-all-target-libgloss
836 all-target: maybe-all-target-libiberty
837 all-target: maybe-all-target-gperf
838 all-target: maybe-all-target-examples
839 all-target: maybe-all-target-libffi
840 all-target: maybe-all-target-libjava
841 all-target: maybe-all-target-zlib
842 all-target: maybe-all-target-boehm-gc
843 all-target: maybe-all-target-qthreads
844 all-target: maybe-all-target-rda
845 all-target: maybe-all-target-libada
846 all-target: maybe-all-target-libgomp
848 # Do a target for all the subdirectories. A ``make do-X'' will do a
849 # ``make X'' in all subdirectories (because, in general, there is a
850 # dependency (below) of X upon do-X, a ``make X'' will also do this,
851 # but it may do additional work as well).
853 .PHONY: do-info
854 do-info:
855 @: $(MAKE); $(unstage)
856 @r=`${PWD_COMMAND}`; export r; \
857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
858 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
859 info-target
862 .PHONY: info-host
864 info-host: maybe-info-ash
865 info-host: maybe-info-autoconf
866 info-host: maybe-info-automake
867 info-host: maybe-info-bash
868 info-host: maybe-info-bfd
869 info-host: maybe-info-opcodes
870 info-host: maybe-info-binutils
871 info-host: maybe-info-bison
872 info-host: maybe-info-byacc
873 info-host: maybe-info-bzip2
874 info-host: maybe-info-dejagnu
875 info-host: maybe-info-diff
876 info-host: maybe-info-dosutils
877 info-host: maybe-info-etc
878 info-host: maybe-info-fastjar
879 info-host: maybe-info-fileutils
880 info-host: maybe-info-findutils
881 info-host: maybe-info-find
882 info-host: maybe-info-fixincludes
883 info-host: maybe-info-flex
884 info-host: maybe-info-gas
885 info-host: maybe-info-gcc
886 info-host: maybe-info-gawk
887 info-host: maybe-info-gettext
888 info-host: maybe-info-gmp
889 info-host: maybe-info-mpfr
890 info-host: maybe-info-gnuserv
891 info-host: maybe-info-gprof
892 info-host: maybe-info-gzip
893 info-host: maybe-info-hello
894 info-host: maybe-info-indent
895 info-host: maybe-info-intl
896 info-host: maybe-info-tcl
897 info-host: maybe-info-itcl
898 info-host: maybe-info-ld
899 info-host: maybe-info-libcpp
900 info-host: maybe-info-libdecnumber
901 info-host: maybe-info-libgui
902 info-host: maybe-info-libiberty
903 info-host: maybe-info-libtool
904 info-host: maybe-info-m4
905 info-host: maybe-info-make
906 info-host: maybe-info-mmalloc
907 info-host: maybe-info-patch
908 info-host: maybe-info-perl
909 info-host: maybe-info-prms
910 info-host: maybe-info-rcs
911 info-host: maybe-info-readline
912 info-host: maybe-info-release
913 info-host: maybe-info-recode
914 info-host: maybe-info-sed
915 info-host: maybe-info-send-pr
916 info-host: maybe-info-shellutils
917 info-host: maybe-info-sid
918 info-host: maybe-info-sim
919 info-host: maybe-info-tar
920 info-host: maybe-info-texinfo
921 info-host: maybe-info-textutils
922 info-host: maybe-info-time
923 info-host: maybe-info-uudecode
924 info-host: maybe-info-wdiff
925 info-host: maybe-info-zip
926 info-host: maybe-info-zlib
927 info-host: maybe-info-gdb
928 info-host: maybe-info-expect
929 info-host: maybe-info-guile
930 info-host: maybe-info-tk
931 info-host: maybe-info-libtermcap
932 info-host: maybe-info-utils
933 info-host: maybe-info-gnattools
935 .PHONY: info-target
937 info-target: maybe-info-target-libstdc++-v3
938 info-target: maybe-info-target-libmudflap
939 info-target: maybe-info-target-libssp
940 info-target: maybe-info-target-newlib
941 info-target: maybe-info-target-libgcc
942 info-target: maybe-info-target-libgfortran
943 info-target: maybe-info-target-libobjc
944 info-target: maybe-info-target-libtermcap
945 info-target: maybe-info-target-winsup
946 info-target: maybe-info-target-libgloss
947 info-target: maybe-info-target-libiberty
948 info-target: maybe-info-target-gperf
949 info-target: maybe-info-target-examples
950 info-target: maybe-info-target-libffi
951 info-target: maybe-info-target-libjava
952 info-target: maybe-info-target-zlib
953 info-target: maybe-info-target-boehm-gc
954 info-target: maybe-info-target-qthreads
955 info-target: maybe-info-target-rda
956 info-target: maybe-info-target-libada
957 info-target: maybe-info-target-libgomp
959 .PHONY: do-dvi
960 do-dvi:
961 @: $(MAKE); $(unstage)
962 @r=`${PWD_COMMAND}`; export r; \
963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
965 dvi-target
968 .PHONY: dvi-host
970 dvi-host: maybe-dvi-ash
971 dvi-host: maybe-dvi-autoconf
972 dvi-host: maybe-dvi-automake
973 dvi-host: maybe-dvi-bash
974 dvi-host: maybe-dvi-bfd
975 dvi-host: maybe-dvi-opcodes
976 dvi-host: maybe-dvi-binutils
977 dvi-host: maybe-dvi-bison
978 dvi-host: maybe-dvi-byacc
979 dvi-host: maybe-dvi-bzip2
980 dvi-host: maybe-dvi-dejagnu
981 dvi-host: maybe-dvi-diff
982 dvi-host: maybe-dvi-dosutils
983 dvi-host: maybe-dvi-etc
984 dvi-host: maybe-dvi-fastjar
985 dvi-host: maybe-dvi-fileutils
986 dvi-host: maybe-dvi-findutils
987 dvi-host: maybe-dvi-find
988 dvi-host: maybe-dvi-fixincludes
989 dvi-host: maybe-dvi-flex
990 dvi-host: maybe-dvi-gas
991 dvi-host: maybe-dvi-gcc
992 dvi-host: maybe-dvi-gawk
993 dvi-host: maybe-dvi-gettext
994 dvi-host: maybe-dvi-gmp
995 dvi-host: maybe-dvi-mpfr
996 dvi-host: maybe-dvi-gnuserv
997 dvi-host: maybe-dvi-gprof
998 dvi-host: maybe-dvi-gzip
999 dvi-host: maybe-dvi-hello
1000 dvi-host: maybe-dvi-indent
1001 dvi-host: maybe-dvi-intl
1002 dvi-host: maybe-dvi-tcl
1003 dvi-host: maybe-dvi-itcl
1004 dvi-host: maybe-dvi-ld
1005 dvi-host: maybe-dvi-libcpp
1006 dvi-host: maybe-dvi-libdecnumber
1007 dvi-host: maybe-dvi-libgui
1008 dvi-host: maybe-dvi-libiberty
1009 dvi-host: maybe-dvi-libtool
1010 dvi-host: maybe-dvi-m4
1011 dvi-host: maybe-dvi-make
1012 dvi-host: maybe-dvi-mmalloc
1013 dvi-host: maybe-dvi-patch
1014 dvi-host: maybe-dvi-perl
1015 dvi-host: maybe-dvi-prms
1016 dvi-host: maybe-dvi-rcs
1017 dvi-host: maybe-dvi-readline
1018 dvi-host: maybe-dvi-release
1019 dvi-host: maybe-dvi-recode
1020 dvi-host: maybe-dvi-sed
1021 dvi-host: maybe-dvi-send-pr
1022 dvi-host: maybe-dvi-shellutils
1023 dvi-host: maybe-dvi-sid
1024 dvi-host: maybe-dvi-sim
1025 dvi-host: maybe-dvi-tar
1026 dvi-host: maybe-dvi-texinfo
1027 dvi-host: maybe-dvi-textutils
1028 dvi-host: maybe-dvi-time
1029 dvi-host: maybe-dvi-uudecode
1030 dvi-host: maybe-dvi-wdiff
1031 dvi-host: maybe-dvi-zip
1032 dvi-host: maybe-dvi-zlib
1033 dvi-host: maybe-dvi-gdb
1034 dvi-host: maybe-dvi-expect
1035 dvi-host: maybe-dvi-guile
1036 dvi-host: maybe-dvi-tk
1037 dvi-host: maybe-dvi-libtermcap
1038 dvi-host: maybe-dvi-utils
1039 dvi-host: maybe-dvi-gnattools
1041 .PHONY: dvi-target
1043 dvi-target: maybe-dvi-target-libstdc++-v3
1044 dvi-target: maybe-dvi-target-libmudflap
1045 dvi-target: maybe-dvi-target-libssp
1046 dvi-target: maybe-dvi-target-newlib
1047 dvi-target: maybe-dvi-target-libgcc
1048 dvi-target: maybe-dvi-target-libgfortran
1049 dvi-target: maybe-dvi-target-libobjc
1050 dvi-target: maybe-dvi-target-libtermcap
1051 dvi-target: maybe-dvi-target-winsup
1052 dvi-target: maybe-dvi-target-libgloss
1053 dvi-target: maybe-dvi-target-libiberty
1054 dvi-target: maybe-dvi-target-gperf
1055 dvi-target: maybe-dvi-target-examples
1056 dvi-target: maybe-dvi-target-libffi
1057 dvi-target: maybe-dvi-target-libjava
1058 dvi-target: maybe-dvi-target-zlib
1059 dvi-target: maybe-dvi-target-boehm-gc
1060 dvi-target: maybe-dvi-target-qthreads
1061 dvi-target: maybe-dvi-target-rda
1062 dvi-target: maybe-dvi-target-libada
1063 dvi-target: maybe-dvi-target-libgomp
1065 .PHONY: do-pdf
1066 do-pdf:
1067 @: $(MAKE); $(unstage)
1068 @r=`${PWD_COMMAND}`; export r; \
1069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1070 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1071 pdf-target
1074 .PHONY: pdf-host
1076 pdf-host: maybe-pdf-ash
1077 pdf-host: maybe-pdf-autoconf
1078 pdf-host: maybe-pdf-automake
1079 pdf-host: maybe-pdf-bash
1080 pdf-host: maybe-pdf-bfd
1081 pdf-host: maybe-pdf-opcodes
1082 pdf-host: maybe-pdf-binutils
1083 pdf-host: maybe-pdf-bison
1084 pdf-host: maybe-pdf-byacc
1085 pdf-host: maybe-pdf-bzip2
1086 pdf-host: maybe-pdf-dejagnu
1087 pdf-host: maybe-pdf-diff
1088 pdf-host: maybe-pdf-dosutils
1089 pdf-host: maybe-pdf-etc
1090 pdf-host: maybe-pdf-fastjar
1091 pdf-host: maybe-pdf-fileutils
1092 pdf-host: maybe-pdf-findutils
1093 pdf-host: maybe-pdf-find
1094 pdf-host: maybe-pdf-fixincludes
1095 pdf-host: maybe-pdf-flex
1096 pdf-host: maybe-pdf-gas
1097 pdf-host: maybe-pdf-gcc
1098 pdf-host: maybe-pdf-gawk
1099 pdf-host: maybe-pdf-gettext
1100 pdf-host: maybe-pdf-gmp
1101 pdf-host: maybe-pdf-mpfr
1102 pdf-host: maybe-pdf-gnuserv
1103 pdf-host: maybe-pdf-gprof
1104 pdf-host: maybe-pdf-gzip
1105 pdf-host: maybe-pdf-hello
1106 pdf-host: maybe-pdf-indent
1107 pdf-host: maybe-pdf-intl
1108 pdf-host: maybe-pdf-tcl
1109 pdf-host: maybe-pdf-itcl
1110 pdf-host: maybe-pdf-ld
1111 pdf-host: maybe-pdf-libcpp
1112 pdf-host: maybe-pdf-libdecnumber
1113 pdf-host: maybe-pdf-libgui
1114 pdf-host: maybe-pdf-libiberty
1115 pdf-host: maybe-pdf-libtool
1116 pdf-host: maybe-pdf-m4
1117 pdf-host: maybe-pdf-make
1118 pdf-host: maybe-pdf-mmalloc
1119 pdf-host: maybe-pdf-patch
1120 pdf-host: maybe-pdf-perl
1121 pdf-host: maybe-pdf-prms
1122 pdf-host: maybe-pdf-rcs
1123 pdf-host: maybe-pdf-readline
1124 pdf-host: maybe-pdf-release
1125 pdf-host: maybe-pdf-recode
1126 pdf-host: maybe-pdf-sed
1127 pdf-host: maybe-pdf-send-pr
1128 pdf-host: maybe-pdf-shellutils
1129 pdf-host: maybe-pdf-sid
1130 pdf-host: maybe-pdf-sim
1131 pdf-host: maybe-pdf-tar
1132 pdf-host: maybe-pdf-texinfo
1133 pdf-host: maybe-pdf-textutils
1134 pdf-host: maybe-pdf-time
1135 pdf-host: maybe-pdf-uudecode
1136 pdf-host: maybe-pdf-wdiff
1137 pdf-host: maybe-pdf-zip
1138 pdf-host: maybe-pdf-zlib
1139 pdf-host: maybe-pdf-gdb
1140 pdf-host: maybe-pdf-expect
1141 pdf-host: maybe-pdf-guile
1142 pdf-host: maybe-pdf-tk
1143 pdf-host: maybe-pdf-libtermcap
1144 pdf-host: maybe-pdf-utils
1145 pdf-host: maybe-pdf-gnattools
1147 .PHONY: pdf-target
1149 pdf-target: maybe-pdf-target-libstdc++-v3
1150 pdf-target: maybe-pdf-target-libmudflap
1151 pdf-target: maybe-pdf-target-libssp
1152 pdf-target: maybe-pdf-target-newlib
1153 pdf-target: maybe-pdf-target-libgcc
1154 pdf-target: maybe-pdf-target-libgfortran
1155 pdf-target: maybe-pdf-target-libobjc
1156 pdf-target: maybe-pdf-target-libtermcap
1157 pdf-target: maybe-pdf-target-winsup
1158 pdf-target: maybe-pdf-target-libgloss
1159 pdf-target: maybe-pdf-target-libiberty
1160 pdf-target: maybe-pdf-target-gperf
1161 pdf-target: maybe-pdf-target-examples
1162 pdf-target: maybe-pdf-target-libffi
1163 pdf-target: maybe-pdf-target-libjava
1164 pdf-target: maybe-pdf-target-zlib
1165 pdf-target: maybe-pdf-target-boehm-gc
1166 pdf-target: maybe-pdf-target-qthreads
1167 pdf-target: maybe-pdf-target-rda
1168 pdf-target: maybe-pdf-target-libada
1169 pdf-target: maybe-pdf-target-libgomp
1171 .PHONY: do-html
1172 do-html:
1173 @: $(MAKE); $(unstage)
1174 @r=`${PWD_COMMAND}`; export r; \
1175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1176 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1177 html-target
1180 .PHONY: html-host
1182 html-host: maybe-html-ash
1183 html-host: maybe-html-autoconf
1184 html-host: maybe-html-automake
1185 html-host: maybe-html-bash
1186 html-host: maybe-html-bfd
1187 html-host: maybe-html-opcodes
1188 html-host: maybe-html-binutils
1189 html-host: maybe-html-bison
1190 html-host: maybe-html-byacc
1191 html-host: maybe-html-bzip2
1192 html-host: maybe-html-dejagnu
1193 html-host: maybe-html-diff
1194 html-host: maybe-html-dosutils
1195 html-host: maybe-html-etc
1196 html-host: maybe-html-fastjar
1197 html-host: maybe-html-fileutils
1198 html-host: maybe-html-findutils
1199 html-host: maybe-html-find
1200 html-host: maybe-html-fixincludes
1201 html-host: maybe-html-flex
1202 html-host: maybe-html-gas
1203 html-host: maybe-html-gcc
1204 html-host: maybe-html-gawk
1205 html-host: maybe-html-gettext
1206 html-host: maybe-html-gmp
1207 html-host: maybe-html-mpfr
1208 html-host: maybe-html-gnuserv
1209 html-host: maybe-html-gprof
1210 html-host: maybe-html-gzip
1211 html-host: maybe-html-hello
1212 html-host: maybe-html-indent
1213 html-host: maybe-html-intl
1214 html-host: maybe-html-tcl
1215 html-host: maybe-html-itcl
1216 html-host: maybe-html-ld
1217 html-host: maybe-html-libcpp
1218 html-host: maybe-html-libdecnumber
1219 html-host: maybe-html-libgui
1220 html-host: maybe-html-libiberty
1221 html-host: maybe-html-libtool
1222 html-host: maybe-html-m4
1223 html-host: maybe-html-make
1224 html-host: maybe-html-mmalloc
1225 html-host: maybe-html-patch
1226 html-host: maybe-html-perl
1227 html-host: maybe-html-prms
1228 html-host: maybe-html-rcs
1229 html-host: maybe-html-readline
1230 html-host: maybe-html-release
1231 html-host: maybe-html-recode
1232 html-host: maybe-html-sed
1233 html-host: maybe-html-send-pr
1234 html-host: maybe-html-shellutils
1235 html-host: maybe-html-sid
1236 html-host: maybe-html-sim
1237 html-host: maybe-html-tar
1238 html-host: maybe-html-texinfo
1239 html-host: maybe-html-textutils
1240 html-host: maybe-html-time
1241 html-host: maybe-html-uudecode
1242 html-host: maybe-html-wdiff
1243 html-host: maybe-html-zip
1244 html-host: maybe-html-zlib
1245 html-host: maybe-html-gdb
1246 html-host: maybe-html-expect
1247 html-host: maybe-html-guile
1248 html-host: maybe-html-tk
1249 html-host: maybe-html-libtermcap
1250 html-host: maybe-html-utils
1251 html-host: maybe-html-gnattools
1253 .PHONY: html-target
1255 html-target: maybe-html-target-libstdc++-v3
1256 html-target: maybe-html-target-libmudflap
1257 html-target: maybe-html-target-libssp
1258 html-target: maybe-html-target-newlib
1259 html-target: maybe-html-target-libgcc
1260 html-target: maybe-html-target-libgfortran
1261 html-target: maybe-html-target-libobjc
1262 html-target: maybe-html-target-libtermcap
1263 html-target: maybe-html-target-winsup
1264 html-target: maybe-html-target-libgloss
1265 html-target: maybe-html-target-libiberty
1266 html-target: maybe-html-target-gperf
1267 html-target: maybe-html-target-examples
1268 html-target: maybe-html-target-libffi
1269 html-target: maybe-html-target-libjava
1270 html-target: maybe-html-target-zlib
1271 html-target: maybe-html-target-boehm-gc
1272 html-target: maybe-html-target-qthreads
1273 html-target: maybe-html-target-rda
1274 html-target: maybe-html-target-libada
1275 html-target: maybe-html-target-libgomp
1277 .PHONY: do-TAGS
1278 do-TAGS:
1279 @: $(MAKE); $(unstage)
1280 @r=`${PWD_COMMAND}`; export r; \
1281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1282 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1283 TAGS-target
1286 .PHONY: TAGS-host
1288 TAGS-host: maybe-TAGS-ash
1289 TAGS-host: maybe-TAGS-autoconf
1290 TAGS-host: maybe-TAGS-automake
1291 TAGS-host: maybe-TAGS-bash
1292 TAGS-host: maybe-TAGS-bfd
1293 TAGS-host: maybe-TAGS-opcodes
1294 TAGS-host: maybe-TAGS-binutils
1295 TAGS-host: maybe-TAGS-bison
1296 TAGS-host: maybe-TAGS-byacc
1297 TAGS-host: maybe-TAGS-bzip2
1298 TAGS-host: maybe-TAGS-dejagnu
1299 TAGS-host: maybe-TAGS-diff
1300 TAGS-host: maybe-TAGS-dosutils
1301 TAGS-host: maybe-TAGS-etc
1302 TAGS-host: maybe-TAGS-fastjar
1303 TAGS-host: maybe-TAGS-fileutils
1304 TAGS-host: maybe-TAGS-findutils
1305 TAGS-host: maybe-TAGS-find
1306 TAGS-host: maybe-TAGS-fixincludes
1307 TAGS-host: maybe-TAGS-flex
1308 TAGS-host: maybe-TAGS-gas
1309 TAGS-host: maybe-TAGS-gcc
1310 TAGS-host: maybe-TAGS-gawk
1311 TAGS-host: maybe-TAGS-gettext
1312 TAGS-host: maybe-TAGS-gmp
1313 TAGS-host: maybe-TAGS-mpfr
1314 TAGS-host: maybe-TAGS-gnuserv
1315 TAGS-host: maybe-TAGS-gprof
1316 TAGS-host: maybe-TAGS-gzip
1317 TAGS-host: maybe-TAGS-hello
1318 TAGS-host: maybe-TAGS-indent
1319 TAGS-host: maybe-TAGS-intl
1320 TAGS-host: maybe-TAGS-tcl
1321 TAGS-host: maybe-TAGS-itcl
1322 TAGS-host: maybe-TAGS-ld
1323 TAGS-host: maybe-TAGS-libcpp
1324 TAGS-host: maybe-TAGS-libdecnumber
1325 TAGS-host: maybe-TAGS-libgui
1326 TAGS-host: maybe-TAGS-libiberty
1327 TAGS-host: maybe-TAGS-libtool
1328 TAGS-host: maybe-TAGS-m4
1329 TAGS-host: maybe-TAGS-make
1330 TAGS-host: maybe-TAGS-mmalloc
1331 TAGS-host: maybe-TAGS-patch
1332 TAGS-host: maybe-TAGS-perl
1333 TAGS-host: maybe-TAGS-prms
1334 TAGS-host: maybe-TAGS-rcs
1335 TAGS-host: maybe-TAGS-readline
1336 TAGS-host: maybe-TAGS-release
1337 TAGS-host: maybe-TAGS-recode
1338 TAGS-host: maybe-TAGS-sed
1339 TAGS-host: maybe-TAGS-send-pr
1340 TAGS-host: maybe-TAGS-shellutils
1341 TAGS-host: maybe-TAGS-sid
1342 TAGS-host: maybe-TAGS-sim
1343 TAGS-host: maybe-TAGS-tar
1344 TAGS-host: maybe-TAGS-texinfo
1345 TAGS-host: maybe-TAGS-textutils
1346 TAGS-host: maybe-TAGS-time
1347 TAGS-host: maybe-TAGS-uudecode
1348 TAGS-host: maybe-TAGS-wdiff
1349 TAGS-host: maybe-TAGS-zip
1350 TAGS-host: maybe-TAGS-zlib
1351 TAGS-host: maybe-TAGS-gdb
1352 TAGS-host: maybe-TAGS-expect
1353 TAGS-host: maybe-TAGS-guile
1354 TAGS-host: maybe-TAGS-tk
1355 TAGS-host: maybe-TAGS-libtermcap
1356 TAGS-host: maybe-TAGS-utils
1357 TAGS-host: maybe-TAGS-gnattools
1359 .PHONY: TAGS-target
1361 TAGS-target: maybe-TAGS-target-libstdc++-v3
1362 TAGS-target: maybe-TAGS-target-libmudflap
1363 TAGS-target: maybe-TAGS-target-libssp
1364 TAGS-target: maybe-TAGS-target-newlib
1365 TAGS-target: maybe-TAGS-target-libgcc
1366 TAGS-target: maybe-TAGS-target-libgfortran
1367 TAGS-target: maybe-TAGS-target-libobjc
1368 TAGS-target: maybe-TAGS-target-libtermcap
1369 TAGS-target: maybe-TAGS-target-winsup
1370 TAGS-target: maybe-TAGS-target-libgloss
1371 TAGS-target: maybe-TAGS-target-libiberty
1372 TAGS-target: maybe-TAGS-target-gperf
1373 TAGS-target: maybe-TAGS-target-examples
1374 TAGS-target: maybe-TAGS-target-libffi
1375 TAGS-target: maybe-TAGS-target-libjava
1376 TAGS-target: maybe-TAGS-target-zlib
1377 TAGS-target: maybe-TAGS-target-boehm-gc
1378 TAGS-target: maybe-TAGS-target-qthreads
1379 TAGS-target: maybe-TAGS-target-rda
1380 TAGS-target: maybe-TAGS-target-libada
1381 TAGS-target: maybe-TAGS-target-libgomp
1383 .PHONY: do-install-info
1384 do-install-info:
1385 @: $(MAKE); $(unstage)
1386 @r=`${PWD_COMMAND}`; export r; \
1387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1388 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1389 install-info-target
1392 .PHONY: install-info-host
1394 install-info-host: maybe-install-info-ash
1395 install-info-host: maybe-install-info-autoconf
1396 install-info-host: maybe-install-info-automake
1397 install-info-host: maybe-install-info-bash
1398 install-info-host: maybe-install-info-bfd
1399 install-info-host: maybe-install-info-opcodes
1400 install-info-host: maybe-install-info-binutils
1401 install-info-host: maybe-install-info-bison
1402 install-info-host: maybe-install-info-byacc
1403 install-info-host: maybe-install-info-bzip2
1404 install-info-host: maybe-install-info-dejagnu
1405 install-info-host: maybe-install-info-diff
1406 install-info-host: maybe-install-info-dosutils
1407 install-info-host: maybe-install-info-etc
1408 install-info-host: maybe-install-info-fastjar
1409 install-info-host: maybe-install-info-fileutils
1410 install-info-host: maybe-install-info-findutils
1411 install-info-host: maybe-install-info-find
1412 install-info-host: maybe-install-info-fixincludes
1413 install-info-host: maybe-install-info-flex
1414 install-info-host: maybe-install-info-gas
1415 install-info-host: maybe-install-info-gcc
1416 install-info-host: maybe-install-info-gawk
1417 install-info-host: maybe-install-info-gettext
1418 install-info-host: maybe-install-info-gmp
1419 install-info-host: maybe-install-info-mpfr
1420 install-info-host: maybe-install-info-gnuserv
1421 install-info-host: maybe-install-info-gprof
1422 install-info-host: maybe-install-info-gzip
1423 install-info-host: maybe-install-info-hello
1424 install-info-host: maybe-install-info-indent
1425 install-info-host: maybe-install-info-intl
1426 install-info-host: maybe-install-info-tcl
1427 install-info-host: maybe-install-info-itcl
1428 install-info-host: maybe-install-info-ld
1429 install-info-host: maybe-install-info-libcpp
1430 install-info-host: maybe-install-info-libdecnumber
1431 install-info-host: maybe-install-info-libgui
1432 install-info-host: maybe-install-info-libiberty
1433 install-info-host: maybe-install-info-libtool
1434 install-info-host: maybe-install-info-m4
1435 install-info-host: maybe-install-info-make
1436 install-info-host: maybe-install-info-mmalloc
1437 install-info-host: maybe-install-info-patch
1438 install-info-host: maybe-install-info-perl
1439 install-info-host: maybe-install-info-prms
1440 install-info-host: maybe-install-info-rcs
1441 install-info-host: maybe-install-info-readline
1442 install-info-host: maybe-install-info-release
1443 install-info-host: maybe-install-info-recode
1444 install-info-host: maybe-install-info-sed
1445 install-info-host: maybe-install-info-send-pr
1446 install-info-host: maybe-install-info-shellutils
1447 install-info-host: maybe-install-info-sid
1448 install-info-host: maybe-install-info-sim
1449 install-info-host: maybe-install-info-tar
1450 install-info-host: maybe-install-info-texinfo
1451 install-info-host: maybe-install-info-textutils
1452 install-info-host: maybe-install-info-time
1453 install-info-host: maybe-install-info-uudecode
1454 install-info-host: maybe-install-info-wdiff
1455 install-info-host: maybe-install-info-zip
1456 install-info-host: maybe-install-info-zlib
1457 install-info-host: maybe-install-info-gdb
1458 install-info-host: maybe-install-info-expect
1459 install-info-host: maybe-install-info-guile
1460 install-info-host: maybe-install-info-tk
1461 install-info-host: maybe-install-info-libtermcap
1462 install-info-host: maybe-install-info-utils
1463 install-info-host: maybe-install-info-gnattools
1465 .PHONY: install-info-target
1467 install-info-target: maybe-install-info-target-libstdc++-v3
1468 install-info-target: maybe-install-info-target-libmudflap
1469 install-info-target: maybe-install-info-target-libssp
1470 install-info-target: maybe-install-info-target-newlib
1471 install-info-target: maybe-install-info-target-libgcc
1472 install-info-target: maybe-install-info-target-libgfortran
1473 install-info-target: maybe-install-info-target-libobjc
1474 install-info-target: maybe-install-info-target-libtermcap
1475 install-info-target: maybe-install-info-target-winsup
1476 install-info-target: maybe-install-info-target-libgloss
1477 install-info-target: maybe-install-info-target-libiberty
1478 install-info-target: maybe-install-info-target-gperf
1479 install-info-target: maybe-install-info-target-examples
1480 install-info-target: maybe-install-info-target-libffi
1481 install-info-target: maybe-install-info-target-libjava
1482 install-info-target: maybe-install-info-target-zlib
1483 install-info-target: maybe-install-info-target-boehm-gc
1484 install-info-target: maybe-install-info-target-qthreads
1485 install-info-target: maybe-install-info-target-rda
1486 install-info-target: maybe-install-info-target-libada
1487 install-info-target: maybe-install-info-target-libgomp
1489 .PHONY: do-install-pdf
1490 do-install-pdf:
1491 @: $(MAKE); $(unstage)
1492 @r=`${PWD_COMMAND}`; export r; \
1493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1494 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1495 install-pdf-target
1498 .PHONY: install-pdf-host
1500 install-pdf-host: maybe-install-pdf-ash
1501 install-pdf-host: maybe-install-pdf-autoconf
1502 install-pdf-host: maybe-install-pdf-automake
1503 install-pdf-host: maybe-install-pdf-bash
1504 install-pdf-host: maybe-install-pdf-bfd
1505 install-pdf-host: maybe-install-pdf-opcodes
1506 install-pdf-host: maybe-install-pdf-binutils
1507 install-pdf-host: maybe-install-pdf-bison
1508 install-pdf-host: maybe-install-pdf-byacc
1509 install-pdf-host: maybe-install-pdf-bzip2
1510 install-pdf-host: maybe-install-pdf-dejagnu
1511 install-pdf-host: maybe-install-pdf-diff
1512 install-pdf-host: maybe-install-pdf-dosutils
1513 install-pdf-host: maybe-install-pdf-etc
1514 install-pdf-host: maybe-install-pdf-fastjar
1515 install-pdf-host: maybe-install-pdf-fileutils
1516 install-pdf-host: maybe-install-pdf-findutils
1517 install-pdf-host: maybe-install-pdf-find
1518 install-pdf-host: maybe-install-pdf-fixincludes
1519 install-pdf-host: maybe-install-pdf-flex
1520 install-pdf-host: maybe-install-pdf-gas
1521 install-pdf-host: maybe-install-pdf-gcc
1522 install-pdf-host: maybe-install-pdf-gawk
1523 install-pdf-host: maybe-install-pdf-gettext
1524 install-pdf-host: maybe-install-pdf-gmp
1525 install-pdf-host: maybe-install-pdf-mpfr
1526 install-pdf-host: maybe-install-pdf-gnuserv
1527 install-pdf-host: maybe-install-pdf-gprof
1528 install-pdf-host: maybe-install-pdf-gzip
1529 install-pdf-host: maybe-install-pdf-hello
1530 install-pdf-host: maybe-install-pdf-indent
1531 install-pdf-host: maybe-install-pdf-intl
1532 install-pdf-host: maybe-install-pdf-tcl
1533 install-pdf-host: maybe-install-pdf-itcl
1534 install-pdf-host: maybe-install-pdf-ld
1535 install-pdf-host: maybe-install-pdf-libcpp
1536 install-pdf-host: maybe-install-pdf-libdecnumber
1537 install-pdf-host: maybe-install-pdf-libgui
1538 install-pdf-host: maybe-install-pdf-libiberty
1539 install-pdf-host: maybe-install-pdf-libtool
1540 install-pdf-host: maybe-install-pdf-m4
1541 install-pdf-host: maybe-install-pdf-make
1542 install-pdf-host: maybe-install-pdf-mmalloc
1543 install-pdf-host: maybe-install-pdf-patch
1544 install-pdf-host: maybe-install-pdf-perl
1545 install-pdf-host: maybe-install-pdf-prms
1546 install-pdf-host: maybe-install-pdf-rcs
1547 install-pdf-host: maybe-install-pdf-readline
1548 install-pdf-host: maybe-install-pdf-release
1549 install-pdf-host: maybe-install-pdf-recode
1550 install-pdf-host: maybe-install-pdf-sed
1551 install-pdf-host: maybe-install-pdf-send-pr
1552 install-pdf-host: maybe-install-pdf-shellutils
1553 install-pdf-host: maybe-install-pdf-sid
1554 install-pdf-host: maybe-install-pdf-sim
1555 install-pdf-host: maybe-install-pdf-tar
1556 install-pdf-host: maybe-install-pdf-texinfo
1557 install-pdf-host: maybe-install-pdf-textutils
1558 install-pdf-host: maybe-install-pdf-time
1559 install-pdf-host: maybe-install-pdf-uudecode
1560 install-pdf-host: maybe-install-pdf-wdiff
1561 install-pdf-host: maybe-install-pdf-zip
1562 install-pdf-host: maybe-install-pdf-zlib
1563 install-pdf-host: maybe-install-pdf-gdb
1564 install-pdf-host: maybe-install-pdf-expect
1565 install-pdf-host: maybe-install-pdf-guile
1566 install-pdf-host: maybe-install-pdf-tk
1567 install-pdf-host: maybe-install-pdf-libtermcap
1568 install-pdf-host: maybe-install-pdf-utils
1569 install-pdf-host: maybe-install-pdf-gnattools
1571 .PHONY: install-pdf-target
1573 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1574 install-pdf-target: maybe-install-pdf-target-libmudflap
1575 install-pdf-target: maybe-install-pdf-target-libssp
1576 install-pdf-target: maybe-install-pdf-target-newlib
1577 install-pdf-target: maybe-install-pdf-target-libgcc
1578 install-pdf-target: maybe-install-pdf-target-libgfortran
1579 install-pdf-target: maybe-install-pdf-target-libobjc
1580 install-pdf-target: maybe-install-pdf-target-libtermcap
1581 install-pdf-target: maybe-install-pdf-target-winsup
1582 install-pdf-target: maybe-install-pdf-target-libgloss
1583 install-pdf-target: maybe-install-pdf-target-libiberty
1584 install-pdf-target: maybe-install-pdf-target-gperf
1585 install-pdf-target: maybe-install-pdf-target-examples
1586 install-pdf-target: maybe-install-pdf-target-libffi
1587 install-pdf-target: maybe-install-pdf-target-libjava
1588 install-pdf-target: maybe-install-pdf-target-zlib
1589 install-pdf-target: maybe-install-pdf-target-boehm-gc
1590 install-pdf-target: maybe-install-pdf-target-qthreads
1591 install-pdf-target: maybe-install-pdf-target-rda
1592 install-pdf-target: maybe-install-pdf-target-libada
1593 install-pdf-target: maybe-install-pdf-target-libgomp
1595 .PHONY: do-install-html
1596 do-install-html:
1597 @: $(MAKE); $(unstage)
1598 @r=`${PWD_COMMAND}`; export r; \
1599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1600 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1601 install-html-target
1604 .PHONY: install-html-host
1606 install-html-host: maybe-install-html-ash
1607 install-html-host: maybe-install-html-autoconf
1608 install-html-host: maybe-install-html-automake
1609 install-html-host: maybe-install-html-bash
1610 install-html-host: maybe-install-html-bfd
1611 install-html-host: maybe-install-html-opcodes
1612 install-html-host: maybe-install-html-binutils
1613 install-html-host: maybe-install-html-bison
1614 install-html-host: maybe-install-html-byacc
1615 install-html-host: maybe-install-html-bzip2
1616 install-html-host: maybe-install-html-dejagnu
1617 install-html-host: maybe-install-html-diff
1618 install-html-host: maybe-install-html-dosutils
1619 install-html-host: maybe-install-html-etc
1620 install-html-host: maybe-install-html-fastjar
1621 install-html-host: maybe-install-html-fileutils
1622 install-html-host: maybe-install-html-findutils
1623 install-html-host: maybe-install-html-find
1624 install-html-host: maybe-install-html-fixincludes
1625 install-html-host: maybe-install-html-flex
1626 install-html-host: maybe-install-html-gas
1627 install-html-host: maybe-install-html-gcc
1628 install-html-host: maybe-install-html-gawk
1629 install-html-host: maybe-install-html-gettext
1630 install-html-host: maybe-install-html-gmp
1631 install-html-host: maybe-install-html-mpfr
1632 install-html-host: maybe-install-html-gnuserv
1633 install-html-host: maybe-install-html-gprof
1634 install-html-host: maybe-install-html-gzip
1635 install-html-host: maybe-install-html-hello
1636 install-html-host: maybe-install-html-indent
1637 install-html-host: maybe-install-html-intl
1638 install-html-host: maybe-install-html-tcl
1639 install-html-host: maybe-install-html-itcl
1640 install-html-host: maybe-install-html-ld
1641 install-html-host: maybe-install-html-libcpp
1642 install-html-host: maybe-install-html-libdecnumber
1643 install-html-host: maybe-install-html-libgui
1644 install-html-host: maybe-install-html-libiberty
1645 install-html-host: maybe-install-html-libtool
1646 install-html-host: maybe-install-html-m4
1647 install-html-host: maybe-install-html-make
1648 install-html-host: maybe-install-html-mmalloc
1649 install-html-host: maybe-install-html-patch
1650 install-html-host: maybe-install-html-perl
1651 install-html-host: maybe-install-html-prms
1652 install-html-host: maybe-install-html-rcs
1653 install-html-host: maybe-install-html-readline
1654 install-html-host: maybe-install-html-release
1655 install-html-host: maybe-install-html-recode
1656 install-html-host: maybe-install-html-sed
1657 install-html-host: maybe-install-html-send-pr
1658 install-html-host: maybe-install-html-shellutils
1659 install-html-host: maybe-install-html-sid
1660 install-html-host: maybe-install-html-sim
1661 install-html-host: maybe-install-html-tar
1662 install-html-host: maybe-install-html-texinfo
1663 install-html-host: maybe-install-html-textutils
1664 install-html-host: maybe-install-html-time
1665 install-html-host: maybe-install-html-uudecode
1666 install-html-host: maybe-install-html-wdiff
1667 install-html-host: maybe-install-html-zip
1668 install-html-host: maybe-install-html-zlib
1669 install-html-host: maybe-install-html-gdb
1670 install-html-host: maybe-install-html-expect
1671 install-html-host: maybe-install-html-guile
1672 install-html-host: maybe-install-html-tk
1673 install-html-host: maybe-install-html-libtermcap
1674 install-html-host: maybe-install-html-utils
1675 install-html-host: maybe-install-html-gnattools
1677 .PHONY: install-html-target
1679 install-html-target: maybe-install-html-target-libstdc++-v3
1680 install-html-target: maybe-install-html-target-libmudflap
1681 install-html-target: maybe-install-html-target-libssp
1682 install-html-target: maybe-install-html-target-newlib
1683 install-html-target: maybe-install-html-target-libgcc
1684 install-html-target: maybe-install-html-target-libgfortran
1685 install-html-target: maybe-install-html-target-libobjc
1686 install-html-target: maybe-install-html-target-libtermcap
1687 install-html-target: maybe-install-html-target-winsup
1688 install-html-target: maybe-install-html-target-libgloss
1689 install-html-target: maybe-install-html-target-libiberty
1690 install-html-target: maybe-install-html-target-gperf
1691 install-html-target: maybe-install-html-target-examples
1692 install-html-target: maybe-install-html-target-libffi
1693 install-html-target: maybe-install-html-target-libjava
1694 install-html-target: maybe-install-html-target-zlib
1695 install-html-target: maybe-install-html-target-boehm-gc
1696 install-html-target: maybe-install-html-target-qthreads
1697 install-html-target: maybe-install-html-target-rda
1698 install-html-target: maybe-install-html-target-libada
1699 install-html-target: maybe-install-html-target-libgomp
1701 .PHONY: do-installcheck
1702 do-installcheck:
1703 @: $(MAKE); $(unstage)
1704 @r=`${PWD_COMMAND}`; export r; \
1705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1706 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1707 installcheck-target
1710 .PHONY: installcheck-host
1712 installcheck-host: maybe-installcheck-ash
1713 installcheck-host: maybe-installcheck-autoconf
1714 installcheck-host: maybe-installcheck-automake
1715 installcheck-host: maybe-installcheck-bash
1716 installcheck-host: maybe-installcheck-bfd
1717 installcheck-host: maybe-installcheck-opcodes
1718 installcheck-host: maybe-installcheck-binutils
1719 installcheck-host: maybe-installcheck-bison
1720 installcheck-host: maybe-installcheck-byacc
1721 installcheck-host: maybe-installcheck-bzip2
1722 installcheck-host: maybe-installcheck-dejagnu
1723 installcheck-host: maybe-installcheck-diff
1724 installcheck-host: maybe-installcheck-dosutils
1725 installcheck-host: maybe-installcheck-etc
1726 installcheck-host: maybe-installcheck-fastjar
1727 installcheck-host: maybe-installcheck-fileutils
1728 installcheck-host: maybe-installcheck-findutils
1729 installcheck-host: maybe-installcheck-find
1730 installcheck-host: maybe-installcheck-fixincludes
1731 installcheck-host: maybe-installcheck-flex
1732 installcheck-host: maybe-installcheck-gas
1733 installcheck-host: maybe-installcheck-gcc
1734 installcheck-host: maybe-installcheck-gawk
1735 installcheck-host: maybe-installcheck-gettext
1736 installcheck-host: maybe-installcheck-gmp
1737 installcheck-host: maybe-installcheck-mpfr
1738 installcheck-host: maybe-installcheck-gnuserv
1739 installcheck-host: maybe-installcheck-gprof
1740 installcheck-host: maybe-installcheck-gzip
1741 installcheck-host: maybe-installcheck-hello
1742 installcheck-host: maybe-installcheck-indent
1743 installcheck-host: maybe-installcheck-intl
1744 installcheck-host: maybe-installcheck-tcl
1745 installcheck-host: maybe-installcheck-itcl
1746 installcheck-host: maybe-installcheck-ld
1747 installcheck-host: maybe-installcheck-libcpp
1748 installcheck-host: maybe-installcheck-libdecnumber
1749 installcheck-host: maybe-installcheck-libgui
1750 installcheck-host: maybe-installcheck-libiberty
1751 installcheck-host: maybe-installcheck-libtool
1752 installcheck-host: maybe-installcheck-m4
1753 installcheck-host: maybe-installcheck-make
1754 installcheck-host: maybe-installcheck-mmalloc
1755 installcheck-host: maybe-installcheck-patch
1756 installcheck-host: maybe-installcheck-perl
1757 installcheck-host: maybe-installcheck-prms
1758 installcheck-host: maybe-installcheck-rcs
1759 installcheck-host: maybe-installcheck-readline
1760 installcheck-host: maybe-installcheck-release
1761 installcheck-host: maybe-installcheck-recode
1762 installcheck-host: maybe-installcheck-sed
1763 installcheck-host: maybe-installcheck-send-pr
1764 installcheck-host: maybe-installcheck-shellutils
1765 installcheck-host: maybe-installcheck-sid
1766 installcheck-host: maybe-installcheck-sim
1767 installcheck-host: maybe-installcheck-tar
1768 installcheck-host: maybe-installcheck-texinfo
1769 installcheck-host: maybe-installcheck-textutils
1770 installcheck-host: maybe-installcheck-time
1771 installcheck-host: maybe-installcheck-uudecode
1772 installcheck-host: maybe-installcheck-wdiff
1773 installcheck-host: maybe-installcheck-zip
1774 installcheck-host: maybe-installcheck-zlib
1775 installcheck-host: maybe-installcheck-gdb
1776 installcheck-host: maybe-installcheck-expect
1777 installcheck-host: maybe-installcheck-guile
1778 installcheck-host: maybe-installcheck-tk
1779 installcheck-host: maybe-installcheck-libtermcap
1780 installcheck-host: maybe-installcheck-utils
1781 installcheck-host: maybe-installcheck-gnattools
1783 .PHONY: installcheck-target
1785 installcheck-target: maybe-installcheck-target-libstdc++-v3
1786 installcheck-target: maybe-installcheck-target-libmudflap
1787 installcheck-target: maybe-installcheck-target-libssp
1788 installcheck-target: maybe-installcheck-target-newlib
1789 installcheck-target: maybe-installcheck-target-libgcc
1790 installcheck-target: maybe-installcheck-target-libgfortran
1791 installcheck-target: maybe-installcheck-target-libobjc
1792 installcheck-target: maybe-installcheck-target-libtermcap
1793 installcheck-target: maybe-installcheck-target-winsup
1794 installcheck-target: maybe-installcheck-target-libgloss
1795 installcheck-target: maybe-installcheck-target-libiberty
1796 installcheck-target: maybe-installcheck-target-gperf
1797 installcheck-target: maybe-installcheck-target-examples
1798 installcheck-target: maybe-installcheck-target-libffi
1799 installcheck-target: maybe-installcheck-target-libjava
1800 installcheck-target: maybe-installcheck-target-zlib
1801 installcheck-target: maybe-installcheck-target-boehm-gc
1802 installcheck-target: maybe-installcheck-target-qthreads
1803 installcheck-target: maybe-installcheck-target-rda
1804 installcheck-target: maybe-installcheck-target-libada
1805 installcheck-target: maybe-installcheck-target-libgomp
1807 .PHONY: do-mostlyclean
1808 do-mostlyclean:
1809 @: $(MAKE); $(unstage)
1810 @r=`${PWD_COMMAND}`; export r; \
1811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1812 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1813 mostlyclean-target
1816 .PHONY: mostlyclean-host
1818 mostlyclean-host: maybe-mostlyclean-ash
1819 mostlyclean-host: maybe-mostlyclean-autoconf
1820 mostlyclean-host: maybe-mostlyclean-automake
1821 mostlyclean-host: maybe-mostlyclean-bash
1822 mostlyclean-host: maybe-mostlyclean-bfd
1823 mostlyclean-host: maybe-mostlyclean-opcodes
1824 mostlyclean-host: maybe-mostlyclean-binutils
1825 mostlyclean-host: maybe-mostlyclean-bison
1826 mostlyclean-host: maybe-mostlyclean-byacc
1827 mostlyclean-host: maybe-mostlyclean-bzip2
1828 mostlyclean-host: maybe-mostlyclean-dejagnu
1829 mostlyclean-host: maybe-mostlyclean-diff
1830 mostlyclean-host: maybe-mostlyclean-dosutils
1831 mostlyclean-host: maybe-mostlyclean-etc
1832 mostlyclean-host: maybe-mostlyclean-fastjar
1833 mostlyclean-host: maybe-mostlyclean-fileutils
1834 mostlyclean-host: maybe-mostlyclean-findutils
1835 mostlyclean-host: maybe-mostlyclean-find
1836 mostlyclean-host: maybe-mostlyclean-fixincludes
1837 mostlyclean-host: maybe-mostlyclean-flex
1838 mostlyclean-host: maybe-mostlyclean-gas
1839 mostlyclean-host: maybe-mostlyclean-gcc
1840 mostlyclean-host: maybe-mostlyclean-gawk
1841 mostlyclean-host: maybe-mostlyclean-gettext
1842 mostlyclean-host: maybe-mostlyclean-gmp
1843 mostlyclean-host: maybe-mostlyclean-mpfr
1844 mostlyclean-host: maybe-mostlyclean-gnuserv
1845 mostlyclean-host: maybe-mostlyclean-gprof
1846 mostlyclean-host: maybe-mostlyclean-gzip
1847 mostlyclean-host: maybe-mostlyclean-hello
1848 mostlyclean-host: maybe-mostlyclean-indent
1849 mostlyclean-host: maybe-mostlyclean-intl
1850 mostlyclean-host: maybe-mostlyclean-tcl
1851 mostlyclean-host: maybe-mostlyclean-itcl
1852 mostlyclean-host: maybe-mostlyclean-ld
1853 mostlyclean-host: maybe-mostlyclean-libcpp
1854 mostlyclean-host: maybe-mostlyclean-libdecnumber
1855 mostlyclean-host: maybe-mostlyclean-libgui
1856 mostlyclean-host: maybe-mostlyclean-libiberty
1857 mostlyclean-host: maybe-mostlyclean-libtool
1858 mostlyclean-host: maybe-mostlyclean-m4
1859 mostlyclean-host: maybe-mostlyclean-make
1860 mostlyclean-host: maybe-mostlyclean-mmalloc
1861 mostlyclean-host: maybe-mostlyclean-patch
1862 mostlyclean-host: maybe-mostlyclean-perl
1863 mostlyclean-host: maybe-mostlyclean-prms
1864 mostlyclean-host: maybe-mostlyclean-rcs
1865 mostlyclean-host: maybe-mostlyclean-readline
1866 mostlyclean-host: maybe-mostlyclean-release
1867 mostlyclean-host: maybe-mostlyclean-recode
1868 mostlyclean-host: maybe-mostlyclean-sed
1869 mostlyclean-host: maybe-mostlyclean-send-pr
1870 mostlyclean-host: maybe-mostlyclean-shellutils
1871 mostlyclean-host: maybe-mostlyclean-sid
1872 mostlyclean-host: maybe-mostlyclean-sim
1873 mostlyclean-host: maybe-mostlyclean-tar
1874 mostlyclean-host: maybe-mostlyclean-texinfo
1875 mostlyclean-host: maybe-mostlyclean-textutils
1876 mostlyclean-host: maybe-mostlyclean-time
1877 mostlyclean-host: maybe-mostlyclean-uudecode
1878 mostlyclean-host: maybe-mostlyclean-wdiff
1879 mostlyclean-host: maybe-mostlyclean-zip
1880 mostlyclean-host: maybe-mostlyclean-zlib
1881 mostlyclean-host: maybe-mostlyclean-gdb
1882 mostlyclean-host: maybe-mostlyclean-expect
1883 mostlyclean-host: maybe-mostlyclean-guile
1884 mostlyclean-host: maybe-mostlyclean-tk
1885 mostlyclean-host: maybe-mostlyclean-libtermcap
1886 mostlyclean-host: maybe-mostlyclean-utils
1887 mostlyclean-host: maybe-mostlyclean-gnattools
1889 .PHONY: mostlyclean-target
1891 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1892 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1893 mostlyclean-target: maybe-mostlyclean-target-libssp
1894 mostlyclean-target: maybe-mostlyclean-target-newlib
1895 mostlyclean-target: maybe-mostlyclean-target-libgcc
1896 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1897 mostlyclean-target: maybe-mostlyclean-target-libobjc
1898 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1899 mostlyclean-target: maybe-mostlyclean-target-winsup
1900 mostlyclean-target: maybe-mostlyclean-target-libgloss
1901 mostlyclean-target: maybe-mostlyclean-target-libiberty
1902 mostlyclean-target: maybe-mostlyclean-target-gperf
1903 mostlyclean-target: maybe-mostlyclean-target-examples
1904 mostlyclean-target: maybe-mostlyclean-target-libffi
1905 mostlyclean-target: maybe-mostlyclean-target-libjava
1906 mostlyclean-target: maybe-mostlyclean-target-zlib
1907 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1908 mostlyclean-target: maybe-mostlyclean-target-qthreads
1909 mostlyclean-target: maybe-mostlyclean-target-rda
1910 mostlyclean-target: maybe-mostlyclean-target-libada
1911 mostlyclean-target: maybe-mostlyclean-target-libgomp
1913 .PHONY: do-clean
1914 do-clean:
1915 @: $(MAKE); $(unstage)
1916 @r=`${PWD_COMMAND}`; export r; \
1917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1919 clean-target
1922 .PHONY: clean-host
1924 clean-host: maybe-clean-ash
1925 clean-host: maybe-clean-autoconf
1926 clean-host: maybe-clean-automake
1927 clean-host: maybe-clean-bash
1928 clean-host: maybe-clean-bfd
1929 clean-host: maybe-clean-opcodes
1930 clean-host: maybe-clean-binutils
1931 clean-host: maybe-clean-bison
1932 clean-host: maybe-clean-byacc
1933 clean-host: maybe-clean-bzip2
1934 clean-host: maybe-clean-dejagnu
1935 clean-host: maybe-clean-diff
1936 clean-host: maybe-clean-dosutils
1937 clean-host: maybe-clean-etc
1938 clean-host: maybe-clean-fastjar
1939 clean-host: maybe-clean-fileutils
1940 clean-host: maybe-clean-findutils
1941 clean-host: maybe-clean-find
1942 clean-host: maybe-clean-fixincludes
1943 clean-host: maybe-clean-flex
1944 clean-host: maybe-clean-gas
1945 clean-host: maybe-clean-gcc
1946 clean-host: maybe-clean-gawk
1947 clean-host: maybe-clean-gettext
1948 clean-host: maybe-clean-gmp
1949 clean-host: maybe-clean-mpfr
1950 clean-host: maybe-clean-gnuserv
1951 clean-host: maybe-clean-gprof
1952 clean-host: maybe-clean-gzip
1953 clean-host: maybe-clean-hello
1954 clean-host: maybe-clean-indent
1955 clean-host: maybe-clean-intl
1956 clean-host: maybe-clean-tcl
1957 clean-host: maybe-clean-itcl
1958 clean-host: maybe-clean-ld
1959 clean-host: maybe-clean-libcpp
1960 clean-host: maybe-clean-libdecnumber
1961 clean-host: maybe-clean-libgui
1962 clean-host: maybe-clean-libiberty
1963 clean-host: maybe-clean-libtool
1964 clean-host: maybe-clean-m4
1965 clean-host: maybe-clean-make
1966 clean-host: maybe-clean-mmalloc
1967 clean-host: maybe-clean-patch
1968 clean-host: maybe-clean-perl
1969 clean-host: maybe-clean-prms
1970 clean-host: maybe-clean-rcs
1971 clean-host: maybe-clean-readline
1972 clean-host: maybe-clean-release
1973 clean-host: maybe-clean-recode
1974 clean-host: maybe-clean-sed
1975 clean-host: maybe-clean-send-pr
1976 clean-host: maybe-clean-shellutils
1977 clean-host: maybe-clean-sid
1978 clean-host: maybe-clean-sim
1979 clean-host: maybe-clean-tar
1980 clean-host: maybe-clean-texinfo
1981 clean-host: maybe-clean-textutils
1982 clean-host: maybe-clean-time
1983 clean-host: maybe-clean-uudecode
1984 clean-host: maybe-clean-wdiff
1985 clean-host: maybe-clean-zip
1986 clean-host: maybe-clean-zlib
1987 clean-host: maybe-clean-gdb
1988 clean-host: maybe-clean-expect
1989 clean-host: maybe-clean-guile
1990 clean-host: maybe-clean-tk
1991 clean-host: maybe-clean-libtermcap
1992 clean-host: maybe-clean-utils
1993 clean-host: maybe-clean-gnattools
1995 .PHONY: clean-target
1997 clean-target: maybe-clean-target-libstdc++-v3
1998 clean-target: maybe-clean-target-libmudflap
1999 clean-target: maybe-clean-target-libssp
2000 clean-target: maybe-clean-target-newlib
2001 clean-target: maybe-clean-target-libgcc
2002 clean-target: maybe-clean-target-libgfortran
2003 clean-target: maybe-clean-target-libobjc
2004 clean-target: maybe-clean-target-libtermcap
2005 clean-target: maybe-clean-target-winsup
2006 clean-target: maybe-clean-target-libgloss
2007 clean-target: maybe-clean-target-libiberty
2008 clean-target: maybe-clean-target-gperf
2009 clean-target: maybe-clean-target-examples
2010 clean-target: maybe-clean-target-libffi
2011 clean-target: maybe-clean-target-libjava
2012 clean-target: maybe-clean-target-zlib
2013 clean-target: maybe-clean-target-boehm-gc
2014 clean-target: maybe-clean-target-qthreads
2015 clean-target: maybe-clean-target-rda
2016 clean-target: maybe-clean-target-libada
2017 clean-target: maybe-clean-target-libgomp
2019 .PHONY: do-distclean
2020 do-distclean:
2021 @: $(MAKE); $(unstage)
2022 @r=`${PWD_COMMAND}`; export r; \
2023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2024 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2025 distclean-target
2028 .PHONY: distclean-host
2030 distclean-host: maybe-distclean-ash
2031 distclean-host: maybe-distclean-autoconf
2032 distclean-host: maybe-distclean-automake
2033 distclean-host: maybe-distclean-bash
2034 distclean-host: maybe-distclean-bfd
2035 distclean-host: maybe-distclean-opcodes
2036 distclean-host: maybe-distclean-binutils
2037 distclean-host: maybe-distclean-bison
2038 distclean-host: maybe-distclean-byacc
2039 distclean-host: maybe-distclean-bzip2
2040 distclean-host: maybe-distclean-dejagnu
2041 distclean-host: maybe-distclean-diff
2042 distclean-host: maybe-distclean-dosutils
2043 distclean-host: maybe-distclean-etc
2044 distclean-host: maybe-distclean-fastjar
2045 distclean-host: maybe-distclean-fileutils
2046 distclean-host: maybe-distclean-findutils
2047 distclean-host: maybe-distclean-find
2048 distclean-host: maybe-distclean-fixincludes
2049 distclean-host: maybe-distclean-flex
2050 distclean-host: maybe-distclean-gas
2051 distclean-host: maybe-distclean-gcc
2052 distclean-host: maybe-distclean-gawk
2053 distclean-host: maybe-distclean-gettext
2054 distclean-host: maybe-distclean-gmp
2055 distclean-host: maybe-distclean-mpfr
2056 distclean-host: maybe-distclean-gnuserv
2057 distclean-host: maybe-distclean-gprof
2058 distclean-host: maybe-distclean-gzip
2059 distclean-host: maybe-distclean-hello
2060 distclean-host: maybe-distclean-indent
2061 distclean-host: maybe-distclean-intl
2062 distclean-host: maybe-distclean-tcl
2063 distclean-host: maybe-distclean-itcl
2064 distclean-host: maybe-distclean-ld
2065 distclean-host: maybe-distclean-libcpp
2066 distclean-host: maybe-distclean-libdecnumber
2067 distclean-host: maybe-distclean-libgui
2068 distclean-host: maybe-distclean-libiberty
2069 distclean-host: maybe-distclean-libtool
2070 distclean-host: maybe-distclean-m4
2071 distclean-host: maybe-distclean-make
2072 distclean-host: maybe-distclean-mmalloc
2073 distclean-host: maybe-distclean-patch
2074 distclean-host: maybe-distclean-perl
2075 distclean-host: maybe-distclean-prms
2076 distclean-host: maybe-distclean-rcs
2077 distclean-host: maybe-distclean-readline
2078 distclean-host: maybe-distclean-release
2079 distclean-host: maybe-distclean-recode
2080 distclean-host: maybe-distclean-sed
2081 distclean-host: maybe-distclean-send-pr
2082 distclean-host: maybe-distclean-shellutils
2083 distclean-host: maybe-distclean-sid
2084 distclean-host: maybe-distclean-sim
2085 distclean-host: maybe-distclean-tar
2086 distclean-host: maybe-distclean-texinfo
2087 distclean-host: maybe-distclean-textutils
2088 distclean-host: maybe-distclean-time
2089 distclean-host: maybe-distclean-uudecode
2090 distclean-host: maybe-distclean-wdiff
2091 distclean-host: maybe-distclean-zip
2092 distclean-host: maybe-distclean-zlib
2093 distclean-host: maybe-distclean-gdb
2094 distclean-host: maybe-distclean-expect
2095 distclean-host: maybe-distclean-guile
2096 distclean-host: maybe-distclean-tk
2097 distclean-host: maybe-distclean-libtermcap
2098 distclean-host: maybe-distclean-utils
2099 distclean-host: maybe-distclean-gnattools
2101 .PHONY: distclean-target
2103 distclean-target: maybe-distclean-target-libstdc++-v3
2104 distclean-target: maybe-distclean-target-libmudflap
2105 distclean-target: maybe-distclean-target-libssp
2106 distclean-target: maybe-distclean-target-newlib
2107 distclean-target: maybe-distclean-target-libgcc
2108 distclean-target: maybe-distclean-target-libgfortran
2109 distclean-target: maybe-distclean-target-libobjc
2110 distclean-target: maybe-distclean-target-libtermcap
2111 distclean-target: maybe-distclean-target-winsup
2112 distclean-target: maybe-distclean-target-libgloss
2113 distclean-target: maybe-distclean-target-libiberty
2114 distclean-target: maybe-distclean-target-gperf
2115 distclean-target: maybe-distclean-target-examples
2116 distclean-target: maybe-distclean-target-libffi
2117 distclean-target: maybe-distclean-target-libjava
2118 distclean-target: maybe-distclean-target-zlib
2119 distclean-target: maybe-distclean-target-boehm-gc
2120 distclean-target: maybe-distclean-target-qthreads
2121 distclean-target: maybe-distclean-target-rda
2122 distclean-target: maybe-distclean-target-libada
2123 distclean-target: maybe-distclean-target-libgomp
2125 .PHONY: do-maintainer-clean
2126 do-maintainer-clean:
2127 @: $(MAKE); $(unstage)
2128 @r=`${PWD_COMMAND}`; export r; \
2129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2130 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2131 maintainer-clean-target
2134 .PHONY: maintainer-clean-host
2136 maintainer-clean-host: maybe-maintainer-clean-ash
2137 maintainer-clean-host: maybe-maintainer-clean-autoconf
2138 maintainer-clean-host: maybe-maintainer-clean-automake
2139 maintainer-clean-host: maybe-maintainer-clean-bash
2140 maintainer-clean-host: maybe-maintainer-clean-bfd
2141 maintainer-clean-host: maybe-maintainer-clean-opcodes
2142 maintainer-clean-host: maybe-maintainer-clean-binutils
2143 maintainer-clean-host: maybe-maintainer-clean-bison
2144 maintainer-clean-host: maybe-maintainer-clean-byacc
2145 maintainer-clean-host: maybe-maintainer-clean-bzip2
2146 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2147 maintainer-clean-host: maybe-maintainer-clean-diff
2148 maintainer-clean-host: maybe-maintainer-clean-dosutils
2149 maintainer-clean-host: maybe-maintainer-clean-etc
2150 maintainer-clean-host: maybe-maintainer-clean-fastjar
2151 maintainer-clean-host: maybe-maintainer-clean-fileutils
2152 maintainer-clean-host: maybe-maintainer-clean-findutils
2153 maintainer-clean-host: maybe-maintainer-clean-find
2154 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2155 maintainer-clean-host: maybe-maintainer-clean-flex
2156 maintainer-clean-host: maybe-maintainer-clean-gas
2157 maintainer-clean-host: maybe-maintainer-clean-gcc
2158 maintainer-clean-host: maybe-maintainer-clean-gawk
2159 maintainer-clean-host: maybe-maintainer-clean-gettext
2160 maintainer-clean-host: maybe-maintainer-clean-gmp
2161 maintainer-clean-host: maybe-maintainer-clean-mpfr
2162 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2163 maintainer-clean-host: maybe-maintainer-clean-gprof
2164 maintainer-clean-host: maybe-maintainer-clean-gzip
2165 maintainer-clean-host: maybe-maintainer-clean-hello
2166 maintainer-clean-host: maybe-maintainer-clean-indent
2167 maintainer-clean-host: maybe-maintainer-clean-intl
2168 maintainer-clean-host: maybe-maintainer-clean-tcl
2169 maintainer-clean-host: maybe-maintainer-clean-itcl
2170 maintainer-clean-host: maybe-maintainer-clean-ld
2171 maintainer-clean-host: maybe-maintainer-clean-libcpp
2172 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2173 maintainer-clean-host: maybe-maintainer-clean-libgui
2174 maintainer-clean-host: maybe-maintainer-clean-libiberty
2175 maintainer-clean-host: maybe-maintainer-clean-libtool
2176 maintainer-clean-host: maybe-maintainer-clean-m4
2177 maintainer-clean-host: maybe-maintainer-clean-make
2178 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2179 maintainer-clean-host: maybe-maintainer-clean-patch
2180 maintainer-clean-host: maybe-maintainer-clean-perl
2181 maintainer-clean-host: maybe-maintainer-clean-prms
2182 maintainer-clean-host: maybe-maintainer-clean-rcs
2183 maintainer-clean-host: maybe-maintainer-clean-readline
2184 maintainer-clean-host: maybe-maintainer-clean-release
2185 maintainer-clean-host: maybe-maintainer-clean-recode
2186 maintainer-clean-host: maybe-maintainer-clean-sed
2187 maintainer-clean-host: maybe-maintainer-clean-send-pr
2188 maintainer-clean-host: maybe-maintainer-clean-shellutils
2189 maintainer-clean-host: maybe-maintainer-clean-sid
2190 maintainer-clean-host: maybe-maintainer-clean-sim
2191 maintainer-clean-host: maybe-maintainer-clean-tar
2192 maintainer-clean-host: maybe-maintainer-clean-texinfo
2193 maintainer-clean-host: maybe-maintainer-clean-textutils
2194 maintainer-clean-host: maybe-maintainer-clean-time
2195 maintainer-clean-host: maybe-maintainer-clean-uudecode
2196 maintainer-clean-host: maybe-maintainer-clean-wdiff
2197 maintainer-clean-host: maybe-maintainer-clean-zip
2198 maintainer-clean-host: maybe-maintainer-clean-zlib
2199 maintainer-clean-host: maybe-maintainer-clean-gdb
2200 maintainer-clean-host: maybe-maintainer-clean-expect
2201 maintainer-clean-host: maybe-maintainer-clean-guile
2202 maintainer-clean-host: maybe-maintainer-clean-tk
2203 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2204 maintainer-clean-host: maybe-maintainer-clean-utils
2205 maintainer-clean-host: maybe-maintainer-clean-gnattools
2207 .PHONY: maintainer-clean-target
2209 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2210 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2211 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2212 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2213 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2214 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2215 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2216 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2217 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2218 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2219 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2220 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2221 maintainer-clean-target: maybe-maintainer-clean-target-examples
2222 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2223 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2224 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2225 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2226 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2227 maintainer-clean-target: maybe-maintainer-clean-target-rda
2228 maintainer-clean-target: maybe-maintainer-clean-target-libada
2229 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2232 # Here are the targets which correspond to the do-X targets.
2234 .PHONY: info installcheck dvi pdf html
2235 .PHONY: install-info install-pdf install-html
2236 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2237 .PHONY: local-clean local-distclean local-maintainer-clean
2238 info: do-info
2239 installcheck: do-installcheck
2240 dvi: do-dvi
2241 pdf: do-pdf
2242 html: do-html
2244 # Make sure makeinfo is built before we do a `make info', if we're
2245 # in fact building texinfo.
2246 do-info: maybe-all-texinfo
2248 install-info: do-install-info dir.info
2249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2250 if [ -f dir.info ] ; then \
2251 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2252 else true ; fi
2254 install-pdf: do-install-pdf
2256 install-html: do-install-html
2258 local-clean:
2259 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2261 local-distclean:
2262 -rm -f Makefile config.status config.cache mh-frag mt-frag
2263 -rm -f maybedep.tmp serdep.tmp
2264 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2265 rm -rf $(TARGET_SUBDIR); \
2266 else true; fi
2267 -rm -rf $(BUILD_SUBDIR)
2268 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2269 rm -rf $(HOST_SUBDIR); \
2270 else true; fi
2271 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2272 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2273 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2274 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2275 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2277 local-maintainer-clean:
2278 @echo "This command is intended for maintainers to use;"
2279 @echo "it deletes files that may require special tools to rebuild."
2281 clean: do-clean local-clean
2282 mostlyclean: do-mostlyclean local-clean
2283 distclean: do-distclean local-clean local-distclean
2284 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2285 maintainer-clean: local-distclean
2286 realclean: maintainer-clean
2288 # Check target.
2290 .PHONY: check do-check
2291 check: do-check
2293 # Only include modules actually being configured and built.
2294 .PHONY: check-host
2295 check-host: \
2296 maybe-check-ash \
2297 maybe-check-autoconf \
2298 maybe-check-automake \
2299 maybe-check-bash \
2300 maybe-check-bfd \
2301 maybe-check-opcodes \
2302 maybe-check-binutils \
2303 maybe-check-bison \
2304 maybe-check-byacc \
2305 maybe-check-bzip2 \
2306 maybe-check-dejagnu \
2307 maybe-check-diff \
2308 maybe-check-dosutils \
2309 maybe-check-etc \
2310 maybe-check-fastjar \
2311 maybe-check-fileutils \
2312 maybe-check-findutils \
2313 maybe-check-find \
2314 maybe-check-fixincludes \
2315 maybe-check-flex \
2316 maybe-check-gas \
2317 maybe-check-gcc \
2318 maybe-check-gawk \
2319 maybe-check-gettext \
2320 maybe-check-gmp \
2321 maybe-check-mpfr \
2322 maybe-check-gnuserv \
2323 maybe-check-gprof \
2324 maybe-check-gzip \
2325 maybe-check-hello \
2326 maybe-check-indent \
2327 maybe-check-intl \
2328 maybe-check-tcl \
2329 maybe-check-itcl \
2330 maybe-check-ld \
2331 maybe-check-libcpp \
2332 maybe-check-libdecnumber \
2333 maybe-check-libgui \
2334 maybe-check-libiberty \
2335 maybe-check-libtool \
2336 maybe-check-m4 \
2337 maybe-check-make \
2338 maybe-check-mmalloc \
2339 maybe-check-patch \
2340 maybe-check-perl \
2341 maybe-check-prms \
2342 maybe-check-rcs \
2343 maybe-check-readline \
2344 maybe-check-release \
2345 maybe-check-recode \
2346 maybe-check-sed \
2347 maybe-check-send-pr \
2348 maybe-check-shellutils \
2349 maybe-check-sid \
2350 maybe-check-sim \
2351 maybe-check-tar \
2352 maybe-check-texinfo \
2353 maybe-check-textutils \
2354 maybe-check-time \
2355 maybe-check-uudecode \
2356 maybe-check-wdiff \
2357 maybe-check-zip \
2358 maybe-check-zlib \
2359 maybe-check-gdb \
2360 maybe-check-expect \
2361 maybe-check-guile \
2362 maybe-check-tk \
2363 maybe-check-libtermcap \
2364 maybe-check-utils \
2365 maybe-check-gnattools
2367 .PHONY: check-target
2368 check-target: \
2369 maybe-check-target-libstdc++-v3 \
2370 maybe-check-target-libmudflap \
2371 maybe-check-target-libssp \
2372 maybe-check-target-newlib \
2373 maybe-check-target-libgcc \
2374 maybe-check-target-libgfortran \
2375 maybe-check-target-libobjc \
2376 maybe-check-target-libtermcap \
2377 maybe-check-target-winsup \
2378 maybe-check-target-libgloss \
2379 maybe-check-target-libiberty \
2380 maybe-check-target-gperf \
2381 maybe-check-target-examples \
2382 maybe-check-target-libffi \
2383 maybe-check-target-libjava \
2384 maybe-check-target-zlib \
2385 maybe-check-target-boehm-gc \
2386 maybe-check-target-qthreads \
2387 maybe-check-target-rda \
2388 maybe-check-target-libada \
2389 maybe-check-target-libgomp
2391 do-check:
2392 @: $(MAKE); $(unstage)
2393 @r=`${PWD_COMMAND}`; export r; \
2394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2395 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2397 # Automated reporting of test results.
2399 warning.log: build.log
2400 $(srcdir)/contrib/warn_summary build.log > $@
2402 mail-report.log:
2403 if test x'$(BOOT_CFLAGS)' != x''; then \
2404 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2405 fi; \
2406 $(srcdir)/contrib/test_summary -t >$@
2407 chmod +x $@
2408 echo If you really want to send e-mail, run ./$@ now
2410 mail-report-with-warnings.log: warning.log
2411 if test x'$(BOOT_CFLAGS)' != x''; then \
2412 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2413 fi; \
2414 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2415 chmod +x $@
2416 echo If you really want to send e-mail, run ./$@ now
2418 # Installation targets.
2420 .PHONY: install uninstall
2421 install:
2422 @: $(MAKE); $(unstage)
2423 @r=`${PWD_COMMAND}`; export r; \
2424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2425 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2427 .PHONY: install-host-nogcc
2428 install-host-nogcc: \
2429 maybe-install-ash \
2430 maybe-install-autoconf \
2431 maybe-install-automake \
2432 maybe-install-bash \
2433 maybe-install-bfd \
2434 maybe-install-opcodes \
2435 maybe-install-binutils \
2436 maybe-install-bison \
2437 maybe-install-byacc \
2438 maybe-install-bzip2 \
2439 maybe-install-dejagnu \
2440 maybe-install-diff \
2441 maybe-install-dosutils \
2442 maybe-install-etc \
2443 maybe-install-fastjar \
2444 maybe-install-fileutils \
2445 maybe-install-findutils \
2446 maybe-install-find \
2447 maybe-install-fixincludes \
2448 maybe-install-flex \
2449 maybe-install-gas \
2450 maybe-install-gawk \
2451 maybe-install-gettext \
2452 maybe-install-gmp \
2453 maybe-install-mpfr \
2454 maybe-install-gnuserv \
2455 maybe-install-gprof \
2456 maybe-install-gzip \
2457 maybe-install-hello \
2458 maybe-install-indent \
2459 maybe-install-intl \
2460 maybe-install-tcl \
2461 maybe-install-itcl \
2462 maybe-install-ld \
2463 maybe-install-libcpp \
2464 maybe-install-libdecnumber \
2465 maybe-install-libgui \
2466 maybe-install-libiberty \
2467 maybe-install-libtool \
2468 maybe-install-m4 \
2469 maybe-install-make \
2470 maybe-install-mmalloc \
2471 maybe-install-patch \
2472 maybe-install-perl \
2473 maybe-install-prms \
2474 maybe-install-rcs \
2475 maybe-install-readline \
2476 maybe-install-release \
2477 maybe-install-recode \
2478 maybe-install-sed \
2479 maybe-install-send-pr \
2480 maybe-install-shellutils \
2481 maybe-install-sid \
2482 maybe-install-sim \
2483 maybe-install-tar \
2484 maybe-install-texinfo \
2485 maybe-install-textutils \
2486 maybe-install-time \
2487 maybe-install-uudecode \
2488 maybe-install-wdiff \
2489 maybe-install-zip \
2490 maybe-install-zlib \
2491 maybe-install-gdb \
2492 maybe-install-expect \
2493 maybe-install-guile \
2494 maybe-install-tk \
2495 maybe-install-libtermcap \
2496 maybe-install-utils \
2497 maybe-install-gnattools
2499 .PHONY: install-host
2500 install-host: \
2501 maybe-install-ash \
2502 maybe-install-autoconf \
2503 maybe-install-automake \
2504 maybe-install-bash \
2505 maybe-install-bfd \
2506 maybe-install-opcodes \
2507 maybe-install-binutils \
2508 maybe-install-bison \
2509 maybe-install-byacc \
2510 maybe-install-bzip2 \
2511 maybe-install-dejagnu \
2512 maybe-install-diff \
2513 maybe-install-dosutils \
2514 maybe-install-etc \
2515 maybe-install-fastjar \
2516 maybe-install-fileutils \
2517 maybe-install-findutils \
2518 maybe-install-find \
2519 maybe-install-fixincludes \
2520 maybe-install-flex \
2521 maybe-install-gas \
2522 maybe-install-gcc \
2523 maybe-install-gawk \
2524 maybe-install-gettext \
2525 maybe-install-gmp \
2526 maybe-install-mpfr \
2527 maybe-install-gnuserv \
2528 maybe-install-gprof \
2529 maybe-install-gzip \
2530 maybe-install-hello \
2531 maybe-install-indent \
2532 maybe-install-intl \
2533 maybe-install-tcl \
2534 maybe-install-itcl \
2535 maybe-install-ld \
2536 maybe-install-libcpp \
2537 maybe-install-libdecnumber \
2538 maybe-install-libgui \
2539 maybe-install-libiberty \
2540 maybe-install-libtool \
2541 maybe-install-m4 \
2542 maybe-install-make \
2543 maybe-install-mmalloc \
2544 maybe-install-patch \
2545 maybe-install-perl \
2546 maybe-install-prms \
2547 maybe-install-rcs \
2548 maybe-install-readline \
2549 maybe-install-release \
2550 maybe-install-recode \
2551 maybe-install-sed \
2552 maybe-install-send-pr \
2553 maybe-install-shellutils \
2554 maybe-install-sid \
2555 maybe-install-sim \
2556 maybe-install-tar \
2557 maybe-install-texinfo \
2558 maybe-install-textutils \
2559 maybe-install-time \
2560 maybe-install-uudecode \
2561 maybe-install-wdiff \
2562 maybe-install-zip \
2563 maybe-install-zlib \
2564 maybe-install-gdb \
2565 maybe-install-expect \
2566 maybe-install-guile \
2567 maybe-install-tk \
2568 maybe-install-libtermcap \
2569 maybe-install-utils \
2570 maybe-install-gnattools
2572 .PHONY: install-target
2573 install-target: \
2574 maybe-install-target-libstdc++-v3 \
2575 maybe-install-target-libmudflap \
2576 maybe-install-target-libssp \
2577 maybe-install-target-newlib \
2578 maybe-install-target-libgcc \
2579 maybe-install-target-libgfortran \
2580 maybe-install-target-libobjc \
2581 maybe-install-target-libtermcap \
2582 maybe-install-target-winsup \
2583 maybe-install-target-libgloss \
2584 maybe-install-target-libiberty \
2585 maybe-install-target-gperf \
2586 maybe-install-target-examples \
2587 maybe-install-target-libffi \
2588 maybe-install-target-libjava \
2589 maybe-install-target-zlib \
2590 maybe-install-target-boehm-gc \
2591 maybe-install-target-qthreads \
2592 maybe-install-target-rda \
2593 maybe-install-target-libada \
2594 maybe-install-target-libgomp
2596 uninstall:
2597 @echo "the uninstall target is not supported in this tree"
2599 .PHONY: install.all
2600 install.all: install-no-fixedincludes
2601 @if [ -f ./gcc/Makefile ] ; then \
2602 r=`${PWD_COMMAND}` ; export r ; \
2603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2604 $(HOST_EXPORTS) \
2605 (cd ./gcc && \
2606 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2607 else \
2608 true ; \
2611 # install-no-fixedincludes is used because Cygnus can not distribute
2612 # the fixed header files.
2613 .PHONY: install-no-fixedincludes
2614 install-no-fixedincludes: installdirs install-host-nogcc \
2615 install-target gcc-no-fixedincludes
2617 ### other supporting targets
2619 MAKEDIRS= \
2620 $(DESTDIR)$(prefix) \
2621 $(DESTDIR)$(exec_prefix)
2622 .PHONY: installdirs
2623 installdirs: mkinstalldirs
2624 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2626 dir.info: do-install-info
2627 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2628 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2629 mv -f dir.info.new dir.info ; \
2630 else true ; \
2633 dist:
2634 @echo "Building a full distribution of this tree isn't done"
2635 @echo "via 'make dist'. Check out the etc/ subdirectory"
2637 etags tags: TAGS
2639 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2640 # ability to use several tags files at once, so there is probably no need
2641 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2642 # (if we felt like it) have this Makefile write a piece of elisp which
2643 # the user could load to tell emacs19 where all the TAGS files we just
2644 # built are.
2645 TAGS: do-TAGS
2647 # ------------------------------------
2648 # Macros for configure and all targets
2649 # ------------------------------------
2655 # --------------------------------------
2656 # Modules which run on the build machine
2657 # --------------------------------------
2660 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2661 maybe-configure-build-libiberty:
2662 @if gcc-bootstrap
2663 configure-build-libiberty: stage_current
2664 @endif gcc-bootstrap
2665 @if build-libiberty
2666 maybe-configure-build-libiberty: configure-build-libiberty
2667 configure-build-libiberty:
2668 @: $(MAKE); $(unstage)
2669 @r=`${PWD_COMMAND}`; export r; \
2670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2671 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2672 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2673 $(BUILD_EXPORTS) \
2674 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2675 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2676 case $(srcdir) in \
2677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2678 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2680 esac; \
2681 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2682 libsrcdir="$$s/libiberty"; \
2683 rm -f no-such-file || : ; \
2684 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2685 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2686 --target=${target_alias} $${srcdiroption} \
2687 || exit 1
2688 @endif build-libiberty
2694 .PHONY: all-build-libiberty maybe-all-build-libiberty
2695 maybe-all-build-libiberty:
2696 @if gcc-bootstrap
2697 all-build-libiberty: stage_current
2698 @endif gcc-bootstrap
2699 @if build-libiberty
2700 TARGET-build-libiberty=all
2701 maybe-all-build-libiberty: all-build-libiberty
2702 all-build-libiberty: configure-build-libiberty
2703 @: $(MAKE); $(unstage)
2704 @r=`${PWD_COMMAND}`; export r; \
2705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2706 $(BUILD_EXPORTS) \
2707 (cd $(BUILD_SUBDIR)/libiberty && \
2708 $(MAKE) $(TARGET-build-libiberty))
2709 @endif build-libiberty
2715 .PHONY: configure-build-bison maybe-configure-build-bison
2716 maybe-configure-build-bison:
2717 @if gcc-bootstrap
2718 configure-build-bison: stage_current
2719 @endif gcc-bootstrap
2720 @if build-bison
2721 maybe-configure-build-bison: configure-build-bison
2722 configure-build-bison:
2723 @: $(MAKE); $(unstage)
2724 @r=`${PWD_COMMAND}`; export r; \
2725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2726 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2727 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2728 $(BUILD_EXPORTS) \
2729 echo Configuring in $(BUILD_SUBDIR)/bison; \
2730 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2731 case $(srcdir) in \
2732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2733 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2735 esac; \
2736 srcdiroption="--srcdir=$${topdir}/bison"; \
2737 libsrcdir="$$s/bison"; \
2738 rm -f no-such-file || : ; \
2739 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2740 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2741 --target=${target_alias} $${srcdiroption} \
2742 || exit 1
2743 @endif build-bison
2749 .PHONY: all-build-bison maybe-all-build-bison
2750 maybe-all-build-bison:
2751 @if gcc-bootstrap
2752 all-build-bison: stage_current
2753 @endif gcc-bootstrap
2754 @if build-bison
2755 TARGET-build-bison=all
2756 maybe-all-build-bison: all-build-bison
2757 all-build-bison: configure-build-bison
2758 @: $(MAKE); $(unstage)
2759 @r=`${PWD_COMMAND}`; export r; \
2760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 $(BUILD_EXPORTS) \
2762 (cd $(BUILD_SUBDIR)/bison && \
2763 $(MAKE) $(TARGET-build-bison))
2764 @endif build-bison
2770 .PHONY: configure-build-byacc maybe-configure-build-byacc
2771 maybe-configure-build-byacc:
2772 @if gcc-bootstrap
2773 configure-build-byacc: stage_current
2774 @endif gcc-bootstrap
2775 @if build-byacc
2776 maybe-configure-build-byacc: configure-build-byacc
2777 configure-build-byacc:
2778 @: $(MAKE); $(unstage)
2779 @r=`${PWD_COMMAND}`; export r; \
2780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2781 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2782 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2783 $(BUILD_EXPORTS) \
2784 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2785 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2786 case $(srcdir) in \
2787 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2788 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2789 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2790 esac; \
2791 srcdiroption="--srcdir=$${topdir}/byacc"; \
2792 libsrcdir="$$s/byacc"; \
2793 rm -f no-such-file || : ; \
2794 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2795 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2796 --target=${target_alias} $${srcdiroption} \
2797 || exit 1
2798 @endif build-byacc
2804 .PHONY: all-build-byacc maybe-all-build-byacc
2805 maybe-all-build-byacc:
2806 @if gcc-bootstrap
2807 all-build-byacc: stage_current
2808 @endif gcc-bootstrap
2809 @if build-byacc
2810 TARGET-build-byacc=all
2811 maybe-all-build-byacc: all-build-byacc
2812 all-build-byacc: configure-build-byacc
2813 @: $(MAKE); $(unstage)
2814 @r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2816 $(BUILD_EXPORTS) \
2817 (cd $(BUILD_SUBDIR)/byacc && \
2818 $(MAKE) $(TARGET-build-byacc))
2819 @endif build-byacc
2825 .PHONY: configure-build-flex maybe-configure-build-flex
2826 maybe-configure-build-flex:
2827 @if gcc-bootstrap
2828 configure-build-flex: stage_current
2829 @endif gcc-bootstrap
2830 @if build-flex
2831 maybe-configure-build-flex: configure-build-flex
2832 configure-build-flex:
2833 @: $(MAKE); $(unstage)
2834 @r=`${PWD_COMMAND}`; export r; \
2835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2836 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2837 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2838 $(BUILD_EXPORTS) \
2839 echo Configuring in $(BUILD_SUBDIR)/flex; \
2840 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2841 case $(srcdir) in \
2842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2843 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2845 esac; \
2846 srcdiroption="--srcdir=$${topdir}/flex"; \
2847 libsrcdir="$$s/flex"; \
2848 rm -f no-such-file || : ; \
2849 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2850 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2851 --target=${target_alias} $${srcdiroption} \
2852 || exit 1
2853 @endif build-flex
2859 .PHONY: all-build-flex maybe-all-build-flex
2860 maybe-all-build-flex:
2861 @if gcc-bootstrap
2862 all-build-flex: stage_current
2863 @endif gcc-bootstrap
2864 @if build-flex
2865 TARGET-build-flex=all
2866 maybe-all-build-flex: all-build-flex
2867 all-build-flex: configure-build-flex
2868 @: $(MAKE); $(unstage)
2869 @r=`${PWD_COMMAND}`; export r; \
2870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2871 $(BUILD_EXPORTS) \
2872 (cd $(BUILD_SUBDIR)/flex && \
2873 $(MAKE) $(TARGET-build-flex))
2874 @endif build-flex
2880 .PHONY: configure-build-m4 maybe-configure-build-m4
2881 maybe-configure-build-m4:
2882 @if gcc-bootstrap
2883 configure-build-m4: stage_current
2884 @endif gcc-bootstrap
2885 @if build-m4
2886 maybe-configure-build-m4: configure-build-m4
2887 configure-build-m4:
2888 @: $(MAKE); $(unstage)
2889 @r=`${PWD_COMMAND}`; export r; \
2890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2891 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2892 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2893 $(BUILD_EXPORTS) \
2894 echo Configuring in $(BUILD_SUBDIR)/m4; \
2895 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2896 case $(srcdir) in \
2897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2898 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2900 esac; \
2901 srcdiroption="--srcdir=$${topdir}/m4"; \
2902 libsrcdir="$$s/m4"; \
2903 rm -f no-such-file || : ; \
2904 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2905 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2906 --target=${target_alias} $${srcdiroption} \
2907 || exit 1
2908 @endif build-m4
2914 .PHONY: all-build-m4 maybe-all-build-m4
2915 maybe-all-build-m4:
2916 @if gcc-bootstrap
2917 all-build-m4: stage_current
2918 @endif gcc-bootstrap
2919 @if build-m4
2920 TARGET-build-m4=all
2921 maybe-all-build-m4: all-build-m4
2922 all-build-m4: configure-build-m4
2923 @: $(MAKE); $(unstage)
2924 @r=`${PWD_COMMAND}`; export r; \
2925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2926 $(BUILD_EXPORTS) \
2927 (cd $(BUILD_SUBDIR)/m4 && \
2928 $(MAKE) $(TARGET-build-m4))
2929 @endif build-m4
2935 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2936 maybe-configure-build-texinfo:
2937 @if gcc-bootstrap
2938 configure-build-texinfo: stage_current
2939 @endif gcc-bootstrap
2940 @if build-texinfo
2941 maybe-configure-build-texinfo: configure-build-texinfo
2942 configure-build-texinfo:
2943 @: $(MAKE); $(unstage)
2944 @r=`${PWD_COMMAND}`; export r; \
2945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2946 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2947 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2948 $(BUILD_EXPORTS) \
2949 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2950 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2951 case $(srcdir) in \
2952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2953 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2955 esac; \
2956 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2957 libsrcdir="$$s/texinfo"; \
2958 rm -f no-such-file || : ; \
2959 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2960 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2961 --target=${target_alias} $${srcdiroption} \
2962 || exit 1
2963 @endif build-texinfo
2969 .PHONY: all-build-texinfo maybe-all-build-texinfo
2970 maybe-all-build-texinfo:
2971 @if gcc-bootstrap
2972 all-build-texinfo: stage_current
2973 @endif gcc-bootstrap
2974 @if build-texinfo
2975 TARGET-build-texinfo=all
2976 maybe-all-build-texinfo: all-build-texinfo
2977 all-build-texinfo: configure-build-texinfo
2978 @: $(MAKE); $(unstage)
2979 @r=`${PWD_COMMAND}`; export r; \
2980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2981 $(BUILD_EXPORTS) \
2982 (cd $(BUILD_SUBDIR)/texinfo && \
2983 $(MAKE) $(TARGET-build-texinfo))
2984 @endif build-texinfo
2990 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2991 maybe-configure-build-fixincludes:
2992 @if gcc-bootstrap
2993 configure-build-fixincludes: stage_current
2994 @endif gcc-bootstrap
2995 @if build-fixincludes
2996 maybe-configure-build-fixincludes: configure-build-fixincludes
2997 configure-build-fixincludes:
2998 @: $(MAKE); $(unstage)
2999 @r=`${PWD_COMMAND}`; export r; \
3000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3001 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3002 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3003 $(BUILD_EXPORTS) \
3004 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3005 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3006 case $(srcdir) in \
3007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3008 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3010 esac; \
3011 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
3012 libsrcdir="$$s/fixincludes"; \
3013 rm -f no-such-file || : ; \
3014 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
3015 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3016 --target=${target_alias} $${srcdiroption} \
3017 || exit 1
3018 @endif build-fixincludes
3024 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3025 maybe-all-build-fixincludes:
3026 @if gcc-bootstrap
3027 all-build-fixincludes: stage_current
3028 @endif gcc-bootstrap
3029 @if build-fixincludes
3030 TARGET-build-fixincludes=all
3031 maybe-all-build-fixincludes: all-build-fixincludes
3032 all-build-fixincludes: configure-build-fixincludes
3033 @: $(MAKE); $(unstage)
3034 @r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036 $(BUILD_EXPORTS) \
3037 (cd $(BUILD_SUBDIR)/fixincludes && \
3038 $(MAKE) $(TARGET-build-fixincludes))
3039 @endif build-fixincludes
3045 # --------------------------------------
3046 # Modules which run on the host machine
3047 # --------------------------------------
3050 .PHONY: configure-ash maybe-configure-ash
3051 maybe-configure-ash:
3052 @if gcc-bootstrap
3053 configure-ash: stage_current
3054 @endif gcc-bootstrap
3055 @if ash
3056 maybe-configure-ash: configure-ash
3057 configure-ash:
3058 @: $(MAKE); $(unstage)
3059 @r=`${PWD_COMMAND}`; export r; \
3060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3061 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
3062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
3063 $(HOST_EXPORTS) \
3064 echo Configuring in $(HOST_SUBDIR)/ash; \
3065 cd "$(HOST_SUBDIR)/ash" || exit 1; \
3066 case $(srcdir) in \
3067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3068 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
3069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3070 esac; \
3071 srcdiroption="--srcdir=$${topdir}/ash"; \
3072 libsrcdir="$$s/ash"; \
3073 $(SHELL) $${libsrcdir}/configure \
3074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3075 --target=${target_alias} $${srcdiroption} \
3076 || exit 1
3077 @endif ash
3083 .PHONY: all-ash maybe-all-ash
3084 maybe-all-ash:
3085 @if gcc-bootstrap
3086 all-ash: stage_current
3087 @endif gcc-bootstrap
3088 @if ash
3089 TARGET-ash=all
3090 maybe-all-ash: all-ash
3091 all-ash: configure-ash
3092 @: $(MAKE); $(unstage)
3093 @r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3095 $(HOST_EXPORTS) \
3096 (cd $(HOST_SUBDIR)/ash && \
3097 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
3098 @endif ash
3103 .PHONY: check-ash maybe-check-ash
3104 maybe-check-ash:
3105 @if ash
3106 maybe-check-ash: check-ash
3108 check-ash:
3109 @: $(MAKE); $(unstage)
3110 @r=`${PWD_COMMAND}`; export r; \
3111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3112 $(HOST_EXPORTS) \
3113 (cd $(HOST_SUBDIR)/ash && \
3114 $(MAKE) $(FLAGS_TO_PASS) check)
3116 @endif ash
3118 .PHONY: install-ash maybe-install-ash
3119 maybe-install-ash:
3120 @if ash
3121 maybe-install-ash: install-ash
3123 install-ash: installdirs
3124 @: $(MAKE); $(unstage)
3125 @r=`${PWD_COMMAND}`; export r; \
3126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3127 $(HOST_EXPORTS) \
3128 (cd $(HOST_SUBDIR)/ash && \
3129 $(MAKE) $(FLAGS_TO_PASS) install)
3131 @endif ash
3133 # Other targets (info, dvi, pdf, etc.)
3135 .PHONY: maybe-info-ash info-ash
3136 maybe-info-ash:
3137 @if ash
3138 maybe-info-ash: info-ash
3140 info-ash: \
3141 configure-ash
3142 @: $(MAKE); $(unstage)
3143 @[ -f ./ash/Makefile ] || exit 0; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 $(HOST_EXPORTS) \
3147 for flag in $(EXTRA_HOST_FLAGS) ; do \
3148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3149 done; \
3150 echo "Doing info in ash" ; \
3151 (cd $(HOST_SUBDIR)/ash && \
3152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3154 "RANLIB=$${RANLIB}" \
3155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3156 info) \
3157 || exit 1
3159 @endif ash
3161 .PHONY: maybe-dvi-ash dvi-ash
3162 maybe-dvi-ash:
3163 @if ash
3164 maybe-dvi-ash: dvi-ash
3166 dvi-ash: \
3167 configure-ash
3168 @: $(MAKE); $(unstage)
3169 @[ -f ./ash/Makefile ] || exit 0; \
3170 r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 $(HOST_EXPORTS) \
3173 for flag in $(EXTRA_HOST_FLAGS) ; do \
3174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3175 done; \
3176 echo "Doing dvi in ash" ; \
3177 (cd $(HOST_SUBDIR)/ash && \
3178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3180 "RANLIB=$${RANLIB}" \
3181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3182 dvi) \
3183 || exit 1
3185 @endif ash
3187 .PHONY: maybe-pdf-ash pdf-ash
3188 maybe-pdf-ash:
3189 @if ash
3190 maybe-pdf-ash: pdf-ash
3192 pdf-ash: \
3193 configure-ash
3194 @: $(MAKE); $(unstage)
3195 @[ -f ./ash/Makefile ] || exit 0; \
3196 r=`${PWD_COMMAND}`; export r; \
3197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3198 $(HOST_EXPORTS) \
3199 for flag in $(EXTRA_HOST_FLAGS) ; do \
3200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3201 done; \
3202 echo "Doing pdf in ash" ; \
3203 (cd $(HOST_SUBDIR)/ash && \
3204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3206 "RANLIB=$${RANLIB}" \
3207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3208 pdf) \
3209 || exit 1
3211 @endif ash
3213 .PHONY: maybe-html-ash html-ash
3214 maybe-html-ash:
3215 @if ash
3216 maybe-html-ash: html-ash
3218 html-ash: \
3219 configure-ash
3220 @: $(MAKE); $(unstage)
3221 @[ -f ./ash/Makefile ] || exit 0; \
3222 r=`${PWD_COMMAND}`; export r; \
3223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3224 $(HOST_EXPORTS) \
3225 for flag in $(EXTRA_HOST_FLAGS) ; do \
3226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3227 done; \
3228 echo "Doing html in ash" ; \
3229 (cd $(HOST_SUBDIR)/ash && \
3230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3232 "RANLIB=$${RANLIB}" \
3233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3234 html) \
3235 || exit 1
3237 @endif ash
3239 .PHONY: maybe-TAGS-ash TAGS-ash
3240 maybe-TAGS-ash:
3241 @if ash
3242 maybe-TAGS-ash: TAGS-ash
3244 TAGS-ash: \
3245 configure-ash
3246 @: $(MAKE); $(unstage)
3247 @[ -f ./ash/Makefile ] || exit 0; \
3248 r=`${PWD_COMMAND}`; export r; \
3249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3250 $(HOST_EXPORTS) \
3251 for flag in $(EXTRA_HOST_FLAGS) ; do \
3252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3253 done; \
3254 echo "Doing TAGS in ash" ; \
3255 (cd $(HOST_SUBDIR)/ash && \
3256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3258 "RANLIB=$${RANLIB}" \
3259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3260 TAGS) \
3261 || exit 1
3263 @endif ash
3265 .PHONY: maybe-install-info-ash install-info-ash
3266 maybe-install-info-ash:
3267 @if ash
3268 maybe-install-info-ash: install-info-ash
3270 install-info-ash: \
3271 configure-ash \
3272 info-ash
3273 @: $(MAKE); $(unstage)
3274 @[ -f ./ash/Makefile ] || exit 0; \
3275 r=`${PWD_COMMAND}`; export r; \
3276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3277 $(HOST_EXPORTS) \
3278 for flag in $(EXTRA_HOST_FLAGS) ; do \
3279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3280 done; \
3281 echo "Doing install-info in ash" ; \
3282 (cd $(HOST_SUBDIR)/ash && \
3283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3285 "RANLIB=$${RANLIB}" \
3286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3287 install-info) \
3288 || exit 1
3290 @endif ash
3292 .PHONY: maybe-install-pdf-ash install-pdf-ash
3293 maybe-install-pdf-ash:
3294 @if ash
3295 maybe-install-pdf-ash: install-pdf-ash
3297 install-pdf-ash: \
3298 configure-ash \
3299 pdf-ash
3300 @: $(MAKE); $(unstage)
3301 @[ -f ./ash/Makefile ] || exit 0; \
3302 r=`${PWD_COMMAND}`; export r; \
3303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3304 $(HOST_EXPORTS) \
3305 for flag in $(EXTRA_HOST_FLAGS) ; do \
3306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3307 done; \
3308 echo "Doing install-pdf in ash" ; \
3309 (cd $(HOST_SUBDIR)/ash && \
3310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3312 "RANLIB=$${RANLIB}" \
3313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3314 install-pdf) \
3315 || exit 1
3317 @endif ash
3319 .PHONY: maybe-install-html-ash install-html-ash
3320 maybe-install-html-ash:
3321 @if ash
3322 maybe-install-html-ash: install-html-ash
3324 install-html-ash: \
3325 configure-ash \
3326 html-ash
3327 @: $(MAKE); $(unstage)
3328 @[ -f ./ash/Makefile ] || exit 0; \
3329 r=`${PWD_COMMAND}`; export r; \
3330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3331 $(HOST_EXPORTS) \
3332 for flag in $(EXTRA_HOST_FLAGS) ; do \
3333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3334 done; \
3335 echo "Doing install-html in ash" ; \
3336 (cd $(HOST_SUBDIR)/ash && \
3337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3339 "RANLIB=$${RANLIB}" \
3340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3341 install-html) \
3342 || exit 1
3344 @endif ash
3346 .PHONY: maybe-installcheck-ash installcheck-ash
3347 maybe-installcheck-ash:
3348 @if ash
3349 maybe-installcheck-ash: installcheck-ash
3351 installcheck-ash: \
3352 configure-ash
3353 @: $(MAKE); $(unstage)
3354 @[ -f ./ash/Makefile ] || exit 0; \
3355 r=`${PWD_COMMAND}`; export r; \
3356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3357 $(HOST_EXPORTS) \
3358 for flag in $(EXTRA_HOST_FLAGS) ; do \
3359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3360 done; \
3361 echo "Doing installcheck in ash" ; \
3362 (cd $(HOST_SUBDIR)/ash && \
3363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3365 "RANLIB=$${RANLIB}" \
3366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3367 installcheck) \
3368 || exit 1
3370 @endif ash
3372 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3373 maybe-mostlyclean-ash:
3374 @if ash
3375 maybe-mostlyclean-ash: mostlyclean-ash
3377 mostlyclean-ash:
3378 @: $(MAKE); $(unstage)
3379 @[ -f ./ash/Makefile ] || exit 0; \
3380 r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 $(HOST_EXPORTS) \
3383 for flag in $(EXTRA_HOST_FLAGS) ; do \
3384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3385 done; \
3386 echo "Doing mostlyclean in ash" ; \
3387 (cd $(HOST_SUBDIR)/ash && \
3388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3390 "RANLIB=$${RANLIB}" \
3391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3392 mostlyclean) \
3393 || exit 1
3395 @endif ash
3397 .PHONY: maybe-clean-ash clean-ash
3398 maybe-clean-ash:
3399 @if ash
3400 maybe-clean-ash: clean-ash
3402 clean-ash:
3403 @: $(MAKE); $(unstage)
3404 @[ -f ./ash/Makefile ] || exit 0; \
3405 r=`${PWD_COMMAND}`; export r; \
3406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3407 $(HOST_EXPORTS) \
3408 for flag in $(EXTRA_HOST_FLAGS) ; do \
3409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3410 done; \
3411 echo "Doing clean in ash" ; \
3412 (cd $(HOST_SUBDIR)/ash && \
3413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3415 "RANLIB=$${RANLIB}" \
3416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3417 clean) \
3418 || exit 1
3420 @endif ash
3422 .PHONY: maybe-distclean-ash distclean-ash
3423 maybe-distclean-ash:
3424 @if ash
3425 maybe-distclean-ash: distclean-ash
3427 distclean-ash:
3428 @: $(MAKE); $(unstage)
3429 @[ -f ./ash/Makefile ] || exit 0; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 for flag in $(EXTRA_HOST_FLAGS) ; do \
3434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3435 done; \
3436 echo "Doing distclean in ash" ; \
3437 (cd $(HOST_SUBDIR)/ash && \
3438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440 "RANLIB=$${RANLIB}" \
3441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3442 distclean) \
3443 || exit 1
3445 @endif ash
3447 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3448 maybe-maintainer-clean-ash:
3449 @if ash
3450 maybe-maintainer-clean-ash: maintainer-clean-ash
3452 maintainer-clean-ash:
3453 @: $(MAKE); $(unstage)
3454 @[ -f ./ash/Makefile ] || exit 0; \
3455 r=`${PWD_COMMAND}`; export r; \
3456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3457 $(HOST_EXPORTS) \
3458 for flag in $(EXTRA_HOST_FLAGS) ; do \
3459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3460 done; \
3461 echo "Doing maintainer-clean in ash" ; \
3462 (cd $(HOST_SUBDIR)/ash && \
3463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3465 "RANLIB=$${RANLIB}" \
3466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3467 maintainer-clean) \
3468 || exit 1
3470 @endif ash
3474 .PHONY: configure-autoconf maybe-configure-autoconf
3475 maybe-configure-autoconf:
3476 @if gcc-bootstrap
3477 configure-autoconf: stage_current
3478 @endif gcc-bootstrap
3479 @if autoconf
3480 maybe-configure-autoconf: configure-autoconf
3481 configure-autoconf:
3482 @: $(MAKE); $(unstage)
3483 @r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3487 $(HOST_EXPORTS) \
3488 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3489 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3490 case $(srcdir) in \
3491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3492 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3494 esac; \
3495 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3496 libsrcdir="$$s/autoconf"; \
3497 $(SHELL) $${libsrcdir}/configure \
3498 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3499 --target=${target_alias} $${srcdiroption} \
3500 || exit 1
3501 @endif autoconf
3507 .PHONY: all-autoconf maybe-all-autoconf
3508 maybe-all-autoconf:
3509 @if gcc-bootstrap
3510 all-autoconf: stage_current
3511 @endif gcc-bootstrap
3512 @if autoconf
3513 TARGET-autoconf=all
3514 maybe-all-autoconf: all-autoconf
3515 all-autoconf: configure-autoconf
3516 @: $(MAKE); $(unstage)
3517 @r=`${PWD_COMMAND}`; export r; \
3518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3519 $(HOST_EXPORTS) \
3520 (cd $(HOST_SUBDIR)/autoconf && \
3521 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3522 @endif autoconf
3527 .PHONY: check-autoconf maybe-check-autoconf
3528 maybe-check-autoconf:
3529 @if autoconf
3530 maybe-check-autoconf: check-autoconf
3532 check-autoconf:
3533 @: $(MAKE); $(unstage)
3534 @r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3536 $(HOST_EXPORTS) \
3537 (cd $(HOST_SUBDIR)/autoconf && \
3538 $(MAKE) $(FLAGS_TO_PASS) check)
3540 @endif autoconf
3542 .PHONY: install-autoconf maybe-install-autoconf
3543 maybe-install-autoconf:
3544 @if autoconf
3545 maybe-install-autoconf: install-autoconf
3547 install-autoconf: installdirs
3548 @: $(MAKE); $(unstage)
3549 @r=`${PWD_COMMAND}`; export r; \
3550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 $(HOST_EXPORTS) \
3552 (cd $(HOST_SUBDIR)/autoconf && \
3553 $(MAKE) $(FLAGS_TO_PASS) install)
3555 @endif autoconf
3557 # Other targets (info, dvi, pdf, etc.)
3559 .PHONY: maybe-info-autoconf info-autoconf
3560 maybe-info-autoconf:
3561 @if autoconf
3562 maybe-info-autoconf: info-autoconf
3564 info-autoconf: \
3565 configure-autoconf
3566 @: $(MAKE); $(unstage)
3567 @[ -f ./autoconf/Makefile ] || exit 0; \
3568 r=`${PWD_COMMAND}`; export r; \
3569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3570 $(HOST_EXPORTS) \
3571 for flag in $(EXTRA_HOST_FLAGS) ; do \
3572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3573 done; \
3574 echo "Doing info in autoconf" ; \
3575 (cd $(HOST_SUBDIR)/autoconf && \
3576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3578 "RANLIB=$${RANLIB}" \
3579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3580 info) \
3581 || exit 1
3583 @endif autoconf
3585 .PHONY: maybe-dvi-autoconf dvi-autoconf
3586 maybe-dvi-autoconf:
3587 @if autoconf
3588 maybe-dvi-autoconf: dvi-autoconf
3590 dvi-autoconf: \
3591 configure-autoconf
3592 @: $(MAKE); $(unstage)
3593 @[ -f ./autoconf/Makefile ] || exit 0; \
3594 r=`${PWD_COMMAND}`; export r; \
3595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3596 $(HOST_EXPORTS) \
3597 for flag in $(EXTRA_HOST_FLAGS) ; do \
3598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3599 done; \
3600 echo "Doing dvi in autoconf" ; \
3601 (cd $(HOST_SUBDIR)/autoconf && \
3602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3604 "RANLIB=$${RANLIB}" \
3605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3606 dvi) \
3607 || exit 1
3609 @endif autoconf
3611 .PHONY: maybe-pdf-autoconf pdf-autoconf
3612 maybe-pdf-autoconf:
3613 @if autoconf
3614 maybe-pdf-autoconf: pdf-autoconf
3616 pdf-autoconf: \
3617 configure-autoconf
3618 @: $(MAKE); $(unstage)
3619 @[ -f ./autoconf/Makefile ] || exit 0; \
3620 r=`${PWD_COMMAND}`; export r; \
3621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3622 $(HOST_EXPORTS) \
3623 for flag in $(EXTRA_HOST_FLAGS) ; do \
3624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3625 done; \
3626 echo "Doing pdf in autoconf" ; \
3627 (cd $(HOST_SUBDIR)/autoconf && \
3628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3630 "RANLIB=$${RANLIB}" \
3631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3632 pdf) \
3633 || exit 1
3635 @endif autoconf
3637 .PHONY: maybe-html-autoconf html-autoconf
3638 maybe-html-autoconf:
3639 @if autoconf
3640 maybe-html-autoconf: html-autoconf
3642 html-autoconf: \
3643 configure-autoconf
3644 @: $(MAKE); $(unstage)
3645 @[ -f ./autoconf/Makefile ] || exit 0; \
3646 r=`${PWD_COMMAND}`; export r; \
3647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3648 $(HOST_EXPORTS) \
3649 for flag in $(EXTRA_HOST_FLAGS) ; do \
3650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3651 done; \
3652 echo "Doing html in autoconf" ; \
3653 (cd $(HOST_SUBDIR)/autoconf && \
3654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3656 "RANLIB=$${RANLIB}" \
3657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3658 html) \
3659 || exit 1
3661 @endif autoconf
3663 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3664 maybe-TAGS-autoconf:
3665 @if autoconf
3666 maybe-TAGS-autoconf: TAGS-autoconf
3668 TAGS-autoconf: \
3669 configure-autoconf
3670 @: $(MAKE); $(unstage)
3671 @[ -f ./autoconf/Makefile ] || exit 0; \
3672 r=`${PWD_COMMAND}`; export r; \
3673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3674 $(HOST_EXPORTS) \
3675 for flag in $(EXTRA_HOST_FLAGS) ; do \
3676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3677 done; \
3678 echo "Doing TAGS in autoconf" ; \
3679 (cd $(HOST_SUBDIR)/autoconf && \
3680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3682 "RANLIB=$${RANLIB}" \
3683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3684 TAGS) \
3685 || exit 1
3687 @endif autoconf
3689 .PHONY: maybe-install-info-autoconf install-info-autoconf
3690 maybe-install-info-autoconf:
3691 @if autoconf
3692 maybe-install-info-autoconf: install-info-autoconf
3694 install-info-autoconf: \
3695 configure-autoconf \
3696 info-autoconf
3697 @: $(MAKE); $(unstage)
3698 @[ -f ./autoconf/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701 $(HOST_EXPORTS) \
3702 for flag in $(EXTRA_HOST_FLAGS) ; do \
3703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3704 done; \
3705 echo "Doing install-info in autoconf" ; \
3706 (cd $(HOST_SUBDIR)/autoconf && \
3707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3709 "RANLIB=$${RANLIB}" \
3710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3711 install-info) \
3712 || exit 1
3714 @endif autoconf
3716 .PHONY: maybe-install-pdf-autoconf install-pdf-autoconf
3717 maybe-install-pdf-autoconf:
3718 @if autoconf
3719 maybe-install-pdf-autoconf: install-pdf-autoconf
3721 install-pdf-autoconf: \
3722 configure-autoconf \
3723 pdf-autoconf
3724 @: $(MAKE); $(unstage)
3725 @[ -f ./autoconf/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 for flag in $(EXTRA_HOST_FLAGS) ; do \
3730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 done; \
3732 echo "Doing install-pdf in autoconf" ; \
3733 (cd $(HOST_SUBDIR)/autoconf && \
3734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3736 "RANLIB=$${RANLIB}" \
3737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3738 install-pdf) \
3739 || exit 1
3741 @endif autoconf
3743 .PHONY: maybe-install-html-autoconf install-html-autoconf
3744 maybe-install-html-autoconf:
3745 @if autoconf
3746 maybe-install-html-autoconf: install-html-autoconf
3748 install-html-autoconf: \
3749 configure-autoconf \
3750 html-autoconf
3751 @: $(MAKE); $(unstage)
3752 @[ -f ./autoconf/Makefile ] || exit 0; \
3753 r=`${PWD_COMMAND}`; export r; \
3754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3755 $(HOST_EXPORTS) \
3756 for flag in $(EXTRA_HOST_FLAGS) ; do \
3757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3758 done; \
3759 echo "Doing install-html in autoconf" ; \
3760 (cd $(HOST_SUBDIR)/autoconf && \
3761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3763 "RANLIB=$${RANLIB}" \
3764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3765 install-html) \
3766 || exit 1
3768 @endif autoconf
3770 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3771 maybe-installcheck-autoconf:
3772 @if autoconf
3773 maybe-installcheck-autoconf: installcheck-autoconf
3775 installcheck-autoconf: \
3776 configure-autoconf
3777 @: $(MAKE); $(unstage)
3778 @[ -f ./autoconf/Makefile ] || exit 0; \
3779 r=`${PWD_COMMAND}`; export r; \
3780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3781 $(HOST_EXPORTS) \
3782 for flag in $(EXTRA_HOST_FLAGS) ; do \
3783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3784 done; \
3785 echo "Doing installcheck in autoconf" ; \
3786 (cd $(HOST_SUBDIR)/autoconf && \
3787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3789 "RANLIB=$${RANLIB}" \
3790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3791 installcheck) \
3792 || exit 1
3794 @endif autoconf
3796 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3797 maybe-mostlyclean-autoconf:
3798 @if autoconf
3799 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3801 mostlyclean-autoconf:
3802 @: $(MAKE); $(unstage)
3803 @[ -f ./autoconf/Makefile ] || exit 0; \
3804 r=`${PWD_COMMAND}`; export r; \
3805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3806 $(HOST_EXPORTS) \
3807 for flag in $(EXTRA_HOST_FLAGS) ; do \
3808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3809 done; \
3810 echo "Doing mostlyclean in autoconf" ; \
3811 (cd $(HOST_SUBDIR)/autoconf && \
3812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3814 "RANLIB=$${RANLIB}" \
3815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3816 mostlyclean) \
3817 || exit 1
3819 @endif autoconf
3821 .PHONY: maybe-clean-autoconf clean-autoconf
3822 maybe-clean-autoconf:
3823 @if autoconf
3824 maybe-clean-autoconf: clean-autoconf
3826 clean-autoconf:
3827 @: $(MAKE); $(unstage)
3828 @[ -f ./autoconf/Makefile ] || exit 0; \
3829 r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(HOST_EXPORTS) \
3832 for flag in $(EXTRA_HOST_FLAGS) ; do \
3833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3834 done; \
3835 echo "Doing clean in autoconf" ; \
3836 (cd $(HOST_SUBDIR)/autoconf && \
3837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3839 "RANLIB=$${RANLIB}" \
3840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3841 clean) \
3842 || exit 1
3844 @endif autoconf
3846 .PHONY: maybe-distclean-autoconf distclean-autoconf
3847 maybe-distclean-autoconf:
3848 @if autoconf
3849 maybe-distclean-autoconf: distclean-autoconf
3851 distclean-autoconf:
3852 @: $(MAKE); $(unstage)
3853 @[ -f ./autoconf/Makefile ] || exit 0; \
3854 r=`${PWD_COMMAND}`; export r; \
3855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3856 $(HOST_EXPORTS) \
3857 for flag in $(EXTRA_HOST_FLAGS) ; do \
3858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3859 done; \
3860 echo "Doing distclean in autoconf" ; \
3861 (cd $(HOST_SUBDIR)/autoconf && \
3862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3864 "RANLIB=$${RANLIB}" \
3865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3866 distclean) \
3867 || exit 1
3869 @endif autoconf
3871 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3872 maybe-maintainer-clean-autoconf:
3873 @if autoconf
3874 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3876 maintainer-clean-autoconf:
3877 @: $(MAKE); $(unstage)
3878 @[ -f ./autoconf/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing maintainer-clean in autoconf" ; \
3886 (cd $(HOST_SUBDIR)/autoconf && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 maintainer-clean) \
3892 || exit 1
3894 @endif autoconf
3898 .PHONY: configure-automake maybe-configure-automake
3899 maybe-configure-automake:
3900 @if gcc-bootstrap
3901 configure-automake: stage_current
3902 @endif gcc-bootstrap
3903 @if automake
3904 maybe-configure-automake: configure-automake
3905 configure-automake:
3906 @: $(MAKE); $(unstage)
3907 @r=`${PWD_COMMAND}`; export r; \
3908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3909 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3911 $(HOST_EXPORTS) \
3912 echo Configuring in $(HOST_SUBDIR)/automake; \
3913 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3914 case $(srcdir) in \
3915 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3916 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3917 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3918 esac; \
3919 srcdiroption="--srcdir=$${topdir}/automake"; \
3920 libsrcdir="$$s/automake"; \
3921 $(SHELL) $${libsrcdir}/configure \
3922 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3923 --target=${target_alias} $${srcdiroption} \
3924 || exit 1
3925 @endif automake
3931 .PHONY: all-automake maybe-all-automake
3932 maybe-all-automake:
3933 @if gcc-bootstrap
3934 all-automake: stage_current
3935 @endif gcc-bootstrap
3936 @if automake
3937 TARGET-automake=all
3938 maybe-all-automake: all-automake
3939 all-automake: configure-automake
3940 @: $(MAKE); $(unstage)
3941 @r=`${PWD_COMMAND}`; export r; \
3942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3943 $(HOST_EXPORTS) \
3944 (cd $(HOST_SUBDIR)/automake && \
3945 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3946 @endif automake
3951 .PHONY: check-automake maybe-check-automake
3952 maybe-check-automake:
3953 @if automake
3954 maybe-check-automake: check-automake
3956 check-automake:
3957 @: $(MAKE); $(unstage)
3958 @r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 $(HOST_EXPORTS) \
3961 (cd $(HOST_SUBDIR)/automake && \
3962 $(MAKE) $(FLAGS_TO_PASS) check)
3964 @endif automake
3966 .PHONY: install-automake maybe-install-automake
3967 maybe-install-automake:
3968 @if automake
3969 maybe-install-automake: install-automake
3971 install-automake: installdirs
3972 @: $(MAKE); $(unstage)
3973 @r=`${PWD_COMMAND}`; export r; \
3974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3975 $(HOST_EXPORTS) \
3976 (cd $(HOST_SUBDIR)/automake && \
3977 $(MAKE) $(FLAGS_TO_PASS) install)
3979 @endif automake
3981 # Other targets (info, dvi, pdf, etc.)
3983 .PHONY: maybe-info-automake info-automake
3984 maybe-info-automake:
3985 @if automake
3986 maybe-info-automake: info-automake
3988 info-automake: \
3989 configure-automake
3990 @: $(MAKE); $(unstage)
3991 @[ -f ./automake/Makefile ] || exit 0; \
3992 r=`${PWD_COMMAND}`; export r; \
3993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3994 $(HOST_EXPORTS) \
3995 for flag in $(EXTRA_HOST_FLAGS) ; do \
3996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3997 done; \
3998 echo "Doing info in automake" ; \
3999 (cd $(HOST_SUBDIR)/automake && \
4000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4002 "RANLIB=$${RANLIB}" \
4003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4004 info) \
4005 || exit 1
4007 @endif automake
4009 .PHONY: maybe-dvi-automake dvi-automake
4010 maybe-dvi-automake:
4011 @if automake
4012 maybe-dvi-automake: dvi-automake
4014 dvi-automake: \
4015 configure-automake
4016 @: $(MAKE); $(unstage)
4017 @[ -f ./automake/Makefile ] || exit 0; \
4018 r=`${PWD_COMMAND}`; export r; \
4019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4020 $(HOST_EXPORTS) \
4021 for flag in $(EXTRA_HOST_FLAGS) ; do \
4022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4023 done; \
4024 echo "Doing dvi in automake" ; \
4025 (cd $(HOST_SUBDIR)/automake && \
4026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4028 "RANLIB=$${RANLIB}" \
4029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4030 dvi) \
4031 || exit 1
4033 @endif automake
4035 .PHONY: maybe-pdf-automake pdf-automake
4036 maybe-pdf-automake:
4037 @if automake
4038 maybe-pdf-automake: pdf-automake
4040 pdf-automake: \
4041 configure-automake
4042 @: $(MAKE); $(unstage)
4043 @[ -f ./automake/Makefile ] || exit 0; \
4044 r=`${PWD_COMMAND}`; export r; \
4045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4046 $(HOST_EXPORTS) \
4047 for flag in $(EXTRA_HOST_FLAGS) ; do \
4048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4049 done; \
4050 echo "Doing pdf in automake" ; \
4051 (cd $(HOST_SUBDIR)/automake && \
4052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4054 "RANLIB=$${RANLIB}" \
4055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4056 pdf) \
4057 || exit 1
4059 @endif automake
4061 .PHONY: maybe-html-automake html-automake
4062 maybe-html-automake:
4063 @if automake
4064 maybe-html-automake: html-automake
4066 html-automake: \
4067 configure-automake
4068 @: $(MAKE); $(unstage)
4069 @[ -f ./automake/Makefile ] || exit 0; \
4070 r=`${PWD_COMMAND}`; export r; \
4071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4072 $(HOST_EXPORTS) \
4073 for flag in $(EXTRA_HOST_FLAGS) ; do \
4074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4075 done; \
4076 echo "Doing html in automake" ; \
4077 (cd $(HOST_SUBDIR)/automake && \
4078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4080 "RANLIB=$${RANLIB}" \
4081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4082 html) \
4083 || exit 1
4085 @endif automake
4087 .PHONY: maybe-TAGS-automake TAGS-automake
4088 maybe-TAGS-automake:
4089 @if automake
4090 maybe-TAGS-automake: TAGS-automake
4092 TAGS-automake: \
4093 configure-automake
4094 @: $(MAKE); $(unstage)
4095 @[ -f ./automake/Makefile ] || exit 0; \
4096 r=`${PWD_COMMAND}`; export r; \
4097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4098 $(HOST_EXPORTS) \
4099 for flag in $(EXTRA_HOST_FLAGS) ; do \
4100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4101 done; \
4102 echo "Doing TAGS in automake" ; \
4103 (cd $(HOST_SUBDIR)/automake && \
4104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4106 "RANLIB=$${RANLIB}" \
4107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4108 TAGS) \
4109 || exit 1
4111 @endif automake
4113 .PHONY: maybe-install-info-automake install-info-automake
4114 maybe-install-info-automake:
4115 @if automake
4116 maybe-install-info-automake: install-info-automake
4118 install-info-automake: \
4119 configure-automake \
4120 info-automake
4121 @: $(MAKE); $(unstage)
4122 @[ -f ./automake/Makefile ] || exit 0; \
4123 r=`${PWD_COMMAND}`; export r; \
4124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4125 $(HOST_EXPORTS) \
4126 for flag in $(EXTRA_HOST_FLAGS) ; do \
4127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4128 done; \
4129 echo "Doing install-info in automake" ; \
4130 (cd $(HOST_SUBDIR)/automake && \
4131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4133 "RANLIB=$${RANLIB}" \
4134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4135 install-info) \
4136 || exit 1
4138 @endif automake
4140 .PHONY: maybe-install-pdf-automake install-pdf-automake
4141 maybe-install-pdf-automake:
4142 @if automake
4143 maybe-install-pdf-automake: install-pdf-automake
4145 install-pdf-automake: \
4146 configure-automake \
4147 pdf-automake
4148 @: $(MAKE); $(unstage)
4149 @[ -f ./automake/Makefile ] || exit 0; \
4150 r=`${PWD_COMMAND}`; export r; \
4151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4152 $(HOST_EXPORTS) \
4153 for flag in $(EXTRA_HOST_FLAGS) ; do \
4154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4155 done; \
4156 echo "Doing install-pdf in automake" ; \
4157 (cd $(HOST_SUBDIR)/automake && \
4158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4160 "RANLIB=$${RANLIB}" \
4161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4162 install-pdf) \
4163 || exit 1
4165 @endif automake
4167 .PHONY: maybe-install-html-automake install-html-automake
4168 maybe-install-html-automake:
4169 @if automake
4170 maybe-install-html-automake: install-html-automake
4172 install-html-automake: \
4173 configure-automake \
4174 html-automake
4175 @: $(MAKE); $(unstage)
4176 @[ -f ./automake/Makefile ] || exit 0; \
4177 r=`${PWD_COMMAND}`; export r; \
4178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4179 $(HOST_EXPORTS) \
4180 for flag in $(EXTRA_HOST_FLAGS) ; do \
4181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4182 done; \
4183 echo "Doing install-html in automake" ; \
4184 (cd $(HOST_SUBDIR)/automake && \
4185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4187 "RANLIB=$${RANLIB}" \
4188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4189 install-html) \
4190 || exit 1
4192 @endif automake
4194 .PHONY: maybe-installcheck-automake installcheck-automake
4195 maybe-installcheck-automake:
4196 @if automake
4197 maybe-installcheck-automake: installcheck-automake
4199 installcheck-automake: \
4200 configure-automake
4201 @: $(MAKE); $(unstage)
4202 @[ -f ./automake/Makefile ] || exit 0; \
4203 r=`${PWD_COMMAND}`; export r; \
4204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4205 $(HOST_EXPORTS) \
4206 for flag in $(EXTRA_HOST_FLAGS) ; do \
4207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4208 done; \
4209 echo "Doing installcheck in automake" ; \
4210 (cd $(HOST_SUBDIR)/automake && \
4211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4213 "RANLIB=$${RANLIB}" \
4214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4215 installcheck) \
4216 || exit 1
4218 @endif automake
4220 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4221 maybe-mostlyclean-automake:
4222 @if automake
4223 maybe-mostlyclean-automake: mostlyclean-automake
4225 mostlyclean-automake:
4226 @: $(MAKE); $(unstage)
4227 @[ -f ./automake/Makefile ] || exit 0; \
4228 r=`${PWD_COMMAND}`; export r; \
4229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4230 $(HOST_EXPORTS) \
4231 for flag in $(EXTRA_HOST_FLAGS) ; do \
4232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4233 done; \
4234 echo "Doing mostlyclean in automake" ; \
4235 (cd $(HOST_SUBDIR)/automake && \
4236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4238 "RANLIB=$${RANLIB}" \
4239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4240 mostlyclean) \
4241 || exit 1
4243 @endif automake
4245 .PHONY: maybe-clean-automake clean-automake
4246 maybe-clean-automake:
4247 @if automake
4248 maybe-clean-automake: clean-automake
4250 clean-automake:
4251 @: $(MAKE); $(unstage)
4252 @[ -f ./automake/Makefile ] || exit 0; \
4253 r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 $(HOST_EXPORTS) \
4256 for flag in $(EXTRA_HOST_FLAGS) ; do \
4257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4258 done; \
4259 echo "Doing clean in automake" ; \
4260 (cd $(HOST_SUBDIR)/automake && \
4261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4263 "RANLIB=$${RANLIB}" \
4264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4265 clean) \
4266 || exit 1
4268 @endif automake
4270 .PHONY: maybe-distclean-automake distclean-automake
4271 maybe-distclean-automake:
4272 @if automake
4273 maybe-distclean-automake: distclean-automake
4275 distclean-automake:
4276 @: $(MAKE); $(unstage)
4277 @[ -f ./automake/Makefile ] || exit 0; \
4278 r=`${PWD_COMMAND}`; export r; \
4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4280 $(HOST_EXPORTS) \
4281 for flag in $(EXTRA_HOST_FLAGS) ; do \
4282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4283 done; \
4284 echo "Doing distclean in automake" ; \
4285 (cd $(HOST_SUBDIR)/automake && \
4286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4288 "RANLIB=$${RANLIB}" \
4289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4290 distclean) \
4291 || exit 1
4293 @endif automake
4295 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4296 maybe-maintainer-clean-automake:
4297 @if automake
4298 maybe-maintainer-clean-automake: maintainer-clean-automake
4300 maintainer-clean-automake:
4301 @: $(MAKE); $(unstage)
4302 @[ -f ./automake/Makefile ] || exit 0; \
4303 r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 $(HOST_EXPORTS) \
4306 for flag in $(EXTRA_HOST_FLAGS) ; do \
4307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4308 done; \
4309 echo "Doing maintainer-clean in automake" ; \
4310 (cd $(HOST_SUBDIR)/automake && \
4311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4313 "RANLIB=$${RANLIB}" \
4314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4315 maintainer-clean) \
4316 || exit 1
4318 @endif automake
4322 .PHONY: configure-bash maybe-configure-bash
4323 maybe-configure-bash:
4324 @if gcc-bootstrap
4325 configure-bash: stage_current
4326 @endif gcc-bootstrap
4327 @if bash
4328 maybe-configure-bash: configure-bash
4329 configure-bash:
4330 @: $(MAKE); $(unstage)
4331 @r=`${PWD_COMMAND}`; export r; \
4332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4333 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4335 $(HOST_EXPORTS) \
4336 echo Configuring in $(HOST_SUBDIR)/bash; \
4337 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4338 case $(srcdir) in \
4339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4340 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4342 esac; \
4343 srcdiroption="--srcdir=$${topdir}/bash"; \
4344 libsrcdir="$$s/bash"; \
4345 $(SHELL) $${libsrcdir}/configure \
4346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4347 --target=${target_alias} $${srcdiroption} \
4348 || exit 1
4349 @endif bash
4355 .PHONY: all-bash maybe-all-bash
4356 maybe-all-bash:
4357 @if gcc-bootstrap
4358 all-bash: stage_current
4359 @endif gcc-bootstrap
4360 @if bash
4361 TARGET-bash=all
4362 maybe-all-bash: all-bash
4363 all-bash: configure-bash
4364 @: $(MAKE); $(unstage)
4365 @r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4367 $(HOST_EXPORTS) \
4368 (cd $(HOST_SUBDIR)/bash && \
4369 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4370 @endif bash
4375 .PHONY: check-bash maybe-check-bash
4376 maybe-check-bash:
4377 @if bash
4378 maybe-check-bash: check-bash
4380 check-bash:
4381 @: $(MAKE); $(unstage)
4382 @r=`${PWD_COMMAND}`; export r; \
4383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4384 $(HOST_EXPORTS) \
4385 (cd $(HOST_SUBDIR)/bash && \
4386 $(MAKE) $(FLAGS_TO_PASS) check)
4388 @endif bash
4390 .PHONY: install-bash maybe-install-bash
4391 maybe-install-bash:
4392 @if bash
4393 maybe-install-bash: install-bash
4395 install-bash: installdirs
4396 @: $(MAKE); $(unstage)
4397 @r=`${PWD_COMMAND}`; export r; \
4398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4399 $(HOST_EXPORTS) \
4400 (cd $(HOST_SUBDIR)/bash && \
4401 $(MAKE) $(FLAGS_TO_PASS) install)
4403 @endif bash
4405 # Other targets (info, dvi, pdf, etc.)
4407 .PHONY: maybe-info-bash info-bash
4408 maybe-info-bash:
4409 @if bash
4410 maybe-info-bash: info-bash
4412 info-bash: \
4413 configure-bash
4414 @: $(MAKE); $(unstage)
4415 @[ -f ./bash/Makefile ] || exit 0; \
4416 r=`${PWD_COMMAND}`; export r; \
4417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4418 $(HOST_EXPORTS) \
4419 for flag in $(EXTRA_HOST_FLAGS) ; do \
4420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4421 done; \
4422 echo "Doing info in bash" ; \
4423 (cd $(HOST_SUBDIR)/bash && \
4424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4426 "RANLIB=$${RANLIB}" \
4427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4428 info) \
4429 || exit 1
4431 @endif bash
4433 .PHONY: maybe-dvi-bash dvi-bash
4434 maybe-dvi-bash:
4435 @if bash
4436 maybe-dvi-bash: dvi-bash
4438 dvi-bash: \
4439 configure-bash
4440 @: $(MAKE); $(unstage)
4441 @[ -f ./bash/Makefile ] || exit 0; \
4442 r=`${PWD_COMMAND}`; export r; \
4443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4444 $(HOST_EXPORTS) \
4445 for flag in $(EXTRA_HOST_FLAGS) ; do \
4446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4447 done; \
4448 echo "Doing dvi in bash" ; \
4449 (cd $(HOST_SUBDIR)/bash && \
4450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4452 "RANLIB=$${RANLIB}" \
4453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4454 dvi) \
4455 || exit 1
4457 @endif bash
4459 .PHONY: maybe-pdf-bash pdf-bash
4460 maybe-pdf-bash:
4461 @if bash
4462 maybe-pdf-bash: pdf-bash
4464 pdf-bash: \
4465 configure-bash
4466 @: $(MAKE); $(unstage)
4467 @[ -f ./bash/Makefile ] || exit 0; \
4468 r=`${PWD_COMMAND}`; export r; \
4469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4470 $(HOST_EXPORTS) \
4471 for flag in $(EXTRA_HOST_FLAGS) ; do \
4472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4473 done; \
4474 echo "Doing pdf in bash" ; \
4475 (cd $(HOST_SUBDIR)/bash && \
4476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4478 "RANLIB=$${RANLIB}" \
4479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4480 pdf) \
4481 || exit 1
4483 @endif bash
4485 .PHONY: maybe-html-bash html-bash
4486 maybe-html-bash:
4487 @if bash
4488 maybe-html-bash: html-bash
4490 html-bash: \
4491 configure-bash
4492 @: $(MAKE); $(unstage)
4493 @[ -f ./bash/Makefile ] || exit 0; \
4494 r=`${PWD_COMMAND}`; export r; \
4495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4496 $(HOST_EXPORTS) \
4497 for flag in $(EXTRA_HOST_FLAGS) ; do \
4498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4499 done; \
4500 echo "Doing html in bash" ; \
4501 (cd $(HOST_SUBDIR)/bash && \
4502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4504 "RANLIB=$${RANLIB}" \
4505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4506 html) \
4507 || exit 1
4509 @endif bash
4511 .PHONY: maybe-TAGS-bash TAGS-bash
4512 maybe-TAGS-bash:
4513 @if bash
4514 maybe-TAGS-bash: TAGS-bash
4516 TAGS-bash: \
4517 configure-bash
4518 @: $(MAKE); $(unstage)
4519 @[ -f ./bash/Makefile ] || exit 0; \
4520 r=`${PWD_COMMAND}`; export r; \
4521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4522 $(HOST_EXPORTS) \
4523 for flag in $(EXTRA_HOST_FLAGS) ; do \
4524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4525 done; \
4526 echo "Doing TAGS in bash" ; \
4527 (cd $(HOST_SUBDIR)/bash && \
4528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4530 "RANLIB=$${RANLIB}" \
4531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4532 TAGS) \
4533 || exit 1
4535 @endif bash
4537 .PHONY: maybe-install-info-bash install-info-bash
4538 maybe-install-info-bash:
4539 @if bash
4540 maybe-install-info-bash: install-info-bash
4542 install-info-bash: \
4543 configure-bash \
4544 info-bash
4545 @: $(MAKE); $(unstage)
4546 @[ -f ./bash/Makefile ] || exit 0; \
4547 r=`${PWD_COMMAND}`; export r; \
4548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4549 $(HOST_EXPORTS) \
4550 for flag in $(EXTRA_HOST_FLAGS) ; do \
4551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4552 done; \
4553 echo "Doing install-info in bash" ; \
4554 (cd $(HOST_SUBDIR)/bash && \
4555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4557 "RANLIB=$${RANLIB}" \
4558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4559 install-info) \
4560 || exit 1
4562 @endif bash
4564 .PHONY: maybe-install-pdf-bash install-pdf-bash
4565 maybe-install-pdf-bash:
4566 @if bash
4567 maybe-install-pdf-bash: install-pdf-bash
4569 install-pdf-bash: \
4570 configure-bash \
4571 pdf-bash
4572 @: $(MAKE); $(unstage)
4573 @[ -f ./bash/Makefile ] || exit 0; \
4574 r=`${PWD_COMMAND}`; export r; \
4575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4576 $(HOST_EXPORTS) \
4577 for flag in $(EXTRA_HOST_FLAGS) ; do \
4578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4579 done; \
4580 echo "Doing install-pdf in bash" ; \
4581 (cd $(HOST_SUBDIR)/bash && \
4582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4584 "RANLIB=$${RANLIB}" \
4585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4586 install-pdf) \
4587 || exit 1
4589 @endif bash
4591 .PHONY: maybe-install-html-bash install-html-bash
4592 maybe-install-html-bash:
4593 @if bash
4594 maybe-install-html-bash: install-html-bash
4596 install-html-bash: \
4597 configure-bash \
4598 html-bash
4599 @: $(MAKE); $(unstage)
4600 @[ -f ./bash/Makefile ] || exit 0; \
4601 r=`${PWD_COMMAND}`; export r; \
4602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4603 $(HOST_EXPORTS) \
4604 for flag in $(EXTRA_HOST_FLAGS) ; do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing install-html in bash" ; \
4608 (cd $(HOST_SUBDIR)/bash && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4613 install-html) \
4614 || exit 1
4616 @endif bash
4618 .PHONY: maybe-installcheck-bash installcheck-bash
4619 maybe-installcheck-bash:
4620 @if bash
4621 maybe-installcheck-bash: installcheck-bash
4623 installcheck-bash: \
4624 configure-bash
4625 @: $(MAKE); $(unstage)
4626 @[ -f ./bash/Makefile ] || exit 0; \
4627 r=`${PWD_COMMAND}`; export r; \
4628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4629 $(HOST_EXPORTS) \
4630 for flag in $(EXTRA_HOST_FLAGS) ; do \
4631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4632 done; \
4633 echo "Doing installcheck in bash" ; \
4634 (cd $(HOST_SUBDIR)/bash && \
4635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4637 "RANLIB=$${RANLIB}" \
4638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4639 installcheck) \
4640 || exit 1
4642 @endif bash
4644 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4645 maybe-mostlyclean-bash:
4646 @if bash
4647 maybe-mostlyclean-bash: mostlyclean-bash
4649 mostlyclean-bash:
4650 @: $(MAKE); $(unstage)
4651 @[ -f ./bash/Makefile ] || exit 0; \
4652 r=`${PWD_COMMAND}`; export r; \
4653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4654 $(HOST_EXPORTS) \
4655 for flag in $(EXTRA_HOST_FLAGS) ; do \
4656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4657 done; \
4658 echo "Doing mostlyclean in bash" ; \
4659 (cd $(HOST_SUBDIR)/bash && \
4660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4662 "RANLIB=$${RANLIB}" \
4663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4664 mostlyclean) \
4665 || exit 1
4667 @endif bash
4669 .PHONY: maybe-clean-bash clean-bash
4670 maybe-clean-bash:
4671 @if bash
4672 maybe-clean-bash: clean-bash
4674 clean-bash:
4675 @: $(MAKE); $(unstage)
4676 @[ -f ./bash/Makefile ] || exit 0; \
4677 r=`${PWD_COMMAND}`; export r; \
4678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4679 $(HOST_EXPORTS) \
4680 for flag in $(EXTRA_HOST_FLAGS) ; do \
4681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4682 done; \
4683 echo "Doing clean in bash" ; \
4684 (cd $(HOST_SUBDIR)/bash && \
4685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4687 "RANLIB=$${RANLIB}" \
4688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4689 clean) \
4690 || exit 1
4692 @endif bash
4694 .PHONY: maybe-distclean-bash distclean-bash
4695 maybe-distclean-bash:
4696 @if bash
4697 maybe-distclean-bash: distclean-bash
4699 distclean-bash:
4700 @: $(MAKE); $(unstage)
4701 @[ -f ./bash/Makefile ] || exit 0; \
4702 r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4704 $(HOST_EXPORTS) \
4705 for flag in $(EXTRA_HOST_FLAGS) ; do \
4706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4707 done; \
4708 echo "Doing distclean in bash" ; \
4709 (cd $(HOST_SUBDIR)/bash && \
4710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4712 "RANLIB=$${RANLIB}" \
4713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4714 distclean) \
4715 || exit 1
4717 @endif bash
4719 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4720 maybe-maintainer-clean-bash:
4721 @if bash
4722 maybe-maintainer-clean-bash: maintainer-clean-bash
4724 maintainer-clean-bash:
4725 @: $(MAKE); $(unstage)
4726 @[ -f ./bash/Makefile ] || exit 0; \
4727 r=`${PWD_COMMAND}`; export r; \
4728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4729 $(HOST_EXPORTS) \
4730 for flag in $(EXTRA_HOST_FLAGS) ; do \
4731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4732 done; \
4733 echo "Doing maintainer-clean in bash" ; \
4734 (cd $(HOST_SUBDIR)/bash && \
4735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4737 "RANLIB=$${RANLIB}" \
4738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4739 maintainer-clean) \
4740 || exit 1
4742 @endif bash
4746 .PHONY: configure-bfd maybe-configure-bfd
4747 maybe-configure-bfd:
4748 @if gcc-bootstrap
4749 configure-bfd: stage_current
4750 @endif gcc-bootstrap
4751 @if bfd
4752 maybe-configure-bfd: configure-bfd
4753 configure-bfd:
4754 @r=`${PWD_COMMAND}`; export r; \
4755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4756 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4758 $(HOST_EXPORTS) \
4759 echo Configuring in $(HOST_SUBDIR)/bfd; \
4760 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4761 case $(srcdir) in \
4762 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4763 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4764 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4765 esac; \
4766 srcdiroption="--srcdir=$${topdir}/bfd"; \
4767 libsrcdir="$$s/bfd"; \
4768 $(SHELL) $${libsrcdir}/configure \
4769 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4770 --target=${target_alias} $${srcdiroption} \
4771 || exit 1
4772 @endif bfd
4776 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4777 maybe-configure-stage1-bfd:
4778 @if bfd-bootstrap
4779 maybe-configure-stage1-bfd: configure-stage1-bfd
4780 configure-stage1-bfd:
4781 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4783 @r=`${PWD_COMMAND}`; export r; \
4784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4785 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4786 $(HOST_EXPORTS) \
4787 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4789 cd $(HOST_SUBDIR)/bfd || exit 1; \
4790 case $(srcdir) in \
4791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4792 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4794 esac; \
4795 srcdiroption="--srcdir=$${topdir}/bfd"; \
4796 libsrcdir="$$s/bfd"; \
4797 $(SHELL) $${libsrcdir}/configure \
4798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4799 --target=${target_alias} $${srcdiroption} \
4801 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4802 @endif bfd-bootstrap
4804 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4805 maybe-configure-stage2-bfd:
4806 @if bfd-bootstrap
4807 maybe-configure-stage2-bfd: configure-stage2-bfd
4808 configure-stage2-bfd:
4809 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4810 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4811 @r=`${PWD_COMMAND}`; export r; \
4812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4813 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4814 $(HOST_EXPORTS) \
4815 $(POSTSTAGE1_HOST_EXPORTS) \
4816 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4817 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4818 cd $(HOST_SUBDIR)/bfd || exit 1; \
4819 case $(srcdir) in \
4820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4821 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4823 esac; \
4824 srcdiroption="--srcdir=$${topdir}/bfd"; \
4825 libsrcdir="$$s/bfd"; \
4826 $(SHELL) $${libsrcdir}/configure \
4827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4828 --target=${target_alias} $${srcdiroption} \
4829 --with-build-libsubdir=$(HOST_SUBDIR) \
4830 @stage2_werror_flag@
4831 @endif bfd-bootstrap
4833 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4834 maybe-configure-stage3-bfd:
4835 @if bfd-bootstrap
4836 maybe-configure-stage3-bfd: configure-stage3-bfd
4837 configure-stage3-bfd:
4838 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4839 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4840 @r=`${PWD_COMMAND}`; export r; \
4841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4842 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4843 $(HOST_EXPORTS) \
4844 $(POSTSTAGE1_HOST_EXPORTS) \
4845 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4847 cd $(HOST_SUBDIR)/bfd || exit 1; \
4848 case $(srcdir) in \
4849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4850 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4852 esac; \
4853 srcdiroption="--srcdir=$${topdir}/bfd"; \
4854 libsrcdir="$$s/bfd"; \
4855 $(SHELL) $${libsrcdir}/configure \
4856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4857 --target=${target_alias} $${srcdiroption} \
4858 --with-build-libsubdir=$(HOST_SUBDIR) \
4859 @stage2_werror_flag@
4860 @endif bfd-bootstrap
4862 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4863 maybe-configure-stage4-bfd:
4864 @if bfd-bootstrap
4865 maybe-configure-stage4-bfd: configure-stage4-bfd
4866 configure-stage4-bfd:
4867 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4868 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4869 @r=`${PWD_COMMAND}`; export r; \
4870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4871 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4872 $(HOST_EXPORTS) \
4873 $(POSTSTAGE1_HOST_EXPORTS) \
4874 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4876 cd $(HOST_SUBDIR)/bfd || exit 1; \
4877 case $(srcdir) in \
4878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4879 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4881 esac; \
4882 srcdiroption="--srcdir=$${topdir}/bfd"; \
4883 libsrcdir="$$s/bfd"; \
4884 $(SHELL) $${libsrcdir}/configure \
4885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4886 --target=${target_alias} $${srcdiroption} \
4887 --with-build-libsubdir=$(HOST_SUBDIR) \
4888 @stage2_werror_flag@
4889 @endif bfd-bootstrap
4891 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4892 maybe-configure-stageprofile-bfd:
4893 @if bfd-bootstrap
4894 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4895 configure-stageprofile-bfd:
4896 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4898 @r=`${PWD_COMMAND}`; export r; \
4899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4900 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4901 $(HOST_EXPORTS) \
4902 $(POSTSTAGE1_HOST_EXPORTS) \
4903 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4905 cd $(HOST_SUBDIR)/bfd || exit 1; \
4906 case $(srcdir) in \
4907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4908 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4910 esac; \
4911 srcdiroption="--srcdir=$${topdir}/bfd"; \
4912 libsrcdir="$$s/bfd"; \
4913 $(SHELL) $${libsrcdir}/configure \
4914 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4915 --target=${target_alias} $${srcdiroption} \
4916 --with-build-libsubdir=$(HOST_SUBDIR) \
4917 @stage2_werror_flag@
4918 @endif bfd-bootstrap
4920 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4921 maybe-configure-stagefeedback-bfd:
4922 @if bfd-bootstrap
4923 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4924 configure-stagefeedback-bfd:
4925 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4926 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4927 @r=`${PWD_COMMAND}`; export r; \
4928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4929 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4930 $(HOST_EXPORTS) \
4931 $(POSTSTAGE1_HOST_EXPORTS) \
4932 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4934 cd $(HOST_SUBDIR)/bfd || exit 1; \
4935 case $(srcdir) in \
4936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4937 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4939 esac; \
4940 srcdiroption="--srcdir=$${topdir}/bfd"; \
4941 libsrcdir="$$s/bfd"; \
4942 $(SHELL) $${libsrcdir}/configure \
4943 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4944 --target=${target_alias} $${srcdiroption} \
4945 --with-build-libsubdir=$(HOST_SUBDIR) \
4946 @stage2_werror_flag@
4947 @endif bfd-bootstrap
4953 .PHONY: all-bfd maybe-all-bfd
4954 maybe-all-bfd:
4955 @if gcc-bootstrap
4956 all-bfd: stage_current
4957 @endif gcc-bootstrap
4958 @if bfd
4959 TARGET-bfd=all
4960 maybe-all-bfd: all-bfd
4961 all-bfd: configure-bfd
4962 @r=`${PWD_COMMAND}`; export r; \
4963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4964 $(HOST_EXPORTS) \
4965 (cd $(HOST_SUBDIR)/bfd && \
4966 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4967 @endif bfd
4971 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4972 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4973 maybe-all-stage1-bfd:
4974 maybe-clean-stage1-bfd:
4975 @if bfd-bootstrap
4976 maybe-all-stage1-bfd: all-stage1-bfd
4977 all-stage1: all-stage1-bfd
4978 TARGET-stage1-bfd = $(TARGET-bfd)
4979 all-stage1-bfd: configure-stage1-bfd
4980 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4981 @r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983 $(HOST_EXPORTS) \
4984 cd $(HOST_SUBDIR)/bfd && \
4985 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4986 $(TARGET-stage1-bfd)
4988 maybe-clean-stage1-bfd: clean-stage1-bfd
4989 clean-stage1: clean-stage1-bfd
4990 clean-stage1-bfd:
4991 @if [ $(current_stage) = stage1 ]; then \
4992 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4993 else \
4994 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4995 $(MAKE) stage1-start; \
4996 fi; \
4997 cd $(HOST_SUBDIR)/bfd && \
4998 $(MAKE) $(FLAGS_TO_PASS) \
4999 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5000 @endif bfd-bootstrap
5003 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
5004 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
5005 maybe-all-stage2-bfd:
5006 maybe-clean-stage2-bfd:
5007 @if bfd-bootstrap
5008 maybe-all-stage2-bfd: all-stage2-bfd
5009 all-stage2: all-stage2-bfd
5010 TARGET-stage2-bfd = $(TARGET-bfd)
5011 all-stage2-bfd: configure-stage2-bfd
5012 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5013 @r=`${PWD_COMMAND}`; export r; \
5014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5015 $(HOST_EXPORTS) \
5016 $(POSTSTAGE1_HOST_EXPORTS) \
5017 cd $(HOST_SUBDIR)/bfd && \
5018 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5019 $(TARGET-stage2-bfd)
5021 maybe-clean-stage2-bfd: clean-stage2-bfd
5022 clean-stage2: clean-stage2-bfd
5023 clean-stage2-bfd:
5024 @if [ $(current_stage) = stage2 ]; then \
5025 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5026 else \
5027 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
5028 $(MAKE) stage2-start; \
5029 fi; \
5030 cd $(HOST_SUBDIR)/bfd && \
5031 $(MAKE) $(FLAGS_TO_PASS) \
5032 $(POSTSTAGE1_FLAGS_TO_PASS) \
5033 clean
5034 @endif bfd-bootstrap
5037 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
5038 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
5039 maybe-all-stage3-bfd:
5040 maybe-clean-stage3-bfd:
5041 @if bfd-bootstrap
5042 maybe-all-stage3-bfd: all-stage3-bfd
5043 all-stage3: all-stage3-bfd
5044 TARGET-stage3-bfd = $(TARGET-bfd)
5045 all-stage3-bfd: configure-stage3-bfd
5046 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5047 @r=`${PWD_COMMAND}`; export r; \
5048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 $(HOST_EXPORTS) \
5050 $(POSTSTAGE1_HOST_EXPORTS) \
5051 cd $(HOST_SUBDIR)/bfd && \
5052 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5053 $(TARGET-stage3-bfd)
5055 maybe-clean-stage3-bfd: clean-stage3-bfd
5056 clean-stage3: clean-stage3-bfd
5057 clean-stage3-bfd:
5058 @if [ $(current_stage) = stage3 ]; then \
5059 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5060 else \
5061 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
5062 $(MAKE) stage3-start; \
5063 fi; \
5064 cd $(HOST_SUBDIR)/bfd && \
5065 $(MAKE) $(FLAGS_TO_PASS) \
5066 $(POSTSTAGE1_FLAGS_TO_PASS) \
5067 clean
5068 @endif bfd-bootstrap
5071 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
5072 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
5073 maybe-all-stage4-bfd:
5074 maybe-clean-stage4-bfd:
5075 @if bfd-bootstrap
5076 maybe-all-stage4-bfd: all-stage4-bfd
5077 all-stage4: all-stage4-bfd
5078 TARGET-stage4-bfd = $(TARGET-bfd)
5079 all-stage4-bfd: configure-stage4-bfd
5080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5081 @r=`${PWD_COMMAND}`; export r; \
5082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5083 $(HOST_EXPORTS) \
5084 $(POSTSTAGE1_HOST_EXPORTS) \
5085 cd $(HOST_SUBDIR)/bfd && \
5086 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5087 $(TARGET-stage4-bfd)
5089 maybe-clean-stage4-bfd: clean-stage4-bfd
5090 clean-stage4: clean-stage4-bfd
5091 clean-stage4-bfd:
5092 @if [ $(current_stage) = stage4 ]; then \
5093 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5094 else \
5095 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
5096 $(MAKE) stage4-start; \
5097 fi; \
5098 cd $(HOST_SUBDIR)/bfd && \
5099 $(MAKE) $(FLAGS_TO_PASS) \
5100 $(POSTSTAGE1_FLAGS_TO_PASS) \
5101 clean
5102 @endif bfd-bootstrap
5105 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
5106 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
5107 maybe-all-stageprofile-bfd:
5108 maybe-clean-stageprofile-bfd:
5109 @if bfd-bootstrap
5110 maybe-all-stageprofile-bfd: all-stageprofile-bfd
5111 all-stageprofile: all-stageprofile-bfd
5112 TARGET-stageprofile-bfd = $(TARGET-bfd)
5113 all-stageprofile-bfd: configure-stageprofile-bfd
5114 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5115 @r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5117 $(HOST_EXPORTS) \
5118 $(POSTSTAGE1_HOST_EXPORTS) \
5119 cd $(HOST_SUBDIR)/bfd && \
5120 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5121 $(TARGET-stageprofile-bfd)
5123 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
5124 clean-stageprofile: clean-stageprofile-bfd
5125 clean-stageprofile-bfd:
5126 @if [ $(current_stage) = stageprofile ]; then \
5127 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5128 else \
5129 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
5130 $(MAKE) stageprofile-start; \
5131 fi; \
5132 cd $(HOST_SUBDIR)/bfd && \
5133 $(MAKE) $(FLAGS_TO_PASS) \
5134 $(POSTSTAGE1_FLAGS_TO_PASS) \
5135 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5136 @endif bfd-bootstrap
5139 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
5140 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
5141 maybe-all-stagefeedback-bfd:
5142 maybe-clean-stagefeedback-bfd:
5143 @if bfd-bootstrap
5144 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
5145 all-stagefeedback: all-stagefeedback-bfd
5146 TARGET-stagefeedback-bfd = $(TARGET-bfd)
5147 all-stagefeedback-bfd: configure-stagefeedback-bfd
5148 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5149 @r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(HOST_EXPORTS) \
5152 $(POSTSTAGE1_HOST_EXPORTS) \
5153 cd $(HOST_SUBDIR)/bfd && \
5154 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5155 $(TARGET-stagefeedback-bfd)
5157 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
5158 clean-stagefeedback: clean-stagefeedback-bfd
5159 clean-stagefeedback-bfd:
5160 @if [ $(current_stage) = stagefeedback ]; then \
5161 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
5162 else \
5163 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
5164 $(MAKE) stagefeedback-start; \
5165 fi; \
5166 cd $(HOST_SUBDIR)/bfd && \
5167 $(MAKE) $(FLAGS_TO_PASS) \
5168 $(POSTSTAGE1_FLAGS_TO_PASS) \
5169 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5170 @endif bfd-bootstrap
5176 .PHONY: check-bfd maybe-check-bfd
5177 maybe-check-bfd:
5178 @if bfd
5179 maybe-check-bfd: check-bfd
5181 check-bfd:
5182 @: $(MAKE); $(unstage)
5183 @r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185 $(HOST_EXPORTS) \
5186 (cd $(HOST_SUBDIR)/bfd && \
5187 $(MAKE) $(FLAGS_TO_PASS) check)
5189 @endif bfd
5191 .PHONY: install-bfd maybe-install-bfd
5192 maybe-install-bfd:
5193 @if bfd
5194 maybe-install-bfd: install-bfd
5196 install-bfd: installdirs
5197 @: $(MAKE); $(unstage)
5198 @r=`${PWD_COMMAND}`; export r; \
5199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 $(HOST_EXPORTS) \
5201 (cd $(HOST_SUBDIR)/bfd && \
5202 $(MAKE) $(FLAGS_TO_PASS) install)
5204 @endif bfd
5206 # Other targets (info, dvi, pdf, etc.)
5208 .PHONY: maybe-info-bfd info-bfd
5209 maybe-info-bfd:
5210 @if bfd
5211 maybe-info-bfd: info-bfd
5213 info-bfd: \
5214 configure-bfd
5215 @[ -f ./bfd/Makefile ] || exit 0; \
5216 r=`${PWD_COMMAND}`; export r; \
5217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5218 $(HOST_EXPORTS) \
5219 for flag in $(EXTRA_HOST_FLAGS) ; do \
5220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5221 done; \
5222 echo "Doing info in bfd" ; \
5223 (cd $(HOST_SUBDIR)/bfd && \
5224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5226 "RANLIB=$${RANLIB}" \
5227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5228 info) \
5229 || exit 1
5231 @endif bfd
5233 .PHONY: maybe-dvi-bfd dvi-bfd
5234 maybe-dvi-bfd:
5235 @if bfd
5236 maybe-dvi-bfd: dvi-bfd
5238 dvi-bfd: \
5239 configure-bfd
5240 @[ -f ./bfd/Makefile ] || exit 0; \
5241 r=`${PWD_COMMAND}`; export r; \
5242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5243 $(HOST_EXPORTS) \
5244 for flag in $(EXTRA_HOST_FLAGS) ; do \
5245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5246 done; \
5247 echo "Doing dvi in bfd" ; \
5248 (cd $(HOST_SUBDIR)/bfd && \
5249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5251 "RANLIB=$${RANLIB}" \
5252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5253 dvi) \
5254 || exit 1
5256 @endif bfd
5258 .PHONY: maybe-pdf-bfd pdf-bfd
5259 maybe-pdf-bfd:
5260 @if bfd
5261 maybe-pdf-bfd: pdf-bfd
5263 pdf-bfd: \
5264 configure-bfd
5265 @[ -f ./bfd/Makefile ] || exit 0; \
5266 r=`${PWD_COMMAND}`; export r; \
5267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5268 $(HOST_EXPORTS) \
5269 for flag in $(EXTRA_HOST_FLAGS) ; do \
5270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5271 done; \
5272 echo "Doing pdf in bfd" ; \
5273 (cd $(HOST_SUBDIR)/bfd && \
5274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5276 "RANLIB=$${RANLIB}" \
5277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5278 pdf) \
5279 || exit 1
5281 @endif bfd
5283 .PHONY: maybe-html-bfd html-bfd
5284 maybe-html-bfd:
5285 @if bfd
5286 maybe-html-bfd: html-bfd
5288 html-bfd: \
5289 configure-bfd
5290 @[ -f ./bfd/Makefile ] || exit 0; \
5291 r=`${PWD_COMMAND}`; export r; \
5292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5293 $(HOST_EXPORTS) \
5294 for flag in $(EXTRA_HOST_FLAGS) ; do \
5295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5296 done; \
5297 echo "Doing html in bfd" ; \
5298 (cd $(HOST_SUBDIR)/bfd && \
5299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5301 "RANLIB=$${RANLIB}" \
5302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5303 html) \
5304 || exit 1
5306 @endif bfd
5308 .PHONY: maybe-TAGS-bfd TAGS-bfd
5309 maybe-TAGS-bfd:
5310 @if bfd
5311 maybe-TAGS-bfd: TAGS-bfd
5313 TAGS-bfd: \
5314 configure-bfd
5315 @[ -f ./bfd/Makefile ] || exit 0; \
5316 r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5318 $(HOST_EXPORTS) \
5319 for flag in $(EXTRA_HOST_FLAGS) ; do \
5320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5321 done; \
5322 echo "Doing TAGS in bfd" ; \
5323 (cd $(HOST_SUBDIR)/bfd && \
5324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5326 "RANLIB=$${RANLIB}" \
5327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5328 TAGS) \
5329 || exit 1
5331 @endif bfd
5333 .PHONY: maybe-install-info-bfd install-info-bfd
5334 maybe-install-info-bfd:
5335 @if bfd
5336 maybe-install-info-bfd: install-info-bfd
5338 install-info-bfd: \
5339 configure-bfd \
5340 info-bfd
5341 @[ -f ./bfd/Makefile ] || exit 0; \
5342 r=`${PWD_COMMAND}`; export r; \
5343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5344 $(HOST_EXPORTS) \
5345 for flag in $(EXTRA_HOST_FLAGS) ; do \
5346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5347 done; \
5348 echo "Doing install-info in bfd" ; \
5349 (cd $(HOST_SUBDIR)/bfd && \
5350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5352 "RANLIB=$${RANLIB}" \
5353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5354 install-info) \
5355 || exit 1
5357 @endif bfd
5359 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
5360 maybe-install-pdf-bfd:
5361 @if bfd
5362 maybe-install-pdf-bfd: install-pdf-bfd
5364 install-pdf-bfd: \
5365 configure-bfd \
5366 pdf-bfd
5367 @[ -f ./bfd/Makefile ] || exit 0; \
5368 r=`${PWD_COMMAND}`; export r; \
5369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5370 $(HOST_EXPORTS) \
5371 for flag in $(EXTRA_HOST_FLAGS) ; do \
5372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5373 done; \
5374 echo "Doing install-pdf in bfd" ; \
5375 (cd $(HOST_SUBDIR)/bfd && \
5376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5378 "RANLIB=$${RANLIB}" \
5379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5380 install-pdf) \
5381 || exit 1
5383 @endif bfd
5385 .PHONY: maybe-install-html-bfd install-html-bfd
5386 maybe-install-html-bfd:
5387 @if bfd
5388 maybe-install-html-bfd: install-html-bfd
5390 install-html-bfd: \
5391 configure-bfd \
5392 html-bfd
5393 @[ -f ./bfd/Makefile ] || exit 0; \
5394 r=`${PWD_COMMAND}`; export r; \
5395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5396 $(HOST_EXPORTS) \
5397 for flag in $(EXTRA_HOST_FLAGS) ; do \
5398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5399 done; \
5400 echo "Doing install-html in bfd" ; \
5401 (cd $(HOST_SUBDIR)/bfd && \
5402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5404 "RANLIB=$${RANLIB}" \
5405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5406 install-html) \
5407 || exit 1
5409 @endif bfd
5411 .PHONY: maybe-installcheck-bfd installcheck-bfd
5412 maybe-installcheck-bfd:
5413 @if bfd
5414 maybe-installcheck-bfd: installcheck-bfd
5416 installcheck-bfd: \
5417 configure-bfd
5418 @[ -f ./bfd/Makefile ] || exit 0; \
5419 r=`${PWD_COMMAND}`; export r; \
5420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5421 $(HOST_EXPORTS) \
5422 for flag in $(EXTRA_HOST_FLAGS) ; do \
5423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5424 done; \
5425 echo "Doing installcheck in bfd" ; \
5426 (cd $(HOST_SUBDIR)/bfd && \
5427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5429 "RANLIB=$${RANLIB}" \
5430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5431 installcheck) \
5432 || exit 1
5434 @endif bfd
5436 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5437 maybe-mostlyclean-bfd:
5438 @if bfd
5439 maybe-mostlyclean-bfd: mostlyclean-bfd
5441 mostlyclean-bfd:
5442 @[ -f ./bfd/Makefile ] || exit 0; \
5443 r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5445 $(HOST_EXPORTS) \
5446 for flag in $(EXTRA_HOST_FLAGS) ; do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448 done; \
5449 echo "Doing mostlyclean in bfd" ; \
5450 (cd $(HOST_SUBDIR)/bfd && \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5455 mostlyclean) \
5456 || exit 1
5458 @endif bfd
5460 .PHONY: maybe-clean-bfd clean-bfd
5461 maybe-clean-bfd:
5462 @if bfd
5463 maybe-clean-bfd: clean-bfd
5465 clean-bfd:
5466 @[ -f ./bfd/Makefile ] || exit 0; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 $(HOST_EXPORTS) \
5470 for flag in $(EXTRA_HOST_FLAGS) ; do \
5471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5472 done; \
5473 echo "Doing clean in bfd" ; \
5474 (cd $(HOST_SUBDIR)/bfd && \
5475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5477 "RANLIB=$${RANLIB}" \
5478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5479 clean) \
5480 || exit 1
5482 @endif bfd
5484 .PHONY: maybe-distclean-bfd distclean-bfd
5485 maybe-distclean-bfd:
5486 @if bfd
5487 maybe-distclean-bfd: distclean-bfd
5489 distclean-bfd:
5490 @[ -f ./bfd/Makefile ] || exit 0; \
5491 r=`${PWD_COMMAND}`; export r; \
5492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5493 $(HOST_EXPORTS) \
5494 for flag in $(EXTRA_HOST_FLAGS) ; do \
5495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5496 done; \
5497 echo "Doing distclean in bfd" ; \
5498 (cd $(HOST_SUBDIR)/bfd && \
5499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5501 "RANLIB=$${RANLIB}" \
5502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5503 distclean) \
5504 || exit 1
5506 @endif bfd
5508 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5509 maybe-maintainer-clean-bfd:
5510 @if bfd
5511 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5513 maintainer-clean-bfd:
5514 @[ -f ./bfd/Makefile ] || exit 0; \
5515 r=`${PWD_COMMAND}`; export r; \
5516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5517 $(HOST_EXPORTS) \
5518 for flag in $(EXTRA_HOST_FLAGS) ; do \
5519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5520 done; \
5521 echo "Doing maintainer-clean in bfd" ; \
5522 (cd $(HOST_SUBDIR)/bfd && \
5523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5525 "RANLIB=$${RANLIB}" \
5526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5527 maintainer-clean) \
5528 || exit 1
5530 @endif bfd
5534 .PHONY: configure-opcodes maybe-configure-opcodes
5535 maybe-configure-opcodes:
5536 @if gcc-bootstrap
5537 configure-opcodes: stage_current
5538 @endif gcc-bootstrap
5539 @if opcodes
5540 maybe-configure-opcodes: configure-opcodes
5541 configure-opcodes:
5542 @r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5546 $(HOST_EXPORTS) \
5547 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5548 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5549 case $(srcdir) in \
5550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5551 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5553 esac; \
5554 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5555 libsrcdir="$$s/opcodes"; \
5556 $(SHELL) $${libsrcdir}/configure \
5557 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5558 --target=${target_alias} $${srcdiroption} \
5559 || exit 1
5560 @endif opcodes
5564 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5565 maybe-configure-stage1-opcodes:
5566 @if opcodes-bootstrap
5567 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5568 configure-stage1-opcodes:
5569 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5570 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5571 @r=`${PWD_COMMAND}`; export r; \
5572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5574 $(HOST_EXPORTS) \
5575 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5576 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5577 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5578 case $(srcdir) in \
5579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5580 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5582 esac; \
5583 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5584 libsrcdir="$$s/opcodes"; \
5585 $(SHELL) $${libsrcdir}/configure \
5586 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5587 --target=${target_alias} $${srcdiroption} \
5589 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5590 @endif opcodes-bootstrap
5592 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5593 maybe-configure-stage2-opcodes:
5594 @if opcodes-bootstrap
5595 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5596 configure-stage2-opcodes:
5597 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5598 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5599 @r=`${PWD_COMMAND}`; export r; \
5600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5601 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5602 $(HOST_EXPORTS) \
5603 $(POSTSTAGE1_HOST_EXPORTS) \
5604 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5605 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5606 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5607 case $(srcdir) in \
5608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5609 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5611 esac; \
5612 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5613 libsrcdir="$$s/opcodes"; \
5614 $(SHELL) $${libsrcdir}/configure \
5615 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5616 --target=${target_alias} $${srcdiroption} \
5617 --with-build-libsubdir=$(HOST_SUBDIR) \
5618 @stage2_werror_flag@
5619 @endif opcodes-bootstrap
5621 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5622 maybe-configure-stage3-opcodes:
5623 @if opcodes-bootstrap
5624 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5625 configure-stage3-opcodes:
5626 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5627 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5628 @r=`${PWD_COMMAND}`; export r; \
5629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5630 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5631 $(HOST_EXPORTS) \
5632 $(POSTSTAGE1_HOST_EXPORTS) \
5633 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5635 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5636 case $(srcdir) in \
5637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5638 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5640 esac; \
5641 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5642 libsrcdir="$$s/opcodes"; \
5643 $(SHELL) $${libsrcdir}/configure \
5644 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5645 --target=${target_alias} $${srcdiroption} \
5646 --with-build-libsubdir=$(HOST_SUBDIR) \
5647 @stage2_werror_flag@
5648 @endif opcodes-bootstrap
5650 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5651 maybe-configure-stage4-opcodes:
5652 @if opcodes-bootstrap
5653 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5654 configure-stage4-opcodes:
5655 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5656 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5657 @r=`${PWD_COMMAND}`; export r; \
5658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5660 $(HOST_EXPORTS) \
5661 $(POSTSTAGE1_HOST_EXPORTS) \
5662 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5663 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5664 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5665 case $(srcdir) in \
5666 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5667 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5668 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5669 esac; \
5670 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5671 libsrcdir="$$s/opcodes"; \
5672 $(SHELL) $${libsrcdir}/configure \
5673 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5674 --target=${target_alias} $${srcdiroption} \
5675 --with-build-libsubdir=$(HOST_SUBDIR) \
5676 @stage2_werror_flag@
5677 @endif opcodes-bootstrap
5679 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5680 maybe-configure-stageprofile-opcodes:
5681 @if opcodes-bootstrap
5682 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5683 configure-stageprofile-opcodes:
5684 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5685 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5686 @r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5688 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5689 $(HOST_EXPORTS) \
5690 $(POSTSTAGE1_HOST_EXPORTS) \
5691 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5692 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5693 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5694 case $(srcdir) in \
5695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5696 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5698 esac; \
5699 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5700 libsrcdir="$$s/opcodes"; \
5701 $(SHELL) $${libsrcdir}/configure \
5702 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5703 --target=${target_alias} $${srcdiroption} \
5704 --with-build-libsubdir=$(HOST_SUBDIR) \
5705 @stage2_werror_flag@
5706 @endif opcodes-bootstrap
5708 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5709 maybe-configure-stagefeedback-opcodes:
5710 @if opcodes-bootstrap
5711 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5712 configure-stagefeedback-opcodes:
5713 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5714 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5715 @r=`${PWD_COMMAND}`; export r; \
5716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5718 $(HOST_EXPORTS) \
5719 $(POSTSTAGE1_HOST_EXPORTS) \
5720 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5721 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5722 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5723 case $(srcdir) in \
5724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5725 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5727 esac; \
5728 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5729 libsrcdir="$$s/opcodes"; \
5730 $(SHELL) $${libsrcdir}/configure \
5731 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5732 --target=${target_alias} $${srcdiroption} \
5733 --with-build-libsubdir=$(HOST_SUBDIR) \
5734 @stage2_werror_flag@
5735 @endif opcodes-bootstrap
5741 .PHONY: all-opcodes maybe-all-opcodes
5742 maybe-all-opcodes:
5743 @if gcc-bootstrap
5744 all-opcodes: stage_current
5745 @endif gcc-bootstrap
5746 @if opcodes
5747 TARGET-opcodes=all
5748 maybe-all-opcodes: all-opcodes
5749 all-opcodes: configure-opcodes
5750 @r=`${PWD_COMMAND}`; export r; \
5751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5752 $(HOST_EXPORTS) \
5753 (cd $(HOST_SUBDIR)/opcodes && \
5754 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5755 @endif opcodes
5759 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5760 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5761 maybe-all-stage1-opcodes:
5762 maybe-clean-stage1-opcodes:
5763 @if opcodes-bootstrap
5764 maybe-all-stage1-opcodes: all-stage1-opcodes
5765 all-stage1: all-stage1-opcodes
5766 TARGET-stage1-opcodes = $(TARGET-opcodes)
5767 all-stage1-opcodes: configure-stage1-opcodes
5768 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5769 @r=`${PWD_COMMAND}`; export r; \
5770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5771 $(HOST_EXPORTS) \
5772 cd $(HOST_SUBDIR)/opcodes && \
5773 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5774 $(TARGET-stage1-opcodes)
5776 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5777 clean-stage1: clean-stage1-opcodes
5778 clean-stage1-opcodes:
5779 @if [ $(current_stage) = stage1 ]; then \
5780 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5781 else \
5782 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5783 $(MAKE) stage1-start; \
5784 fi; \
5785 cd $(HOST_SUBDIR)/opcodes && \
5786 $(MAKE) $(FLAGS_TO_PASS) \
5787 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5788 @endif opcodes-bootstrap
5791 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5792 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5793 maybe-all-stage2-opcodes:
5794 maybe-clean-stage2-opcodes:
5795 @if opcodes-bootstrap
5796 maybe-all-stage2-opcodes: all-stage2-opcodes
5797 all-stage2: all-stage2-opcodes
5798 TARGET-stage2-opcodes = $(TARGET-opcodes)
5799 all-stage2-opcodes: configure-stage2-opcodes
5800 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5801 @r=`${PWD_COMMAND}`; export r; \
5802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5803 $(HOST_EXPORTS) \
5804 $(POSTSTAGE1_HOST_EXPORTS) \
5805 cd $(HOST_SUBDIR)/opcodes && \
5806 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5807 $(TARGET-stage2-opcodes)
5809 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5810 clean-stage2: clean-stage2-opcodes
5811 clean-stage2-opcodes:
5812 @if [ $(current_stage) = stage2 ]; then \
5813 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5814 else \
5815 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5816 $(MAKE) stage2-start; \
5817 fi; \
5818 cd $(HOST_SUBDIR)/opcodes && \
5819 $(MAKE) $(FLAGS_TO_PASS) \
5820 $(POSTSTAGE1_FLAGS_TO_PASS) \
5821 clean
5822 @endif opcodes-bootstrap
5825 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5826 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5827 maybe-all-stage3-opcodes:
5828 maybe-clean-stage3-opcodes:
5829 @if opcodes-bootstrap
5830 maybe-all-stage3-opcodes: all-stage3-opcodes
5831 all-stage3: all-stage3-opcodes
5832 TARGET-stage3-opcodes = $(TARGET-opcodes)
5833 all-stage3-opcodes: configure-stage3-opcodes
5834 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5835 @r=`${PWD_COMMAND}`; export r; \
5836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5837 $(HOST_EXPORTS) \
5838 $(POSTSTAGE1_HOST_EXPORTS) \
5839 cd $(HOST_SUBDIR)/opcodes && \
5840 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5841 $(TARGET-stage3-opcodes)
5843 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5844 clean-stage3: clean-stage3-opcodes
5845 clean-stage3-opcodes:
5846 @if [ $(current_stage) = stage3 ]; then \
5847 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5848 else \
5849 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5850 $(MAKE) stage3-start; \
5851 fi; \
5852 cd $(HOST_SUBDIR)/opcodes && \
5853 $(MAKE) $(FLAGS_TO_PASS) \
5854 $(POSTSTAGE1_FLAGS_TO_PASS) \
5855 clean
5856 @endif opcodes-bootstrap
5859 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5860 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5861 maybe-all-stage4-opcodes:
5862 maybe-clean-stage4-opcodes:
5863 @if opcodes-bootstrap
5864 maybe-all-stage4-opcodes: all-stage4-opcodes
5865 all-stage4: all-stage4-opcodes
5866 TARGET-stage4-opcodes = $(TARGET-opcodes)
5867 all-stage4-opcodes: configure-stage4-opcodes
5868 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5869 @r=`${PWD_COMMAND}`; export r; \
5870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5871 $(HOST_EXPORTS) \
5872 $(POSTSTAGE1_HOST_EXPORTS) \
5873 cd $(HOST_SUBDIR)/opcodes && \
5874 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5875 $(TARGET-stage4-opcodes)
5877 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5878 clean-stage4: clean-stage4-opcodes
5879 clean-stage4-opcodes:
5880 @if [ $(current_stage) = stage4 ]; then \
5881 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5882 else \
5883 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5884 $(MAKE) stage4-start; \
5885 fi; \
5886 cd $(HOST_SUBDIR)/opcodes && \
5887 $(MAKE) $(FLAGS_TO_PASS) \
5888 $(POSTSTAGE1_FLAGS_TO_PASS) \
5889 clean
5890 @endif opcodes-bootstrap
5893 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5894 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5895 maybe-all-stageprofile-opcodes:
5896 maybe-clean-stageprofile-opcodes:
5897 @if opcodes-bootstrap
5898 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5899 all-stageprofile: all-stageprofile-opcodes
5900 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5901 all-stageprofile-opcodes: configure-stageprofile-opcodes
5902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5903 @r=`${PWD_COMMAND}`; export r; \
5904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5905 $(HOST_EXPORTS) \
5906 $(POSTSTAGE1_HOST_EXPORTS) \
5907 cd $(HOST_SUBDIR)/opcodes && \
5908 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5909 $(TARGET-stageprofile-opcodes)
5911 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5912 clean-stageprofile: clean-stageprofile-opcodes
5913 clean-stageprofile-opcodes:
5914 @if [ $(current_stage) = stageprofile ]; then \
5915 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5916 else \
5917 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5918 $(MAKE) stageprofile-start; \
5919 fi; \
5920 cd $(HOST_SUBDIR)/opcodes && \
5921 $(MAKE) $(FLAGS_TO_PASS) \
5922 $(POSTSTAGE1_FLAGS_TO_PASS) \
5923 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5924 @endif opcodes-bootstrap
5927 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5928 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5929 maybe-all-stagefeedback-opcodes:
5930 maybe-clean-stagefeedback-opcodes:
5931 @if opcodes-bootstrap
5932 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5933 all-stagefeedback: all-stagefeedback-opcodes
5934 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5935 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5936 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5937 @r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939 $(HOST_EXPORTS) \
5940 $(POSTSTAGE1_HOST_EXPORTS) \
5941 cd $(HOST_SUBDIR)/opcodes && \
5942 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5943 $(TARGET-stagefeedback-opcodes)
5945 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5946 clean-stagefeedback: clean-stagefeedback-opcodes
5947 clean-stagefeedback-opcodes:
5948 @if [ $(current_stage) = stagefeedback ]; then \
5949 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5950 else \
5951 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5952 $(MAKE) stagefeedback-start; \
5953 fi; \
5954 cd $(HOST_SUBDIR)/opcodes && \
5955 $(MAKE) $(FLAGS_TO_PASS) \
5956 $(POSTSTAGE1_FLAGS_TO_PASS) \
5957 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5958 @endif opcodes-bootstrap
5964 .PHONY: check-opcodes maybe-check-opcodes
5965 maybe-check-opcodes:
5966 @if opcodes
5967 maybe-check-opcodes: check-opcodes
5969 check-opcodes:
5970 @: $(MAKE); $(unstage)
5971 @r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 $(HOST_EXPORTS) \
5974 (cd $(HOST_SUBDIR)/opcodes && \
5975 $(MAKE) $(FLAGS_TO_PASS) check)
5977 @endif opcodes
5979 .PHONY: install-opcodes maybe-install-opcodes
5980 maybe-install-opcodes:
5981 @if opcodes
5982 maybe-install-opcodes: install-opcodes
5984 install-opcodes: installdirs
5985 @: $(MAKE); $(unstage)
5986 @r=`${PWD_COMMAND}`; export r; \
5987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 $(HOST_EXPORTS) \
5989 (cd $(HOST_SUBDIR)/opcodes && \
5990 $(MAKE) $(FLAGS_TO_PASS) install)
5992 @endif opcodes
5994 # Other targets (info, dvi, pdf, etc.)
5996 .PHONY: maybe-info-opcodes info-opcodes
5997 maybe-info-opcodes:
5998 @if opcodes
5999 maybe-info-opcodes: info-opcodes
6001 info-opcodes: \
6002 configure-opcodes
6003 @[ -f ./opcodes/Makefile ] || exit 0; \
6004 r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006 $(HOST_EXPORTS) \
6007 for flag in $(EXTRA_HOST_FLAGS) ; do \
6008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6009 done; \
6010 echo "Doing info in opcodes" ; \
6011 (cd $(HOST_SUBDIR)/opcodes && \
6012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6014 "RANLIB=$${RANLIB}" \
6015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6016 info) \
6017 || exit 1
6019 @endif opcodes
6021 .PHONY: maybe-dvi-opcodes dvi-opcodes
6022 maybe-dvi-opcodes:
6023 @if opcodes
6024 maybe-dvi-opcodes: dvi-opcodes
6026 dvi-opcodes: \
6027 configure-opcodes
6028 @[ -f ./opcodes/Makefile ] || exit 0; \
6029 r=`${PWD_COMMAND}`; export r; \
6030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6031 $(HOST_EXPORTS) \
6032 for flag in $(EXTRA_HOST_FLAGS) ; do \
6033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6034 done; \
6035 echo "Doing dvi in opcodes" ; \
6036 (cd $(HOST_SUBDIR)/opcodes && \
6037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6039 "RANLIB=$${RANLIB}" \
6040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6041 dvi) \
6042 || exit 1
6044 @endif opcodes
6046 .PHONY: maybe-pdf-opcodes pdf-opcodes
6047 maybe-pdf-opcodes:
6048 @if opcodes
6049 maybe-pdf-opcodes: pdf-opcodes
6051 pdf-opcodes: \
6052 configure-opcodes
6053 @[ -f ./opcodes/Makefile ] || exit 0; \
6054 r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 $(HOST_EXPORTS) \
6057 for flag in $(EXTRA_HOST_FLAGS) ; do \
6058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6059 done; \
6060 echo "Doing pdf in opcodes" ; \
6061 (cd $(HOST_SUBDIR)/opcodes && \
6062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6064 "RANLIB=$${RANLIB}" \
6065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6066 pdf) \
6067 || exit 1
6069 @endif opcodes
6071 .PHONY: maybe-html-opcodes html-opcodes
6072 maybe-html-opcodes:
6073 @if opcodes
6074 maybe-html-opcodes: html-opcodes
6076 html-opcodes: \
6077 configure-opcodes
6078 @[ -f ./opcodes/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(HOST_EXPORTS) \
6082 for flag in $(EXTRA_HOST_FLAGS) ; do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 done; \
6085 echo "Doing html in opcodes" ; \
6086 (cd $(HOST_SUBDIR)/opcodes && \
6087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6089 "RANLIB=$${RANLIB}" \
6090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6091 html) \
6092 || exit 1
6094 @endif opcodes
6096 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
6097 maybe-TAGS-opcodes:
6098 @if opcodes
6099 maybe-TAGS-opcodes: TAGS-opcodes
6101 TAGS-opcodes: \
6102 configure-opcodes
6103 @[ -f ./opcodes/Makefile ] || exit 0; \
6104 r=`${PWD_COMMAND}`; export r; \
6105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6106 $(HOST_EXPORTS) \
6107 for flag in $(EXTRA_HOST_FLAGS) ; do \
6108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6109 done; \
6110 echo "Doing TAGS in opcodes" ; \
6111 (cd $(HOST_SUBDIR)/opcodes && \
6112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6114 "RANLIB=$${RANLIB}" \
6115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6116 TAGS) \
6117 || exit 1
6119 @endif opcodes
6121 .PHONY: maybe-install-info-opcodes install-info-opcodes
6122 maybe-install-info-opcodes:
6123 @if opcodes
6124 maybe-install-info-opcodes: install-info-opcodes
6126 install-info-opcodes: \
6127 configure-opcodes \
6128 info-opcodes
6129 @[ -f ./opcodes/Makefile ] || exit 0; \
6130 r=`${PWD_COMMAND}`; export r; \
6131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6132 $(HOST_EXPORTS) \
6133 for flag in $(EXTRA_HOST_FLAGS) ; do \
6134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6135 done; \
6136 echo "Doing install-info in opcodes" ; \
6137 (cd $(HOST_SUBDIR)/opcodes && \
6138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6140 "RANLIB=$${RANLIB}" \
6141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6142 install-info) \
6143 || exit 1
6145 @endif opcodes
6147 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
6148 maybe-install-pdf-opcodes:
6149 @if opcodes
6150 maybe-install-pdf-opcodes: install-pdf-opcodes
6152 install-pdf-opcodes: \
6153 configure-opcodes \
6154 pdf-opcodes
6155 @[ -f ./opcodes/Makefile ] || exit 0; \
6156 r=`${PWD_COMMAND}`; export r; \
6157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158 $(HOST_EXPORTS) \
6159 for flag in $(EXTRA_HOST_FLAGS) ; do \
6160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6161 done; \
6162 echo "Doing install-pdf in opcodes" ; \
6163 (cd $(HOST_SUBDIR)/opcodes && \
6164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6166 "RANLIB=$${RANLIB}" \
6167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6168 install-pdf) \
6169 || exit 1
6171 @endif opcodes
6173 .PHONY: maybe-install-html-opcodes install-html-opcodes
6174 maybe-install-html-opcodes:
6175 @if opcodes
6176 maybe-install-html-opcodes: install-html-opcodes
6178 install-html-opcodes: \
6179 configure-opcodes \
6180 html-opcodes
6181 @[ -f ./opcodes/Makefile ] || exit 0; \
6182 r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 $(HOST_EXPORTS) \
6185 for flag in $(EXTRA_HOST_FLAGS) ; do \
6186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6187 done; \
6188 echo "Doing install-html in opcodes" ; \
6189 (cd $(HOST_SUBDIR)/opcodes && \
6190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6192 "RANLIB=$${RANLIB}" \
6193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6194 install-html) \
6195 || exit 1
6197 @endif opcodes
6199 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
6200 maybe-installcheck-opcodes:
6201 @if opcodes
6202 maybe-installcheck-opcodes: installcheck-opcodes
6204 installcheck-opcodes: \
6205 configure-opcodes
6206 @[ -f ./opcodes/Makefile ] || exit 0; \
6207 r=`${PWD_COMMAND}`; export r; \
6208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6209 $(HOST_EXPORTS) \
6210 for flag in $(EXTRA_HOST_FLAGS) ; do \
6211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6212 done; \
6213 echo "Doing installcheck in opcodes" ; \
6214 (cd $(HOST_SUBDIR)/opcodes && \
6215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6217 "RANLIB=$${RANLIB}" \
6218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6219 installcheck) \
6220 || exit 1
6222 @endif opcodes
6224 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
6225 maybe-mostlyclean-opcodes:
6226 @if opcodes
6227 maybe-mostlyclean-opcodes: mostlyclean-opcodes
6229 mostlyclean-opcodes:
6230 @[ -f ./opcodes/Makefile ] || exit 0; \
6231 r=`${PWD_COMMAND}`; export r; \
6232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6233 $(HOST_EXPORTS) \
6234 for flag in $(EXTRA_HOST_FLAGS) ; do \
6235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6236 done; \
6237 echo "Doing mostlyclean in opcodes" ; \
6238 (cd $(HOST_SUBDIR)/opcodes && \
6239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6241 "RANLIB=$${RANLIB}" \
6242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6243 mostlyclean) \
6244 || exit 1
6246 @endif opcodes
6248 .PHONY: maybe-clean-opcodes clean-opcodes
6249 maybe-clean-opcodes:
6250 @if opcodes
6251 maybe-clean-opcodes: clean-opcodes
6253 clean-opcodes:
6254 @[ -f ./opcodes/Makefile ] || exit 0; \
6255 r=`${PWD_COMMAND}`; export r; \
6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 $(HOST_EXPORTS) \
6258 for flag in $(EXTRA_HOST_FLAGS) ; do \
6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 done; \
6261 echo "Doing clean in opcodes" ; \
6262 (cd $(HOST_SUBDIR)/opcodes && \
6263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6265 "RANLIB=$${RANLIB}" \
6266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6267 clean) \
6268 || exit 1
6270 @endif opcodes
6272 .PHONY: maybe-distclean-opcodes distclean-opcodes
6273 maybe-distclean-opcodes:
6274 @if opcodes
6275 maybe-distclean-opcodes: distclean-opcodes
6277 distclean-opcodes:
6278 @[ -f ./opcodes/Makefile ] || exit 0; \
6279 r=`${PWD_COMMAND}`; export r; \
6280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6281 $(HOST_EXPORTS) \
6282 for flag in $(EXTRA_HOST_FLAGS) ; do \
6283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6284 done; \
6285 echo "Doing distclean in opcodes" ; \
6286 (cd $(HOST_SUBDIR)/opcodes && \
6287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6289 "RANLIB=$${RANLIB}" \
6290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6291 distclean) \
6292 || exit 1
6294 @endif opcodes
6296 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6297 maybe-maintainer-clean-opcodes:
6298 @if opcodes
6299 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6301 maintainer-clean-opcodes:
6302 @[ -f ./opcodes/Makefile ] || exit 0; \
6303 r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 $(HOST_EXPORTS) \
6306 for flag in $(EXTRA_HOST_FLAGS) ; do \
6307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6308 done; \
6309 echo "Doing maintainer-clean in opcodes" ; \
6310 (cd $(HOST_SUBDIR)/opcodes && \
6311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6313 "RANLIB=$${RANLIB}" \
6314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6315 maintainer-clean) \
6316 || exit 1
6318 @endif opcodes
6322 .PHONY: configure-binutils maybe-configure-binutils
6323 maybe-configure-binutils:
6324 @if gcc-bootstrap
6325 configure-binutils: stage_current
6326 @endif gcc-bootstrap
6327 @if binutils
6328 maybe-configure-binutils: configure-binutils
6329 configure-binutils:
6330 @r=`${PWD_COMMAND}`; export r; \
6331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6332 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6333 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6334 $(HOST_EXPORTS) \
6335 echo Configuring in $(HOST_SUBDIR)/binutils; \
6336 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6337 case $(srcdir) in \
6338 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6339 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6340 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6341 esac; \
6342 srcdiroption="--srcdir=$${topdir}/binutils"; \
6343 libsrcdir="$$s/binutils"; \
6344 $(SHELL) $${libsrcdir}/configure \
6345 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6346 --target=${target_alias} $${srcdiroption} \
6347 || exit 1
6348 @endif binutils
6352 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6353 maybe-configure-stage1-binutils:
6354 @if binutils-bootstrap
6355 maybe-configure-stage1-binutils: configure-stage1-binutils
6356 configure-stage1-binutils:
6357 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6359 @r=`${PWD_COMMAND}`; export r; \
6360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6361 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6362 $(HOST_EXPORTS) \
6363 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6364 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6365 cd $(HOST_SUBDIR)/binutils || exit 1; \
6366 case $(srcdir) in \
6367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6368 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6370 esac; \
6371 srcdiroption="--srcdir=$${topdir}/binutils"; \
6372 libsrcdir="$$s/binutils"; \
6373 $(SHELL) $${libsrcdir}/configure \
6374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6375 --target=${target_alias} $${srcdiroption} \
6377 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6378 @endif binutils-bootstrap
6380 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6381 maybe-configure-stage2-binutils:
6382 @if binutils-bootstrap
6383 maybe-configure-stage2-binutils: configure-stage2-binutils
6384 configure-stage2-binutils:
6385 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6386 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6387 @r=`${PWD_COMMAND}`; export r; \
6388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6389 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6390 $(HOST_EXPORTS) \
6391 $(POSTSTAGE1_HOST_EXPORTS) \
6392 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6394 cd $(HOST_SUBDIR)/binutils || exit 1; \
6395 case $(srcdir) in \
6396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6397 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6399 esac; \
6400 srcdiroption="--srcdir=$${topdir}/binutils"; \
6401 libsrcdir="$$s/binutils"; \
6402 $(SHELL) $${libsrcdir}/configure \
6403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6404 --target=${target_alias} $${srcdiroption} \
6405 --with-build-libsubdir=$(HOST_SUBDIR) \
6406 @stage2_werror_flag@
6407 @endif binutils-bootstrap
6409 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6410 maybe-configure-stage3-binutils:
6411 @if binutils-bootstrap
6412 maybe-configure-stage3-binutils: configure-stage3-binutils
6413 configure-stage3-binutils:
6414 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6415 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6416 @r=`${PWD_COMMAND}`; export r; \
6417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6418 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6419 $(HOST_EXPORTS) \
6420 $(POSTSTAGE1_HOST_EXPORTS) \
6421 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6423 cd $(HOST_SUBDIR)/binutils || exit 1; \
6424 case $(srcdir) in \
6425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6426 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6428 esac; \
6429 srcdiroption="--srcdir=$${topdir}/binutils"; \
6430 libsrcdir="$$s/binutils"; \
6431 $(SHELL) $${libsrcdir}/configure \
6432 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6433 --target=${target_alias} $${srcdiroption} \
6434 --with-build-libsubdir=$(HOST_SUBDIR) \
6435 @stage2_werror_flag@
6436 @endif binutils-bootstrap
6438 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6439 maybe-configure-stage4-binutils:
6440 @if binutils-bootstrap
6441 maybe-configure-stage4-binutils: configure-stage4-binutils
6442 configure-stage4-binutils:
6443 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6444 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6445 @r=`${PWD_COMMAND}`; export r; \
6446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6447 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6448 $(HOST_EXPORTS) \
6449 $(POSTSTAGE1_HOST_EXPORTS) \
6450 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6451 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6452 cd $(HOST_SUBDIR)/binutils || exit 1; \
6453 case $(srcdir) in \
6454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6455 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6457 esac; \
6458 srcdiroption="--srcdir=$${topdir}/binutils"; \
6459 libsrcdir="$$s/binutils"; \
6460 $(SHELL) $${libsrcdir}/configure \
6461 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6462 --target=${target_alias} $${srcdiroption} \
6463 --with-build-libsubdir=$(HOST_SUBDIR) \
6464 @stage2_werror_flag@
6465 @endif binutils-bootstrap
6467 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6468 maybe-configure-stageprofile-binutils:
6469 @if binutils-bootstrap
6470 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6471 configure-stageprofile-binutils:
6472 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6474 @r=`${PWD_COMMAND}`; export r; \
6475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6477 $(HOST_EXPORTS) \
6478 $(POSTSTAGE1_HOST_EXPORTS) \
6479 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6481 cd $(HOST_SUBDIR)/binutils || exit 1; \
6482 case $(srcdir) in \
6483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6484 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6486 esac; \
6487 srcdiroption="--srcdir=$${topdir}/binutils"; \
6488 libsrcdir="$$s/binutils"; \
6489 $(SHELL) $${libsrcdir}/configure \
6490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6491 --target=${target_alias} $${srcdiroption} \
6492 --with-build-libsubdir=$(HOST_SUBDIR) \
6493 @stage2_werror_flag@
6494 @endif binutils-bootstrap
6496 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6497 maybe-configure-stagefeedback-binutils:
6498 @if binutils-bootstrap
6499 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6500 configure-stagefeedback-binutils:
6501 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6503 @r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6506 $(HOST_EXPORTS) \
6507 $(POSTSTAGE1_HOST_EXPORTS) \
6508 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6510 cd $(HOST_SUBDIR)/binutils || exit 1; \
6511 case $(srcdir) in \
6512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6513 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6515 esac; \
6516 srcdiroption="--srcdir=$${topdir}/binutils"; \
6517 libsrcdir="$$s/binutils"; \
6518 $(SHELL) $${libsrcdir}/configure \
6519 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6520 --target=${target_alias} $${srcdiroption} \
6521 --with-build-libsubdir=$(HOST_SUBDIR) \
6522 @stage2_werror_flag@
6523 @endif binutils-bootstrap
6529 .PHONY: all-binutils maybe-all-binutils
6530 maybe-all-binutils:
6531 @if gcc-bootstrap
6532 all-binutils: stage_current
6533 @endif gcc-bootstrap
6534 @if binutils
6535 TARGET-binutils=all
6536 maybe-all-binutils: all-binutils
6537 all-binutils: configure-binutils
6538 @r=`${PWD_COMMAND}`; export r; \
6539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6540 $(HOST_EXPORTS) \
6541 (cd $(HOST_SUBDIR)/binutils && \
6542 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6543 @endif binutils
6547 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6548 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6549 maybe-all-stage1-binutils:
6550 maybe-clean-stage1-binutils:
6551 @if binutils-bootstrap
6552 maybe-all-stage1-binutils: all-stage1-binutils
6553 all-stage1: all-stage1-binutils
6554 TARGET-stage1-binutils = $(TARGET-binutils)
6555 all-stage1-binutils: configure-stage1-binutils
6556 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6557 @r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6559 $(HOST_EXPORTS) \
6560 cd $(HOST_SUBDIR)/binutils && \
6561 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6562 $(TARGET-stage1-binutils)
6564 maybe-clean-stage1-binutils: clean-stage1-binutils
6565 clean-stage1: clean-stage1-binutils
6566 clean-stage1-binutils:
6567 @if [ $(current_stage) = stage1 ]; then \
6568 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6569 else \
6570 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6571 $(MAKE) stage1-start; \
6572 fi; \
6573 cd $(HOST_SUBDIR)/binutils && \
6574 $(MAKE) $(FLAGS_TO_PASS) \
6575 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6576 @endif binutils-bootstrap
6579 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6580 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6581 maybe-all-stage2-binutils:
6582 maybe-clean-stage2-binutils:
6583 @if binutils-bootstrap
6584 maybe-all-stage2-binutils: all-stage2-binutils
6585 all-stage2: all-stage2-binutils
6586 TARGET-stage2-binutils = $(TARGET-binutils)
6587 all-stage2-binutils: configure-stage2-binutils
6588 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6589 @r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 $(HOST_EXPORTS) \
6592 $(POSTSTAGE1_HOST_EXPORTS) \
6593 cd $(HOST_SUBDIR)/binutils && \
6594 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6595 $(TARGET-stage2-binutils)
6597 maybe-clean-stage2-binutils: clean-stage2-binutils
6598 clean-stage2: clean-stage2-binutils
6599 clean-stage2-binutils:
6600 @if [ $(current_stage) = stage2 ]; then \
6601 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6602 else \
6603 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6604 $(MAKE) stage2-start; \
6605 fi; \
6606 cd $(HOST_SUBDIR)/binutils && \
6607 $(MAKE) $(FLAGS_TO_PASS) \
6608 $(POSTSTAGE1_FLAGS_TO_PASS) \
6609 clean
6610 @endif binutils-bootstrap
6613 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6614 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6615 maybe-all-stage3-binutils:
6616 maybe-clean-stage3-binutils:
6617 @if binutils-bootstrap
6618 maybe-all-stage3-binutils: all-stage3-binutils
6619 all-stage3: all-stage3-binutils
6620 TARGET-stage3-binutils = $(TARGET-binutils)
6621 all-stage3-binutils: configure-stage3-binutils
6622 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6623 @r=`${PWD_COMMAND}`; export r; \
6624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6625 $(HOST_EXPORTS) \
6626 $(POSTSTAGE1_HOST_EXPORTS) \
6627 cd $(HOST_SUBDIR)/binutils && \
6628 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6629 $(TARGET-stage3-binutils)
6631 maybe-clean-stage3-binutils: clean-stage3-binutils
6632 clean-stage3: clean-stage3-binutils
6633 clean-stage3-binutils:
6634 @if [ $(current_stage) = stage3 ]; then \
6635 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6636 else \
6637 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6638 $(MAKE) stage3-start; \
6639 fi; \
6640 cd $(HOST_SUBDIR)/binutils && \
6641 $(MAKE) $(FLAGS_TO_PASS) \
6642 $(POSTSTAGE1_FLAGS_TO_PASS) \
6643 clean
6644 @endif binutils-bootstrap
6647 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6648 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6649 maybe-all-stage4-binutils:
6650 maybe-clean-stage4-binutils:
6651 @if binutils-bootstrap
6652 maybe-all-stage4-binutils: all-stage4-binutils
6653 all-stage4: all-stage4-binutils
6654 TARGET-stage4-binutils = $(TARGET-binutils)
6655 all-stage4-binutils: configure-stage4-binutils
6656 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6657 @r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 $(POSTSTAGE1_HOST_EXPORTS) \
6661 cd $(HOST_SUBDIR)/binutils && \
6662 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6663 $(TARGET-stage4-binutils)
6665 maybe-clean-stage4-binutils: clean-stage4-binutils
6666 clean-stage4: clean-stage4-binutils
6667 clean-stage4-binutils:
6668 @if [ $(current_stage) = stage4 ]; then \
6669 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6670 else \
6671 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6672 $(MAKE) stage4-start; \
6673 fi; \
6674 cd $(HOST_SUBDIR)/binutils && \
6675 $(MAKE) $(FLAGS_TO_PASS) \
6676 $(POSTSTAGE1_FLAGS_TO_PASS) \
6677 clean
6678 @endif binutils-bootstrap
6681 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6682 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6683 maybe-all-stageprofile-binutils:
6684 maybe-clean-stageprofile-binutils:
6685 @if binutils-bootstrap
6686 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6687 all-stageprofile: all-stageprofile-binutils
6688 TARGET-stageprofile-binutils = $(TARGET-binutils)
6689 all-stageprofile-binutils: configure-stageprofile-binutils
6690 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6691 @r=`${PWD_COMMAND}`; export r; \
6692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6693 $(HOST_EXPORTS) \
6694 $(POSTSTAGE1_HOST_EXPORTS) \
6695 cd $(HOST_SUBDIR)/binutils && \
6696 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6697 $(TARGET-stageprofile-binutils)
6699 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6700 clean-stageprofile: clean-stageprofile-binutils
6701 clean-stageprofile-binutils:
6702 @if [ $(current_stage) = stageprofile ]; then \
6703 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6704 else \
6705 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6706 $(MAKE) stageprofile-start; \
6707 fi; \
6708 cd $(HOST_SUBDIR)/binutils && \
6709 $(MAKE) $(FLAGS_TO_PASS) \
6710 $(POSTSTAGE1_FLAGS_TO_PASS) \
6711 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6712 @endif binutils-bootstrap
6715 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6716 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6717 maybe-all-stagefeedback-binutils:
6718 maybe-clean-stagefeedback-binutils:
6719 @if binutils-bootstrap
6720 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6721 all-stagefeedback: all-stagefeedback-binutils
6722 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6723 all-stagefeedback-binutils: configure-stagefeedback-binutils
6724 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6725 @r=`${PWD_COMMAND}`; export r; \
6726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6727 $(HOST_EXPORTS) \
6728 $(POSTSTAGE1_HOST_EXPORTS) \
6729 cd $(HOST_SUBDIR)/binutils && \
6730 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6731 $(TARGET-stagefeedback-binutils)
6733 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6734 clean-stagefeedback: clean-stagefeedback-binutils
6735 clean-stagefeedback-binutils:
6736 @if [ $(current_stage) = stagefeedback ]; then \
6737 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6738 else \
6739 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6740 $(MAKE) stagefeedback-start; \
6741 fi; \
6742 cd $(HOST_SUBDIR)/binutils && \
6743 $(MAKE) $(FLAGS_TO_PASS) \
6744 $(POSTSTAGE1_FLAGS_TO_PASS) \
6745 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6746 @endif binutils-bootstrap
6752 .PHONY: check-binutils maybe-check-binutils
6753 maybe-check-binutils:
6754 @if binutils
6755 maybe-check-binutils: check-binutils
6757 check-binutils:
6758 @: $(MAKE); $(unstage)
6759 @r=`${PWD_COMMAND}`; export r; \
6760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6761 $(HOST_EXPORTS) \
6762 (cd $(HOST_SUBDIR)/binutils && \
6763 $(MAKE) $(FLAGS_TO_PASS) check)
6765 @endif binutils
6767 .PHONY: install-binutils maybe-install-binutils
6768 maybe-install-binutils:
6769 @if binutils
6770 maybe-install-binutils: install-binutils
6772 install-binutils: installdirs
6773 @: $(MAKE); $(unstage)
6774 @r=`${PWD_COMMAND}`; export r; \
6775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6776 $(HOST_EXPORTS) \
6777 (cd $(HOST_SUBDIR)/binutils && \
6778 $(MAKE) $(FLAGS_TO_PASS) install)
6780 @endif binutils
6782 # Other targets (info, dvi, pdf, etc.)
6784 .PHONY: maybe-info-binutils info-binutils
6785 maybe-info-binutils:
6786 @if binutils
6787 maybe-info-binutils: info-binutils
6789 info-binutils: \
6790 configure-binutils
6791 @[ -f ./binutils/Makefile ] || exit 0; \
6792 r=`${PWD_COMMAND}`; export r; \
6793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 $(HOST_EXPORTS) \
6795 for flag in $(EXTRA_HOST_FLAGS) ; do \
6796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 done; \
6798 echo "Doing info in binutils" ; \
6799 (cd $(HOST_SUBDIR)/binutils && \
6800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6802 "RANLIB=$${RANLIB}" \
6803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6804 info) \
6805 || exit 1
6807 @endif binutils
6809 .PHONY: maybe-dvi-binutils dvi-binutils
6810 maybe-dvi-binutils:
6811 @if binutils
6812 maybe-dvi-binutils: dvi-binutils
6814 dvi-binutils: \
6815 configure-binutils
6816 @[ -f ./binutils/Makefile ] || exit 0; \
6817 r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 $(HOST_EXPORTS) \
6820 for flag in $(EXTRA_HOST_FLAGS) ; do \
6821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6822 done; \
6823 echo "Doing dvi in binutils" ; \
6824 (cd $(HOST_SUBDIR)/binutils && \
6825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6827 "RANLIB=$${RANLIB}" \
6828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6829 dvi) \
6830 || exit 1
6832 @endif binutils
6834 .PHONY: maybe-pdf-binutils pdf-binutils
6835 maybe-pdf-binutils:
6836 @if binutils
6837 maybe-pdf-binutils: pdf-binutils
6839 pdf-binutils: \
6840 configure-binutils
6841 @[ -f ./binutils/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(HOST_EXPORTS) \
6845 for flag in $(EXTRA_HOST_FLAGS) ; do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847 done; \
6848 echo "Doing pdf in binutils" ; \
6849 (cd $(HOST_SUBDIR)/binutils && \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6854 pdf) \
6855 || exit 1
6857 @endif binutils
6859 .PHONY: maybe-html-binutils html-binutils
6860 maybe-html-binutils:
6861 @if binutils
6862 maybe-html-binutils: html-binutils
6864 html-binutils: \
6865 configure-binutils
6866 @[ -f ./binutils/Makefile ] || exit 0; \
6867 r=`${PWD_COMMAND}`; export r; \
6868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869 $(HOST_EXPORTS) \
6870 for flag in $(EXTRA_HOST_FLAGS) ; do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872 done; \
6873 echo "Doing html in binutils" ; \
6874 (cd $(HOST_SUBDIR)/binutils && \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6879 html) \
6880 || exit 1
6882 @endif binutils
6884 .PHONY: maybe-TAGS-binutils TAGS-binutils
6885 maybe-TAGS-binutils:
6886 @if binutils
6887 maybe-TAGS-binutils: TAGS-binutils
6889 TAGS-binutils: \
6890 configure-binutils
6891 @[ -f ./binutils/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 $(HOST_EXPORTS) \
6895 for flag in $(EXTRA_HOST_FLAGS) ; do \
6896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6897 done; \
6898 echo "Doing TAGS in binutils" ; \
6899 (cd $(HOST_SUBDIR)/binutils && \
6900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6902 "RANLIB=$${RANLIB}" \
6903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6904 TAGS) \
6905 || exit 1
6907 @endif binutils
6909 .PHONY: maybe-install-info-binutils install-info-binutils
6910 maybe-install-info-binutils:
6911 @if binutils
6912 maybe-install-info-binutils: install-info-binutils
6914 install-info-binutils: \
6915 configure-binutils \
6916 info-binutils
6917 @[ -f ./binutils/Makefile ] || exit 0; \
6918 r=`${PWD_COMMAND}`; export r; \
6919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6920 $(HOST_EXPORTS) \
6921 for flag in $(EXTRA_HOST_FLAGS) ; do \
6922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6923 done; \
6924 echo "Doing install-info in binutils" ; \
6925 (cd $(HOST_SUBDIR)/binutils && \
6926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6928 "RANLIB=$${RANLIB}" \
6929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6930 install-info) \
6931 || exit 1
6933 @endif binutils
6935 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
6936 maybe-install-pdf-binutils:
6937 @if binutils
6938 maybe-install-pdf-binutils: install-pdf-binutils
6940 install-pdf-binutils: \
6941 configure-binutils \
6942 pdf-binutils
6943 @[ -f ./binutils/Makefile ] || exit 0; \
6944 r=`${PWD_COMMAND}`; export r; \
6945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6946 $(HOST_EXPORTS) \
6947 for flag in $(EXTRA_HOST_FLAGS) ; do \
6948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6949 done; \
6950 echo "Doing install-pdf in binutils" ; \
6951 (cd $(HOST_SUBDIR)/binutils && \
6952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6954 "RANLIB=$${RANLIB}" \
6955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6956 install-pdf) \
6957 || exit 1
6959 @endif binutils
6961 .PHONY: maybe-install-html-binutils install-html-binutils
6962 maybe-install-html-binutils:
6963 @if binutils
6964 maybe-install-html-binutils: install-html-binutils
6966 install-html-binutils: \
6967 configure-binutils \
6968 html-binutils
6969 @[ -f ./binutils/Makefile ] || exit 0; \
6970 r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(HOST_EXPORTS) \
6973 for flag in $(EXTRA_HOST_FLAGS) ; do \
6974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6975 done; \
6976 echo "Doing install-html in binutils" ; \
6977 (cd $(HOST_SUBDIR)/binutils && \
6978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6980 "RANLIB=$${RANLIB}" \
6981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6982 install-html) \
6983 || exit 1
6985 @endif binutils
6987 .PHONY: maybe-installcheck-binutils installcheck-binutils
6988 maybe-installcheck-binutils:
6989 @if binutils
6990 maybe-installcheck-binutils: installcheck-binutils
6992 installcheck-binutils: \
6993 configure-binutils
6994 @[ -f ./binutils/Makefile ] || exit 0; \
6995 r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 $(HOST_EXPORTS) \
6998 for flag in $(EXTRA_HOST_FLAGS) ; do \
6999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7000 done; \
7001 echo "Doing installcheck in binutils" ; \
7002 (cd $(HOST_SUBDIR)/binutils && \
7003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7005 "RANLIB=$${RANLIB}" \
7006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7007 installcheck) \
7008 || exit 1
7010 @endif binutils
7012 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
7013 maybe-mostlyclean-binutils:
7014 @if binutils
7015 maybe-mostlyclean-binutils: mostlyclean-binutils
7017 mostlyclean-binutils:
7018 @[ -f ./binutils/Makefile ] || exit 0; \
7019 r=`${PWD_COMMAND}`; export r; \
7020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7021 $(HOST_EXPORTS) \
7022 for flag in $(EXTRA_HOST_FLAGS) ; do \
7023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7024 done; \
7025 echo "Doing mostlyclean in binutils" ; \
7026 (cd $(HOST_SUBDIR)/binutils && \
7027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7029 "RANLIB=$${RANLIB}" \
7030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7031 mostlyclean) \
7032 || exit 1
7034 @endif binutils
7036 .PHONY: maybe-clean-binutils clean-binutils
7037 maybe-clean-binutils:
7038 @if binutils
7039 maybe-clean-binutils: clean-binutils
7041 clean-binutils:
7042 @[ -f ./binutils/Makefile ] || exit 0; \
7043 r=`${PWD_COMMAND}`; export r; \
7044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7045 $(HOST_EXPORTS) \
7046 for flag in $(EXTRA_HOST_FLAGS) ; do \
7047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7048 done; \
7049 echo "Doing clean in binutils" ; \
7050 (cd $(HOST_SUBDIR)/binutils && \
7051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7053 "RANLIB=$${RANLIB}" \
7054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7055 clean) \
7056 || exit 1
7058 @endif binutils
7060 .PHONY: maybe-distclean-binutils distclean-binutils
7061 maybe-distclean-binutils:
7062 @if binutils
7063 maybe-distclean-binutils: distclean-binutils
7065 distclean-binutils:
7066 @[ -f ./binutils/Makefile ] || exit 0; \
7067 r=`${PWD_COMMAND}`; export r; \
7068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7069 $(HOST_EXPORTS) \
7070 for flag in $(EXTRA_HOST_FLAGS) ; do \
7071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7072 done; \
7073 echo "Doing distclean in binutils" ; \
7074 (cd $(HOST_SUBDIR)/binutils && \
7075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7077 "RANLIB=$${RANLIB}" \
7078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7079 distclean) \
7080 || exit 1
7082 @endif binutils
7084 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
7085 maybe-maintainer-clean-binutils:
7086 @if binutils
7087 maybe-maintainer-clean-binutils: maintainer-clean-binutils
7089 maintainer-clean-binutils:
7090 @[ -f ./binutils/Makefile ] || exit 0; \
7091 r=`${PWD_COMMAND}`; export r; \
7092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7093 $(HOST_EXPORTS) \
7094 for flag in $(EXTRA_HOST_FLAGS) ; do \
7095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7096 done; \
7097 echo "Doing maintainer-clean in binutils" ; \
7098 (cd $(HOST_SUBDIR)/binutils && \
7099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7101 "RANLIB=$${RANLIB}" \
7102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7103 maintainer-clean) \
7104 || exit 1
7106 @endif binutils
7110 .PHONY: configure-bison maybe-configure-bison
7111 maybe-configure-bison:
7112 @if gcc-bootstrap
7113 configure-bison: stage_current
7114 @endif gcc-bootstrap
7115 @if bison
7116 maybe-configure-bison: configure-bison
7117 configure-bison:
7118 @: $(MAKE); $(unstage)
7119 @r=`${PWD_COMMAND}`; export r; \
7120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
7122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
7123 $(HOST_EXPORTS) \
7124 echo Configuring in $(HOST_SUBDIR)/bison; \
7125 cd "$(HOST_SUBDIR)/bison" || exit 1; \
7126 case $(srcdir) in \
7127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7128 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
7129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7130 esac; \
7131 srcdiroption="--srcdir=$${topdir}/bison"; \
7132 libsrcdir="$$s/bison"; \
7133 $(SHELL) $${libsrcdir}/configure \
7134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7135 --target=${target_alias} $${srcdiroption} \
7136 || exit 1
7137 @endif bison
7143 .PHONY: all-bison maybe-all-bison
7144 maybe-all-bison:
7145 @if gcc-bootstrap
7146 all-bison: stage_current
7147 @endif gcc-bootstrap
7148 @if bison
7149 TARGET-bison=all
7150 maybe-all-bison: all-bison
7151 all-bison: configure-bison
7152 @: $(MAKE); $(unstage)
7153 @r=`${PWD_COMMAND}`; export r; \
7154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7155 $(HOST_EXPORTS) \
7156 (cd $(HOST_SUBDIR)/bison && \
7157 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
7158 @endif bison
7163 .PHONY: check-bison maybe-check-bison
7164 maybe-check-bison:
7165 @if bison
7166 maybe-check-bison: check-bison
7168 # This module is only tested in a native toolchain.
7169 check-bison:
7170 @: $(MAKE); $(unstage)
7171 @if [ '$(host)' = '$(target)' ] ; then \
7172 r=`${PWD_COMMAND}`; export r; \
7173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7174 $(HOST_EXPORTS) \
7175 (cd $(HOST_SUBDIR)/bison && \
7176 $(MAKE) $(FLAGS_TO_PASS) check); \
7179 @endif bison
7181 .PHONY: install-bison maybe-install-bison
7182 maybe-install-bison:
7183 @if bison
7184 maybe-install-bison: install-bison
7186 install-bison: installdirs
7187 @: $(MAKE); $(unstage)
7188 @r=`${PWD_COMMAND}`; export r; \
7189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7190 $(HOST_EXPORTS) \
7191 (cd $(HOST_SUBDIR)/bison && \
7192 $(MAKE) $(FLAGS_TO_PASS) install)
7194 @endif bison
7196 # Other targets (info, dvi, pdf, etc.)
7198 .PHONY: maybe-info-bison info-bison
7199 maybe-info-bison:
7200 @if bison
7201 maybe-info-bison: info-bison
7203 info-bison: \
7204 configure-bison
7205 @: $(MAKE); $(unstage)
7206 @[ -f ./bison/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(HOST_EXPORTS) \
7210 for flag in $(EXTRA_HOST_FLAGS) ; do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 done; \
7213 echo "Doing info in bison" ; \
7214 (cd $(HOST_SUBDIR)/bison && \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7219 info) \
7220 || exit 1
7222 @endif bison
7224 .PHONY: maybe-dvi-bison dvi-bison
7225 maybe-dvi-bison:
7226 @if bison
7227 maybe-dvi-bison: dvi-bison
7229 dvi-bison: \
7230 configure-bison
7231 @: $(MAKE); $(unstage)
7232 @[ -f ./bison/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235 $(HOST_EXPORTS) \
7236 for flag in $(EXTRA_HOST_FLAGS) ; do \
7237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7238 done; \
7239 echo "Doing dvi in bison" ; \
7240 (cd $(HOST_SUBDIR)/bison && \
7241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7243 "RANLIB=$${RANLIB}" \
7244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7245 dvi) \
7246 || exit 1
7248 @endif bison
7250 .PHONY: maybe-pdf-bison pdf-bison
7251 maybe-pdf-bison:
7252 @if bison
7253 maybe-pdf-bison: pdf-bison
7255 pdf-bison: \
7256 configure-bison
7257 @: $(MAKE); $(unstage)
7258 @[ -f ./bison/Makefile ] || exit 0; \
7259 r=`${PWD_COMMAND}`; export r; \
7260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7261 $(HOST_EXPORTS) \
7262 for flag in $(EXTRA_HOST_FLAGS) ; do \
7263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7264 done; \
7265 echo "Doing pdf in bison" ; \
7266 (cd $(HOST_SUBDIR)/bison && \
7267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7269 "RANLIB=$${RANLIB}" \
7270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7271 pdf) \
7272 || exit 1
7274 @endif bison
7276 .PHONY: maybe-html-bison html-bison
7277 maybe-html-bison:
7278 @if bison
7279 maybe-html-bison: html-bison
7281 html-bison: \
7282 configure-bison
7283 @: $(MAKE); $(unstage)
7284 @[ -f ./bison/Makefile ] || exit 0; \
7285 r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing html in bison" ; \
7292 (cd $(HOST_SUBDIR)/bison && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7297 html) \
7298 || exit 1
7300 @endif bison
7302 .PHONY: maybe-TAGS-bison TAGS-bison
7303 maybe-TAGS-bison:
7304 @if bison
7305 maybe-TAGS-bison: TAGS-bison
7307 TAGS-bison: \
7308 configure-bison
7309 @: $(MAKE); $(unstage)
7310 @[ -f ./bison/Makefile ] || exit 0; \
7311 r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 $(HOST_EXPORTS) \
7314 for flag in $(EXTRA_HOST_FLAGS) ; do \
7315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7316 done; \
7317 echo "Doing TAGS in bison" ; \
7318 (cd $(HOST_SUBDIR)/bison && \
7319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7321 "RANLIB=$${RANLIB}" \
7322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7323 TAGS) \
7324 || exit 1
7326 @endif bison
7328 .PHONY: maybe-install-info-bison install-info-bison
7329 maybe-install-info-bison:
7330 @if bison
7331 maybe-install-info-bison: install-info-bison
7333 install-info-bison: \
7334 configure-bison \
7335 info-bison
7336 @: $(MAKE); $(unstage)
7337 @[ -f ./bison/Makefile ] || exit 0; \
7338 r=`${PWD_COMMAND}`; export r; \
7339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7340 $(HOST_EXPORTS) \
7341 for flag in $(EXTRA_HOST_FLAGS) ; do \
7342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7343 done; \
7344 echo "Doing install-info in bison" ; \
7345 (cd $(HOST_SUBDIR)/bison && \
7346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7348 "RANLIB=$${RANLIB}" \
7349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7350 install-info) \
7351 || exit 1
7353 @endif bison
7355 .PHONY: maybe-install-pdf-bison install-pdf-bison
7356 maybe-install-pdf-bison:
7357 @if bison
7358 maybe-install-pdf-bison: install-pdf-bison
7360 install-pdf-bison: \
7361 configure-bison \
7362 pdf-bison
7363 @: $(MAKE); $(unstage)
7364 @[ -f ./bison/Makefile ] || exit 0; \
7365 r=`${PWD_COMMAND}`; export r; \
7366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7367 $(HOST_EXPORTS) \
7368 for flag in $(EXTRA_HOST_FLAGS) ; do \
7369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7370 done; \
7371 echo "Doing install-pdf in bison" ; \
7372 (cd $(HOST_SUBDIR)/bison && \
7373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7375 "RANLIB=$${RANLIB}" \
7376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7377 install-pdf) \
7378 || exit 1
7380 @endif bison
7382 .PHONY: maybe-install-html-bison install-html-bison
7383 maybe-install-html-bison:
7384 @if bison
7385 maybe-install-html-bison: install-html-bison
7387 install-html-bison: \
7388 configure-bison \
7389 html-bison
7390 @: $(MAKE); $(unstage)
7391 @[ -f ./bison/Makefile ] || exit 0; \
7392 r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(HOST_EXPORTS) \
7395 for flag in $(EXTRA_HOST_FLAGS) ; do \
7396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7397 done; \
7398 echo "Doing install-html in bison" ; \
7399 (cd $(HOST_SUBDIR)/bison && \
7400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7402 "RANLIB=$${RANLIB}" \
7403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7404 install-html) \
7405 || exit 1
7407 @endif bison
7409 .PHONY: maybe-installcheck-bison installcheck-bison
7410 maybe-installcheck-bison:
7411 @if bison
7412 maybe-installcheck-bison: installcheck-bison
7414 installcheck-bison: \
7415 configure-bison
7416 @: $(MAKE); $(unstage)
7417 @[ -f ./bison/Makefile ] || exit 0; \
7418 r=`${PWD_COMMAND}`; export r; \
7419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7420 $(HOST_EXPORTS) \
7421 for flag in $(EXTRA_HOST_FLAGS) ; do \
7422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7423 done; \
7424 echo "Doing installcheck in bison" ; \
7425 (cd $(HOST_SUBDIR)/bison && \
7426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7428 "RANLIB=$${RANLIB}" \
7429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7430 installcheck) \
7431 || exit 1
7433 @endif bison
7435 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7436 maybe-mostlyclean-bison:
7437 @if bison
7438 maybe-mostlyclean-bison: mostlyclean-bison
7440 mostlyclean-bison:
7441 @: $(MAKE); $(unstage)
7442 @[ -f ./bison/Makefile ] || exit 0; \
7443 r=`${PWD_COMMAND}`; export r; \
7444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7445 $(HOST_EXPORTS) \
7446 for flag in $(EXTRA_HOST_FLAGS) ; do \
7447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7448 done; \
7449 echo "Doing mostlyclean in bison" ; \
7450 (cd $(HOST_SUBDIR)/bison && \
7451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7453 "RANLIB=$${RANLIB}" \
7454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7455 mostlyclean) \
7456 || exit 1
7458 @endif bison
7460 .PHONY: maybe-clean-bison clean-bison
7461 maybe-clean-bison:
7462 @if bison
7463 maybe-clean-bison: clean-bison
7465 clean-bison:
7466 @: $(MAKE); $(unstage)
7467 @[ -f ./bison/Makefile ] || exit 0; \
7468 r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(HOST_EXPORTS) \
7471 for flag in $(EXTRA_HOST_FLAGS) ; do \
7472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7473 done; \
7474 echo "Doing clean in bison" ; \
7475 (cd $(HOST_SUBDIR)/bison && \
7476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7478 "RANLIB=$${RANLIB}" \
7479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7480 clean) \
7481 || exit 1
7483 @endif bison
7485 .PHONY: maybe-distclean-bison distclean-bison
7486 maybe-distclean-bison:
7487 @if bison
7488 maybe-distclean-bison: distclean-bison
7490 distclean-bison:
7491 @: $(MAKE); $(unstage)
7492 @[ -f ./bison/Makefile ] || exit 0; \
7493 r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 $(HOST_EXPORTS) \
7496 for flag in $(EXTRA_HOST_FLAGS) ; do \
7497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7498 done; \
7499 echo "Doing distclean in bison" ; \
7500 (cd $(HOST_SUBDIR)/bison && \
7501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7503 "RANLIB=$${RANLIB}" \
7504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7505 distclean) \
7506 || exit 1
7508 @endif bison
7510 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7511 maybe-maintainer-clean-bison:
7512 @if bison
7513 maybe-maintainer-clean-bison: maintainer-clean-bison
7515 maintainer-clean-bison:
7516 @: $(MAKE); $(unstage)
7517 @[ -f ./bison/Makefile ] || exit 0; \
7518 r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 $(HOST_EXPORTS) \
7521 for flag in $(EXTRA_HOST_FLAGS) ; do \
7522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7523 done; \
7524 echo "Doing maintainer-clean in bison" ; \
7525 (cd $(HOST_SUBDIR)/bison && \
7526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7528 "RANLIB=$${RANLIB}" \
7529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7530 maintainer-clean) \
7531 || exit 1
7533 @endif bison
7537 .PHONY: configure-byacc maybe-configure-byacc
7538 maybe-configure-byacc:
7539 @if gcc-bootstrap
7540 configure-byacc: stage_current
7541 @endif gcc-bootstrap
7542 @if byacc
7543 maybe-configure-byacc: configure-byacc
7544 configure-byacc:
7545 @: $(MAKE); $(unstage)
7546 @r=`${PWD_COMMAND}`; export r; \
7547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7548 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7549 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7550 $(HOST_EXPORTS) \
7551 echo Configuring in $(HOST_SUBDIR)/byacc; \
7552 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7553 case $(srcdir) in \
7554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7555 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7557 esac; \
7558 srcdiroption="--srcdir=$${topdir}/byacc"; \
7559 libsrcdir="$$s/byacc"; \
7560 $(SHELL) $${libsrcdir}/configure \
7561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7562 --target=${target_alias} $${srcdiroption} \
7563 || exit 1
7564 @endif byacc
7570 .PHONY: all-byacc maybe-all-byacc
7571 maybe-all-byacc:
7572 @if gcc-bootstrap
7573 all-byacc: stage_current
7574 @endif gcc-bootstrap
7575 @if byacc
7576 TARGET-byacc=all
7577 maybe-all-byacc: all-byacc
7578 all-byacc: configure-byacc
7579 @: $(MAKE); $(unstage)
7580 @r=`${PWD_COMMAND}`; export r; \
7581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7582 $(HOST_EXPORTS) \
7583 (cd $(HOST_SUBDIR)/byacc && \
7584 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7585 @endif byacc
7590 .PHONY: check-byacc maybe-check-byacc
7591 maybe-check-byacc:
7592 @if byacc
7593 maybe-check-byacc: check-byacc
7595 # This module is only tested in a native toolchain.
7596 check-byacc:
7597 @: $(MAKE); $(unstage)
7598 @if [ '$(host)' = '$(target)' ] ; then \
7599 r=`${PWD_COMMAND}`; export r; \
7600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 $(HOST_EXPORTS) \
7602 (cd $(HOST_SUBDIR)/byacc && \
7603 $(MAKE) $(FLAGS_TO_PASS) check); \
7606 @endif byacc
7608 .PHONY: install-byacc maybe-install-byacc
7609 maybe-install-byacc:
7610 @if byacc
7611 maybe-install-byacc: install-byacc
7613 install-byacc: installdirs
7614 @: $(MAKE); $(unstage)
7615 @r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 (cd $(HOST_SUBDIR)/byacc && \
7619 $(MAKE) $(FLAGS_TO_PASS) install)
7621 @endif byacc
7623 # Other targets (info, dvi, pdf, etc.)
7625 .PHONY: maybe-info-byacc info-byacc
7626 maybe-info-byacc:
7627 @if byacc
7628 maybe-info-byacc: info-byacc
7630 info-byacc: \
7631 configure-byacc
7632 @: $(MAKE); $(unstage)
7633 @[ -f ./byacc/Makefile ] || exit 0; \
7634 r=`${PWD_COMMAND}`; export r; \
7635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7636 $(HOST_EXPORTS) \
7637 for flag in $(EXTRA_HOST_FLAGS) ; do \
7638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7639 done; \
7640 echo "Doing info in byacc" ; \
7641 (cd $(HOST_SUBDIR)/byacc && \
7642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7644 "RANLIB=$${RANLIB}" \
7645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7646 info) \
7647 || exit 1
7649 @endif byacc
7651 .PHONY: maybe-dvi-byacc dvi-byacc
7652 maybe-dvi-byacc:
7653 @if byacc
7654 maybe-dvi-byacc: dvi-byacc
7656 dvi-byacc: \
7657 configure-byacc
7658 @: $(MAKE); $(unstage)
7659 @[ -f ./byacc/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 dvi in byacc" ; \
7667 (cd $(HOST_SUBDIR)/byacc && \
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}" \
7672 dvi) \
7673 || exit 1
7675 @endif byacc
7677 .PHONY: maybe-pdf-byacc pdf-byacc
7678 maybe-pdf-byacc:
7679 @if byacc
7680 maybe-pdf-byacc: pdf-byacc
7682 pdf-byacc: \
7683 configure-byacc
7684 @: $(MAKE); $(unstage)
7685 @[ -f ./byacc/Makefile ] || exit 0; \
7686 r=`${PWD_COMMAND}`; export r; \
7687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7688 $(HOST_EXPORTS) \
7689 for flag in $(EXTRA_HOST_FLAGS) ; do \
7690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7691 done; \
7692 echo "Doing pdf in byacc" ; \
7693 (cd $(HOST_SUBDIR)/byacc && \
7694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7696 "RANLIB=$${RANLIB}" \
7697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7698 pdf) \
7699 || exit 1
7701 @endif byacc
7703 .PHONY: maybe-html-byacc html-byacc
7704 maybe-html-byacc:
7705 @if byacc
7706 maybe-html-byacc: html-byacc
7708 html-byacc: \
7709 configure-byacc
7710 @: $(MAKE); $(unstage)
7711 @[ -f ./byacc/Makefile ] || exit 0; \
7712 r=`${PWD_COMMAND}`; export r; \
7713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7714 $(HOST_EXPORTS) \
7715 for flag in $(EXTRA_HOST_FLAGS) ; do \
7716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7717 done; \
7718 echo "Doing html in byacc" ; \
7719 (cd $(HOST_SUBDIR)/byacc && \
7720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7722 "RANLIB=$${RANLIB}" \
7723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7724 html) \
7725 || exit 1
7727 @endif byacc
7729 .PHONY: maybe-TAGS-byacc TAGS-byacc
7730 maybe-TAGS-byacc:
7731 @if byacc
7732 maybe-TAGS-byacc: TAGS-byacc
7734 TAGS-byacc: \
7735 configure-byacc
7736 @: $(MAKE); $(unstage)
7737 @[ -f ./byacc/Makefile ] || exit 0; \
7738 r=`${PWD_COMMAND}`; export r; \
7739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7740 $(HOST_EXPORTS) \
7741 for flag in $(EXTRA_HOST_FLAGS) ; do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7743 done; \
7744 echo "Doing TAGS in byacc" ; \
7745 (cd $(HOST_SUBDIR)/byacc && \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7750 TAGS) \
7751 || exit 1
7753 @endif byacc
7755 .PHONY: maybe-install-info-byacc install-info-byacc
7756 maybe-install-info-byacc:
7757 @if byacc
7758 maybe-install-info-byacc: install-info-byacc
7760 install-info-byacc: \
7761 configure-byacc \
7762 info-byacc
7763 @: $(MAKE); $(unstage)
7764 @[ -f ./byacc/Makefile ] || exit 0; \
7765 r=`${PWD_COMMAND}`; export r; \
7766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7767 $(HOST_EXPORTS) \
7768 for flag in $(EXTRA_HOST_FLAGS) ; do \
7769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7770 done; \
7771 echo "Doing install-info in byacc" ; \
7772 (cd $(HOST_SUBDIR)/byacc && \
7773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7775 "RANLIB=$${RANLIB}" \
7776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7777 install-info) \
7778 || exit 1
7780 @endif byacc
7782 .PHONY: maybe-install-pdf-byacc install-pdf-byacc
7783 maybe-install-pdf-byacc:
7784 @if byacc
7785 maybe-install-pdf-byacc: install-pdf-byacc
7787 install-pdf-byacc: \
7788 configure-byacc \
7789 pdf-byacc
7790 @: $(MAKE); $(unstage)
7791 @[ -f ./byacc/Makefile ] || exit 0; \
7792 r=`${PWD_COMMAND}`; export r; \
7793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7794 $(HOST_EXPORTS) \
7795 for flag in $(EXTRA_HOST_FLAGS) ; do \
7796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7797 done; \
7798 echo "Doing install-pdf in byacc" ; \
7799 (cd $(HOST_SUBDIR)/byacc && \
7800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7802 "RANLIB=$${RANLIB}" \
7803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7804 install-pdf) \
7805 || exit 1
7807 @endif byacc
7809 .PHONY: maybe-install-html-byacc install-html-byacc
7810 maybe-install-html-byacc:
7811 @if byacc
7812 maybe-install-html-byacc: install-html-byacc
7814 install-html-byacc: \
7815 configure-byacc \
7816 html-byacc
7817 @: $(MAKE); $(unstage)
7818 @[ -f ./byacc/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(HOST_EXPORTS) \
7822 for flag in $(EXTRA_HOST_FLAGS) ; do \
7823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 done; \
7825 echo "Doing install-html in byacc" ; \
7826 (cd $(HOST_SUBDIR)/byacc && \
7827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7829 "RANLIB=$${RANLIB}" \
7830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7831 install-html) \
7832 || exit 1
7834 @endif byacc
7836 .PHONY: maybe-installcheck-byacc installcheck-byacc
7837 maybe-installcheck-byacc:
7838 @if byacc
7839 maybe-installcheck-byacc: installcheck-byacc
7841 installcheck-byacc: \
7842 configure-byacc
7843 @: $(MAKE); $(unstage)
7844 @[ -f ./byacc/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS) ; do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing installcheck in byacc" ; \
7852 (cd $(HOST_SUBDIR)/byacc && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 installcheck) \
7858 || exit 1
7860 @endif byacc
7862 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7863 maybe-mostlyclean-byacc:
7864 @if byacc
7865 maybe-mostlyclean-byacc: mostlyclean-byacc
7867 mostlyclean-byacc:
7868 @: $(MAKE); $(unstage)
7869 @[ -f ./byacc/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing mostlyclean in byacc" ; \
7877 (cd $(HOST_SUBDIR)/byacc && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 mostlyclean) \
7883 || exit 1
7885 @endif byacc
7887 .PHONY: maybe-clean-byacc clean-byacc
7888 maybe-clean-byacc:
7889 @if byacc
7890 maybe-clean-byacc: clean-byacc
7892 clean-byacc:
7893 @: $(MAKE); $(unstage)
7894 @[ -f ./byacc/Makefile ] || exit 0; \
7895 r=`${PWD_COMMAND}`; export r; \
7896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7897 $(HOST_EXPORTS) \
7898 for flag in $(EXTRA_HOST_FLAGS) ; do \
7899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7900 done; \
7901 echo "Doing clean in byacc" ; \
7902 (cd $(HOST_SUBDIR)/byacc && \
7903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7905 "RANLIB=$${RANLIB}" \
7906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7907 clean) \
7908 || exit 1
7910 @endif byacc
7912 .PHONY: maybe-distclean-byacc distclean-byacc
7913 maybe-distclean-byacc:
7914 @if byacc
7915 maybe-distclean-byacc: distclean-byacc
7917 distclean-byacc:
7918 @: $(MAKE); $(unstage)
7919 @[ -f ./byacc/Makefile ] || exit 0; \
7920 r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 for flag in $(EXTRA_HOST_FLAGS) ; do \
7924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7925 done; \
7926 echo "Doing distclean in byacc" ; \
7927 (cd $(HOST_SUBDIR)/byacc && \
7928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7930 "RANLIB=$${RANLIB}" \
7931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7932 distclean) \
7933 || exit 1
7935 @endif byacc
7937 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7938 maybe-maintainer-clean-byacc:
7939 @if byacc
7940 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7942 maintainer-clean-byacc:
7943 @: $(MAKE); $(unstage)
7944 @[ -f ./byacc/Makefile ] || exit 0; \
7945 r=`${PWD_COMMAND}`; export r; \
7946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7947 $(HOST_EXPORTS) \
7948 for flag in $(EXTRA_HOST_FLAGS) ; do \
7949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7950 done; \
7951 echo "Doing maintainer-clean in byacc" ; \
7952 (cd $(HOST_SUBDIR)/byacc && \
7953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7955 "RANLIB=$${RANLIB}" \
7956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7957 maintainer-clean) \
7958 || exit 1
7960 @endif byacc
7964 .PHONY: configure-bzip2 maybe-configure-bzip2
7965 maybe-configure-bzip2:
7966 @if gcc-bootstrap
7967 configure-bzip2: stage_current
7968 @endif gcc-bootstrap
7969 @if bzip2
7970 maybe-configure-bzip2: configure-bzip2
7971 configure-bzip2:
7972 @: $(MAKE); $(unstage)
7973 @r=`${PWD_COMMAND}`; export r; \
7974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7975 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7977 $(HOST_EXPORTS) \
7978 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7979 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7980 case $(srcdir) in \
7981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7982 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7984 esac; \
7985 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7986 libsrcdir="$$s/bzip2"; \
7987 $(SHELL) $${libsrcdir}/configure \
7988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7989 --target=${target_alias} $${srcdiroption} \
7990 || exit 1
7991 @endif bzip2
7997 .PHONY: all-bzip2 maybe-all-bzip2
7998 maybe-all-bzip2:
7999 @if gcc-bootstrap
8000 all-bzip2: stage_current
8001 @endif gcc-bootstrap
8002 @if bzip2
8003 TARGET-bzip2=all
8004 maybe-all-bzip2: all-bzip2
8005 all-bzip2: configure-bzip2
8006 @: $(MAKE); $(unstage)
8007 @r=`${PWD_COMMAND}`; export r; \
8008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8009 $(HOST_EXPORTS) \
8010 (cd $(HOST_SUBDIR)/bzip2 && \
8011 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
8012 @endif bzip2
8017 .PHONY: check-bzip2 maybe-check-bzip2
8018 maybe-check-bzip2:
8019 @if bzip2
8020 maybe-check-bzip2: check-bzip2
8022 check-bzip2:
8023 @: $(MAKE); $(unstage)
8024 @r=`${PWD_COMMAND}`; export r; \
8025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8026 $(HOST_EXPORTS) \
8027 (cd $(HOST_SUBDIR)/bzip2 && \
8028 $(MAKE) $(FLAGS_TO_PASS) check)
8030 @endif bzip2
8032 .PHONY: install-bzip2 maybe-install-bzip2
8033 maybe-install-bzip2:
8034 @if bzip2
8035 maybe-install-bzip2: install-bzip2
8037 install-bzip2: installdirs
8038 @: $(MAKE); $(unstage)
8039 @r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 (cd $(HOST_SUBDIR)/bzip2 && \
8043 $(MAKE) $(FLAGS_TO_PASS) install)
8045 @endif bzip2
8047 # Other targets (info, dvi, pdf, etc.)
8049 .PHONY: maybe-info-bzip2 info-bzip2
8050 maybe-info-bzip2:
8051 @if bzip2
8052 maybe-info-bzip2: info-bzip2
8054 info-bzip2: \
8055 configure-bzip2
8056 @: $(MAKE); $(unstage)
8057 @[ -f ./bzip2/Makefile ] || exit 0; \
8058 r=`${PWD_COMMAND}`; export r; \
8059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8060 $(HOST_EXPORTS) \
8061 for flag in $(EXTRA_HOST_FLAGS) ; do \
8062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8063 done; \
8064 echo "Doing info in bzip2" ; \
8065 (cd $(HOST_SUBDIR)/bzip2 && \
8066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8068 "RANLIB=$${RANLIB}" \
8069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8070 info) \
8071 || exit 1
8073 @endif bzip2
8075 .PHONY: maybe-dvi-bzip2 dvi-bzip2
8076 maybe-dvi-bzip2:
8077 @if bzip2
8078 maybe-dvi-bzip2: dvi-bzip2
8080 dvi-bzip2: \
8081 configure-bzip2
8082 @: $(MAKE); $(unstage)
8083 @[ -f ./bzip2/Makefile ] || exit 0; \
8084 r=`${PWD_COMMAND}`; export r; \
8085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8086 $(HOST_EXPORTS) \
8087 for flag in $(EXTRA_HOST_FLAGS) ; do \
8088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8089 done; \
8090 echo "Doing dvi in bzip2" ; \
8091 (cd $(HOST_SUBDIR)/bzip2 && \
8092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8094 "RANLIB=$${RANLIB}" \
8095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8096 dvi) \
8097 || exit 1
8099 @endif bzip2
8101 .PHONY: maybe-pdf-bzip2 pdf-bzip2
8102 maybe-pdf-bzip2:
8103 @if bzip2
8104 maybe-pdf-bzip2: pdf-bzip2
8106 pdf-bzip2: \
8107 configure-bzip2
8108 @: $(MAKE); $(unstage)
8109 @[ -f ./bzip2/Makefile ] || exit 0; \
8110 r=`${PWD_COMMAND}`; export r; \
8111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8112 $(HOST_EXPORTS) \
8113 for flag in $(EXTRA_HOST_FLAGS) ; do \
8114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8115 done; \
8116 echo "Doing pdf in bzip2" ; \
8117 (cd $(HOST_SUBDIR)/bzip2 && \
8118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8120 "RANLIB=$${RANLIB}" \
8121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8122 pdf) \
8123 || exit 1
8125 @endif bzip2
8127 .PHONY: maybe-html-bzip2 html-bzip2
8128 maybe-html-bzip2:
8129 @if bzip2
8130 maybe-html-bzip2: html-bzip2
8132 html-bzip2: \
8133 configure-bzip2
8134 @: $(MAKE); $(unstage)
8135 @[ -f ./bzip2/Makefile ] || exit 0; \
8136 r=`${PWD_COMMAND}`; export r; \
8137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8138 $(HOST_EXPORTS) \
8139 for flag in $(EXTRA_HOST_FLAGS) ; do \
8140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8141 done; \
8142 echo "Doing html in bzip2" ; \
8143 (cd $(HOST_SUBDIR)/bzip2 && \
8144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8146 "RANLIB=$${RANLIB}" \
8147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8148 html) \
8149 || exit 1
8151 @endif bzip2
8153 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
8154 maybe-TAGS-bzip2:
8155 @if bzip2
8156 maybe-TAGS-bzip2: TAGS-bzip2
8158 TAGS-bzip2: \
8159 configure-bzip2
8160 @: $(MAKE); $(unstage)
8161 @[ -f ./bzip2/Makefile ] || exit 0; \
8162 r=`${PWD_COMMAND}`; export r; \
8163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8164 $(HOST_EXPORTS) \
8165 for flag in $(EXTRA_HOST_FLAGS) ; do \
8166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8167 done; \
8168 echo "Doing TAGS in bzip2" ; \
8169 (cd $(HOST_SUBDIR)/bzip2 && \
8170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8172 "RANLIB=$${RANLIB}" \
8173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8174 TAGS) \
8175 || exit 1
8177 @endif bzip2
8179 .PHONY: maybe-install-info-bzip2 install-info-bzip2
8180 maybe-install-info-bzip2:
8181 @if bzip2
8182 maybe-install-info-bzip2: install-info-bzip2
8184 install-info-bzip2: \
8185 configure-bzip2 \
8186 info-bzip2
8187 @: $(MAKE); $(unstage)
8188 @[ -f ./bzip2/Makefile ] || exit 0; \
8189 r=`${PWD_COMMAND}`; export r; \
8190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8191 $(HOST_EXPORTS) \
8192 for flag in $(EXTRA_HOST_FLAGS) ; do \
8193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8194 done; \
8195 echo "Doing install-info in bzip2" ; \
8196 (cd $(HOST_SUBDIR)/bzip2 && \
8197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8199 "RANLIB=$${RANLIB}" \
8200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8201 install-info) \
8202 || exit 1
8204 @endif bzip2
8206 .PHONY: maybe-install-pdf-bzip2 install-pdf-bzip2
8207 maybe-install-pdf-bzip2:
8208 @if bzip2
8209 maybe-install-pdf-bzip2: install-pdf-bzip2
8211 install-pdf-bzip2: \
8212 configure-bzip2 \
8213 pdf-bzip2
8214 @: $(MAKE); $(unstage)
8215 @[ -f ./bzip2/Makefile ] || exit 0; \
8216 r=`${PWD_COMMAND}`; export r; \
8217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8218 $(HOST_EXPORTS) \
8219 for flag in $(EXTRA_HOST_FLAGS) ; do \
8220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8221 done; \
8222 echo "Doing install-pdf in bzip2" ; \
8223 (cd $(HOST_SUBDIR)/bzip2 && \
8224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8226 "RANLIB=$${RANLIB}" \
8227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8228 install-pdf) \
8229 || exit 1
8231 @endif bzip2
8233 .PHONY: maybe-install-html-bzip2 install-html-bzip2
8234 maybe-install-html-bzip2:
8235 @if bzip2
8236 maybe-install-html-bzip2: install-html-bzip2
8238 install-html-bzip2: \
8239 configure-bzip2 \
8240 html-bzip2
8241 @: $(MAKE); $(unstage)
8242 @[ -f ./bzip2/Makefile ] || exit 0; \
8243 r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8245 $(HOST_EXPORTS) \
8246 for flag in $(EXTRA_HOST_FLAGS) ; do \
8247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8248 done; \
8249 echo "Doing install-html in bzip2" ; \
8250 (cd $(HOST_SUBDIR)/bzip2 && \
8251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8253 "RANLIB=$${RANLIB}" \
8254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8255 install-html) \
8256 || exit 1
8258 @endif bzip2
8260 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
8261 maybe-installcheck-bzip2:
8262 @if bzip2
8263 maybe-installcheck-bzip2: installcheck-bzip2
8265 installcheck-bzip2: \
8266 configure-bzip2
8267 @: $(MAKE); $(unstage)
8268 @[ -f ./bzip2/Makefile ] || exit 0; \
8269 r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 $(HOST_EXPORTS) \
8272 for flag in $(EXTRA_HOST_FLAGS) ; do \
8273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8274 done; \
8275 echo "Doing installcheck in bzip2" ; \
8276 (cd $(HOST_SUBDIR)/bzip2 && \
8277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8279 "RANLIB=$${RANLIB}" \
8280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8281 installcheck) \
8282 || exit 1
8284 @endif bzip2
8286 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
8287 maybe-mostlyclean-bzip2:
8288 @if bzip2
8289 maybe-mostlyclean-bzip2: mostlyclean-bzip2
8291 mostlyclean-bzip2:
8292 @: $(MAKE); $(unstage)
8293 @[ -f ./bzip2/Makefile ] || exit 0; \
8294 r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(HOST_EXPORTS) \
8297 for flag in $(EXTRA_HOST_FLAGS) ; do \
8298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8299 done; \
8300 echo "Doing mostlyclean in bzip2" ; \
8301 (cd $(HOST_SUBDIR)/bzip2 && \
8302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304 "RANLIB=$${RANLIB}" \
8305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8306 mostlyclean) \
8307 || exit 1
8309 @endif bzip2
8311 .PHONY: maybe-clean-bzip2 clean-bzip2
8312 maybe-clean-bzip2:
8313 @if bzip2
8314 maybe-clean-bzip2: clean-bzip2
8316 clean-bzip2:
8317 @: $(MAKE); $(unstage)
8318 @[ -f ./bzip2/Makefile ] || exit 0; \
8319 r=`${PWD_COMMAND}`; export r; \
8320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8321 $(HOST_EXPORTS) \
8322 for flag in $(EXTRA_HOST_FLAGS) ; do \
8323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8324 done; \
8325 echo "Doing clean in bzip2" ; \
8326 (cd $(HOST_SUBDIR)/bzip2 && \
8327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8329 "RANLIB=$${RANLIB}" \
8330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8331 clean) \
8332 || exit 1
8334 @endif bzip2
8336 .PHONY: maybe-distclean-bzip2 distclean-bzip2
8337 maybe-distclean-bzip2:
8338 @if bzip2
8339 maybe-distclean-bzip2: distclean-bzip2
8341 distclean-bzip2:
8342 @: $(MAKE); $(unstage)
8343 @[ -f ./bzip2/Makefile ] || exit 0; \
8344 r=`${PWD_COMMAND}`; export r; \
8345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8346 $(HOST_EXPORTS) \
8347 for flag in $(EXTRA_HOST_FLAGS) ; do \
8348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8349 done; \
8350 echo "Doing distclean in bzip2" ; \
8351 (cd $(HOST_SUBDIR)/bzip2 && \
8352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8354 "RANLIB=$${RANLIB}" \
8355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8356 distclean) \
8357 || exit 1
8359 @endif bzip2
8361 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
8362 maybe-maintainer-clean-bzip2:
8363 @if bzip2
8364 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
8366 maintainer-clean-bzip2:
8367 @: $(MAKE); $(unstage)
8368 @[ -f ./bzip2/Makefile ] || exit 0; \
8369 r=`${PWD_COMMAND}`; export r; \
8370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 $(HOST_EXPORTS) \
8372 for flag in $(EXTRA_HOST_FLAGS) ; do \
8373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8374 done; \
8375 echo "Doing maintainer-clean in bzip2" ; \
8376 (cd $(HOST_SUBDIR)/bzip2 && \
8377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8379 "RANLIB=$${RANLIB}" \
8380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8381 maintainer-clean) \
8382 || exit 1
8384 @endif bzip2
8388 .PHONY: configure-dejagnu maybe-configure-dejagnu
8389 maybe-configure-dejagnu:
8390 @if gcc-bootstrap
8391 configure-dejagnu: stage_current
8392 @endif gcc-bootstrap
8393 @if dejagnu
8394 maybe-configure-dejagnu: configure-dejagnu
8395 configure-dejagnu:
8396 @: $(MAKE); $(unstage)
8397 @r=`${PWD_COMMAND}`; export r; \
8398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8399 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
8400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
8401 $(HOST_EXPORTS) \
8402 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
8403 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
8404 case $(srcdir) in \
8405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8406 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
8407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8408 esac; \
8409 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
8410 libsrcdir="$$s/dejagnu"; \
8411 $(SHELL) $${libsrcdir}/configure \
8412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8413 --target=${target_alias} $${srcdiroption} \
8414 || exit 1
8415 @endif dejagnu
8421 .PHONY: all-dejagnu maybe-all-dejagnu
8422 maybe-all-dejagnu:
8423 @if gcc-bootstrap
8424 all-dejagnu: stage_current
8425 @endif gcc-bootstrap
8426 @if dejagnu
8427 TARGET-dejagnu=all
8428 maybe-all-dejagnu: all-dejagnu
8429 all-dejagnu: configure-dejagnu
8430 @: $(MAKE); $(unstage)
8431 @r=`${PWD_COMMAND}`; export r; \
8432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8433 $(HOST_EXPORTS) \
8434 (cd $(HOST_SUBDIR)/dejagnu && \
8435 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
8436 @endif dejagnu
8441 .PHONY: check-dejagnu maybe-check-dejagnu
8442 maybe-check-dejagnu:
8443 @if dejagnu
8444 maybe-check-dejagnu: check-dejagnu
8446 check-dejagnu:
8447 @: $(MAKE); $(unstage)
8448 @r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(HOST_EXPORTS) \
8451 (cd $(HOST_SUBDIR)/dejagnu && \
8452 $(MAKE) $(FLAGS_TO_PASS) check)
8454 @endif dejagnu
8456 .PHONY: install-dejagnu maybe-install-dejagnu
8457 maybe-install-dejagnu:
8458 @if dejagnu
8459 maybe-install-dejagnu: install-dejagnu
8461 install-dejagnu: installdirs
8462 @: $(MAKE); $(unstage)
8463 @r=`${PWD_COMMAND}`; export r; \
8464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8465 $(HOST_EXPORTS) \
8466 (cd $(HOST_SUBDIR)/dejagnu && \
8467 $(MAKE) $(FLAGS_TO_PASS) install)
8469 @endif dejagnu
8471 # Other targets (info, dvi, pdf, etc.)
8473 .PHONY: maybe-info-dejagnu info-dejagnu
8474 maybe-info-dejagnu:
8475 @if dejagnu
8476 maybe-info-dejagnu: info-dejagnu
8478 info-dejagnu: \
8479 configure-dejagnu
8480 @: $(MAKE); $(unstage)
8481 @[ -f ./dejagnu/Makefile ] || exit 0; \
8482 r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing info in dejagnu" ; \
8489 (cd $(HOST_SUBDIR)/dejagnu && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8494 info) \
8495 || exit 1
8497 @endif dejagnu
8499 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8500 maybe-dvi-dejagnu:
8501 @if dejagnu
8502 maybe-dvi-dejagnu: dvi-dejagnu
8504 dvi-dejagnu: \
8505 configure-dejagnu
8506 @: $(MAKE); $(unstage)
8507 @[ -f ./dejagnu/Makefile ] || exit 0; \
8508 r=`${PWD_COMMAND}`; export r; \
8509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8510 $(HOST_EXPORTS) \
8511 for flag in $(EXTRA_HOST_FLAGS) ; do \
8512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8513 done; \
8514 echo "Doing dvi in dejagnu" ; \
8515 (cd $(HOST_SUBDIR)/dejagnu && \
8516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8518 "RANLIB=$${RANLIB}" \
8519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8520 dvi) \
8521 || exit 1
8523 @endif dejagnu
8525 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8526 maybe-pdf-dejagnu:
8527 @if dejagnu
8528 maybe-pdf-dejagnu: pdf-dejagnu
8530 pdf-dejagnu: \
8531 configure-dejagnu
8532 @: $(MAKE); $(unstage)
8533 @[ -f ./dejagnu/Makefile ] || exit 0; \
8534 r=`${PWD_COMMAND}`; export r; \
8535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8536 $(HOST_EXPORTS) \
8537 for flag in $(EXTRA_HOST_FLAGS) ; do \
8538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8539 done; \
8540 echo "Doing pdf in dejagnu" ; \
8541 (cd $(HOST_SUBDIR)/dejagnu && \
8542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8544 "RANLIB=$${RANLIB}" \
8545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8546 pdf) \
8547 || exit 1
8549 @endif dejagnu
8551 .PHONY: maybe-html-dejagnu html-dejagnu
8552 maybe-html-dejagnu:
8553 @if dejagnu
8554 maybe-html-dejagnu: html-dejagnu
8556 html-dejagnu: \
8557 configure-dejagnu
8558 @: $(MAKE); $(unstage)
8559 @[ -f ./dejagnu/Makefile ] || exit 0; \
8560 r=`${PWD_COMMAND}`; export r; \
8561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8562 $(HOST_EXPORTS) \
8563 for flag in $(EXTRA_HOST_FLAGS) ; do \
8564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8565 done; \
8566 echo "Doing html in dejagnu" ; \
8567 (cd $(HOST_SUBDIR)/dejagnu && \
8568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8570 "RANLIB=$${RANLIB}" \
8571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8572 html) \
8573 || exit 1
8575 @endif dejagnu
8577 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8578 maybe-TAGS-dejagnu:
8579 @if dejagnu
8580 maybe-TAGS-dejagnu: TAGS-dejagnu
8582 TAGS-dejagnu: \
8583 configure-dejagnu
8584 @: $(MAKE); $(unstage)
8585 @[ -f ./dejagnu/Makefile ] || exit 0; \
8586 r=`${PWD_COMMAND}`; export r; \
8587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8588 $(HOST_EXPORTS) \
8589 for flag in $(EXTRA_HOST_FLAGS) ; do \
8590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8591 done; \
8592 echo "Doing TAGS in dejagnu" ; \
8593 (cd $(HOST_SUBDIR)/dejagnu && \
8594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8596 "RANLIB=$${RANLIB}" \
8597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8598 TAGS) \
8599 || exit 1
8601 @endif dejagnu
8603 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8604 maybe-install-info-dejagnu:
8605 @if dejagnu
8606 maybe-install-info-dejagnu: install-info-dejagnu
8608 install-info-dejagnu: \
8609 configure-dejagnu \
8610 info-dejagnu
8611 @: $(MAKE); $(unstage)
8612 @[ -f ./dejagnu/Makefile ] || exit 0; \
8613 r=`${PWD_COMMAND}`; export r; \
8614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8615 $(HOST_EXPORTS) \
8616 for flag in $(EXTRA_HOST_FLAGS) ; do \
8617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8618 done; \
8619 echo "Doing install-info in dejagnu" ; \
8620 (cd $(HOST_SUBDIR)/dejagnu && \
8621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8623 "RANLIB=$${RANLIB}" \
8624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8625 install-info) \
8626 || exit 1
8628 @endif dejagnu
8630 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
8631 maybe-install-pdf-dejagnu:
8632 @if dejagnu
8633 maybe-install-pdf-dejagnu: install-pdf-dejagnu
8635 install-pdf-dejagnu: \
8636 configure-dejagnu \
8637 pdf-dejagnu
8638 @: $(MAKE); $(unstage)
8639 @[ -f ./dejagnu/Makefile ] || exit 0; \
8640 r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8642 $(HOST_EXPORTS) \
8643 for flag in $(EXTRA_HOST_FLAGS) ; do \
8644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8645 done; \
8646 echo "Doing install-pdf in dejagnu" ; \
8647 (cd $(HOST_SUBDIR)/dejagnu && \
8648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8650 "RANLIB=$${RANLIB}" \
8651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8652 install-pdf) \
8653 || exit 1
8655 @endif dejagnu
8657 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8658 maybe-install-html-dejagnu:
8659 @if dejagnu
8660 maybe-install-html-dejagnu: install-html-dejagnu
8662 install-html-dejagnu: \
8663 configure-dejagnu \
8664 html-dejagnu
8665 @: $(MAKE); $(unstage)
8666 @[ -f ./dejagnu/Makefile ] || exit 0; \
8667 r=`${PWD_COMMAND}`; export r; \
8668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8669 $(HOST_EXPORTS) \
8670 for flag in $(EXTRA_HOST_FLAGS) ; do \
8671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8672 done; \
8673 echo "Doing install-html in dejagnu" ; \
8674 (cd $(HOST_SUBDIR)/dejagnu && \
8675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8677 "RANLIB=$${RANLIB}" \
8678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8679 install-html) \
8680 || exit 1
8682 @endif dejagnu
8684 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8685 maybe-installcheck-dejagnu:
8686 @if dejagnu
8687 maybe-installcheck-dejagnu: installcheck-dejagnu
8689 installcheck-dejagnu: \
8690 configure-dejagnu
8691 @: $(MAKE); $(unstage)
8692 @[ -f ./dejagnu/Makefile ] || exit 0; \
8693 r=`${PWD_COMMAND}`; export r; \
8694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8695 $(HOST_EXPORTS) \
8696 for flag in $(EXTRA_HOST_FLAGS) ; do \
8697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8698 done; \
8699 echo "Doing installcheck in dejagnu" ; \
8700 (cd $(HOST_SUBDIR)/dejagnu && \
8701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8703 "RANLIB=$${RANLIB}" \
8704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8705 installcheck) \
8706 || exit 1
8708 @endif dejagnu
8710 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8711 maybe-mostlyclean-dejagnu:
8712 @if dejagnu
8713 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8715 mostlyclean-dejagnu:
8716 @: $(MAKE); $(unstage)
8717 @[ -f ./dejagnu/Makefile ] || exit 0; \
8718 r=`${PWD_COMMAND}`; export r; \
8719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8720 $(HOST_EXPORTS) \
8721 for flag in $(EXTRA_HOST_FLAGS) ; do \
8722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8723 done; \
8724 echo "Doing mostlyclean in dejagnu" ; \
8725 (cd $(HOST_SUBDIR)/dejagnu && \
8726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8728 "RANLIB=$${RANLIB}" \
8729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8730 mostlyclean) \
8731 || exit 1
8733 @endif dejagnu
8735 .PHONY: maybe-clean-dejagnu clean-dejagnu
8736 maybe-clean-dejagnu:
8737 @if dejagnu
8738 maybe-clean-dejagnu: clean-dejagnu
8740 clean-dejagnu:
8741 @: $(MAKE); $(unstage)
8742 @[ -f ./dejagnu/Makefile ] || exit 0; \
8743 r=`${PWD_COMMAND}`; export r; \
8744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8745 $(HOST_EXPORTS) \
8746 for flag in $(EXTRA_HOST_FLAGS) ; do \
8747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8748 done; \
8749 echo "Doing clean in dejagnu" ; \
8750 (cd $(HOST_SUBDIR)/dejagnu && \
8751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8753 "RANLIB=$${RANLIB}" \
8754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8755 clean) \
8756 || exit 1
8758 @endif dejagnu
8760 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8761 maybe-distclean-dejagnu:
8762 @if dejagnu
8763 maybe-distclean-dejagnu: distclean-dejagnu
8765 distclean-dejagnu:
8766 @: $(MAKE); $(unstage)
8767 @[ -f ./dejagnu/Makefile ] || exit 0; \
8768 r=`${PWD_COMMAND}`; export r; \
8769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8770 $(HOST_EXPORTS) \
8771 for flag in $(EXTRA_HOST_FLAGS) ; do \
8772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8773 done; \
8774 echo "Doing distclean in dejagnu" ; \
8775 (cd $(HOST_SUBDIR)/dejagnu && \
8776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8778 "RANLIB=$${RANLIB}" \
8779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8780 distclean) \
8781 || exit 1
8783 @endif dejagnu
8785 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8786 maybe-maintainer-clean-dejagnu:
8787 @if dejagnu
8788 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8790 maintainer-clean-dejagnu:
8791 @: $(MAKE); $(unstage)
8792 @[ -f ./dejagnu/Makefile ] || exit 0; \
8793 r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 $(HOST_EXPORTS) \
8796 for flag in $(EXTRA_HOST_FLAGS) ; do \
8797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8798 done; \
8799 echo "Doing maintainer-clean in dejagnu" ; \
8800 (cd $(HOST_SUBDIR)/dejagnu && \
8801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8803 "RANLIB=$${RANLIB}" \
8804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8805 maintainer-clean) \
8806 || exit 1
8808 @endif dejagnu
8812 .PHONY: configure-diff maybe-configure-diff
8813 maybe-configure-diff:
8814 @if gcc-bootstrap
8815 configure-diff: stage_current
8816 @endif gcc-bootstrap
8817 @if diff
8818 maybe-configure-diff: configure-diff
8819 configure-diff:
8820 @: $(MAKE); $(unstage)
8821 @r=`${PWD_COMMAND}`; export r; \
8822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8823 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8825 $(HOST_EXPORTS) \
8826 echo Configuring in $(HOST_SUBDIR)/diff; \
8827 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8828 case $(srcdir) in \
8829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8830 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8832 esac; \
8833 srcdiroption="--srcdir=$${topdir}/diff"; \
8834 libsrcdir="$$s/diff"; \
8835 $(SHELL) $${libsrcdir}/configure \
8836 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8837 --target=${target_alias} $${srcdiroption} \
8838 || exit 1
8839 @endif diff
8845 .PHONY: all-diff maybe-all-diff
8846 maybe-all-diff:
8847 @if gcc-bootstrap
8848 all-diff: stage_current
8849 @endif gcc-bootstrap
8850 @if diff
8851 TARGET-diff=all
8852 maybe-all-diff: all-diff
8853 all-diff: configure-diff
8854 @: $(MAKE); $(unstage)
8855 @r=`${PWD_COMMAND}`; export r; \
8856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 $(HOST_EXPORTS) \
8858 (cd $(HOST_SUBDIR)/diff && \
8859 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8860 @endif diff
8865 .PHONY: check-diff maybe-check-diff
8866 maybe-check-diff:
8867 @if diff
8868 maybe-check-diff: check-diff
8870 check-diff:
8871 @: $(MAKE); $(unstage)
8872 @r=`${PWD_COMMAND}`; export r; \
8873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8874 $(HOST_EXPORTS) \
8875 (cd $(HOST_SUBDIR)/diff && \
8876 $(MAKE) $(FLAGS_TO_PASS) check)
8878 @endif diff
8880 .PHONY: install-diff maybe-install-diff
8881 maybe-install-diff:
8882 @if diff
8883 maybe-install-diff: install-diff
8885 install-diff: installdirs
8886 @: $(MAKE); $(unstage)
8887 @r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889 $(HOST_EXPORTS) \
8890 (cd $(HOST_SUBDIR)/diff && \
8891 $(MAKE) $(FLAGS_TO_PASS) install)
8893 @endif diff
8895 # Other targets (info, dvi, pdf, etc.)
8897 .PHONY: maybe-info-diff info-diff
8898 maybe-info-diff:
8899 @if diff
8900 maybe-info-diff: info-diff
8902 info-diff: \
8903 configure-diff
8904 @: $(MAKE); $(unstage)
8905 @[ -f ./diff/Makefile ] || exit 0; \
8906 r=`${PWD_COMMAND}`; export r; \
8907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8908 $(HOST_EXPORTS) \
8909 for flag in $(EXTRA_HOST_FLAGS) ; do \
8910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8911 done; \
8912 echo "Doing info in diff" ; \
8913 (cd $(HOST_SUBDIR)/diff && \
8914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8916 "RANLIB=$${RANLIB}" \
8917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8918 info) \
8919 || exit 1
8921 @endif diff
8923 .PHONY: maybe-dvi-diff dvi-diff
8924 maybe-dvi-diff:
8925 @if diff
8926 maybe-dvi-diff: dvi-diff
8928 dvi-diff: \
8929 configure-diff
8930 @: $(MAKE); $(unstage)
8931 @[ -f ./diff/Makefile ] || exit 0; \
8932 r=`${PWD_COMMAND}`; export r; \
8933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8934 $(HOST_EXPORTS) \
8935 for flag in $(EXTRA_HOST_FLAGS) ; do \
8936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8937 done; \
8938 echo "Doing dvi in diff" ; \
8939 (cd $(HOST_SUBDIR)/diff && \
8940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8942 "RANLIB=$${RANLIB}" \
8943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8944 dvi) \
8945 || exit 1
8947 @endif diff
8949 .PHONY: maybe-pdf-diff pdf-diff
8950 maybe-pdf-diff:
8951 @if diff
8952 maybe-pdf-diff: pdf-diff
8954 pdf-diff: \
8955 configure-diff
8956 @: $(MAKE); $(unstage)
8957 @[ -f ./diff/Makefile ] || exit 0; \
8958 r=`${PWD_COMMAND}`; export r; \
8959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8960 $(HOST_EXPORTS) \
8961 for flag in $(EXTRA_HOST_FLAGS) ; do \
8962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8963 done; \
8964 echo "Doing pdf in diff" ; \
8965 (cd $(HOST_SUBDIR)/diff && \
8966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8968 "RANLIB=$${RANLIB}" \
8969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8970 pdf) \
8971 || exit 1
8973 @endif diff
8975 .PHONY: maybe-html-diff html-diff
8976 maybe-html-diff:
8977 @if diff
8978 maybe-html-diff: html-diff
8980 html-diff: \
8981 configure-diff
8982 @: $(MAKE); $(unstage)
8983 @[ -f ./diff/Makefile ] || exit 0; \
8984 r=`${PWD_COMMAND}`; export r; \
8985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8986 $(HOST_EXPORTS) \
8987 for flag in $(EXTRA_HOST_FLAGS) ; do \
8988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8989 done; \
8990 echo "Doing html in diff" ; \
8991 (cd $(HOST_SUBDIR)/diff && \
8992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8994 "RANLIB=$${RANLIB}" \
8995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8996 html) \
8997 || exit 1
8999 @endif diff
9001 .PHONY: maybe-TAGS-diff TAGS-diff
9002 maybe-TAGS-diff:
9003 @if diff
9004 maybe-TAGS-diff: TAGS-diff
9006 TAGS-diff: \
9007 configure-diff
9008 @: $(MAKE); $(unstage)
9009 @[ -f ./diff/Makefile ] || exit 0; \
9010 r=`${PWD_COMMAND}`; export r; \
9011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9012 $(HOST_EXPORTS) \
9013 for flag in $(EXTRA_HOST_FLAGS) ; do \
9014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9015 done; \
9016 echo "Doing TAGS in diff" ; \
9017 (cd $(HOST_SUBDIR)/diff && \
9018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9020 "RANLIB=$${RANLIB}" \
9021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9022 TAGS) \
9023 || exit 1
9025 @endif diff
9027 .PHONY: maybe-install-info-diff install-info-diff
9028 maybe-install-info-diff:
9029 @if diff
9030 maybe-install-info-diff: install-info-diff
9032 install-info-diff: \
9033 configure-diff \
9034 info-diff
9035 @: $(MAKE); $(unstage)
9036 @[ -f ./diff/Makefile ] || exit 0; \
9037 r=`${PWD_COMMAND}`; export r; \
9038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9039 $(HOST_EXPORTS) \
9040 for flag in $(EXTRA_HOST_FLAGS) ; do \
9041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9042 done; \
9043 echo "Doing install-info in diff" ; \
9044 (cd $(HOST_SUBDIR)/diff && \
9045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9047 "RANLIB=$${RANLIB}" \
9048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9049 install-info) \
9050 || exit 1
9052 @endif diff
9054 .PHONY: maybe-install-pdf-diff install-pdf-diff
9055 maybe-install-pdf-diff:
9056 @if diff
9057 maybe-install-pdf-diff: install-pdf-diff
9059 install-pdf-diff: \
9060 configure-diff \
9061 pdf-diff
9062 @: $(MAKE); $(unstage)
9063 @[ -f ./diff/Makefile ] || exit 0; \
9064 r=`${PWD_COMMAND}`; export r; \
9065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 $(HOST_EXPORTS) \
9067 for flag in $(EXTRA_HOST_FLAGS) ; do \
9068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 done; \
9070 echo "Doing install-pdf in diff" ; \
9071 (cd $(HOST_SUBDIR)/diff && \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9074 "RANLIB=$${RANLIB}" \
9075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9076 install-pdf) \
9077 || exit 1
9079 @endif diff
9081 .PHONY: maybe-install-html-diff install-html-diff
9082 maybe-install-html-diff:
9083 @if diff
9084 maybe-install-html-diff: install-html-diff
9086 install-html-diff: \
9087 configure-diff \
9088 html-diff
9089 @: $(MAKE); $(unstage)
9090 @[ -f ./diff/Makefile ] || exit 0; \
9091 r=`${PWD_COMMAND}`; export r; \
9092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 $(HOST_EXPORTS) \
9094 for flag in $(EXTRA_HOST_FLAGS) ; do \
9095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9096 done; \
9097 echo "Doing install-html in diff" ; \
9098 (cd $(HOST_SUBDIR)/diff && \
9099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9101 "RANLIB=$${RANLIB}" \
9102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9103 install-html) \
9104 || exit 1
9106 @endif diff
9108 .PHONY: maybe-installcheck-diff installcheck-diff
9109 maybe-installcheck-diff:
9110 @if diff
9111 maybe-installcheck-diff: installcheck-diff
9113 installcheck-diff: \
9114 configure-diff
9115 @: $(MAKE); $(unstage)
9116 @[ -f ./diff/Makefile ] || exit 0; \
9117 r=`${PWD_COMMAND}`; export r; \
9118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9119 $(HOST_EXPORTS) \
9120 for flag in $(EXTRA_HOST_FLAGS) ; do \
9121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9122 done; \
9123 echo "Doing installcheck in diff" ; \
9124 (cd $(HOST_SUBDIR)/diff && \
9125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9127 "RANLIB=$${RANLIB}" \
9128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9129 installcheck) \
9130 || exit 1
9132 @endif diff
9134 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
9135 maybe-mostlyclean-diff:
9136 @if diff
9137 maybe-mostlyclean-diff: mostlyclean-diff
9139 mostlyclean-diff:
9140 @: $(MAKE); $(unstage)
9141 @[ -f ./diff/Makefile ] || exit 0; \
9142 r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(HOST_EXPORTS) \
9145 for flag in $(EXTRA_HOST_FLAGS) ; do \
9146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9147 done; \
9148 echo "Doing mostlyclean in diff" ; \
9149 (cd $(HOST_SUBDIR)/diff && \
9150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9152 "RANLIB=$${RANLIB}" \
9153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9154 mostlyclean) \
9155 || exit 1
9157 @endif diff
9159 .PHONY: maybe-clean-diff clean-diff
9160 maybe-clean-diff:
9161 @if diff
9162 maybe-clean-diff: clean-diff
9164 clean-diff:
9165 @: $(MAKE); $(unstage)
9166 @[ -f ./diff/Makefile ] || exit 0; \
9167 r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 $(HOST_EXPORTS) \
9170 for flag in $(EXTRA_HOST_FLAGS) ; do \
9171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9172 done; \
9173 echo "Doing clean in diff" ; \
9174 (cd $(HOST_SUBDIR)/diff && \
9175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9177 "RANLIB=$${RANLIB}" \
9178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9179 clean) \
9180 || exit 1
9182 @endif diff
9184 .PHONY: maybe-distclean-diff distclean-diff
9185 maybe-distclean-diff:
9186 @if diff
9187 maybe-distclean-diff: distclean-diff
9189 distclean-diff:
9190 @: $(MAKE); $(unstage)
9191 @[ -f ./diff/Makefile ] || exit 0; \
9192 r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194 $(HOST_EXPORTS) \
9195 for flag in $(EXTRA_HOST_FLAGS) ; do \
9196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9197 done; \
9198 echo "Doing distclean in diff" ; \
9199 (cd $(HOST_SUBDIR)/diff && \
9200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9202 "RANLIB=$${RANLIB}" \
9203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9204 distclean) \
9205 || exit 1
9207 @endif diff
9209 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
9210 maybe-maintainer-clean-diff:
9211 @if diff
9212 maybe-maintainer-clean-diff: maintainer-clean-diff
9214 maintainer-clean-diff:
9215 @: $(MAKE); $(unstage)
9216 @[ -f ./diff/Makefile ] || exit 0; \
9217 r=`${PWD_COMMAND}`; export r; \
9218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 $(HOST_EXPORTS) \
9220 for flag in $(EXTRA_HOST_FLAGS) ; do \
9221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9222 done; \
9223 echo "Doing maintainer-clean in diff" ; \
9224 (cd $(HOST_SUBDIR)/diff && \
9225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9227 "RANLIB=$${RANLIB}" \
9228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9229 maintainer-clean) \
9230 || exit 1
9232 @endif diff
9236 .PHONY: configure-dosutils maybe-configure-dosutils
9237 maybe-configure-dosutils:
9238 @if gcc-bootstrap
9239 configure-dosutils: stage_current
9240 @endif gcc-bootstrap
9241 @if dosutils
9242 maybe-configure-dosutils: configure-dosutils
9243 configure-dosutils:
9244 @: $(MAKE); $(unstage)
9245 @r=`${PWD_COMMAND}`; export r; \
9246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9247 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
9248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
9249 $(HOST_EXPORTS) \
9250 echo Configuring in $(HOST_SUBDIR)/dosutils; \
9251 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
9252 case $(srcdir) in \
9253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9254 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
9255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9256 esac; \
9257 srcdiroption="--srcdir=$${topdir}/dosutils"; \
9258 libsrcdir="$$s/dosutils"; \
9259 $(SHELL) $${libsrcdir}/configure \
9260 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9261 --target=${target_alias} $${srcdiroption} \
9262 || exit 1
9263 @endif dosutils
9269 .PHONY: all-dosutils maybe-all-dosutils
9270 maybe-all-dosutils:
9271 @if gcc-bootstrap
9272 all-dosutils: stage_current
9273 @endif gcc-bootstrap
9274 @if dosutils
9275 TARGET-dosutils=all
9276 maybe-all-dosutils: all-dosutils
9277 all-dosutils: configure-dosutils
9278 @: $(MAKE); $(unstage)
9279 @r=`${PWD_COMMAND}`; export r; \
9280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9281 $(HOST_EXPORTS) \
9282 (cd $(HOST_SUBDIR)/dosutils && \
9283 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
9284 @endif dosutils
9289 .PHONY: check-dosutils maybe-check-dosutils
9290 maybe-check-dosutils:
9291 @if dosutils
9292 maybe-check-dosutils: check-dosutils
9294 check-dosutils:
9296 @endif dosutils
9298 .PHONY: install-dosutils maybe-install-dosutils
9299 maybe-install-dosutils:
9300 @if dosutils
9301 maybe-install-dosutils: install-dosutils
9303 install-dosutils: installdirs
9304 @: $(MAKE); $(unstage)
9305 @r=`${PWD_COMMAND}`; export r; \
9306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9307 $(HOST_EXPORTS) \
9308 (cd $(HOST_SUBDIR)/dosutils && \
9309 $(MAKE) $(FLAGS_TO_PASS) install)
9311 @endif dosutils
9313 # Other targets (info, dvi, pdf, etc.)
9315 .PHONY: maybe-info-dosutils info-dosutils
9316 maybe-info-dosutils:
9317 @if dosutils
9318 maybe-info-dosutils: info-dosutils
9320 info-dosutils: \
9321 configure-dosutils
9322 @: $(MAKE); $(unstage)
9323 @[ -f ./dosutils/Makefile ] || exit 0; \
9324 r=`${PWD_COMMAND}`; export r; \
9325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9326 $(HOST_EXPORTS) \
9327 for flag in $(EXTRA_HOST_FLAGS) ; do \
9328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9329 done; \
9330 echo "Doing info in dosutils" ; \
9331 (cd $(HOST_SUBDIR)/dosutils && \
9332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9334 "RANLIB=$${RANLIB}" \
9335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9336 info) \
9337 || exit 1
9339 @endif dosutils
9341 .PHONY: maybe-dvi-dosutils dvi-dosutils
9342 maybe-dvi-dosutils:
9343 @if dosutils
9344 maybe-dvi-dosutils: dvi-dosutils
9346 dvi-dosutils: \
9347 configure-dosutils
9348 @: $(MAKE); $(unstage)
9349 @[ -f ./dosutils/Makefile ] || exit 0; \
9350 r=`${PWD_COMMAND}`; export r; \
9351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 $(HOST_EXPORTS) \
9353 for flag in $(EXTRA_HOST_FLAGS) ; do \
9354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355 done; \
9356 echo "Doing dvi in dosutils" ; \
9357 (cd $(HOST_SUBDIR)/dosutils && \
9358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9360 "RANLIB=$${RANLIB}" \
9361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9362 dvi) \
9363 || exit 1
9365 @endif dosutils
9367 .PHONY: maybe-pdf-dosutils pdf-dosutils
9368 maybe-pdf-dosutils:
9369 @if dosutils
9370 maybe-pdf-dosutils: pdf-dosutils
9372 pdf-dosutils: \
9373 configure-dosutils
9374 @: $(MAKE); $(unstage)
9375 @[ -f ./dosutils/Makefile ] || exit 0; \
9376 r=`${PWD_COMMAND}`; export r; \
9377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9378 $(HOST_EXPORTS) \
9379 for flag in $(EXTRA_HOST_FLAGS) ; do \
9380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9381 done; \
9382 echo "Doing pdf in dosutils" ; \
9383 (cd $(HOST_SUBDIR)/dosutils && \
9384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9386 "RANLIB=$${RANLIB}" \
9387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9388 pdf) \
9389 || exit 1
9391 @endif dosutils
9393 .PHONY: maybe-html-dosutils html-dosutils
9394 maybe-html-dosutils:
9395 @if dosutils
9396 maybe-html-dosutils: html-dosutils
9398 html-dosutils: \
9399 configure-dosutils
9400 @: $(MAKE); $(unstage)
9401 @[ -f ./dosutils/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 $(HOST_EXPORTS) \
9405 for flag in $(EXTRA_HOST_FLAGS) ; do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9407 done; \
9408 echo "Doing html in dosutils" ; \
9409 (cd $(HOST_SUBDIR)/dosutils && \
9410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9412 "RANLIB=$${RANLIB}" \
9413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9414 html) \
9415 || exit 1
9417 @endif dosutils
9419 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
9420 maybe-TAGS-dosutils:
9421 @if dosutils
9422 maybe-TAGS-dosutils: TAGS-dosutils
9424 TAGS-dosutils: \
9425 configure-dosutils
9426 @: $(MAKE); $(unstage)
9427 @[ -f ./dosutils/Makefile ] || exit 0; \
9428 r=`${PWD_COMMAND}`; export r; \
9429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9430 $(HOST_EXPORTS) \
9431 for flag in $(EXTRA_HOST_FLAGS) ; do \
9432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9433 done; \
9434 echo "Doing TAGS in dosutils" ; \
9435 (cd $(HOST_SUBDIR)/dosutils && \
9436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9438 "RANLIB=$${RANLIB}" \
9439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9440 TAGS) \
9441 || exit 1
9443 @endif dosutils
9445 .PHONY: maybe-install-info-dosutils install-info-dosutils
9446 maybe-install-info-dosutils:
9447 @if dosutils
9448 maybe-install-info-dosutils: install-info-dosutils
9450 install-info-dosutils: \
9451 configure-dosutils \
9452 info-dosutils
9453 @: $(MAKE); $(unstage)
9454 @[ -f ./dosutils/Makefile ] || exit 0; \
9455 r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9457 $(HOST_EXPORTS) \
9458 for flag in $(EXTRA_HOST_FLAGS) ; do \
9459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9460 done; \
9461 echo "Doing install-info in dosutils" ; \
9462 (cd $(HOST_SUBDIR)/dosutils && \
9463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9465 "RANLIB=$${RANLIB}" \
9466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9467 install-info) \
9468 || exit 1
9470 @endif dosutils
9472 .PHONY: maybe-install-pdf-dosutils install-pdf-dosutils
9473 maybe-install-pdf-dosutils:
9474 @if dosutils
9475 maybe-install-pdf-dosutils: install-pdf-dosutils
9477 install-pdf-dosutils: \
9478 configure-dosutils \
9479 pdf-dosutils
9480 @: $(MAKE); $(unstage)
9481 @[ -f ./dosutils/Makefile ] || exit 0; \
9482 r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(HOST_EXPORTS) \
9485 for flag in $(EXTRA_HOST_FLAGS) ; do \
9486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 done; \
9488 echo "Doing install-pdf in dosutils" ; \
9489 (cd $(HOST_SUBDIR)/dosutils && \
9490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9492 "RANLIB=$${RANLIB}" \
9493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9494 install-pdf) \
9495 || exit 1
9497 @endif dosutils
9499 .PHONY: maybe-install-html-dosutils install-html-dosutils
9500 maybe-install-html-dosutils:
9501 @if dosutils
9502 maybe-install-html-dosutils: install-html-dosutils
9504 install-html-dosutils: \
9505 configure-dosutils \
9506 html-dosutils
9507 @: $(MAKE); $(unstage)
9508 @[ -f ./dosutils/Makefile ] || exit 0; \
9509 r=`${PWD_COMMAND}`; export r; \
9510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9511 $(HOST_EXPORTS) \
9512 for flag in $(EXTRA_HOST_FLAGS) ; do \
9513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9514 done; \
9515 echo "Doing install-html in dosutils" ; \
9516 (cd $(HOST_SUBDIR)/dosutils && \
9517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9519 "RANLIB=$${RANLIB}" \
9520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9521 install-html) \
9522 || exit 1
9524 @endif dosutils
9526 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
9527 maybe-installcheck-dosutils:
9528 @if dosutils
9529 maybe-installcheck-dosutils: installcheck-dosutils
9531 installcheck-dosutils: \
9532 configure-dosutils
9533 @: $(MAKE); $(unstage)
9534 @[ -f ./dosutils/Makefile ] || exit 0; \
9535 r=`${PWD_COMMAND}`; export r; \
9536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9537 $(HOST_EXPORTS) \
9538 for flag in $(EXTRA_HOST_FLAGS) ; do \
9539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9540 done; \
9541 echo "Doing installcheck in dosutils" ; \
9542 (cd $(HOST_SUBDIR)/dosutils && \
9543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9545 "RANLIB=$${RANLIB}" \
9546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9547 installcheck) \
9548 || exit 1
9550 @endif dosutils
9552 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
9553 maybe-mostlyclean-dosutils:
9554 @if dosutils
9555 maybe-mostlyclean-dosutils: mostlyclean-dosutils
9557 mostlyclean-dosutils:
9558 @: $(MAKE); $(unstage)
9559 @[ -f ./dosutils/Makefile ] || exit 0; \
9560 r=`${PWD_COMMAND}`; export r; \
9561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9562 $(HOST_EXPORTS) \
9563 for flag in $(EXTRA_HOST_FLAGS) ; do \
9564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9565 done; \
9566 echo "Doing mostlyclean in dosutils" ; \
9567 (cd $(HOST_SUBDIR)/dosutils && \
9568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9570 "RANLIB=$${RANLIB}" \
9571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9572 mostlyclean) \
9573 || exit 1
9575 @endif dosutils
9577 .PHONY: maybe-clean-dosutils clean-dosutils
9578 maybe-clean-dosutils:
9579 @if dosutils
9580 maybe-clean-dosutils: clean-dosutils
9582 clean-dosutils:
9583 @: $(MAKE); $(unstage)
9584 @[ -f ./dosutils/Makefile ] || exit 0; \
9585 r=`${PWD_COMMAND}`; export r; \
9586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9587 $(HOST_EXPORTS) \
9588 for flag in $(EXTRA_HOST_FLAGS) ; do \
9589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9590 done; \
9591 echo "Doing clean in dosutils" ; \
9592 (cd $(HOST_SUBDIR)/dosutils && \
9593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9595 "RANLIB=$${RANLIB}" \
9596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9597 clean) \
9598 || exit 1
9600 @endif dosutils
9602 .PHONY: maybe-distclean-dosutils distclean-dosutils
9603 maybe-distclean-dosutils:
9604 @if dosutils
9605 maybe-distclean-dosutils: distclean-dosutils
9607 distclean-dosutils:
9608 @: $(MAKE); $(unstage)
9609 @[ -f ./dosutils/Makefile ] || exit 0; \
9610 r=`${PWD_COMMAND}`; export r; \
9611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9612 $(HOST_EXPORTS) \
9613 for flag in $(EXTRA_HOST_FLAGS) ; do \
9614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9615 done; \
9616 echo "Doing distclean in dosutils" ; \
9617 (cd $(HOST_SUBDIR)/dosutils && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9620 "RANLIB=$${RANLIB}" \
9621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 distclean) \
9623 || exit 1
9625 @endif dosutils
9627 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9628 maybe-maintainer-clean-dosutils:
9629 @if dosutils
9630 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9632 maintainer-clean-dosutils:
9633 @: $(MAKE); $(unstage)
9634 @[ -f ./dosutils/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 maintainer-clean in dosutils" ; \
9642 (cd $(HOST_SUBDIR)/dosutils && \
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}" \
9647 maintainer-clean) \
9648 || exit 1
9650 @endif dosutils
9654 .PHONY: configure-etc maybe-configure-etc
9655 maybe-configure-etc:
9656 @if gcc-bootstrap
9657 configure-etc: stage_current
9658 @endif gcc-bootstrap
9659 @if etc
9660 maybe-configure-etc: configure-etc
9661 configure-etc:
9662 @: $(MAKE); $(unstage)
9663 @r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9667 $(HOST_EXPORTS) \
9668 echo Configuring in $(HOST_SUBDIR)/etc; \
9669 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9670 case $(srcdir) in \
9671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9672 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9674 esac; \
9675 srcdiroption="--srcdir=$${topdir}/etc"; \
9676 libsrcdir="$$s/etc"; \
9677 $(SHELL) $${libsrcdir}/configure \
9678 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9679 --target=${target_alias} $${srcdiroption} \
9680 || exit 1
9681 @endif etc
9687 .PHONY: all-etc maybe-all-etc
9688 maybe-all-etc:
9689 @if gcc-bootstrap
9690 all-etc: stage_current
9691 @endif gcc-bootstrap
9692 @if etc
9693 TARGET-etc=all
9694 maybe-all-etc: all-etc
9695 all-etc: configure-etc
9696 @: $(MAKE); $(unstage)
9697 @r=`${PWD_COMMAND}`; export r; \
9698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9699 $(HOST_EXPORTS) \
9700 (cd $(HOST_SUBDIR)/etc && \
9701 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9702 @endif etc
9707 .PHONY: check-etc maybe-check-etc
9708 maybe-check-etc:
9709 @if etc
9710 maybe-check-etc: check-etc
9712 check-etc:
9713 @: $(MAKE); $(unstage)
9714 @r=`${PWD_COMMAND}`; export r; \
9715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9716 $(HOST_EXPORTS) \
9717 (cd $(HOST_SUBDIR)/etc && \
9718 $(MAKE) $(FLAGS_TO_PASS) check)
9720 @endif etc
9722 .PHONY: install-etc maybe-install-etc
9723 maybe-install-etc:
9724 @if etc
9725 maybe-install-etc: install-etc
9727 install-etc: installdirs
9728 @: $(MAKE); $(unstage)
9729 @r=`${PWD_COMMAND}`; export r; \
9730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9731 $(HOST_EXPORTS) \
9732 (cd $(HOST_SUBDIR)/etc && \
9733 $(MAKE) $(FLAGS_TO_PASS) install)
9735 @endif etc
9737 # Other targets (info, dvi, pdf, etc.)
9739 .PHONY: maybe-info-etc info-etc
9740 maybe-info-etc:
9741 @if etc
9742 maybe-info-etc: info-etc
9744 info-etc: \
9745 configure-etc
9746 @: $(MAKE); $(unstage)
9747 @[ -f ./etc/Makefile ] || exit 0; \
9748 r=`${PWD_COMMAND}`; export r; \
9749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9750 $(HOST_EXPORTS) \
9751 for flag in $(EXTRA_HOST_FLAGS) ; do \
9752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9753 done; \
9754 echo "Doing info in etc" ; \
9755 (cd $(HOST_SUBDIR)/etc && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9758 "RANLIB=$${RANLIB}" \
9759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9760 info) \
9761 || exit 1
9763 @endif etc
9765 .PHONY: maybe-dvi-etc dvi-etc
9766 maybe-dvi-etc:
9767 @if etc
9768 maybe-dvi-etc: dvi-etc
9770 dvi-etc: \
9771 configure-etc
9772 @: $(MAKE); $(unstage)
9773 @[ -f ./etc/Makefile ] || exit 0; \
9774 r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 $(HOST_EXPORTS) \
9777 for flag in $(EXTRA_HOST_FLAGS) ; do \
9778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9779 done; \
9780 echo "Doing dvi in etc" ; \
9781 (cd $(HOST_SUBDIR)/etc && \
9782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9784 "RANLIB=$${RANLIB}" \
9785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9786 dvi) \
9787 || exit 1
9789 @endif etc
9791 .PHONY: maybe-pdf-etc pdf-etc
9792 maybe-pdf-etc:
9793 @if etc
9794 maybe-pdf-etc: pdf-etc
9796 pdf-etc: \
9797 configure-etc
9798 @: $(MAKE); $(unstage)
9799 @[ -f ./etc/Makefile ] || exit 0; \
9800 r=`${PWD_COMMAND}`; export r; \
9801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 $(HOST_EXPORTS) \
9803 for flag in $(EXTRA_HOST_FLAGS) ; do \
9804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9805 done; \
9806 echo "Doing pdf in etc" ; \
9807 (cd $(HOST_SUBDIR)/etc && \
9808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9810 "RANLIB=$${RANLIB}" \
9811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9812 pdf) \
9813 || exit 1
9815 @endif etc
9817 .PHONY: maybe-html-etc html-etc
9818 maybe-html-etc:
9819 @if etc
9820 maybe-html-etc: html-etc
9822 html-etc: \
9823 configure-etc
9824 @: $(MAKE); $(unstage)
9825 @[ -f ./etc/Makefile ] || exit 0; \
9826 r=`${PWD_COMMAND}`; export r; \
9827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9828 $(HOST_EXPORTS) \
9829 for flag in $(EXTRA_HOST_FLAGS) ; do \
9830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9831 done; \
9832 echo "Doing html in etc" ; \
9833 (cd $(HOST_SUBDIR)/etc && \
9834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9836 "RANLIB=$${RANLIB}" \
9837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9838 html) \
9839 || exit 1
9841 @endif etc
9843 .PHONY: maybe-TAGS-etc TAGS-etc
9844 maybe-TAGS-etc:
9845 @if etc
9846 maybe-TAGS-etc: TAGS-etc
9848 TAGS-etc: \
9849 configure-etc
9850 @: $(MAKE); $(unstage)
9851 @[ -f ./etc/Makefile ] || exit 0; \
9852 r=`${PWD_COMMAND}`; export r; \
9853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9854 $(HOST_EXPORTS) \
9855 for flag in $(EXTRA_HOST_FLAGS) ; do \
9856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9857 done; \
9858 echo "Doing TAGS in etc" ; \
9859 (cd $(HOST_SUBDIR)/etc && \
9860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9862 "RANLIB=$${RANLIB}" \
9863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9864 TAGS) \
9865 || exit 1
9867 @endif etc
9869 .PHONY: maybe-install-info-etc install-info-etc
9870 maybe-install-info-etc:
9871 @if etc
9872 maybe-install-info-etc: install-info-etc
9874 install-info-etc: \
9875 configure-etc \
9876 info-etc
9877 @: $(MAKE); $(unstage)
9878 @[ -f ./etc/Makefile ] || exit 0; \
9879 r=`${PWD_COMMAND}`; export r; \
9880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9881 $(HOST_EXPORTS) \
9882 for flag in $(EXTRA_HOST_FLAGS) ; do \
9883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9884 done; \
9885 echo "Doing install-info in etc" ; \
9886 (cd $(HOST_SUBDIR)/etc && \
9887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9889 "RANLIB=$${RANLIB}" \
9890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9891 install-info) \
9892 || exit 1
9894 @endif etc
9896 .PHONY: maybe-install-pdf-etc install-pdf-etc
9897 maybe-install-pdf-etc:
9898 @if etc
9899 maybe-install-pdf-etc: install-pdf-etc
9901 install-pdf-etc: \
9902 configure-etc \
9903 pdf-etc
9904 @: $(MAKE); $(unstage)
9905 @[ -f ./etc/Makefile ] || exit 0; \
9906 r=`${PWD_COMMAND}`; export r; \
9907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9908 $(HOST_EXPORTS) \
9909 for flag in $(EXTRA_HOST_FLAGS) ; do \
9910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9911 done; \
9912 echo "Doing install-pdf in etc" ; \
9913 (cd $(HOST_SUBDIR)/etc && \
9914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9916 "RANLIB=$${RANLIB}" \
9917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9918 install-pdf) \
9919 || exit 1
9921 @endif etc
9923 .PHONY: maybe-install-html-etc install-html-etc
9924 maybe-install-html-etc:
9925 @if etc
9926 maybe-install-html-etc: install-html-etc
9928 install-html-etc: \
9929 configure-etc \
9930 html-etc
9931 @: $(MAKE); $(unstage)
9932 @[ -f ./etc/Makefile ] || exit 0; \
9933 r=`${PWD_COMMAND}`; export r; \
9934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9935 $(HOST_EXPORTS) \
9936 for flag in $(EXTRA_HOST_FLAGS) ; do \
9937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9938 done; \
9939 echo "Doing install-html in etc" ; \
9940 (cd $(HOST_SUBDIR)/etc && \
9941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9943 "RANLIB=$${RANLIB}" \
9944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9945 install-html) \
9946 || exit 1
9948 @endif etc
9950 .PHONY: maybe-installcheck-etc installcheck-etc
9951 maybe-installcheck-etc:
9952 @if etc
9953 maybe-installcheck-etc: installcheck-etc
9955 installcheck-etc: \
9956 configure-etc
9957 @: $(MAKE); $(unstage)
9958 @[ -f ./etc/Makefile ] || exit 0; \
9959 r=`${PWD_COMMAND}`; export r; \
9960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9961 $(HOST_EXPORTS) \
9962 for flag in $(EXTRA_HOST_FLAGS) ; do \
9963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9964 done; \
9965 echo "Doing installcheck in etc" ; \
9966 (cd $(HOST_SUBDIR)/etc && \
9967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9969 "RANLIB=$${RANLIB}" \
9970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9971 installcheck) \
9972 || exit 1
9974 @endif etc
9976 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9977 maybe-mostlyclean-etc:
9978 @if etc
9979 maybe-mostlyclean-etc: mostlyclean-etc
9981 mostlyclean-etc:
9982 @: $(MAKE); $(unstage)
9983 @[ -f ./etc/Makefile ] || exit 0; \
9984 r=`${PWD_COMMAND}`; export r; \
9985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9986 $(HOST_EXPORTS) \
9987 for flag in $(EXTRA_HOST_FLAGS) ; do \
9988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9989 done; \
9990 echo "Doing mostlyclean in etc" ; \
9991 (cd $(HOST_SUBDIR)/etc && \
9992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9994 "RANLIB=$${RANLIB}" \
9995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9996 mostlyclean) \
9997 || exit 1
9999 @endif etc
10001 .PHONY: maybe-clean-etc clean-etc
10002 maybe-clean-etc:
10003 @if etc
10004 maybe-clean-etc: clean-etc
10006 clean-etc:
10007 @: $(MAKE); $(unstage)
10008 @[ -f ./etc/Makefile ] || exit 0; \
10009 r=`${PWD_COMMAND}`; export r; \
10010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10011 $(HOST_EXPORTS) \
10012 for flag in $(EXTRA_HOST_FLAGS) ; do \
10013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10014 done; \
10015 echo "Doing clean in etc" ; \
10016 (cd $(HOST_SUBDIR)/etc && \
10017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10019 "RANLIB=$${RANLIB}" \
10020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10021 clean) \
10022 || exit 1
10024 @endif etc
10026 .PHONY: maybe-distclean-etc distclean-etc
10027 maybe-distclean-etc:
10028 @if etc
10029 maybe-distclean-etc: distclean-etc
10031 distclean-etc:
10032 @: $(MAKE); $(unstage)
10033 @[ -f ./etc/Makefile ] || exit 0; \
10034 r=`${PWD_COMMAND}`; export r; \
10035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036 $(HOST_EXPORTS) \
10037 for flag in $(EXTRA_HOST_FLAGS) ; do \
10038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10039 done; \
10040 echo "Doing distclean in etc" ; \
10041 (cd $(HOST_SUBDIR)/etc && \
10042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10044 "RANLIB=$${RANLIB}" \
10045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10046 distclean) \
10047 || exit 1
10049 @endif etc
10051 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
10052 maybe-maintainer-clean-etc:
10053 @if etc
10054 maybe-maintainer-clean-etc: maintainer-clean-etc
10056 maintainer-clean-etc:
10057 @: $(MAKE); $(unstage)
10058 @[ -f ./etc/Makefile ] || exit 0; \
10059 r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 $(HOST_EXPORTS) \
10062 for flag in $(EXTRA_HOST_FLAGS) ; do \
10063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10064 done; \
10065 echo "Doing maintainer-clean in etc" ; \
10066 (cd $(HOST_SUBDIR)/etc && \
10067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10069 "RANLIB=$${RANLIB}" \
10070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10071 maintainer-clean) \
10072 || exit 1
10074 @endif etc
10078 .PHONY: configure-fastjar maybe-configure-fastjar
10079 maybe-configure-fastjar:
10080 @if gcc-bootstrap
10081 configure-fastjar: stage_current
10082 @endif gcc-bootstrap
10083 @if fastjar
10084 maybe-configure-fastjar: configure-fastjar
10085 configure-fastjar:
10086 @: $(MAKE); $(unstage)
10087 @r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
10090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
10091 $(HOST_EXPORTS) \
10092 echo Configuring in $(HOST_SUBDIR)/fastjar; \
10093 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
10094 case $(srcdir) in \
10095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10096 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
10097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10098 esac; \
10099 srcdiroption="--srcdir=$${topdir}/fastjar"; \
10100 libsrcdir="$$s/fastjar"; \
10101 $(SHELL) $${libsrcdir}/configure \
10102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10103 --target=${target_alias} $${srcdiroption} \
10104 || exit 1
10105 @endif fastjar
10111 .PHONY: all-fastjar maybe-all-fastjar
10112 maybe-all-fastjar:
10113 @if gcc-bootstrap
10114 all-fastjar: stage_current
10115 @endif gcc-bootstrap
10116 @if fastjar
10117 TARGET-fastjar=all
10118 maybe-all-fastjar: all-fastjar
10119 all-fastjar: configure-fastjar
10120 @: $(MAKE); $(unstage)
10121 @r=`${PWD_COMMAND}`; export r; \
10122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123 $(HOST_EXPORTS) \
10124 (cd $(HOST_SUBDIR)/fastjar && \
10125 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
10126 @endif fastjar
10131 .PHONY: check-fastjar maybe-check-fastjar
10132 maybe-check-fastjar:
10133 @if fastjar
10134 maybe-check-fastjar: check-fastjar
10136 # This module is only tested in a native toolchain.
10137 check-fastjar:
10138 @: $(MAKE); $(unstage)
10139 @if [ '$(host)' = '$(target)' ] ; then \
10140 r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 $(HOST_EXPORTS) \
10143 (cd $(HOST_SUBDIR)/fastjar && \
10144 $(MAKE) $(FLAGS_TO_PASS) check); \
10147 @endif fastjar
10149 .PHONY: install-fastjar maybe-install-fastjar
10150 maybe-install-fastjar:
10151 @if fastjar
10152 maybe-install-fastjar: install-fastjar
10154 install-fastjar: installdirs
10155 @: $(MAKE); $(unstage)
10156 @r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158 $(HOST_EXPORTS) \
10159 (cd $(HOST_SUBDIR)/fastjar && \
10160 $(MAKE) $(FLAGS_TO_PASS) install)
10162 @endif fastjar
10164 # Other targets (info, dvi, pdf, etc.)
10166 .PHONY: maybe-info-fastjar info-fastjar
10167 maybe-info-fastjar:
10168 @if fastjar
10169 maybe-info-fastjar: info-fastjar
10171 info-fastjar: \
10172 configure-fastjar
10173 @: $(MAKE); $(unstage)
10174 @[ -f ./fastjar/Makefile ] || exit 0; \
10175 r=`${PWD_COMMAND}`; export r; \
10176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10177 $(HOST_EXPORTS) \
10178 for flag in $(EXTRA_HOST_FLAGS) ; do \
10179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10180 done; \
10181 echo "Doing info in fastjar" ; \
10182 (cd $(HOST_SUBDIR)/fastjar && \
10183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10185 "RANLIB=$${RANLIB}" \
10186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10187 info) \
10188 || exit 1
10190 @endif fastjar
10192 .PHONY: maybe-dvi-fastjar dvi-fastjar
10193 maybe-dvi-fastjar:
10194 @if fastjar
10195 maybe-dvi-fastjar: dvi-fastjar
10197 dvi-fastjar: \
10198 configure-fastjar
10199 @: $(MAKE); $(unstage)
10200 @[ -f ./fastjar/Makefile ] || exit 0; \
10201 r=`${PWD_COMMAND}`; export r; \
10202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10203 $(HOST_EXPORTS) \
10204 for flag in $(EXTRA_HOST_FLAGS) ; do \
10205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10206 done; \
10207 echo "Doing dvi in fastjar" ; \
10208 (cd $(HOST_SUBDIR)/fastjar && \
10209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10211 "RANLIB=$${RANLIB}" \
10212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10213 dvi) \
10214 || exit 1
10216 @endif fastjar
10218 .PHONY: maybe-pdf-fastjar pdf-fastjar
10219 maybe-pdf-fastjar:
10220 @if fastjar
10221 maybe-pdf-fastjar: pdf-fastjar
10223 pdf-fastjar: \
10224 configure-fastjar
10225 @: $(MAKE); $(unstage)
10226 @[ -f ./fastjar/Makefile ] || exit 0; \
10227 r=`${PWD_COMMAND}`; export r; \
10228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10229 $(HOST_EXPORTS) \
10230 for flag in $(EXTRA_HOST_FLAGS) ; do \
10231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10232 done; \
10233 echo "Doing pdf in fastjar" ; \
10234 (cd $(HOST_SUBDIR)/fastjar && \
10235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10237 "RANLIB=$${RANLIB}" \
10238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10239 pdf) \
10240 || exit 1
10242 @endif fastjar
10244 .PHONY: maybe-html-fastjar html-fastjar
10245 maybe-html-fastjar:
10246 @if fastjar
10247 maybe-html-fastjar: html-fastjar
10249 html-fastjar: \
10250 configure-fastjar
10251 @: $(MAKE); $(unstage)
10252 @[ -f ./fastjar/Makefile ] || exit 0; \
10253 r=`${PWD_COMMAND}`; export r; \
10254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10255 $(HOST_EXPORTS) \
10256 for flag in $(EXTRA_HOST_FLAGS) ; do \
10257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10258 done; \
10259 echo "Doing html in fastjar" ; \
10260 (cd $(HOST_SUBDIR)/fastjar && \
10261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10263 "RANLIB=$${RANLIB}" \
10264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10265 html) \
10266 || exit 1
10268 @endif fastjar
10270 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
10271 maybe-TAGS-fastjar:
10272 @if fastjar
10273 maybe-TAGS-fastjar: TAGS-fastjar
10275 TAGS-fastjar: \
10276 configure-fastjar
10277 @: $(MAKE); $(unstage)
10278 @[ -f ./fastjar/Makefile ] || exit 0; \
10279 r=`${PWD_COMMAND}`; export r; \
10280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10281 $(HOST_EXPORTS) \
10282 for flag in $(EXTRA_HOST_FLAGS) ; do \
10283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10284 done; \
10285 echo "Doing TAGS in fastjar" ; \
10286 (cd $(HOST_SUBDIR)/fastjar && \
10287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10289 "RANLIB=$${RANLIB}" \
10290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10291 TAGS) \
10292 || exit 1
10294 @endif fastjar
10296 .PHONY: maybe-install-info-fastjar install-info-fastjar
10297 maybe-install-info-fastjar:
10298 @if fastjar
10299 maybe-install-info-fastjar: install-info-fastjar
10301 install-info-fastjar: \
10302 configure-fastjar \
10303 info-fastjar
10304 @: $(MAKE); $(unstage)
10305 @[ -f ./fastjar/Makefile ] || exit 0; \
10306 r=`${PWD_COMMAND}`; export r; \
10307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10308 $(HOST_EXPORTS) \
10309 for flag in $(EXTRA_HOST_FLAGS) ; do \
10310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10311 done; \
10312 echo "Doing install-info in fastjar" ; \
10313 (cd $(HOST_SUBDIR)/fastjar && \
10314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10316 "RANLIB=$${RANLIB}" \
10317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10318 install-info) \
10319 || exit 1
10321 @endif fastjar
10323 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
10324 maybe-install-pdf-fastjar:
10325 @if fastjar
10326 maybe-install-pdf-fastjar: install-pdf-fastjar
10328 install-pdf-fastjar: \
10329 configure-fastjar \
10330 pdf-fastjar
10331 @: $(MAKE); $(unstage)
10332 @[ -f ./fastjar/Makefile ] || exit 0; \
10333 r=`${PWD_COMMAND}`; export r; \
10334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 $(HOST_EXPORTS) \
10336 for flag in $(EXTRA_HOST_FLAGS) ; do \
10337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10338 done; \
10339 echo "Doing install-pdf in fastjar" ; \
10340 (cd $(HOST_SUBDIR)/fastjar && \
10341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10343 "RANLIB=$${RANLIB}" \
10344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10345 install-pdf) \
10346 || exit 1
10348 @endif fastjar
10350 .PHONY: maybe-install-html-fastjar install-html-fastjar
10351 maybe-install-html-fastjar:
10352 @if fastjar
10353 maybe-install-html-fastjar: install-html-fastjar
10355 install-html-fastjar: \
10356 configure-fastjar \
10357 html-fastjar
10358 @: $(MAKE); $(unstage)
10359 @[ -f ./fastjar/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 $(HOST_EXPORTS) \
10363 for flag in $(EXTRA_HOST_FLAGS) ; do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10365 done; \
10366 echo "Doing install-html in fastjar" ; \
10367 (cd $(HOST_SUBDIR)/fastjar && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10370 "RANLIB=$${RANLIB}" \
10371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10372 install-html) \
10373 || exit 1
10375 @endif fastjar
10377 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
10378 maybe-installcheck-fastjar:
10379 @if fastjar
10380 maybe-installcheck-fastjar: installcheck-fastjar
10382 installcheck-fastjar: \
10383 configure-fastjar
10384 @: $(MAKE); $(unstage)
10385 @[ -f ./fastjar/Makefile ] || exit 0; \
10386 r=`${PWD_COMMAND}`; export r; \
10387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10388 $(HOST_EXPORTS) \
10389 for flag in $(EXTRA_HOST_FLAGS) ; do \
10390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10391 done; \
10392 echo "Doing installcheck in fastjar" ; \
10393 (cd $(HOST_SUBDIR)/fastjar && \
10394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10396 "RANLIB=$${RANLIB}" \
10397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10398 installcheck) \
10399 || exit 1
10401 @endif fastjar
10403 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
10404 maybe-mostlyclean-fastjar:
10405 @if fastjar
10406 maybe-mostlyclean-fastjar: mostlyclean-fastjar
10408 mostlyclean-fastjar:
10409 @: $(MAKE); $(unstage)
10410 @[ -f ./fastjar/Makefile ] || exit 0; \
10411 r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10413 $(HOST_EXPORTS) \
10414 for flag in $(EXTRA_HOST_FLAGS) ; do \
10415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10416 done; \
10417 echo "Doing mostlyclean in fastjar" ; \
10418 (cd $(HOST_SUBDIR)/fastjar && \
10419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10421 "RANLIB=$${RANLIB}" \
10422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10423 mostlyclean) \
10424 || exit 1
10426 @endif fastjar
10428 .PHONY: maybe-clean-fastjar clean-fastjar
10429 maybe-clean-fastjar:
10430 @if fastjar
10431 maybe-clean-fastjar: clean-fastjar
10433 clean-fastjar:
10434 @: $(MAKE); $(unstage)
10435 @[ -f ./fastjar/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438 $(HOST_EXPORTS) \
10439 for flag in $(EXTRA_HOST_FLAGS) ; do \
10440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10441 done; \
10442 echo "Doing clean in fastjar" ; \
10443 (cd $(HOST_SUBDIR)/fastjar && \
10444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10446 "RANLIB=$${RANLIB}" \
10447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10448 clean) \
10449 || exit 1
10451 @endif fastjar
10453 .PHONY: maybe-distclean-fastjar distclean-fastjar
10454 maybe-distclean-fastjar:
10455 @if fastjar
10456 maybe-distclean-fastjar: distclean-fastjar
10458 distclean-fastjar:
10459 @: $(MAKE); $(unstage)
10460 @[ -f ./fastjar/Makefile ] || exit 0; \
10461 r=`${PWD_COMMAND}`; export r; \
10462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10463 $(HOST_EXPORTS) \
10464 for flag in $(EXTRA_HOST_FLAGS) ; do \
10465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10466 done; \
10467 echo "Doing distclean in fastjar" ; \
10468 (cd $(HOST_SUBDIR)/fastjar && \
10469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10471 "RANLIB=$${RANLIB}" \
10472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10473 distclean) \
10474 || exit 1
10476 @endif fastjar
10478 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
10479 maybe-maintainer-clean-fastjar:
10480 @if fastjar
10481 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
10483 maintainer-clean-fastjar:
10484 @: $(MAKE); $(unstage)
10485 @[ -f ./fastjar/Makefile ] || exit 0; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(HOST_EXPORTS) \
10489 for flag in $(EXTRA_HOST_FLAGS) ; do \
10490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 done; \
10492 echo "Doing maintainer-clean in fastjar" ; \
10493 (cd $(HOST_SUBDIR)/fastjar && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10496 "RANLIB=$${RANLIB}" \
10497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10498 maintainer-clean) \
10499 || exit 1
10501 @endif fastjar
10505 .PHONY: configure-fileutils maybe-configure-fileutils
10506 maybe-configure-fileutils:
10507 @if gcc-bootstrap
10508 configure-fileutils: stage_current
10509 @endif gcc-bootstrap
10510 @if fileutils
10511 maybe-configure-fileutils: configure-fileutils
10512 configure-fileutils:
10513 @: $(MAKE); $(unstage)
10514 @r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
10517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
10518 $(HOST_EXPORTS) \
10519 echo Configuring in $(HOST_SUBDIR)/fileutils; \
10520 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
10521 case $(srcdir) in \
10522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10523 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
10524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10525 esac; \
10526 srcdiroption="--srcdir=$${topdir}/fileutils"; \
10527 libsrcdir="$$s/fileutils"; \
10528 $(SHELL) $${libsrcdir}/configure \
10529 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10530 --target=${target_alias} $${srcdiroption} \
10531 || exit 1
10532 @endif fileutils
10538 .PHONY: all-fileutils maybe-all-fileutils
10539 maybe-all-fileutils:
10540 @if gcc-bootstrap
10541 all-fileutils: stage_current
10542 @endif gcc-bootstrap
10543 @if fileutils
10544 TARGET-fileutils=all
10545 maybe-all-fileutils: all-fileutils
10546 all-fileutils: configure-fileutils
10547 @: $(MAKE); $(unstage)
10548 @r=`${PWD_COMMAND}`; export r; \
10549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10550 $(HOST_EXPORTS) \
10551 (cd $(HOST_SUBDIR)/fileutils && \
10552 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
10553 @endif fileutils
10558 .PHONY: check-fileutils maybe-check-fileutils
10559 maybe-check-fileutils:
10560 @if fileutils
10561 maybe-check-fileutils: check-fileutils
10563 check-fileutils:
10564 @: $(MAKE); $(unstage)
10565 @r=`${PWD_COMMAND}`; export r; \
10566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10567 $(HOST_EXPORTS) \
10568 (cd $(HOST_SUBDIR)/fileutils && \
10569 $(MAKE) $(FLAGS_TO_PASS) check)
10571 @endif fileutils
10573 .PHONY: install-fileutils maybe-install-fileutils
10574 maybe-install-fileutils:
10575 @if fileutils
10576 maybe-install-fileutils: install-fileutils
10578 install-fileutils: installdirs
10579 @: $(MAKE); $(unstage)
10580 @r=`${PWD_COMMAND}`; export r; \
10581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10582 $(HOST_EXPORTS) \
10583 (cd $(HOST_SUBDIR)/fileutils && \
10584 $(MAKE) $(FLAGS_TO_PASS) install)
10586 @endif fileutils
10588 # Other targets (info, dvi, pdf, etc.)
10590 .PHONY: maybe-info-fileutils info-fileutils
10591 maybe-info-fileutils:
10592 @if fileutils
10593 maybe-info-fileutils: info-fileutils
10595 info-fileutils: \
10596 configure-fileutils
10597 @: $(MAKE); $(unstage)
10598 @[ -f ./fileutils/Makefile ] || exit 0; \
10599 r=`${PWD_COMMAND}`; export r; \
10600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10601 $(HOST_EXPORTS) \
10602 for flag in $(EXTRA_HOST_FLAGS) ; do \
10603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10604 done; \
10605 echo "Doing info in fileutils" ; \
10606 (cd $(HOST_SUBDIR)/fileutils && \
10607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10609 "RANLIB=$${RANLIB}" \
10610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10611 info) \
10612 || exit 1
10614 @endif fileutils
10616 .PHONY: maybe-dvi-fileutils dvi-fileutils
10617 maybe-dvi-fileutils:
10618 @if fileutils
10619 maybe-dvi-fileutils: dvi-fileutils
10621 dvi-fileutils: \
10622 configure-fileutils
10623 @: $(MAKE); $(unstage)
10624 @[ -f ./fileutils/Makefile ] || exit 0; \
10625 r=`${PWD_COMMAND}`; export r; \
10626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10627 $(HOST_EXPORTS) \
10628 for flag in $(EXTRA_HOST_FLAGS) ; do \
10629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10630 done; \
10631 echo "Doing dvi in fileutils" ; \
10632 (cd $(HOST_SUBDIR)/fileutils && \
10633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10635 "RANLIB=$${RANLIB}" \
10636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10637 dvi) \
10638 || exit 1
10640 @endif fileutils
10642 .PHONY: maybe-pdf-fileutils pdf-fileutils
10643 maybe-pdf-fileutils:
10644 @if fileutils
10645 maybe-pdf-fileutils: pdf-fileutils
10647 pdf-fileutils: \
10648 configure-fileutils
10649 @: $(MAKE); $(unstage)
10650 @[ -f ./fileutils/Makefile ] || exit 0; \
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653 $(HOST_EXPORTS) \
10654 for flag in $(EXTRA_HOST_FLAGS) ; do \
10655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10656 done; \
10657 echo "Doing pdf in fileutils" ; \
10658 (cd $(HOST_SUBDIR)/fileutils && \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661 "RANLIB=$${RANLIB}" \
10662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10663 pdf) \
10664 || exit 1
10666 @endif fileutils
10668 .PHONY: maybe-html-fileutils html-fileutils
10669 maybe-html-fileutils:
10670 @if fileutils
10671 maybe-html-fileutils: html-fileutils
10673 html-fileutils: \
10674 configure-fileutils
10675 @: $(MAKE); $(unstage)
10676 @[ -f ./fileutils/Makefile ] || exit 0; \
10677 r=`${PWD_COMMAND}`; export r; \
10678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10679 $(HOST_EXPORTS) \
10680 for flag in $(EXTRA_HOST_FLAGS) ; do \
10681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10682 done; \
10683 echo "Doing html in fileutils" ; \
10684 (cd $(HOST_SUBDIR)/fileutils && \
10685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10687 "RANLIB=$${RANLIB}" \
10688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10689 html) \
10690 || exit 1
10692 @endif fileutils
10694 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10695 maybe-TAGS-fileutils:
10696 @if fileutils
10697 maybe-TAGS-fileutils: TAGS-fileutils
10699 TAGS-fileutils: \
10700 configure-fileutils
10701 @: $(MAKE); $(unstage)
10702 @[ -f ./fileutils/Makefile ] || exit 0; \
10703 r=`${PWD_COMMAND}`; export r; \
10704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10705 $(HOST_EXPORTS) \
10706 for flag in $(EXTRA_HOST_FLAGS) ; do \
10707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10708 done; \
10709 echo "Doing TAGS in fileutils" ; \
10710 (cd $(HOST_SUBDIR)/fileutils && \
10711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10713 "RANLIB=$${RANLIB}" \
10714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10715 TAGS) \
10716 || exit 1
10718 @endif fileutils
10720 .PHONY: maybe-install-info-fileutils install-info-fileutils
10721 maybe-install-info-fileutils:
10722 @if fileutils
10723 maybe-install-info-fileutils: install-info-fileutils
10725 install-info-fileutils: \
10726 configure-fileutils \
10727 info-fileutils
10728 @: $(MAKE); $(unstage)
10729 @[ -f ./fileutils/Makefile ] || exit 0; \
10730 r=`${PWD_COMMAND}`; export r; \
10731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10732 $(HOST_EXPORTS) \
10733 for flag in $(EXTRA_HOST_FLAGS) ; do \
10734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10735 done; \
10736 echo "Doing install-info in fileutils" ; \
10737 (cd $(HOST_SUBDIR)/fileutils && \
10738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10740 "RANLIB=$${RANLIB}" \
10741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10742 install-info) \
10743 || exit 1
10745 @endif fileutils
10747 .PHONY: maybe-install-pdf-fileutils install-pdf-fileutils
10748 maybe-install-pdf-fileutils:
10749 @if fileutils
10750 maybe-install-pdf-fileutils: install-pdf-fileutils
10752 install-pdf-fileutils: \
10753 configure-fileutils \
10754 pdf-fileutils
10755 @: $(MAKE); $(unstage)
10756 @[ -f ./fileutils/Makefile ] || exit 0; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(HOST_EXPORTS) \
10760 for flag in $(EXTRA_HOST_FLAGS) ; do \
10761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10762 done; \
10763 echo "Doing install-pdf in fileutils" ; \
10764 (cd $(HOST_SUBDIR)/fileutils && \
10765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10767 "RANLIB=$${RANLIB}" \
10768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10769 install-pdf) \
10770 || exit 1
10772 @endif fileutils
10774 .PHONY: maybe-install-html-fileutils install-html-fileutils
10775 maybe-install-html-fileutils:
10776 @if fileutils
10777 maybe-install-html-fileutils: install-html-fileutils
10779 install-html-fileutils: \
10780 configure-fileutils \
10781 html-fileutils
10782 @: $(MAKE); $(unstage)
10783 @[ -f ./fileutils/Makefile ] || exit 0; \
10784 r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(HOST_EXPORTS) \
10787 for flag in $(EXTRA_HOST_FLAGS) ; do \
10788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10789 done; \
10790 echo "Doing install-html in fileutils" ; \
10791 (cd $(HOST_SUBDIR)/fileutils && \
10792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794 "RANLIB=$${RANLIB}" \
10795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10796 install-html) \
10797 || exit 1
10799 @endif fileutils
10801 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10802 maybe-installcheck-fileutils:
10803 @if fileutils
10804 maybe-installcheck-fileutils: installcheck-fileutils
10806 installcheck-fileutils: \
10807 configure-fileutils
10808 @: $(MAKE); $(unstage)
10809 @[ -f ./fileutils/Makefile ] || exit 0; \
10810 r=`${PWD_COMMAND}`; export r; \
10811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10812 $(HOST_EXPORTS) \
10813 for flag in $(EXTRA_HOST_FLAGS) ; do \
10814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10815 done; \
10816 echo "Doing installcheck in fileutils" ; \
10817 (cd $(HOST_SUBDIR)/fileutils && \
10818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10820 "RANLIB=$${RANLIB}" \
10821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10822 installcheck) \
10823 || exit 1
10825 @endif fileutils
10827 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10828 maybe-mostlyclean-fileutils:
10829 @if fileutils
10830 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10832 mostlyclean-fileutils:
10833 @: $(MAKE); $(unstage)
10834 @[ -f ./fileutils/Makefile ] || exit 0; \
10835 r=`${PWD_COMMAND}`; export r; \
10836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10837 $(HOST_EXPORTS) \
10838 for flag in $(EXTRA_HOST_FLAGS) ; do \
10839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10840 done; \
10841 echo "Doing mostlyclean in fileutils" ; \
10842 (cd $(HOST_SUBDIR)/fileutils && \
10843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10845 "RANLIB=$${RANLIB}" \
10846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10847 mostlyclean) \
10848 || exit 1
10850 @endif fileutils
10852 .PHONY: maybe-clean-fileutils clean-fileutils
10853 maybe-clean-fileutils:
10854 @if fileutils
10855 maybe-clean-fileutils: clean-fileutils
10857 clean-fileutils:
10858 @: $(MAKE); $(unstage)
10859 @[ -f ./fileutils/Makefile ] || exit 0; \
10860 r=`${PWD_COMMAND}`; export r; \
10861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10862 $(HOST_EXPORTS) \
10863 for flag in $(EXTRA_HOST_FLAGS) ; do \
10864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10865 done; \
10866 echo "Doing clean in fileutils" ; \
10867 (cd $(HOST_SUBDIR)/fileutils && \
10868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10870 "RANLIB=$${RANLIB}" \
10871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10872 clean) \
10873 || exit 1
10875 @endif fileutils
10877 .PHONY: maybe-distclean-fileutils distclean-fileutils
10878 maybe-distclean-fileutils:
10879 @if fileutils
10880 maybe-distclean-fileutils: distclean-fileutils
10882 distclean-fileutils:
10883 @: $(MAKE); $(unstage)
10884 @[ -f ./fileutils/Makefile ] || exit 0; \
10885 r=`${PWD_COMMAND}`; export r; \
10886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10887 $(HOST_EXPORTS) \
10888 for flag in $(EXTRA_HOST_FLAGS) ; do \
10889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10890 done; \
10891 echo "Doing distclean in fileutils" ; \
10892 (cd $(HOST_SUBDIR)/fileutils && \
10893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10895 "RANLIB=$${RANLIB}" \
10896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10897 distclean) \
10898 || exit 1
10900 @endif fileutils
10902 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10903 maybe-maintainer-clean-fileutils:
10904 @if fileutils
10905 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10907 maintainer-clean-fileutils:
10908 @: $(MAKE); $(unstage)
10909 @[ -f ./fileutils/Makefile ] || exit 0; \
10910 r=`${PWD_COMMAND}`; export r; \
10911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10912 $(HOST_EXPORTS) \
10913 for flag in $(EXTRA_HOST_FLAGS) ; do \
10914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10915 done; \
10916 echo "Doing maintainer-clean in fileutils" ; \
10917 (cd $(HOST_SUBDIR)/fileutils && \
10918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10920 "RANLIB=$${RANLIB}" \
10921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10922 maintainer-clean) \
10923 || exit 1
10925 @endif fileutils
10929 .PHONY: configure-findutils maybe-configure-findutils
10930 maybe-configure-findutils:
10931 @if gcc-bootstrap
10932 configure-findutils: stage_current
10933 @endif gcc-bootstrap
10934 @if findutils
10935 maybe-configure-findutils: configure-findutils
10936 configure-findutils:
10937 @: $(MAKE); $(unstage)
10938 @r=`${PWD_COMMAND}`; export r; \
10939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10940 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10942 $(HOST_EXPORTS) \
10943 echo Configuring in $(HOST_SUBDIR)/findutils; \
10944 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10945 case $(srcdir) in \
10946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10947 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10949 esac; \
10950 srcdiroption="--srcdir=$${topdir}/findutils"; \
10951 libsrcdir="$$s/findutils"; \
10952 $(SHELL) $${libsrcdir}/configure \
10953 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10954 --target=${target_alias} $${srcdiroption} \
10955 || exit 1
10956 @endif findutils
10962 .PHONY: all-findutils maybe-all-findutils
10963 maybe-all-findutils:
10964 @if gcc-bootstrap
10965 all-findutils: stage_current
10966 @endif gcc-bootstrap
10967 @if findutils
10968 TARGET-findutils=all
10969 maybe-all-findutils: all-findutils
10970 all-findutils: configure-findutils
10971 @: $(MAKE); $(unstage)
10972 @r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974 $(HOST_EXPORTS) \
10975 (cd $(HOST_SUBDIR)/findutils && \
10976 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10977 @endif findutils
10982 .PHONY: check-findutils maybe-check-findutils
10983 maybe-check-findutils:
10984 @if findutils
10985 maybe-check-findutils: check-findutils
10987 check-findutils:
10988 @: $(MAKE); $(unstage)
10989 @r=`${PWD_COMMAND}`; export r; \
10990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10991 $(HOST_EXPORTS) \
10992 (cd $(HOST_SUBDIR)/findutils && \
10993 $(MAKE) $(FLAGS_TO_PASS) check)
10995 @endif findutils
10997 .PHONY: install-findutils maybe-install-findutils
10998 maybe-install-findutils:
10999 @if findutils
11000 maybe-install-findutils: install-findutils
11002 install-findutils: installdirs
11003 @: $(MAKE); $(unstage)
11004 @r=`${PWD_COMMAND}`; export r; \
11005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11006 $(HOST_EXPORTS) \
11007 (cd $(HOST_SUBDIR)/findutils && \
11008 $(MAKE) $(FLAGS_TO_PASS) install)
11010 @endif findutils
11012 # Other targets (info, dvi, pdf, etc.)
11014 .PHONY: maybe-info-findutils info-findutils
11015 maybe-info-findutils:
11016 @if findutils
11017 maybe-info-findutils: info-findutils
11019 info-findutils: \
11020 configure-findutils
11021 @: $(MAKE); $(unstage)
11022 @[ -f ./findutils/Makefile ] || exit 0; \
11023 r=`${PWD_COMMAND}`; export r; \
11024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11025 $(HOST_EXPORTS) \
11026 for flag in $(EXTRA_HOST_FLAGS) ; do \
11027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11028 done; \
11029 echo "Doing info in findutils" ; \
11030 (cd $(HOST_SUBDIR)/findutils && \
11031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11033 "RANLIB=$${RANLIB}" \
11034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11035 info) \
11036 || exit 1
11038 @endif findutils
11040 .PHONY: maybe-dvi-findutils dvi-findutils
11041 maybe-dvi-findutils:
11042 @if findutils
11043 maybe-dvi-findutils: dvi-findutils
11045 dvi-findutils: \
11046 configure-findutils
11047 @: $(MAKE); $(unstage)
11048 @[ -f ./findutils/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 for flag in $(EXTRA_HOST_FLAGS) ; do \
11053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 done; \
11055 echo "Doing dvi in findutils" ; \
11056 (cd $(HOST_SUBDIR)/findutils && \
11057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11059 "RANLIB=$${RANLIB}" \
11060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11061 dvi) \
11062 || exit 1
11064 @endif findutils
11066 .PHONY: maybe-pdf-findutils pdf-findutils
11067 maybe-pdf-findutils:
11068 @if findutils
11069 maybe-pdf-findutils: pdf-findutils
11071 pdf-findutils: \
11072 configure-findutils
11073 @: $(MAKE); $(unstage)
11074 @[ -f ./findutils/Makefile ] || exit 0; \
11075 r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077 $(HOST_EXPORTS) \
11078 for flag in $(EXTRA_HOST_FLAGS) ; do \
11079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11080 done; \
11081 echo "Doing pdf in findutils" ; \
11082 (cd $(HOST_SUBDIR)/findutils && \
11083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11085 "RANLIB=$${RANLIB}" \
11086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11087 pdf) \
11088 || exit 1
11090 @endif findutils
11092 .PHONY: maybe-html-findutils html-findutils
11093 maybe-html-findutils:
11094 @if findutils
11095 maybe-html-findutils: html-findutils
11097 html-findutils: \
11098 configure-findutils
11099 @: $(MAKE); $(unstage)
11100 @[ -f ./findutils/Makefile ] || exit 0; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(HOST_EXPORTS) \
11104 for flag in $(EXTRA_HOST_FLAGS) ; do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing html in findutils" ; \
11108 (cd $(HOST_SUBDIR)/findutils && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113 html) \
11114 || exit 1
11116 @endif findutils
11118 .PHONY: maybe-TAGS-findutils TAGS-findutils
11119 maybe-TAGS-findutils:
11120 @if findutils
11121 maybe-TAGS-findutils: TAGS-findutils
11123 TAGS-findutils: \
11124 configure-findutils
11125 @: $(MAKE); $(unstage)
11126 @[ -f ./findutils/Makefile ] || exit 0; \
11127 r=`${PWD_COMMAND}`; export r; \
11128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 $(HOST_EXPORTS) \
11130 for flag in $(EXTRA_HOST_FLAGS) ; do \
11131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 done; \
11133 echo "Doing TAGS in findutils" ; \
11134 (cd $(HOST_SUBDIR)/findutils && \
11135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137 "RANLIB=$${RANLIB}" \
11138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11139 TAGS) \
11140 || exit 1
11142 @endif findutils
11144 .PHONY: maybe-install-info-findutils install-info-findutils
11145 maybe-install-info-findutils:
11146 @if findutils
11147 maybe-install-info-findutils: install-info-findutils
11149 install-info-findutils: \
11150 configure-findutils \
11151 info-findutils
11152 @: $(MAKE); $(unstage)
11153 @[ -f ./findutils/Makefile ] || exit 0; \
11154 r=`${PWD_COMMAND}`; export r; \
11155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 $(HOST_EXPORTS) \
11157 for flag in $(EXTRA_HOST_FLAGS) ; do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 done; \
11160 echo "Doing install-info in findutils" ; \
11161 (cd $(HOST_SUBDIR)/findutils && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11166 install-info) \
11167 || exit 1
11169 @endif findutils
11171 .PHONY: maybe-install-pdf-findutils install-pdf-findutils
11172 maybe-install-pdf-findutils:
11173 @if findutils
11174 maybe-install-pdf-findutils: install-pdf-findutils
11176 install-pdf-findutils: \
11177 configure-findutils \
11178 pdf-findutils
11179 @: $(MAKE); $(unstage)
11180 @[ -f ./findutils/Makefile ] || exit 0; \
11181 r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 $(HOST_EXPORTS) \
11184 for flag in $(EXTRA_HOST_FLAGS) ; do \
11185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11186 done; \
11187 echo "Doing install-pdf in findutils" ; \
11188 (cd $(HOST_SUBDIR)/findutils && \
11189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11191 "RANLIB=$${RANLIB}" \
11192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11193 install-pdf) \
11194 || exit 1
11196 @endif findutils
11198 .PHONY: maybe-install-html-findutils install-html-findutils
11199 maybe-install-html-findutils:
11200 @if findutils
11201 maybe-install-html-findutils: install-html-findutils
11203 install-html-findutils: \
11204 configure-findutils \
11205 html-findutils
11206 @: $(MAKE); $(unstage)
11207 @[ -f ./findutils/Makefile ] || exit 0; \
11208 r=`${PWD_COMMAND}`; export r; \
11209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11210 $(HOST_EXPORTS) \
11211 for flag in $(EXTRA_HOST_FLAGS) ; do \
11212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11213 done; \
11214 echo "Doing install-html in findutils" ; \
11215 (cd $(HOST_SUBDIR)/findutils && \
11216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11218 "RANLIB=$${RANLIB}" \
11219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11220 install-html) \
11221 || exit 1
11223 @endif findutils
11225 .PHONY: maybe-installcheck-findutils installcheck-findutils
11226 maybe-installcheck-findutils:
11227 @if findutils
11228 maybe-installcheck-findutils: installcheck-findutils
11230 installcheck-findutils: \
11231 configure-findutils
11232 @: $(MAKE); $(unstage)
11233 @[ -f ./findutils/Makefile ] || exit 0; \
11234 r=`${PWD_COMMAND}`; export r; \
11235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11236 $(HOST_EXPORTS) \
11237 for flag in $(EXTRA_HOST_FLAGS) ; do \
11238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11239 done; \
11240 echo "Doing installcheck in findutils" ; \
11241 (cd $(HOST_SUBDIR)/findutils && \
11242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11244 "RANLIB=$${RANLIB}" \
11245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11246 installcheck) \
11247 || exit 1
11249 @endif findutils
11251 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
11252 maybe-mostlyclean-findutils:
11253 @if findutils
11254 maybe-mostlyclean-findutils: mostlyclean-findutils
11256 mostlyclean-findutils:
11257 @: $(MAKE); $(unstage)
11258 @[ -f ./findutils/Makefile ] || exit 0; \
11259 r=`${PWD_COMMAND}`; export r; \
11260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11261 $(HOST_EXPORTS) \
11262 for flag in $(EXTRA_HOST_FLAGS) ; do \
11263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11264 done; \
11265 echo "Doing mostlyclean in findutils" ; \
11266 (cd $(HOST_SUBDIR)/findutils && \
11267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11269 "RANLIB=$${RANLIB}" \
11270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11271 mostlyclean) \
11272 || exit 1
11274 @endif findutils
11276 .PHONY: maybe-clean-findutils clean-findutils
11277 maybe-clean-findutils:
11278 @if findutils
11279 maybe-clean-findutils: clean-findutils
11281 clean-findutils:
11282 @: $(MAKE); $(unstage)
11283 @[ -f ./findutils/Makefile ] || exit 0; \
11284 r=`${PWD_COMMAND}`; export r; \
11285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11286 $(HOST_EXPORTS) \
11287 for flag in $(EXTRA_HOST_FLAGS) ; do \
11288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11289 done; \
11290 echo "Doing clean in findutils" ; \
11291 (cd $(HOST_SUBDIR)/findutils && \
11292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11294 "RANLIB=$${RANLIB}" \
11295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11296 clean) \
11297 || exit 1
11299 @endif findutils
11301 .PHONY: maybe-distclean-findutils distclean-findutils
11302 maybe-distclean-findutils:
11303 @if findutils
11304 maybe-distclean-findutils: distclean-findutils
11306 distclean-findutils:
11307 @: $(MAKE); $(unstage)
11308 @[ -f ./findutils/Makefile ] || exit 0; \
11309 r=`${PWD_COMMAND}`; export r; \
11310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11311 $(HOST_EXPORTS) \
11312 for flag in $(EXTRA_HOST_FLAGS) ; do \
11313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11314 done; \
11315 echo "Doing distclean in findutils" ; \
11316 (cd $(HOST_SUBDIR)/findutils && \
11317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11319 "RANLIB=$${RANLIB}" \
11320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11321 distclean) \
11322 || exit 1
11324 @endif findutils
11326 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
11327 maybe-maintainer-clean-findutils:
11328 @if findutils
11329 maybe-maintainer-clean-findutils: maintainer-clean-findutils
11331 maintainer-clean-findutils:
11332 @: $(MAKE); $(unstage)
11333 @[ -f ./findutils/Makefile ] || exit 0; \
11334 r=`${PWD_COMMAND}`; export r; \
11335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11336 $(HOST_EXPORTS) \
11337 for flag in $(EXTRA_HOST_FLAGS) ; do \
11338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11339 done; \
11340 echo "Doing maintainer-clean in findutils" ; \
11341 (cd $(HOST_SUBDIR)/findutils && \
11342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11344 "RANLIB=$${RANLIB}" \
11345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11346 maintainer-clean) \
11347 || exit 1
11349 @endif findutils
11353 .PHONY: configure-find maybe-configure-find
11354 maybe-configure-find:
11355 @if gcc-bootstrap
11356 configure-find: stage_current
11357 @endif gcc-bootstrap
11358 @if find
11359 maybe-configure-find: configure-find
11360 configure-find:
11361 @: $(MAKE); $(unstage)
11362 @r=`${PWD_COMMAND}`; export r; \
11363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11364 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
11365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
11366 $(HOST_EXPORTS) \
11367 echo Configuring in $(HOST_SUBDIR)/find; \
11368 cd "$(HOST_SUBDIR)/find" || exit 1; \
11369 case $(srcdir) in \
11370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11371 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
11372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11373 esac; \
11374 srcdiroption="--srcdir=$${topdir}/find"; \
11375 libsrcdir="$$s/find"; \
11376 $(SHELL) $${libsrcdir}/configure \
11377 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11378 --target=${target_alias} $${srcdiroption} \
11379 || exit 1
11380 @endif find
11386 .PHONY: all-find maybe-all-find
11387 maybe-all-find:
11388 @if gcc-bootstrap
11389 all-find: stage_current
11390 @endif gcc-bootstrap
11391 @if find
11392 TARGET-find=all
11393 maybe-all-find: all-find
11394 all-find: configure-find
11395 @: $(MAKE); $(unstage)
11396 @r=`${PWD_COMMAND}`; export r; \
11397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11398 $(HOST_EXPORTS) \
11399 (cd $(HOST_SUBDIR)/find && \
11400 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
11401 @endif find
11406 .PHONY: check-find maybe-check-find
11407 maybe-check-find:
11408 @if find
11409 maybe-check-find: check-find
11411 check-find:
11412 @: $(MAKE); $(unstage)
11413 @r=`${PWD_COMMAND}`; export r; \
11414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11415 $(HOST_EXPORTS) \
11416 (cd $(HOST_SUBDIR)/find && \
11417 $(MAKE) $(FLAGS_TO_PASS) check)
11419 @endif find
11421 .PHONY: install-find maybe-install-find
11422 maybe-install-find:
11423 @if find
11424 maybe-install-find: install-find
11426 install-find: installdirs
11427 @: $(MAKE); $(unstage)
11428 @r=`${PWD_COMMAND}`; export r; \
11429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 $(HOST_EXPORTS) \
11431 (cd $(HOST_SUBDIR)/find && \
11432 $(MAKE) $(FLAGS_TO_PASS) install)
11434 @endif find
11436 # Other targets (info, dvi, pdf, etc.)
11438 .PHONY: maybe-info-find info-find
11439 maybe-info-find:
11440 @if find
11441 maybe-info-find: info-find
11443 info-find: \
11444 configure-find
11445 @: $(MAKE); $(unstage)
11446 @[ -f ./find/Makefile ] || exit 0; \
11447 r=`${PWD_COMMAND}`; export r; \
11448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11449 $(HOST_EXPORTS) \
11450 for flag in $(EXTRA_HOST_FLAGS) ; do \
11451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11452 done; \
11453 echo "Doing info in find" ; \
11454 (cd $(HOST_SUBDIR)/find && \
11455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11457 "RANLIB=$${RANLIB}" \
11458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11459 info) \
11460 || exit 1
11462 @endif find
11464 .PHONY: maybe-dvi-find dvi-find
11465 maybe-dvi-find:
11466 @if find
11467 maybe-dvi-find: dvi-find
11469 dvi-find: \
11470 configure-find
11471 @: $(MAKE); $(unstage)
11472 @[ -f ./find/Makefile ] || exit 0; \
11473 r=`${PWD_COMMAND}`; export r; \
11474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11475 $(HOST_EXPORTS) \
11476 for flag in $(EXTRA_HOST_FLAGS) ; do \
11477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11478 done; \
11479 echo "Doing dvi in find" ; \
11480 (cd $(HOST_SUBDIR)/find && \
11481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11483 "RANLIB=$${RANLIB}" \
11484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11485 dvi) \
11486 || exit 1
11488 @endif find
11490 .PHONY: maybe-pdf-find pdf-find
11491 maybe-pdf-find:
11492 @if find
11493 maybe-pdf-find: pdf-find
11495 pdf-find: \
11496 configure-find
11497 @: $(MAKE); $(unstage)
11498 @[ -f ./find/Makefile ] || exit 0; \
11499 r=`${PWD_COMMAND}`; export r; \
11500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11501 $(HOST_EXPORTS) \
11502 for flag in $(EXTRA_HOST_FLAGS) ; do \
11503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11504 done; \
11505 echo "Doing pdf in find" ; \
11506 (cd $(HOST_SUBDIR)/find && \
11507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11509 "RANLIB=$${RANLIB}" \
11510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11511 pdf) \
11512 || exit 1
11514 @endif find
11516 .PHONY: maybe-html-find html-find
11517 maybe-html-find:
11518 @if find
11519 maybe-html-find: html-find
11521 html-find: \
11522 configure-find
11523 @: $(MAKE); $(unstage)
11524 @[ -f ./find/Makefile ] || exit 0; \
11525 r=`${PWD_COMMAND}`; export r; \
11526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11527 $(HOST_EXPORTS) \
11528 for flag in $(EXTRA_HOST_FLAGS) ; do \
11529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11530 done; \
11531 echo "Doing html in find" ; \
11532 (cd $(HOST_SUBDIR)/find && \
11533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11535 "RANLIB=$${RANLIB}" \
11536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11537 html) \
11538 || exit 1
11540 @endif find
11542 .PHONY: maybe-TAGS-find TAGS-find
11543 maybe-TAGS-find:
11544 @if find
11545 maybe-TAGS-find: TAGS-find
11547 TAGS-find: \
11548 configure-find
11549 @: $(MAKE); $(unstage)
11550 @[ -f ./find/Makefile ] || exit 0; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(HOST_EXPORTS) \
11554 for flag in $(EXTRA_HOST_FLAGS) ; do \
11555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11556 done; \
11557 echo "Doing TAGS in find" ; \
11558 (cd $(HOST_SUBDIR)/find && \
11559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11561 "RANLIB=$${RANLIB}" \
11562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11563 TAGS) \
11564 || exit 1
11566 @endif find
11568 .PHONY: maybe-install-info-find install-info-find
11569 maybe-install-info-find:
11570 @if find
11571 maybe-install-info-find: install-info-find
11573 install-info-find: \
11574 configure-find \
11575 info-find
11576 @: $(MAKE); $(unstage)
11577 @[ -f ./find/Makefile ] || exit 0; \
11578 r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 $(HOST_EXPORTS) \
11581 for flag in $(EXTRA_HOST_FLAGS) ; do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 done; \
11584 echo "Doing install-info in find" ; \
11585 (cd $(HOST_SUBDIR)/find && \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11590 install-info) \
11591 || exit 1
11593 @endif find
11595 .PHONY: maybe-install-pdf-find install-pdf-find
11596 maybe-install-pdf-find:
11597 @if find
11598 maybe-install-pdf-find: install-pdf-find
11600 install-pdf-find: \
11601 configure-find \
11602 pdf-find
11603 @: $(MAKE); $(unstage)
11604 @[ -f ./find/Makefile ] || exit 0; \
11605 r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(HOST_EXPORTS) \
11608 for flag in $(EXTRA_HOST_FLAGS) ; do \
11609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11610 done; \
11611 echo "Doing install-pdf in find" ; \
11612 (cd $(HOST_SUBDIR)/find && \
11613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11615 "RANLIB=$${RANLIB}" \
11616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11617 install-pdf) \
11618 || exit 1
11620 @endif find
11622 .PHONY: maybe-install-html-find install-html-find
11623 maybe-install-html-find:
11624 @if find
11625 maybe-install-html-find: install-html-find
11627 install-html-find: \
11628 configure-find \
11629 html-find
11630 @: $(MAKE); $(unstage)
11631 @[ -f ./find/Makefile ] || exit 0; \
11632 r=`${PWD_COMMAND}`; export r; \
11633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11634 $(HOST_EXPORTS) \
11635 for flag in $(EXTRA_HOST_FLAGS) ; do \
11636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11637 done; \
11638 echo "Doing install-html in find" ; \
11639 (cd $(HOST_SUBDIR)/find && \
11640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11642 "RANLIB=$${RANLIB}" \
11643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11644 install-html) \
11645 || exit 1
11647 @endif find
11649 .PHONY: maybe-installcheck-find installcheck-find
11650 maybe-installcheck-find:
11651 @if find
11652 maybe-installcheck-find: installcheck-find
11654 installcheck-find: \
11655 configure-find
11656 @: $(MAKE); $(unstage)
11657 @[ -f ./find/Makefile ] || exit 0; \
11658 r=`${PWD_COMMAND}`; export r; \
11659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11660 $(HOST_EXPORTS) \
11661 for flag in $(EXTRA_HOST_FLAGS) ; do \
11662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11663 done; \
11664 echo "Doing installcheck in find" ; \
11665 (cd $(HOST_SUBDIR)/find && \
11666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11668 "RANLIB=$${RANLIB}" \
11669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11670 installcheck) \
11671 || exit 1
11673 @endif find
11675 .PHONY: maybe-mostlyclean-find mostlyclean-find
11676 maybe-mostlyclean-find:
11677 @if find
11678 maybe-mostlyclean-find: mostlyclean-find
11680 mostlyclean-find:
11681 @: $(MAKE); $(unstage)
11682 @[ -f ./find/Makefile ] || exit 0; \
11683 r=`${PWD_COMMAND}`; export r; \
11684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11685 $(HOST_EXPORTS) \
11686 for flag in $(EXTRA_HOST_FLAGS) ; do \
11687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11688 done; \
11689 echo "Doing mostlyclean in find" ; \
11690 (cd $(HOST_SUBDIR)/find && \
11691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11693 "RANLIB=$${RANLIB}" \
11694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11695 mostlyclean) \
11696 || exit 1
11698 @endif find
11700 .PHONY: maybe-clean-find clean-find
11701 maybe-clean-find:
11702 @if find
11703 maybe-clean-find: clean-find
11705 clean-find:
11706 @: $(MAKE); $(unstage)
11707 @[ -f ./find/Makefile ] || exit 0; \
11708 r=`${PWD_COMMAND}`; export r; \
11709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11710 $(HOST_EXPORTS) \
11711 for flag in $(EXTRA_HOST_FLAGS) ; do \
11712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11713 done; \
11714 echo "Doing clean in find" ; \
11715 (cd $(HOST_SUBDIR)/find && \
11716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11718 "RANLIB=$${RANLIB}" \
11719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11720 clean) \
11721 || exit 1
11723 @endif find
11725 .PHONY: maybe-distclean-find distclean-find
11726 maybe-distclean-find:
11727 @if find
11728 maybe-distclean-find: distclean-find
11730 distclean-find:
11731 @: $(MAKE); $(unstage)
11732 @[ -f ./find/Makefile ] || exit 0; \
11733 r=`${PWD_COMMAND}`; export r; \
11734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 $(HOST_EXPORTS) \
11736 for flag in $(EXTRA_HOST_FLAGS) ; do \
11737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 done; \
11739 echo "Doing distclean in find" ; \
11740 (cd $(HOST_SUBDIR)/find && \
11741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743 "RANLIB=$${RANLIB}" \
11744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11745 distclean) \
11746 || exit 1
11748 @endif find
11750 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11751 maybe-maintainer-clean-find:
11752 @if find
11753 maybe-maintainer-clean-find: maintainer-clean-find
11755 maintainer-clean-find:
11756 @: $(MAKE); $(unstage)
11757 @[ -f ./find/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11760 $(HOST_EXPORTS) \
11761 for flag in $(EXTRA_HOST_FLAGS) ; do \
11762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11763 done; \
11764 echo "Doing maintainer-clean in find" ; \
11765 (cd $(HOST_SUBDIR)/find && \
11766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11768 "RANLIB=$${RANLIB}" \
11769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11770 maintainer-clean) \
11771 || exit 1
11773 @endif find
11777 .PHONY: configure-fixincludes maybe-configure-fixincludes
11778 maybe-configure-fixincludes:
11779 @if gcc-bootstrap
11780 configure-fixincludes: stage_current
11781 @endif gcc-bootstrap
11782 @if fixincludes
11783 maybe-configure-fixincludes: configure-fixincludes
11784 configure-fixincludes:
11785 @: $(MAKE); $(unstage)
11786 @r=`${PWD_COMMAND}`; export r; \
11787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11788 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11790 $(HOST_EXPORTS) \
11791 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11792 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11793 case $(srcdir) in \
11794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11795 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11797 esac; \
11798 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11799 libsrcdir="$$s/fixincludes"; \
11800 $(SHELL) $${libsrcdir}/configure \
11801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11802 --target=${target_alias} $${srcdiroption} \
11803 || exit 1
11804 @endif fixincludes
11810 .PHONY: all-fixincludes maybe-all-fixincludes
11811 maybe-all-fixincludes:
11812 @if gcc-bootstrap
11813 all-fixincludes: stage_current
11814 @endif gcc-bootstrap
11815 @if fixincludes
11816 TARGET-fixincludes=all
11817 maybe-all-fixincludes: all-fixincludes
11818 all-fixincludes: configure-fixincludes
11819 @: $(MAKE); $(unstage)
11820 @r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11822 $(HOST_EXPORTS) \
11823 (cd $(HOST_SUBDIR)/fixincludes && \
11824 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11825 @endif fixincludes
11830 .PHONY: check-fixincludes maybe-check-fixincludes
11831 maybe-check-fixincludes:
11832 @if fixincludes
11833 maybe-check-fixincludes: check-fixincludes
11835 check-fixincludes:
11836 @: $(MAKE); $(unstage)
11837 @r=`${PWD_COMMAND}`; export r; \
11838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 $(HOST_EXPORTS) \
11840 (cd $(HOST_SUBDIR)/fixincludes && \
11841 $(MAKE) $(FLAGS_TO_PASS) check)
11843 @endif fixincludes
11845 .PHONY: install-fixincludes maybe-install-fixincludes
11846 maybe-install-fixincludes:
11847 @if fixincludes
11848 maybe-install-fixincludes: install-fixincludes
11850 install-fixincludes: installdirs
11851 @: $(MAKE); $(unstage)
11852 @r=`${PWD_COMMAND}`; export r; \
11853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11854 $(HOST_EXPORTS) \
11855 (cd $(HOST_SUBDIR)/fixincludes && \
11856 $(MAKE) $(FLAGS_TO_PASS) install)
11858 @endif fixincludes
11860 # Other targets (info, dvi, pdf, etc.)
11862 .PHONY: maybe-info-fixincludes info-fixincludes
11863 maybe-info-fixincludes:
11864 @if fixincludes
11865 maybe-info-fixincludes: info-fixincludes
11867 # fixincludes doesn't support info.
11868 info-fixincludes:
11870 @endif fixincludes
11872 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11873 maybe-dvi-fixincludes:
11874 @if fixincludes
11875 maybe-dvi-fixincludes: dvi-fixincludes
11877 # fixincludes doesn't support dvi.
11878 dvi-fixincludes:
11880 @endif fixincludes
11882 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11883 maybe-pdf-fixincludes:
11884 @if fixincludes
11885 maybe-pdf-fixincludes: pdf-fixincludes
11887 # fixincludes doesn't support pdf.
11888 pdf-fixincludes:
11890 @endif fixincludes
11892 .PHONY: maybe-html-fixincludes html-fixincludes
11893 maybe-html-fixincludes:
11894 @if fixincludes
11895 maybe-html-fixincludes: html-fixincludes
11897 html-fixincludes: \
11898 configure-fixincludes
11899 @: $(MAKE); $(unstage)
11900 @[ -f ./fixincludes/Makefile ] || exit 0; \
11901 r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 $(HOST_EXPORTS) \
11904 for flag in $(EXTRA_HOST_FLAGS) ; do \
11905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11906 done; \
11907 echo "Doing html in fixincludes" ; \
11908 (cd $(HOST_SUBDIR)/fixincludes && \
11909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11911 "RANLIB=$${RANLIB}" \
11912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11913 html) \
11914 || exit 1
11916 @endif fixincludes
11918 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11919 maybe-TAGS-fixincludes:
11920 @if fixincludes
11921 maybe-TAGS-fixincludes: TAGS-fixincludes
11923 # fixincludes doesn't support TAGS.
11924 TAGS-fixincludes:
11926 @endif fixincludes
11928 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11929 maybe-install-info-fixincludes:
11930 @if fixincludes
11931 maybe-install-info-fixincludes: install-info-fixincludes
11933 # fixincludes doesn't support install-info.
11934 install-info-fixincludes:
11936 @endif fixincludes
11938 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
11939 maybe-install-pdf-fixincludes:
11940 @if fixincludes
11941 maybe-install-pdf-fixincludes: install-pdf-fixincludes
11943 # fixincludes doesn't support install-pdf.
11944 install-pdf-fixincludes:
11946 @endif fixincludes
11948 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11949 maybe-install-html-fixincludes:
11950 @if fixincludes
11951 maybe-install-html-fixincludes: install-html-fixincludes
11953 install-html-fixincludes: \
11954 configure-fixincludes \
11955 html-fixincludes
11956 @: $(MAKE); $(unstage)
11957 @[ -f ./fixincludes/Makefile ] || exit 0; \
11958 r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11960 $(HOST_EXPORTS) \
11961 for flag in $(EXTRA_HOST_FLAGS) ; do \
11962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11963 done; \
11964 echo "Doing install-html in fixincludes" ; \
11965 (cd $(HOST_SUBDIR)/fixincludes && \
11966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968 "RANLIB=$${RANLIB}" \
11969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11970 install-html) \
11971 || exit 1
11973 @endif fixincludes
11975 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11976 maybe-installcheck-fixincludes:
11977 @if fixincludes
11978 maybe-installcheck-fixincludes: installcheck-fixincludes
11980 # fixincludes doesn't support installcheck.
11981 installcheck-fixincludes:
11983 @endif fixincludes
11985 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11986 maybe-mostlyclean-fixincludes:
11987 @if fixincludes
11988 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11990 mostlyclean-fixincludes:
11991 @: $(MAKE); $(unstage)
11992 @[ -f ./fixincludes/Makefile ] || exit 0; \
11993 r=`${PWD_COMMAND}`; export r; \
11994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11995 $(HOST_EXPORTS) \
11996 for flag in $(EXTRA_HOST_FLAGS) ; do \
11997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11998 done; \
11999 echo "Doing mostlyclean in fixincludes" ; \
12000 (cd $(HOST_SUBDIR)/fixincludes && \
12001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12003 "RANLIB=$${RANLIB}" \
12004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12005 mostlyclean) \
12006 || exit 1
12008 @endif fixincludes
12010 .PHONY: maybe-clean-fixincludes clean-fixincludes
12011 maybe-clean-fixincludes:
12012 @if fixincludes
12013 maybe-clean-fixincludes: clean-fixincludes
12015 clean-fixincludes:
12016 @: $(MAKE); $(unstage)
12017 @[ -f ./fixincludes/Makefile ] || exit 0; \
12018 r=`${PWD_COMMAND}`; export r; \
12019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12020 $(HOST_EXPORTS) \
12021 for flag in $(EXTRA_HOST_FLAGS) ; do \
12022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12023 done; \
12024 echo "Doing clean in fixincludes" ; \
12025 (cd $(HOST_SUBDIR)/fixincludes && \
12026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12028 "RANLIB=$${RANLIB}" \
12029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12030 clean) \
12031 || exit 1
12033 @endif fixincludes
12035 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
12036 maybe-distclean-fixincludes:
12037 @if fixincludes
12038 maybe-distclean-fixincludes: distclean-fixincludes
12040 distclean-fixincludes:
12041 @: $(MAKE); $(unstage)
12042 @[ -f ./fixincludes/Makefile ] || exit 0; \
12043 r=`${PWD_COMMAND}`; export r; \
12044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12045 $(HOST_EXPORTS) \
12046 for flag in $(EXTRA_HOST_FLAGS) ; do \
12047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12048 done; \
12049 echo "Doing distclean in fixincludes" ; \
12050 (cd $(HOST_SUBDIR)/fixincludes && \
12051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12053 "RANLIB=$${RANLIB}" \
12054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12055 distclean) \
12056 || exit 1
12058 @endif fixincludes
12060 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
12061 maybe-maintainer-clean-fixincludes:
12062 @if fixincludes
12063 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
12065 maintainer-clean-fixincludes:
12066 @: $(MAKE); $(unstage)
12067 @[ -f ./fixincludes/Makefile ] || exit 0; \
12068 r=`${PWD_COMMAND}`; export r; \
12069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12070 $(HOST_EXPORTS) \
12071 for flag in $(EXTRA_HOST_FLAGS) ; do \
12072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12073 done; \
12074 echo "Doing maintainer-clean in fixincludes" ; \
12075 (cd $(HOST_SUBDIR)/fixincludes && \
12076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12078 "RANLIB=$${RANLIB}" \
12079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12080 maintainer-clean) \
12081 || exit 1
12083 @endif fixincludes
12087 .PHONY: configure-flex maybe-configure-flex
12088 maybe-configure-flex:
12089 @if gcc-bootstrap
12090 configure-flex: stage_current
12091 @endif gcc-bootstrap
12092 @if flex
12093 maybe-configure-flex: configure-flex
12094 configure-flex:
12095 @: $(MAKE); $(unstage)
12096 @r=`${PWD_COMMAND}`; export r; \
12097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12098 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
12099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
12100 $(HOST_EXPORTS) \
12101 echo Configuring in $(HOST_SUBDIR)/flex; \
12102 cd "$(HOST_SUBDIR)/flex" || exit 1; \
12103 case $(srcdir) in \
12104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12105 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
12106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12107 esac; \
12108 srcdiroption="--srcdir=$${topdir}/flex"; \
12109 libsrcdir="$$s/flex"; \
12110 $(SHELL) $${libsrcdir}/configure \
12111 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12112 --target=${target_alias} $${srcdiroption} \
12113 || exit 1
12114 @endif flex
12120 .PHONY: all-flex maybe-all-flex
12121 maybe-all-flex:
12122 @if gcc-bootstrap
12123 all-flex: stage_current
12124 @endif gcc-bootstrap
12125 @if flex
12126 TARGET-flex=all
12127 maybe-all-flex: all-flex
12128 all-flex: configure-flex
12129 @: $(MAKE); $(unstage)
12130 @r=`${PWD_COMMAND}`; export r; \
12131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12132 $(HOST_EXPORTS) \
12133 (cd $(HOST_SUBDIR)/flex && \
12134 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
12135 @endif flex
12140 .PHONY: check-flex maybe-check-flex
12141 maybe-check-flex:
12142 @if flex
12143 maybe-check-flex: check-flex
12145 # This module is only tested in a native toolchain.
12146 check-flex:
12147 @: $(MAKE); $(unstage)
12148 @if [ '$(host)' = '$(target)' ] ; then \
12149 r=`${PWD_COMMAND}`; export r; \
12150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12151 $(HOST_EXPORTS) \
12152 (cd $(HOST_SUBDIR)/flex && \
12153 $(MAKE) $(FLAGS_TO_PASS) check); \
12156 @endif flex
12158 .PHONY: install-flex maybe-install-flex
12159 maybe-install-flex:
12160 @if flex
12161 maybe-install-flex: install-flex
12163 install-flex: installdirs
12164 @: $(MAKE); $(unstage)
12165 @r=`${PWD_COMMAND}`; export r; \
12166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12167 $(HOST_EXPORTS) \
12168 (cd $(HOST_SUBDIR)/flex && \
12169 $(MAKE) $(FLAGS_TO_PASS) install)
12171 @endif flex
12173 # Other targets (info, dvi, pdf, etc.)
12175 .PHONY: maybe-info-flex info-flex
12176 maybe-info-flex:
12177 @if flex
12178 maybe-info-flex: info-flex
12180 info-flex: \
12181 configure-flex
12182 @: $(MAKE); $(unstage)
12183 @[ -f ./flex/Makefile ] || exit 0; \
12184 r=`${PWD_COMMAND}`; export r; \
12185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12186 $(HOST_EXPORTS) \
12187 for flag in $(EXTRA_HOST_FLAGS) ; do \
12188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12189 done; \
12190 echo "Doing info in flex" ; \
12191 (cd $(HOST_SUBDIR)/flex && \
12192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12194 "RANLIB=$${RANLIB}" \
12195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12196 info) \
12197 || exit 1
12199 @endif flex
12201 .PHONY: maybe-dvi-flex dvi-flex
12202 maybe-dvi-flex:
12203 @if flex
12204 maybe-dvi-flex: dvi-flex
12206 dvi-flex: \
12207 configure-flex
12208 @: $(MAKE); $(unstage)
12209 @[ -f ./flex/Makefile ] || exit 0; \
12210 r=`${PWD_COMMAND}`; export r; \
12211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12212 $(HOST_EXPORTS) \
12213 for flag in $(EXTRA_HOST_FLAGS) ; do \
12214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12215 done; \
12216 echo "Doing dvi in flex" ; \
12217 (cd $(HOST_SUBDIR)/flex && \
12218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12220 "RANLIB=$${RANLIB}" \
12221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12222 dvi) \
12223 || exit 1
12225 @endif flex
12227 .PHONY: maybe-pdf-flex pdf-flex
12228 maybe-pdf-flex:
12229 @if flex
12230 maybe-pdf-flex: pdf-flex
12232 pdf-flex: \
12233 configure-flex
12234 @: $(MAKE); $(unstage)
12235 @[ -f ./flex/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 pdf in flex" ; \
12243 (cd $(HOST_SUBDIR)/flex && \
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}" \
12248 pdf) \
12249 || exit 1
12251 @endif flex
12253 .PHONY: maybe-html-flex html-flex
12254 maybe-html-flex:
12255 @if flex
12256 maybe-html-flex: html-flex
12258 html-flex: \
12259 configure-flex
12260 @: $(MAKE); $(unstage)
12261 @[ -f ./flex/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 html in flex" ; \
12269 (cd $(HOST_SUBDIR)/flex && \
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}" \
12274 html) \
12275 || exit 1
12277 @endif flex
12279 .PHONY: maybe-TAGS-flex TAGS-flex
12280 maybe-TAGS-flex:
12281 @if flex
12282 maybe-TAGS-flex: TAGS-flex
12284 TAGS-flex: \
12285 configure-flex
12286 @: $(MAKE); $(unstage)
12287 @[ -f ./flex/Makefile ] || exit 0; \
12288 r=`${PWD_COMMAND}`; export r; \
12289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12290 $(HOST_EXPORTS) \
12291 for flag in $(EXTRA_HOST_FLAGS) ; do \
12292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12293 done; \
12294 echo "Doing TAGS in flex" ; \
12295 (cd $(HOST_SUBDIR)/flex && \
12296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12298 "RANLIB=$${RANLIB}" \
12299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12300 TAGS) \
12301 || exit 1
12303 @endif flex
12305 .PHONY: maybe-install-info-flex install-info-flex
12306 maybe-install-info-flex:
12307 @if flex
12308 maybe-install-info-flex: install-info-flex
12310 install-info-flex: \
12311 configure-flex \
12312 info-flex
12313 @: $(MAKE); $(unstage)
12314 @[ -f ./flex/Makefile ] || exit 0; \
12315 r=`${PWD_COMMAND}`; export r; \
12316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 $(HOST_EXPORTS) \
12318 for flag in $(EXTRA_HOST_FLAGS) ; do \
12319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12320 done; \
12321 echo "Doing install-info in flex" ; \
12322 (cd $(HOST_SUBDIR)/flex && \
12323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12325 "RANLIB=$${RANLIB}" \
12326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12327 install-info) \
12328 || exit 1
12330 @endif flex
12332 .PHONY: maybe-install-pdf-flex install-pdf-flex
12333 maybe-install-pdf-flex:
12334 @if flex
12335 maybe-install-pdf-flex: install-pdf-flex
12337 install-pdf-flex: \
12338 configure-flex \
12339 pdf-flex
12340 @: $(MAKE); $(unstage)
12341 @[ -f ./flex/Makefile ] || exit 0; \
12342 r=`${PWD_COMMAND}`; export r; \
12343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344 $(HOST_EXPORTS) \
12345 for flag in $(EXTRA_HOST_FLAGS) ; do \
12346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12347 done; \
12348 echo "Doing install-pdf in flex" ; \
12349 (cd $(HOST_SUBDIR)/flex && \
12350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12352 "RANLIB=$${RANLIB}" \
12353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12354 install-pdf) \
12355 || exit 1
12357 @endif flex
12359 .PHONY: maybe-install-html-flex install-html-flex
12360 maybe-install-html-flex:
12361 @if flex
12362 maybe-install-html-flex: install-html-flex
12364 install-html-flex: \
12365 configure-flex \
12366 html-flex
12367 @: $(MAKE); $(unstage)
12368 @[ -f ./flex/Makefile ] || exit 0; \
12369 r=`${PWD_COMMAND}`; export r; \
12370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12371 $(HOST_EXPORTS) \
12372 for flag in $(EXTRA_HOST_FLAGS) ; do \
12373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12374 done; \
12375 echo "Doing install-html in flex" ; \
12376 (cd $(HOST_SUBDIR)/flex && \
12377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12379 "RANLIB=$${RANLIB}" \
12380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12381 install-html) \
12382 || exit 1
12384 @endif flex
12386 .PHONY: maybe-installcheck-flex installcheck-flex
12387 maybe-installcheck-flex:
12388 @if flex
12389 maybe-installcheck-flex: installcheck-flex
12391 installcheck-flex: \
12392 configure-flex
12393 @: $(MAKE); $(unstage)
12394 @[ -f ./flex/Makefile ] || exit 0; \
12395 r=`${PWD_COMMAND}`; export r; \
12396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12397 $(HOST_EXPORTS) \
12398 for flag in $(EXTRA_HOST_FLAGS) ; do \
12399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12400 done; \
12401 echo "Doing installcheck in flex" ; \
12402 (cd $(HOST_SUBDIR)/flex && \
12403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12405 "RANLIB=$${RANLIB}" \
12406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12407 installcheck) \
12408 || exit 1
12410 @endif flex
12412 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
12413 maybe-mostlyclean-flex:
12414 @if flex
12415 maybe-mostlyclean-flex: mostlyclean-flex
12417 mostlyclean-flex:
12418 @: $(MAKE); $(unstage)
12419 @[ -f ./flex/Makefile ] || exit 0; \
12420 r=`${PWD_COMMAND}`; export r; \
12421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12422 $(HOST_EXPORTS) \
12423 for flag in $(EXTRA_HOST_FLAGS) ; do \
12424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12425 done; \
12426 echo "Doing mostlyclean in flex" ; \
12427 (cd $(HOST_SUBDIR)/flex && \
12428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12430 "RANLIB=$${RANLIB}" \
12431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12432 mostlyclean) \
12433 || exit 1
12435 @endif flex
12437 .PHONY: maybe-clean-flex clean-flex
12438 maybe-clean-flex:
12439 @if flex
12440 maybe-clean-flex: clean-flex
12442 clean-flex:
12443 @: $(MAKE); $(unstage)
12444 @[ -f ./flex/Makefile ] || exit 0; \
12445 r=`${PWD_COMMAND}`; export r; \
12446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12447 $(HOST_EXPORTS) \
12448 for flag in $(EXTRA_HOST_FLAGS) ; do \
12449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12450 done; \
12451 echo "Doing clean in flex" ; \
12452 (cd $(HOST_SUBDIR)/flex && \
12453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12455 "RANLIB=$${RANLIB}" \
12456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12457 clean) \
12458 || exit 1
12460 @endif flex
12462 .PHONY: maybe-distclean-flex distclean-flex
12463 maybe-distclean-flex:
12464 @if flex
12465 maybe-distclean-flex: distclean-flex
12467 distclean-flex:
12468 @: $(MAKE); $(unstage)
12469 @[ -f ./flex/Makefile ] || exit 0; \
12470 r=`${PWD_COMMAND}`; export r; \
12471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 $(HOST_EXPORTS) \
12473 for flag in $(EXTRA_HOST_FLAGS) ; do \
12474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12475 done; \
12476 echo "Doing distclean in flex" ; \
12477 (cd $(HOST_SUBDIR)/flex && \
12478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12480 "RANLIB=$${RANLIB}" \
12481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12482 distclean) \
12483 || exit 1
12485 @endif flex
12487 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
12488 maybe-maintainer-clean-flex:
12489 @if flex
12490 maybe-maintainer-clean-flex: maintainer-clean-flex
12492 maintainer-clean-flex:
12493 @: $(MAKE); $(unstage)
12494 @[ -f ./flex/Makefile ] || exit 0; \
12495 r=`${PWD_COMMAND}`; export r; \
12496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12497 $(HOST_EXPORTS) \
12498 for flag in $(EXTRA_HOST_FLAGS) ; do \
12499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12500 done; \
12501 echo "Doing maintainer-clean in flex" ; \
12502 (cd $(HOST_SUBDIR)/flex && \
12503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12505 "RANLIB=$${RANLIB}" \
12506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12507 maintainer-clean) \
12508 || exit 1
12510 @endif flex
12514 .PHONY: configure-gas maybe-configure-gas
12515 maybe-configure-gas:
12516 @if gcc-bootstrap
12517 configure-gas: stage_current
12518 @endif gcc-bootstrap
12519 @if gas
12520 maybe-configure-gas: configure-gas
12521 configure-gas:
12522 @r=`${PWD_COMMAND}`; export r; \
12523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12524 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12526 $(HOST_EXPORTS) \
12527 echo Configuring in $(HOST_SUBDIR)/gas; \
12528 cd "$(HOST_SUBDIR)/gas" || exit 1; \
12529 case $(srcdir) in \
12530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12531 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12533 esac; \
12534 srcdiroption="--srcdir=$${topdir}/gas"; \
12535 libsrcdir="$$s/gas"; \
12536 $(SHELL) $${libsrcdir}/configure \
12537 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12538 --target=${target_alias} $${srcdiroption} \
12539 || exit 1
12540 @endif gas
12544 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
12545 maybe-configure-stage1-gas:
12546 @if gas-bootstrap
12547 maybe-configure-stage1-gas: configure-stage1-gas
12548 configure-stage1-gas:
12549 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12550 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12551 @r=`${PWD_COMMAND}`; export r; \
12552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12553 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12554 $(HOST_EXPORTS) \
12555 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
12556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12557 cd $(HOST_SUBDIR)/gas || exit 1; \
12558 case $(srcdir) in \
12559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12560 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12562 esac; \
12563 srcdiroption="--srcdir=$${topdir}/gas"; \
12564 libsrcdir="$$s/gas"; \
12565 $(SHELL) $${libsrcdir}/configure \
12566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12567 --target=${target_alias} $${srcdiroption} \
12569 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12570 @endif gas-bootstrap
12572 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
12573 maybe-configure-stage2-gas:
12574 @if gas-bootstrap
12575 maybe-configure-stage2-gas: configure-stage2-gas
12576 configure-stage2-gas:
12577 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12578 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12579 @r=`${PWD_COMMAND}`; export r; \
12580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12581 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12582 $(HOST_EXPORTS) \
12583 $(POSTSTAGE1_HOST_EXPORTS) \
12584 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
12585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12586 cd $(HOST_SUBDIR)/gas || exit 1; \
12587 case $(srcdir) in \
12588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12589 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12591 esac; \
12592 srcdiroption="--srcdir=$${topdir}/gas"; \
12593 libsrcdir="$$s/gas"; \
12594 $(SHELL) $${libsrcdir}/configure \
12595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12596 --target=${target_alias} $${srcdiroption} \
12597 --with-build-libsubdir=$(HOST_SUBDIR) \
12598 @stage2_werror_flag@
12599 @endif gas-bootstrap
12601 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
12602 maybe-configure-stage3-gas:
12603 @if gas-bootstrap
12604 maybe-configure-stage3-gas: configure-stage3-gas
12605 configure-stage3-gas:
12606 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12607 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12608 @r=`${PWD_COMMAND}`; export r; \
12609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12610 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12611 $(HOST_EXPORTS) \
12612 $(POSTSTAGE1_HOST_EXPORTS) \
12613 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
12614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12615 cd $(HOST_SUBDIR)/gas || exit 1; \
12616 case $(srcdir) in \
12617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12618 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12620 esac; \
12621 srcdiroption="--srcdir=$${topdir}/gas"; \
12622 libsrcdir="$$s/gas"; \
12623 $(SHELL) $${libsrcdir}/configure \
12624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12625 --target=${target_alias} $${srcdiroption} \
12626 --with-build-libsubdir=$(HOST_SUBDIR) \
12627 @stage2_werror_flag@
12628 @endif gas-bootstrap
12630 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
12631 maybe-configure-stage4-gas:
12632 @if gas-bootstrap
12633 maybe-configure-stage4-gas: configure-stage4-gas
12634 configure-stage4-gas:
12635 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12636 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12637 @r=`${PWD_COMMAND}`; export r; \
12638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12639 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12640 $(HOST_EXPORTS) \
12641 $(POSTSTAGE1_HOST_EXPORTS) \
12642 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
12643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12644 cd $(HOST_SUBDIR)/gas || exit 1; \
12645 case $(srcdir) in \
12646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12647 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12649 esac; \
12650 srcdiroption="--srcdir=$${topdir}/gas"; \
12651 libsrcdir="$$s/gas"; \
12652 $(SHELL) $${libsrcdir}/configure \
12653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12654 --target=${target_alias} $${srcdiroption} \
12655 --with-build-libsubdir=$(HOST_SUBDIR) \
12656 @stage2_werror_flag@
12657 @endif gas-bootstrap
12659 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
12660 maybe-configure-stageprofile-gas:
12661 @if gas-bootstrap
12662 maybe-configure-stageprofile-gas: configure-stageprofile-gas
12663 configure-stageprofile-gas:
12664 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12666 @r=`${PWD_COMMAND}`; export r; \
12667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12668 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12669 $(HOST_EXPORTS) \
12670 $(POSTSTAGE1_HOST_EXPORTS) \
12671 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
12672 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12673 cd $(HOST_SUBDIR)/gas || exit 1; \
12674 case $(srcdir) in \
12675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12676 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12678 esac; \
12679 srcdiroption="--srcdir=$${topdir}/gas"; \
12680 libsrcdir="$$s/gas"; \
12681 $(SHELL) $${libsrcdir}/configure \
12682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12683 --target=${target_alias} $${srcdiroption} \
12684 --with-build-libsubdir=$(HOST_SUBDIR) \
12685 @stage2_werror_flag@
12686 @endif gas-bootstrap
12688 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
12689 maybe-configure-stagefeedback-gas:
12690 @if gas-bootstrap
12691 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
12692 configure-stagefeedback-gas:
12693 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12694 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12695 @r=`${PWD_COMMAND}`; export r; \
12696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12698 $(HOST_EXPORTS) \
12699 $(POSTSTAGE1_HOST_EXPORTS) \
12700 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
12701 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12702 cd $(HOST_SUBDIR)/gas || exit 1; \
12703 case $(srcdir) in \
12704 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12705 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12706 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12707 esac; \
12708 srcdiroption="--srcdir=$${topdir}/gas"; \
12709 libsrcdir="$$s/gas"; \
12710 $(SHELL) $${libsrcdir}/configure \
12711 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12712 --target=${target_alias} $${srcdiroption} \
12713 --with-build-libsubdir=$(HOST_SUBDIR) \
12714 @stage2_werror_flag@
12715 @endif gas-bootstrap
12721 .PHONY: all-gas maybe-all-gas
12722 maybe-all-gas:
12723 @if gcc-bootstrap
12724 all-gas: stage_current
12725 @endif gcc-bootstrap
12726 @if gas
12727 TARGET-gas=all
12728 maybe-all-gas: all-gas
12729 all-gas: configure-gas
12730 @r=`${PWD_COMMAND}`; export r; \
12731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12732 $(HOST_EXPORTS) \
12733 (cd $(HOST_SUBDIR)/gas && \
12734 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
12735 @endif gas
12739 .PHONY: all-stage1-gas maybe-all-stage1-gas
12740 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
12741 maybe-all-stage1-gas:
12742 maybe-clean-stage1-gas:
12743 @if gas-bootstrap
12744 maybe-all-stage1-gas: all-stage1-gas
12745 all-stage1: all-stage1-gas
12746 TARGET-stage1-gas = $(TARGET-gas)
12747 all-stage1-gas: configure-stage1-gas
12748 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12749 @r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(HOST_EXPORTS) \
12752 cd $(HOST_SUBDIR)/gas && \
12753 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
12754 $(TARGET-stage1-gas)
12756 maybe-clean-stage1-gas: clean-stage1-gas
12757 clean-stage1: clean-stage1-gas
12758 clean-stage1-gas:
12759 @if [ $(current_stage) = stage1 ]; then \
12760 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12761 else \
12762 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12763 $(MAKE) stage1-start; \
12764 fi; \
12765 cd $(HOST_SUBDIR)/gas && \
12766 $(MAKE) $(FLAGS_TO_PASS) \
12767 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12768 @endif gas-bootstrap
12771 .PHONY: all-stage2-gas maybe-all-stage2-gas
12772 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12773 maybe-all-stage2-gas:
12774 maybe-clean-stage2-gas:
12775 @if gas-bootstrap
12776 maybe-all-stage2-gas: all-stage2-gas
12777 all-stage2: all-stage2-gas
12778 TARGET-stage2-gas = $(TARGET-gas)
12779 all-stage2-gas: configure-stage2-gas
12780 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12781 @r=`${PWD_COMMAND}`; export r; \
12782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12783 $(HOST_EXPORTS) \
12784 $(POSTSTAGE1_HOST_EXPORTS) \
12785 cd $(HOST_SUBDIR)/gas && \
12786 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12787 $(TARGET-stage2-gas)
12789 maybe-clean-stage2-gas: clean-stage2-gas
12790 clean-stage2: clean-stage2-gas
12791 clean-stage2-gas:
12792 @if [ $(current_stage) = stage2 ]; then \
12793 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12794 else \
12795 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12796 $(MAKE) stage2-start; \
12797 fi; \
12798 cd $(HOST_SUBDIR)/gas && \
12799 $(MAKE) $(FLAGS_TO_PASS) \
12800 $(POSTSTAGE1_FLAGS_TO_PASS) \
12801 clean
12802 @endif gas-bootstrap
12805 .PHONY: all-stage3-gas maybe-all-stage3-gas
12806 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12807 maybe-all-stage3-gas:
12808 maybe-clean-stage3-gas:
12809 @if gas-bootstrap
12810 maybe-all-stage3-gas: all-stage3-gas
12811 all-stage3: all-stage3-gas
12812 TARGET-stage3-gas = $(TARGET-gas)
12813 all-stage3-gas: configure-stage3-gas
12814 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12815 @r=`${PWD_COMMAND}`; export r; \
12816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12817 $(HOST_EXPORTS) \
12818 $(POSTSTAGE1_HOST_EXPORTS) \
12819 cd $(HOST_SUBDIR)/gas && \
12820 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12821 $(TARGET-stage3-gas)
12823 maybe-clean-stage3-gas: clean-stage3-gas
12824 clean-stage3: clean-stage3-gas
12825 clean-stage3-gas:
12826 @if [ $(current_stage) = stage3 ]; then \
12827 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12828 else \
12829 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12830 $(MAKE) stage3-start; \
12831 fi; \
12832 cd $(HOST_SUBDIR)/gas && \
12833 $(MAKE) $(FLAGS_TO_PASS) \
12834 $(POSTSTAGE1_FLAGS_TO_PASS) \
12835 clean
12836 @endif gas-bootstrap
12839 .PHONY: all-stage4-gas maybe-all-stage4-gas
12840 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12841 maybe-all-stage4-gas:
12842 maybe-clean-stage4-gas:
12843 @if gas-bootstrap
12844 maybe-all-stage4-gas: all-stage4-gas
12845 all-stage4: all-stage4-gas
12846 TARGET-stage4-gas = $(TARGET-gas)
12847 all-stage4-gas: configure-stage4-gas
12848 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12849 @r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12851 $(HOST_EXPORTS) \
12852 $(POSTSTAGE1_HOST_EXPORTS) \
12853 cd $(HOST_SUBDIR)/gas && \
12854 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12855 $(TARGET-stage4-gas)
12857 maybe-clean-stage4-gas: clean-stage4-gas
12858 clean-stage4: clean-stage4-gas
12859 clean-stage4-gas:
12860 @if [ $(current_stage) = stage4 ]; then \
12861 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12862 else \
12863 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12864 $(MAKE) stage4-start; \
12865 fi; \
12866 cd $(HOST_SUBDIR)/gas && \
12867 $(MAKE) $(FLAGS_TO_PASS) \
12868 $(POSTSTAGE1_FLAGS_TO_PASS) \
12869 clean
12870 @endif gas-bootstrap
12873 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12874 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12875 maybe-all-stageprofile-gas:
12876 maybe-clean-stageprofile-gas:
12877 @if gas-bootstrap
12878 maybe-all-stageprofile-gas: all-stageprofile-gas
12879 all-stageprofile: all-stageprofile-gas
12880 TARGET-stageprofile-gas = $(TARGET-gas)
12881 all-stageprofile-gas: configure-stageprofile-gas
12882 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12883 @r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 $(HOST_EXPORTS) \
12886 $(POSTSTAGE1_HOST_EXPORTS) \
12887 cd $(HOST_SUBDIR)/gas && \
12888 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12889 $(TARGET-stageprofile-gas)
12891 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12892 clean-stageprofile: clean-stageprofile-gas
12893 clean-stageprofile-gas:
12894 @if [ $(current_stage) = stageprofile ]; then \
12895 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12896 else \
12897 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12898 $(MAKE) stageprofile-start; \
12899 fi; \
12900 cd $(HOST_SUBDIR)/gas && \
12901 $(MAKE) $(FLAGS_TO_PASS) \
12902 $(POSTSTAGE1_FLAGS_TO_PASS) \
12903 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12904 @endif gas-bootstrap
12907 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12908 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12909 maybe-all-stagefeedback-gas:
12910 maybe-clean-stagefeedback-gas:
12911 @if gas-bootstrap
12912 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12913 all-stagefeedback: all-stagefeedback-gas
12914 TARGET-stagefeedback-gas = $(TARGET-gas)
12915 all-stagefeedback-gas: configure-stagefeedback-gas
12916 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12917 @r=`${PWD_COMMAND}`; export r; \
12918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12919 $(HOST_EXPORTS) \
12920 $(POSTSTAGE1_HOST_EXPORTS) \
12921 cd $(HOST_SUBDIR)/gas && \
12922 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12923 $(TARGET-stagefeedback-gas)
12925 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12926 clean-stagefeedback: clean-stagefeedback-gas
12927 clean-stagefeedback-gas:
12928 @if [ $(current_stage) = stagefeedback ]; then \
12929 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12930 else \
12931 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12932 $(MAKE) stagefeedback-start; \
12933 fi; \
12934 cd $(HOST_SUBDIR)/gas && \
12935 $(MAKE) $(FLAGS_TO_PASS) \
12936 $(POSTSTAGE1_FLAGS_TO_PASS) \
12937 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12938 @endif gas-bootstrap
12944 .PHONY: check-gas maybe-check-gas
12945 maybe-check-gas:
12946 @if gas
12947 maybe-check-gas: check-gas
12949 check-gas:
12950 @: $(MAKE); $(unstage)
12951 @r=`${PWD_COMMAND}`; export r; \
12952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12953 $(HOST_EXPORTS) \
12954 (cd $(HOST_SUBDIR)/gas && \
12955 $(MAKE) $(FLAGS_TO_PASS) check)
12957 @endif gas
12959 .PHONY: install-gas maybe-install-gas
12960 maybe-install-gas:
12961 @if gas
12962 maybe-install-gas: install-gas
12964 install-gas: installdirs
12965 @: $(MAKE); $(unstage)
12966 @r=`${PWD_COMMAND}`; export r; \
12967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12968 $(HOST_EXPORTS) \
12969 (cd $(HOST_SUBDIR)/gas && \
12970 $(MAKE) $(FLAGS_TO_PASS) install)
12972 @endif gas
12974 # Other targets (info, dvi, pdf, etc.)
12976 .PHONY: maybe-info-gas info-gas
12977 maybe-info-gas:
12978 @if gas
12979 maybe-info-gas: info-gas
12981 info-gas: \
12982 configure-gas
12983 @[ -f ./gas/Makefile ] || exit 0; \
12984 r=`${PWD_COMMAND}`; export r; \
12985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12986 $(HOST_EXPORTS) \
12987 for flag in $(EXTRA_HOST_FLAGS) ; do \
12988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12989 done; \
12990 echo "Doing info in gas" ; \
12991 (cd $(HOST_SUBDIR)/gas && \
12992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12994 "RANLIB=$${RANLIB}" \
12995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12996 info) \
12997 || exit 1
12999 @endif gas
13001 .PHONY: maybe-dvi-gas dvi-gas
13002 maybe-dvi-gas:
13003 @if gas
13004 maybe-dvi-gas: dvi-gas
13006 dvi-gas: \
13007 configure-gas
13008 @[ -f ./gas/Makefile ] || exit 0; \
13009 r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 $(HOST_EXPORTS) \
13012 for flag in $(EXTRA_HOST_FLAGS) ; do \
13013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13014 done; \
13015 echo "Doing dvi in gas" ; \
13016 (cd $(HOST_SUBDIR)/gas && \
13017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13019 "RANLIB=$${RANLIB}" \
13020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13021 dvi) \
13022 || exit 1
13024 @endif gas
13026 .PHONY: maybe-pdf-gas pdf-gas
13027 maybe-pdf-gas:
13028 @if gas
13029 maybe-pdf-gas: pdf-gas
13031 pdf-gas: \
13032 configure-gas
13033 @[ -f ./gas/Makefile ] || exit 0; \
13034 r=`${PWD_COMMAND}`; export r; \
13035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13036 $(HOST_EXPORTS) \
13037 for flag in $(EXTRA_HOST_FLAGS) ; do \
13038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13039 done; \
13040 echo "Doing pdf in gas" ; \
13041 (cd $(HOST_SUBDIR)/gas && \
13042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13044 "RANLIB=$${RANLIB}" \
13045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13046 pdf) \
13047 || exit 1
13049 @endif gas
13051 .PHONY: maybe-html-gas html-gas
13052 maybe-html-gas:
13053 @if gas
13054 maybe-html-gas: html-gas
13056 html-gas: \
13057 configure-gas
13058 @[ -f ./gas/Makefile ] || exit 0; \
13059 r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 $(HOST_EXPORTS) \
13062 for flag in $(EXTRA_HOST_FLAGS) ; do \
13063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13064 done; \
13065 echo "Doing html in gas" ; \
13066 (cd $(HOST_SUBDIR)/gas && \
13067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13069 "RANLIB=$${RANLIB}" \
13070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13071 html) \
13072 || exit 1
13074 @endif gas
13076 .PHONY: maybe-TAGS-gas TAGS-gas
13077 maybe-TAGS-gas:
13078 @if gas
13079 maybe-TAGS-gas: TAGS-gas
13081 TAGS-gas: \
13082 configure-gas
13083 @[ -f ./gas/Makefile ] || exit 0; \
13084 r=`${PWD_COMMAND}`; export r; \
13085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13086 $(HOST_EXPORTS) \
13087 for flag in $(EXTRA_HOST_FLAGS) ; do \
13088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13089 done; \
13090 echo "Doing TAGS in gas" ; \
13091 (cd $(HOST_SUBDIR)/gas && \
13092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13094 "RANLIB=$${RANLIB}" \
13095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13096 TAGS) \
13097 || exit 1
13099 @endif gas
13101 .PHONY: maybe-install-info-gas install-info-gas
13102 maybe-install-info-gas:
13103 @if gas
13104 maybe-install-info-gas: install-info-gas
13106 install-info-gas: \
13107 configure-gas \
13108 info-gas
13109 @[ -f ./gas/Makefile ] || exit 0; \
13110 r=`${PWD_COMMAND}`; export r; \
13111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13112 $(HOST_EXPORTS) \
13113 for flag in $(EXTRA_HOST_FLAGS) ; do \
13114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13115 done; \
13116 echo "Doing install-info in gas" ; \
13117 (cd $(HOST_SUBDIR)/gas && \
13118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13120 "RANLIB=$${RANLIB}" \
13121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13122 install-info) \
13123 || exit 1
13125 @endif gas
13127 .PHONY: maybe-install-pdf-gas install-pdf-gas
13128 maybe-install-pdf-gas:
13129 @if gas
13130 maybe-install-pdf-gas: install-pdf-gas
13132 install-pdf-gas: \
13133 configure-gas \
13134 pdf-gas
13135 @[ -f ./gas/Makefile ] || exit 0; \
13136 r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 $(HOST_EXPORTS) \
13139 for flag in $(EXTRA_HOST_FLAGS) ; do \
13140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13141 done; \
13142 echo "Doing install-pdf in gas" ; \
13143 (cd $(HOST_SUBDIR)/gas && \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13146 "RANLIB=$${RANLIB}" \
13147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13148 install-pdf) \
13149 || exit 1
13151 @endif gas
13153 .PHONY: maybe-install-html-gas install-html-gas
13154 maybe-install-html-gas:
13155 @if gas
13156 maybe-install-html-gas: install-html-gas
13158 install-html-gas: \
13159 configure-gas \
13160 html-gas
13161 @[ -f ./gas/Makefile ] || exit 0; \
13162 r=`${PWD_COMMAND}`; export r; \
13163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13164 $(HOST_EXPORTS) \
13165 for flag in $(EXTRA_HOST_FLAGS) ; do \
13166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13167 done; \
13168 echo "Doing install-html in gas" ; \
13169 (cd $(HOST_SUBDIR)/gas && \
13170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13172 "RANLIB=$${RANLIB}" \
13173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13174 install-html) \
13175 || exit 1
13177 @endif gas
13179 .PHONY: maybe-installcheck-gas installcheck-gas
13180 maybe-installcheck-gas:
13181 @if gas
13182 maybe-installcheck-gas: installcheck-gas
13184 installcheck-gas: \
13185 configure-gas
13186 @[ -f ./gas/Makefile ] || exit 0; \
13187 r=`${PWD_COMMAND}`; export r; \
13188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13189 $(HOST_EXPORTS) \
13190 for flag in $(EXTRA_HOST_FLAGS) ; do \
13191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13192 done; \
13193 echo "Doing installcheck in gas" ; \
13194 (cd $(HOST_SUBDIR)/gas && \
13195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13197 "RANLIB=$${RANLIB}" \
13198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13199 installcheck) \
13200 || exit 1
13202 @endif gas
13204 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
13205 maybe-mostlyclean-gas:
13206 @if gas
13207 maybe-mostlyclean-gas: mostlyclean-gas
13209 mostlyclean-gas:
13210 @[ -f ./gas/Makefile ] || exit 0; \
13211 r=`${PWD_COMMAND}`; export r; \
13212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13213 $(HOST_EXPORTS) \
13214 for flag in $(EXTRA_HOST_FLAGS) ; do \
13215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13216 done; \
13217 echo "Doing mostlyclean in gas" ; \
13218 (cd $(HOST_SUBDIR)/gas && \
13219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13221 "RANLIB=$${RANLIB}" \
13222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13223 mostlyclean) \
13224 || exit 1
13226 @endif gas
13228 .PHONY: maybe-clean-gas clean-gas
13229 maybe-clean-gas:
13230 @if gas
13231 maybe-clean-gas: clean-gas
13233 clean-gas:
13234 @[ -f ./gas/Makefile ] || exit 0; \
13235 r=`${PWD_COMMAND}`; export r; \
13236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13237 $(HOST_EXPORTS) \
13238 for flag in $(EXTRA_HOST_FLAGS) ; do \
13239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13240 done; \
13241 echo "Doing clean in gas" ; \
13242 (cd $(HOST_SUBDIR)/gas && \
13243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13245 "RANLIB=$${RANLIB}" \
13246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13247 clean) \
13248 || exit 1
13250 @endif gas
13252 .PHONY: maybe-distclean-gas distclean-gas
13253 maybe-distclean-gas:
13254 @if gas
13255 maybe-distclean-gas: distclean-gas
13257 distclean-gas:
13258 @[ -f ./gas/Makefile ] || exit 0; \
13259 r=`${PWD_COMMAND}`; export r; \
13260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13261 $(HOST_EXPORTS) \
13262 for flag in $(EXTRA_HOST_FLAGS) ; do \
13263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13264 done; \
13265 echo "Doing distclean in gas" ; \
13266 (cd $(HOST_SUBDIR)/gas && \
13267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13269 "RANLIB=$${RANLIB}" \
13270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13271 distclean) \
13272 || exit 1
13274 @endif gas
13276 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
13277 maybe-maintainer-clean-gas:
13278 @if gas
13279 maybe-maintainer-clean-gas: maintainer-clean-gas
13281 maintainer-clean-gas:
13282 @[ -f ./gas/Makefile ] || exit 0; \
13283 r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 $(HOST_EXPORTS) \
13286 for flag in $(EXTRA_HOST_FLAGS) ; do \
13287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13288 done; \
13289 echo "Doing maintainer-clean in gas" ; \
13290 (cd $(HOST_SUBDIR)/gas && \
13291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13293 "RANLIB=$${RANLIB}" \
13294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13295 maintainer-clean) \
13296 || exit 1
13298 @endif gas
13302 .PHONY: configure-gcc maybe-configure-gcc
13303 maybe-configure-gcc:
13304 @if gcc-bootstrap
13305 configure-gcc: stage_current
13306 @endif gcc-bootstrap
13307 @if gcc
13308 maybe-configure-gcc: configure-gcc
13309 configure-gcc:
13310 @r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13313 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13314 $(HOST_EXPORTS) \
13315 echo Configuring in $(HOST_SUBDIR)/gcc; \
13316 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
13317 case $(srcdir) in \
13318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13319 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13321 esac; \
13322 srcdiroption="--srcdir=$${topdir}/gcc"; \
13323 libsrcdir="$$s/gcc"; \
13324 $(SHELL) $${libsrcdir}/configure \
13325 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13326 --target=${target_alias} $${srcdiroption} \
13327 || exit 1
13328 @endif gcc
13332 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
13333 maybe-configure-stage1-gcc:
13334 @if gcc-bootstrap
13335 maybe-configure-stage1-gcc: configure-stage1-gcc
13336 configure-stage1-gcc:
13337 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13338 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
13339 @r=`${PWD_COMMAND}`; export r; \
13340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13342 $(HOST_EXPORTS) \
13343 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
13344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13345 cd $(HOST_SUBDIR)/gcc || exit 1; \
13346 case $(srcdir) in \
13347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13348 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13350 esac; \
13351 srcdiroption="--srcdir=$${topdir}/gcc"; \
13352 libsrcdir="$$s/gcc"; \
13353 $(SHELL) $${libsrcdir}/configure \
13354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13355 --target=${target_alias} $${srcdiroption} \
13357 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13358 @endif gcc-bootstrap
13360 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
13361 maybe-configure-stage2-gcc:
13362 @if gcc-bootstrap
13363 maybe-configure-stage2-gcc: configure-stage2-gcc
13364 configure-stage2-gcc:
13365 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13366 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
13367 @r=`${PWD_COMMAND}`; export r; \
13368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13369 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13370 $(HOST_EXPORTS) \
13371 $(POSTSTAGE1_HOST_EXPORTS) \
13372 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
13373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13374 cd $(HOST_SUBDIR)/gcc || exit 1; \
13375 case $(srcdir) in \
13376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13377 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13379 esac; \
13380 srcdiroption="--srcdir=$${topdir}/gcc"; \
13381 libsrcdir="$$s/gcc"; \
13382 $(SHELL) $${libsrcdir}/configure \
13383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13384 --target=${target_alias} $${srcdiroption} \
13385 --with-build-libsubdir=$(HOST_SUBDIR) \
13386 @stage2_werror_flag@
13387 @endif gcc-bootstrap
13389 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
13390 maybe-configure-stage3-gcc:
13391 @if gcc-bootstrap
13392 maybe-configure-stage3-gcc: configure-stage3-gcc
13393 configure-stage3-gcc:
13394 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
13396 @r=`${PWD_COMMAND}`; export r; \
13397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13398 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13399 $(HOST_EXPORTS) \
13400 $(POSTSTAGE1_HOST_EXPORTS) \
13401 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
13402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13403 cd $(HOST_SUBDIR)/gcc || exit 1; \
13404 case $(srcdir) in \
13405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13406 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13408 esac; \
13409 srcdiroption="--srcdir=$${topdir}/gcc"; \
13410 libsrcdir="$$s/gcc"; \
13411 $(SHELL) $${libsrcdir}/configure \
13412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13413 --target=${target_alias} $${srcdiroption} \
13414 --with-build-libsubdir=$(HOST_SUBDIR) \
13415 @stage2_werror_flag@
13416 @endif gcc-bootstrap
13418 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
13419 maybe-configure-stage4-gcc:
13420 @if gcc-bootstrap
13421 maybe-configure-stage4-gcc: configure-stage4-gcc
13422 configure-stage4-gcc:
13423 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
13425 @r=`${PWD_COMMAND}`; export r; \
13426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13427 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13428 $(HOST_EXPORTS) \
13429 $(POSTSTAGE1_HOST_EXPORTS) \
13430 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
13431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13432 cd $(HOST_SUBDIR)/gcc || exit 1; \
13433 case $(srcdir) in \
13434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13435 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13437 esac; \
13438 srcdiroption="--srcdir=$${topdir}/gcc"; \
13439 libsrcdir="$$s/gcc"; \
13440 $(SHELL) $${libsrcdir}/configure \
13441 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13442 --target=${target_alias} $${srcdiroption} \
13443 --with-build-libsubdir=$(HOST_SUBDIR) \
13444 @stage2_werror_flag@
13445 @endif gcc-bootstrap
13447 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
13448 maybe-configure-stageprofile-gcc:
13449 @if gcc-bootstrap
13450 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
13451 configure-stageprofile-gcc:
13452 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13453 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
13454 @r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13456 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13457 $(HOST_EXPORTS) \
13458 $(POSTSTAGE1_HOST_EXPORTS) \
13459 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
13460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13461 cd $(HOST_SUBDIR)/gcc || exit 1; \
13462 case $(srcdir) in \
13463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13464 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13466 esac; \
13467 srcdiroption="--srcdir=$${topdir}/gcc"; \
13468 libsrcdir="$$s/gcc"; \
13469 $(SHELL) $${libsrcdir}/configure \
13470 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13471 --target=${target_alias} $${srcdiroption} \
13472 --with-build-libsubdir=$(HOST_SUBDIR) \
13473 @stage2_werror_flag@
13474 @endif gcc-bootstrap
13476 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
13477 maybe-configure-stagefeedback-gcc:
13478 @if gcc-bootstrap
13479 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
13480 configure-stagefeedback-gcc:
13481 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
13483 @r=`${PWD_COMMAND}`; export r; \
13484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13485 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
13486 $(HOST_EXPORTS) \
13487 $(POSTSTAGE1_HOST_EXPORTS) \
13488 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
13489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
13490 cd $(HOST_SUBDIR)/gcc || exit 1; \
13491 case $(srcdir) in \
13492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13493 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
13494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13495 esac; \
13496 srcdiroption="--srcdir=$${topdir}/gcc"; \
13497 libsrcdir="$$s/gcc"; \
13498 $(SHELL) $${libsrcdir}/configure \
13499 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13500 --target=${target_alias} $${srcdiroption} \
13501 --with-build-libsubdir=$(HOST_SUBDIR) \
13502 @stage2_werror_flag@
13503 @endif gcc-bootstrap
13509 .PHONY: all-gcc maybe-all-gcc
13510 maybe-all-gcc:
13511 @if gcc-bootstrap
13512 all-gcc: stage_current
13513 @endif gcc-bootstrap
13514 @if gcc
13515 TARGET-gcc=all
13516 maybe-all-gcc: all-gcc
13517 all-gcc: configure-gcc
13518 @r=`${PWD_COMMAND}`; export r; \
13519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13520 $(HOST_EXPORTS) \
13521 (cd $(HOST_SUBDIR)/gcc && \
13522 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
13523 @endif gcc
13527 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
13528 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
13529 maybe-all-stage1-gcc:
13530 maybe-clean-stage1-gcc:
13531 @if gcc-bootstrap
13532 maybe-all-stage1-gcc: all-stage1-gcc
13533 all-stage1: all-stage1-gcc
13534 TARGET-stage1-gcc = $(TARGET-gcc)
13535 all-stage1-gcc: configure-stage1-gcc
13536 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13537 @r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 $(HOST_EXPORTS) \
13540 cd $(HOST_SUBDIR)/gcc && \
13541 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
13542 $(TARGET-stage1-gcc)
13544 maybe-clean-stage1-gcc: clean-stage1-gcc
13545 clean-stage1: clean-stage1-gcc
13546 clean-stage1-gcc:
13547 @if [ $(current_stage) = stage1 ]; then \
13548 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13549 else \
13550 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
13551 $(MAKE) stage1-start; \
13552 fi; \
13553 cd $(HOST_SUBDIR)/gcc && \
13554 $(MAKE) $(FLAGS_TO_PASS) \
13555 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
13556 @endif gcc-bootstrap
13559 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
13560 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
13561 maybe-all-stage2-gcc:
13562 maybe-clean-stage2-gcc:
13563 @if gcc-bootstrap
13564 maybe-all-stage2-gcc: all-stage2-gcc
13565 all-stage2: all-stage2-gcc
13566 TARGET-stage2-gcc = $(TARGET-gcc)
13567 all-stage2-gcc: configure-stage2-gcc
13568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13569 @r=`${PWD_COMMAND}`; export r; \
13570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13571 $(HOST_EXPORTS) \
13572 $(POSTSTAGE1_HOST_EXPORTS) \
13573 cd $(HOST_SUBDIR)/gcc && \
13574 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
13575 $(TARGET-stage2-gcc)
13577 maybe-clean-stage2-gcc: clean-stage2-gcc
13578 clean-stage2: clean-stage2-gcc
13579 clean-stage2-gcc:
13580 @if [ $(current_stage) = stage2 ]; then \
13581 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13582 else \
13583 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
13584 $(MAKE) stage2-start; \
13585 fi; \
13586 cd $(HOST_SUBDIR)/gcc && \
13587 $(MAKE) $(FLAGS_TO_PASS) \
13588 $(POSTSTAGE1_FLAGS_TO_PASS) \
13589 $(EXTRA_GCC_FLAGS) clean
13590 @endif gcc-bootstrap
13593 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
13594 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
13595 maybe-all-stage3-gcc:
13596 maybe-clean-stage3-gcc:
13597 @if gcc-bootstrap
13598 maybe-all-stage3-gcc: all-stage3-gcc
13599 all-stage3: all-stage3-gcc
13600 TARGET-stage3-gcc = $(TARGET-gcc)
13601 all-stage3-gcc: configure-stage3-gcc
13602 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13603 @r=`${PWD_COMMAND}`; export r; \
13604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13605 $(HOST_EXPORTS) \
13606 $(POSTSTAGE1_HOST_EXPORTS) \
13607 cd $(HOST_SUBDIR)/gcc && \
13608 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
13609 $(TARGET-stage3-gcc)
13611 maybe-clean-stage3-gcc: clean-stage3-gcc
13612 clean-stage3: clean-stage3-gcc
13613 clean-stage3-gcc:
13614 @if [ $(current_stage) = stage3 ]; then \
13615 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13616 else \
13617 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
13618 $(MAKE) stage3-start; \
13619 fi; \
13620 cd $(HOST_SUBDIR)/gcc && \
13621 $(MAKE) $(FLAGS_TO_PASS) \
13622 $(POSTSTAGE1_FLAGS_TO_PASS) \
13623 $(EXTRA_GCC_FLAGS) clean
13624 @endif gcc-bootstrap
13627 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
13628 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
13629 maybe-all-stage4-gcc:
13630 maybe-clean-stage4-gcc:
13631 @if gcc-bootstrap
13632 maybe-all-stage4-gcc: all-stage4-gcc
13633 all-stage4: all-stage4-gcc
13634 TARGET-stage4-gcc = $(TARGET-gcc)
13635 all-stage4-gcc: configure-stage4-gcc
13636 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13637 @r=`${PWD_COMMAND}`; export r; \
13638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13639 $(HOST_EXPORTS) \
13640 $(POSTSTAGE1_HOST_EXPORTS) \
13641 cd $(HOST_SUBDIR)/gcc && \
13642 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
13643 $(TARGET-stage4-gcc)
13645 maybe-clean-stage4-gcc: clean-stage4-gcc
13646 clean-stage4: clean-stage4-gcc
13647 clean-stage4-gcc:
13648 @if [ $(current_stage) = stage4 ]; then \
13649 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13650 else \
13651 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
13652 $(MAKE) stage4-start; \
13653 fi; \
13654 cd $(HOST_SUBDIR)/gcc && \
13655 $(MAKE) $(FLAGS_TO_PASS) \
13656 $(POSTSTAGE1_FLAGS_TO_PASS) \
13657 $(EXTRA_GCC_FLAGS) clean
13658 @endif gcc-bootstrap
13661 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
13662 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
13663 maybe-all-stageprofile-gcc:
13664 maybe-clean-stageprofile-gcc:
13665 @if gcc-bootstrap
13666 maybe-all-stageprofile-gcc: all-stageprofile-gcc
13667 all-stageprofile: all-stageprofile-gcc
13668 TARGET-stageprofile-gcc = $(TARGET-gcc)
13669 all-stageprofile-gcc: configure-stageprofile-gcc
13670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13671 @r=`${PWD_COMMAND}`; export r; \
13672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13673 $(HOST_EXPORTS) \
13674 $(POSTSTAGE1_HOST_EXPORTS) \
13675 cd $(HOST_SUBDIR)/gcc && \
13676 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
13677 $(TARGET-stageprofile-gcc)
13679 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
13680 clean-stageprofile: clean-stageprofile-gcc
13681 clean-stageprofile-gcc:
13682 @if [ $(current_stage) = stageprofile ]; then \
13683 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13684 else \
13685 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
13686 $(MAKE) stageprofile-start; \
13687 fi; \
13688 cd $(HOST_SUBDIR)/gcc && \
13689 $(MAKE) $(FLAGS_TO_PASS) \
13690 $(POSTSTAGE1_FLAGS_TO_PASS) \
13691 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
13692 @endif gcc-bootstrap
13695 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
13696 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
13697 maybe-all-stagefeedback-gcc:
13698 maybe-clean-stagefeedback-gcc:
13699 @if gcc-bootstrap
13700 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
13701 all-stagefeedback: all-stagefeedback-gcc
13702 TARGET-stagefeedback-gcc = $(TARGET-gcc)
13703 all-stagefeedback-gcc: configure-stagefeedback-gcc
13704 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13705 @r=`${PWD_COMMAND}`; export r; \
13706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13707 $(HOST_EXPORTS) \
13708 $(POSTSTAGE1_HOST_EXPORTS) \
13709 cd $(HOST_SUBDIR)/gcc && \
13710 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
13711 $(TARGET-stagefeedback-gcc)
13713 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
13714 clean-stagefeedback: clean-stagefeedback-gcc
13715 clean-stagefeedback-gcc:
13716 @if [ $(current_stage) = stagefeedback ]; then \
13717 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13718 else \
13719 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
13720 $(MAKE) stagefeedback-start; \
13721 fi; \
13722 cd $(HOST_SUBDIR)/gcc && \
13723 $(MAKE) $(FLAGS_TO_PASS) \
13724 $(POSTSTAGE1_FLAGS_TO_PASS) \
13725 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
13726 @endif gcc-bootstrap
13732 .PHONY: check-gcc maybe-check-gcc
13733 maybe-check-gcc:
13734 @if gcc
13735 maybe-check-gcc: check-gcc
13737 check-gcc:
13738 @: $(MAKE); $(unstage)
13739 @r=`${PWD_COMMAND}`; export r; \
13740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13741 $(HOST_EXPORTS) \
13742 (cd $(HOST_SUBDIR)/gcc && \
13743 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
13745 @endif gcc
13747 .PHONY: install-gcc maybe-install-gcc
13748 maybe-install-gcc:
13749 @if gcc
13750 maybe-install-gcc: install-gcc
13752 install-gcc: installdirs
13753 @: $(MAKE); $(unstage)
13754 @r=`${PWD_COMMAND}`; export r; \
13755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756 $(HOST_EXPORTS) \
13757 (cd $(HOST_SUBDIR)/gcc && \
13758 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
13760 @endif gcc
13762 # Other targets (info, dvi, pdf, etc.)
13764 .PHONY: maybe-info-gcc info-gcc
13765 maybe-info-gcc:
13766 @if gcc
13767 maybe-info-gcc: info-gcc
13769 info-gcc: \
13770 configure-gcc
13771 @[ -f ./gcc/Makefile ] || exit 0; \
13772 r=`${PWD_COMMAND}`; export r; \
13773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13774 $(HOST_EXPORTS) \
13775 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13777 done; \
13778 echo "Doing info in gcc" ; \
13779 (cd $(HOST_SUBDIR)/gcc && \
13780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13782 "RANLIB=$${RANLIB}" \
13783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13784 info) \
13785 || exit 1
13787 @endif gcc
13789 .PHONY: maybe-dvi-gcc dvi-gcc
13790 maybe-dvi-gcc:
13791 @if gcc
13792 maybe-dvi-gcc: dvi-gcc
13794 dvi-gcc: \
13795 configure-gcc
13796 @[ -f ./gcc/Makefile ] || exit 0; \
13797 r=`${PWD_COMMAND}`; export r; \
13798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13799 $(HOST_EXPORTS) \
13800 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13802 done; \
13803 echo "Doing dvi in gcc" ; \
13804 (cd $(HOST_SUBDIR)/gcc && \
13805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13807 "RANLIB=$${RANLIB}" \
13808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13809 dvi) \
13810 || exit 1
13812 @endif gcc
13814 .PHONY: maybe-pdf-gcc pdf-gcc
13815 maybe-pdf-gcc:
13816 @if gcc
13817 maybe-pdf-gcc: pdf-gcc
13819 pdf-gcc: \
13820 configure-gcc
13821 @[ -f ./gcc/Makefile ] || exit 0; \
13822 r=`${PWD_COMMAND}`; export r; \
13823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13824 $(HOST_EXPORTS) \
13825 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13827 done; \
13828 echo "Doing pdf in gcc" ; \
13829 (cd $(HOST_SUBDIR)/gcc && \
13830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13832 "RANLIB=$${RANLIB}" \
13833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13834 pdf) \
13835 || exit 1
13837 @endif gcc
13839 .PHONY: maybe-html-gcc html-gcc
13840 maybe-html-gcc:
13841 @if gcc
13842 maybe-html-gcc: html-gcc
13844 html-gcc: \
13845 configure-gcc
13846 @[ -f ./gcc/Makefile ] || exit 0; \
13847 r=`${PWD_COMMAND}`; export r; \
13848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13849 $(HOST_EXPORTS) \
13850 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13852 done; \
13853 echo "Doing html in gcc" ; \
13854 (cd $(HOST_SUBDIR)/gcc && \
13855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13857 "RANLIB=$${RANLIB}" \
13858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13859 html) \
13860 || exit 1
13862 @endif gcc
13864 .PHONY: maybe-TAGS-gcc TAGS-gcc
13865 maybe-TAGS-gcc:
13866 @if gcc
13867 maybe-TAGS-gcc: TAGS-gcc
13869 TAGS-gcc: \
13870 configure-gcc
13871 @[ -f ./gcc/Makefile ] || exit 0; \
13872 r=`${PWD_COMMAND}`; export r; \
13873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13874 $(HOST_EXPORTS) \
13875 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13877 done; \
13878 echo "Doing TAGS in gcc" ; \
13879 (cd $(HOST_SUBDIR)/gcc && \
13880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13882 "RANLIB=$${RANLIB}" \
13883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13884 TAGS) \
13885 || exit 1
13887 @endif gcc
13889 .PHONY: maybe-install-info-gcc install-info-gcc
13890 maybe-install-info-gcc:
13891 @if gcc
13892 maybe-install-info-gcc: install-info-gcc
13894 install-info-gcc: \
13895 configure-gcc \
13896 info-gcc
13897 @[ -f ./gcc/Makefile ] || exit 0; \
13898 r=`${PWD_COMMAND}`; export r; \
13899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13900 $(HOST_EXPORTS) \
13901 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13903 done; \
13904 echo "Doing install-info in gcc" ; \
13905 (cd $(HOST_SUBDIR)/gcc && \
13906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13908 "RANLIB=$${RANLIB}" \
13909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13910 install-info) \
13911 || exit 1
13913 @endif gcc
13915 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
13916 maybe-install-pdf-gcc:
13917 @if gcc
13918 maybe-install-pdf-gcc: install-pdf-gcc
13920 install-pdf-gcc: \
13921 configure-gcc \
13922 pdf-gcc
13923 @[ -f ./gcc/Makefile ] || exit 0; \
13924 r=`${PWD_COMMAND}`; export r; \
13925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13926 $(HOST_EXPORTS) \
13927 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13929 done; \
13930 echo "Doing install-pdf in gcc" ; \
13931 (cd $(HOST_SUBDIR)/gcc && \
13932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13934 "RANLIB=$${RANLIB}" \
13935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13936 install-pdf) \
13937 || exit 1
13939 @endif gcc
13941 .PHONY: maybe-install-html-gcc install-html-gcc
13942 maybe-install-html-gcc:
13943 @if gcc
13944 maybe-install-html-gcc: install-html-gcc
13946 install-html-gcc: \
13947 configure-gcc \
13948 html-gcc
13949 @[ -f ./gcc/Makefile ] || exit 0; \
13950 r=`${PWD_COMMAND}`; export r; \
13951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13952 $(HOST_EXPORTS) \
13953 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13955 done; \
13956 echo "Doing install-html in gcc" ; \
13957 (cd $(HOST_SUBDIR)/gcc && \
13958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13960 "RANLIB=$${RANLIB}" \
13961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13962 install-html) \
13963 || exit 1
13965 @endif gcc
13967 .PHONY: maybe-installcheck-gcc installcheck-gcc
13968 maybe-installcheck-gcc:
13969 @if gcc
13970 maybe-installcheck-gcc: installcheck-gcc
13972 installcheck-gcc: \
13973 configure-gcc
13974 @[ -f ./gcc/Makefile ] || exit 0; \
13975 r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977 $(HOST_EXPORTS) \
13978 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13980 done; \
13981 echo "Doing installcheck in gcc" ; \
13982 (cd $(HOST_SUBDIR)/gcc && \
13983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13985 "RANLIB=$${RANLIB}" \
13986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13987 installcheck) \
13988 || exit 1
13990 @endif gcc
13992 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13993 maybe-mostlyclean-gcc:
13994 @if gcc
13995 maybe-mostlyclean-gcc: mostlyclean-gcc
13997 mostlyclean-gcc:
13998 @[ -f ./gcc/Makefile ] || exit 0; \
13999 r=`${PWD_COMMAND}`; export r; \
14000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 $(HOST_EXPORTS) \
14002 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14004 done; \
14005 echo "Doing mostlyclean in gcc" ; \
14006 (cd $(HOST_SUBDIR)/gcc && \
14007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14009 "RANLIB=$${RANLIB}" \
14010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14011 mostlyclean) \
14012 || exit 1
14014 @endif gcc
14016 .PHONY: maybe-clean-gcc clean-gcc
14017 maybe-clean-gcc:
14018 @if gcc
14019 maybe-clean-gcc: clean-gcc
14021 clean-gcc:
14022 @[ -f ./gcc/Makefile ] || exit 0; \
14023 r=`${PWD_COMMAND}`; export r; \
14024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14025 $(HOST_EXPORTS) \
14026 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14028 done; \
14029 echo "Doing clean in gcc" ; \
14030 (cd $(HOST_SUBDIR)/gcc && \
14031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14033 "RANLIB=$${RANLIB}" \
14034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14035 clean) \
14036 || exit 1
14038 @endif gcc
14040 .PHONY: maybe-distclean-gcc distclean-gcc
14041 maybe-distclean-gcc:
14042 @if gcc
14043 maybe-distclean-gcc: distclean-gcc
14045 distclean-gcc:
14046 @[ -f ./gcc/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing distclean in gcc" ; \
14054 (cd $(HOST_SUBDIR)/gcc && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 distclean) \
14060 || exit 1
14062 @endif gcc
14064 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
14065 maybe-maintainer-clean-gcc:
14066 @if gcc
14067 maybe-maintainer-clean-gcc: maintainer-clean-gcc
14069 maintainer-clean-gcc:
14070 @[ -f ./gcc/Makefile ] || exit 0; \
14071 r=`${PWD_COMMAND}`; export r; \
14072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14073 $(HOST_EXPORTS) \
14074 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
14075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14076 done; \
14077 echo "Doing maintainer-clean in gcc" ; \
14078 (cd $(HOST_SUBDIR)/gcc && \
14079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14081 "RANLIB=$${RANLIB}" \
14082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14083 maintainer-clean) \
14084 || exit 1
14086 @endif gcc
14090 .PHONY: configure-gawk maybe-configure-gawk
14091 maybe-configure-gawk:
14092 @if gcc-bootstrap
14093 configure-gawk: stage_current
14094 @endif gcc-bootstrap
14095 @if gawk
14096 maybe-configure-gawk: configure-gawk
14097 configure-gawk:
14098 @: $(MAKE); $(unstage)
14099 @r=`${PWD_COMMAND}`; export r; \
14100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14101 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
14102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
14103 $(HOST_EXPORTS) \
14104 echo Configuring in $(HOST_SUBDIR)/gawk; \
14105 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
14106 case $(srcdir) in \
14107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14108 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
14109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14110 esac; \
14111 srcdiroption="--srcdir=$${topdir}/gawk"; \
14112 libsrcdir="$$s/gawk"; \
14113 $(SHELL) $${libsrcdir}/configure \
14114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14115 --target=${target_alias} $${srcdiroption} \
14116 || exit 1
14117 @endif gawk
14123 .PHONY: all-gawk maybe-all-gawk
14124 maybe-all-gawk:
14125 @if gcc-bootstrap
14126 all-gawk: stage_current
14127 @endif gcc-bootstrap
14128 @if gawk
14129 TARGET-gawk=all
14130 maybe-all-gawk: all-gawk
14131 all-gawk: configure-gawk
14132 @: $(MAKE); $(unstage)
14133 @r=`${PWD_COMMAND}`; export r; \
14134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14135 $(HOST_EXPORTS) \
14136 (cd $(HOST_SUBDIR)/gawk && \
14137 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
14138 @endif gawk
14143 .PHONY: check-gawk maybe-check-gawk
14144 maybe-check-gawk:
14145 @if gawk
14146 maybe-check-gawk: check-gawk
14148 check-gawk:
14149 @: $(MAKE); $(unstage)
14150 @r=`${PWD_COMMAND}`; export r; \
14151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14152 $(HOST_EXPORTS) \
14153 (cd $(HOST_SUBDIR)/gawk && \
14154 $(MAKE) $(FLAGS_TO_PASS) check)
14156 @endif gawk
14158 .PHONY: install-gawk maybe-install-gawk
14159 maybe-install-gawk:
14160 @if gawk
14161 maybe-install-gawk: install-gawk
14163 install-gawk: installdirs
14164 @: $(MAKE); $(unstage)
14165 @r=`${PWD_COMMAND}`; export r; \
14166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14167 $(HOST_EXPORTS) \
14168 (cd $(HOST_SUBDIR)/gawk && \
14169 $(MAKE) $(FLAGS_TO_PASS) install)
14171 @endif gawk
14173 # Other targets (info, dvi, pdf, etc.)
14175 .PHONY: maybe-info-gawk info-gawk
14176 maybe-info-gawk:
14177 @if gawk
14178 maybe-info-gawk: info-gawk
14180 info-gawk: \
14181 configure-gawk
14182 @: $(MAKE); $(unstage)
14183 @[ -f ./gawk/Makefile ] || exit 0; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 $(HOST_EXPORTS) \
14187 for flag in $(EXTRA_HOST_FLAGS) ; do \
14188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14189 done; \
14190 echo "Doing info in gawk" ; \
14191 (cd $(HOST_SUBDIR)/gawk && \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14194 "RANLIB=$${RANLIB}" \
14195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14196 info) \
14197 || exit 1
14199 @endif gawk
14201 .PHONY: maybe-dvi-gawk dvi-gawk
14202 maybe-dvi-gawk:
14203 @if gawk
14204 maybe-dvi-gawk: dvi-gawk
14206 dvi-gawk: \
14207 configure-gawk
14208 @: $(MAKE); $(unstage)
14209 @[ -f ./gawk/Makefile ] || exit 0; \
14210 r=`${PWD_COMMAND}`; export r; \
14211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14212 $(HOST_EXPORTS) \
14213 for flag in $(EXTRA_HOST_FLAGS) ; do \
14214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14215 done; \
14216 echo "Doing dvi in gawk" ; \
14217 (cd $(HOST_SUBDIR)/gawk && \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14220 "RANLIB=$${RANLIB}" \
14221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14222 dvi) \
14223 || exit 1
14225 @endif gawk
14227 .PHONY: maybe-pdf-gawk pdf-gawk
14228 maybe-pdf-gawk:
14229 @if gawk
14230 maybe-pdf-gawk: pdf-gawk
14232 pdf-gawk: \
14233 configure-gawk
14234 @: $(MAKE); $(unstage)
14235 @[ -f ./gawk/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(HOST_EXPORTS) \
14239 for flag in $(EXTRA_HOST_FLAGS) ; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241 done; \
14242 echo "Doing pdf in gawk" ; \
14243 (cd $(HOST_SUBDIR)/gawk && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14248 pdf) \
14249 || exit 1
14251 @endif gawk
14253 .PHONY: maybe-html-gawk html-gawk
14254 maybe-html-gawk:
14255 @if gawk
14256 maybe-html-gawk: html-gawk
14258 html-gawk: \
14259 configure-gawk
14260 @: $(MAKE); $(unstage)
14261 @[ -f ./gawk/Makefile ] || exit 0; \
14262 r=`${PWD_COMMAND}`; export r; \
14263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14264 $(HOST_EXPORTS) \
14265 for flag in $(EXTRA_HOST_FLAGS) ; do \
14266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14267 done; \
14268 echo "Doing html in gawk" ; \
14269 (cd $(HOST_SUBDIR)/gawk && \
14270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14272 "RANLIB=$${RANLIB}" \
14273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14274 html) \
14275 || exit 1
14277 @endif gawk
14279 .PHONY: maybe-TAGS-gawk TAGS-gawk
14280 maybe-TAGS-gawk:
14281 @if gawk
14282 maybe-TAGS-gawk: TAGS-gawk
14284 TAGS-gawk: \
14285 configure-gawk
14286 @: $(MAKE); $(unstage)
14287 @[ -f ./gawk/Makefile ] || exit 0; \
14288 r=`${PWD_COMMAND}`; export r; \
14289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14290 $(HOST_EXPORTS) \
14291 for flag in $(EXTRA_HOST_FLAGS) ; do \
14292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14293 done; \
14294 echo "Doing TAGS in gawk" ; \
14295 (cd $(HOST_SUBDIR)/gawk && \
14296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14298 "RANLIB=$${RANLIB}" \
14299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14300 TAGS) \
14301 || exit 1
14303 @endif gawk
14305 .PHONY: maybe-install-info-gawk install-info-gawk
14306 maybe-install-info-gawk:
14307 @if gawk
14308 maybe-install-info-gawk: install-info-gawk
14310 install-info-gawk: \
14311 configure-gawk \
14312 info-gawk
14313 @: $(MAKE); $(unstage)
14314 @[ -f ./gawk/Makefile ] || exit 0; \
14315 r=`${PWD_COMMAND}`; export r; \
14316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14317 $(HOST_EXPORTS) \
14318 for flag in $(EXTRA_HOST_FLAGS) ; do \
14319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14320 done; \
14321 echo "Doing install-info in gawk" ; \
14322 (cd $(HOST_SUBDIR)/gawk && \
14323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14325 "RANLIB=$${RANLIB}" \
14326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14327 install-info) \
14328 || exit 1
14330 @endif gawk
14332 .PHONY: maybe-install-pdf-gawk install-pdf-gawk
14333 maybe-install-pdf-gawk:
14334 @if gawk
14335 maybe-install-pdf-gawk: install-pdf-gawk
14337 install-pdf-gawk: \
14338 configure-gawk \
14339 pdf-gawk
14340 @: $(MAKE); $(unstage)
14341 @[ -f ./gawk/Makefile ] || exit 0; \
14342 r=`${PWD_COMMAND}`; export r; \
14343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 $(HOST_EXPORTS) \
14345 for flag in $(EXTRA_HOST_FLAGS) ; do \
14346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 done; \
14348 echo "Doing install-pdf in gawk" ; \
14349 (cd $(HOST_SUBDIR)/gawk && \
14350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14352 "RANLIB=$${RANLIB}" \
14353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14354 install-pdf) \
14355 || exit 1
14357 @endif gawk
14359 .PHONY: maybe-install-html-gawk install-html-gawk
14360 maybe-install-html-gawk:
14361 @if gawk
14362 maybe-install-html-gawk: install-html-gawk
14364 install-html-gawk: \
14365 configure-gawk \
14366 html-gawk
14367 @: $(MAKE); $(unstage)
14368 @[ -f ./gawk/Makefile ] || exit 0; \
14369 r=`${PWD_COMMAND}`; export r; \
14370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14371 $(HOST_EXPORTS) \
14372 for flag in $(EXTRA_HOST_FLAGS) ; do \
14373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14374 done; \
14375 echo "Doing install-html in gawk" ; \
14376 (cd $(HOST_SUBDIR)/gawk && \
14377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14379 "RANLIB=$${RANLIB}" \
14380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14381 install-html) \
14382 || exit 1
14384 @endif gawk
14386 .PHONY: maybe-installcheck-gawk installcheck-gawk
14387 maybe-installcheck-gawk:
14388 @if gawk
14389 maybe-installcheck-gawk: installcheck-gawk
14391 installcheck-gawk: \
14392 configure-gawk
14393 @: $(MAKE); $(unstage)
14394 @[ -f ./gawk/Makefile ] || exit 0; \
14395 r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 for flag in $(EXTRA_HOST_FLAGS) ; do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing installcheck in gawk" ; \
14402 (cd $(HOST_SUBDIR)/gawk && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14407 installcheck) \
14408 || exit 1
14410 @endif gawk
14412 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
14413 maybe-mostlyclean-gawk:
14414 @if gawk
14415 maybe-mostlyclean-gawk: mostlyclean-gawk
14417 mostlyclean-gawk:
14418 @: $(MAKE); $(unstage)
14419 @[ -f ./gawk/Makefile ] || exit 0; \
14420 r=`${PWD_COMMAND}`; export r; \
14421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14422 $(HOST_EXPORTS) \
14423 for flag in $(EXTRA_HOST_FLAGS) ; do \
14424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14425 done; \
14426 echo "Doing mostlyclean in gawk" ; \
14427 (cd $(HOST_SUBDIR)/gawk && \
14428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14430 "RANLIB=$${RANLIB}" \
14431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14432 mostlyclean) \
14433 || exit 1
14435 @endif gawk
14437 .PHONY: maybe-clean-gawk clean-gawk
14438 maybe-clean-gawk:
14439 @if gawk
14440 maybe-clean-gawk: clean-gawk
14442 clean-gawk:
14443 @: $(MAKE); $(unstage)
14444 @[ -f ./gawk/Makefile ] || exit 0; \
14445 r=`${PWD_COMMAND}`; export r; \
14446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14447 $(HOST_EXPORTS) \
14448 for flag in $(EXTRA_HOST_FLAGS) ; do \
14449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14450 done; \
14451 echo "Doing clean in gawk" ; \
14452 (cd $(HOST_SUBDIR)/gawk && \
14453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14455 "RANLIB=$${RANLIB}" \
14456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14457 clean) \
14458 || exit 1
14460 @endif gawk
14462 .PHONY: maybe-distclean-gawk distclean-gawk
14463 maybe-distclean-gawk:
14464 @if gawk
14465 maybe-distclean-gawk: distclean-gawk
14467 distclean-gawk:
14468 @: $(MAKE); $(unstage)
14469 @[ -f ./gawk/Makefile ] || exit 0; \
14470 r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 $(HOST_EXPORTS) \
14473 for flag in $(EXTRA_HOST_FLAGS) ; do \
14474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14475 done; \
14476 echo "Doing distclean in gawk" ; \
14477 (cd $(HOST_SUBDIR)/gawk && \
14478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14480 "RANLIB=$${RANLIB}" \
14481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14482 distclean) \
14483 || exit 1
14485 @endif gawk
14487 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
14488 maybe-maintainer-clean-gawk:
14489 @if gawk
14490 maybe-maintainer-clean-gawk: maintainer-clean-gawk
14492 maintainer-clean-gawk:
14493 @: $(MAKE); $(unstage)
14494 @[ -f ./gawk/Makefile ] || exit 0; \
14495 r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14497 $(HOST_EXPORTS) \
14498 for flag in $(EXTRA_HOST_FLAGS) ; do \
14499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14500 done; \
14501 echo "Doing maintainer-clean in gawk" ; \
14502 (cd $(HOST_SUBDIR)/gawk && \
14503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14505 "RANLIB=$${RANLIB}" \
14506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14507 maintainer-clean) \
14508 || exit 1
14510 @endif gawk
14514 .PHONY: configure-gettext maybe-configure-gettext
14515 maybe-configure-gettext:
14516 @if gcc-bootstrap
14517 configure-gettext: stage_current
14518 @endif gcc-bootstrap
14519 @if gettext
14520 maybe-configure-gettext: configure-gettext
14521 configure-gettext:
14522 @: $(MAKE); $(unstage)
14523 @r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
14526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
14527 $(HOST_EXPORTS) \
14528 echo Configuring in $(HOST_SUBDIR)/gettext; \
14529 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
14530 case $(srcdir) in \
14531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14532 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
14533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14534 esac; \
14535 srcdiroption="--srcdir=$${topdir}/gettext"; \
14536 libsrcdir="$$s/gettext"; \
14537 $(SHELL) $${libsrcdir}/configure \
14538 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14539 --target=${target_alias} $${srcdiroption} \
14540 || exit 1
14541 @endif gettext
14547 .PHONY: all-gettext maybe-all-gettext
14548 maybe-all-gettext:
14549 @if gcc-bootstrap
14550 all-gettext: stage_current
14551 @endif gcc-bootstrap
14552 @if gettext
14553 TARGET-gettext=all
14554 maybe-all-gettext: all-gettext
14555 all-gettext: configure-gettext
14556 @: $(MAKE); $(unstage)
14557 @r=`${PWD_COMMAND}`; export r; \
14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14559 $(HOST_EXPORTS) \
14560 (cd $(HOST_SUBDIR)/gettext && \
14561 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
14562 @endif gettext
14567 .PHONY: check-gettext maybe-check-gettext
14568 maybe-check-gettext:
14569 @if gettext
14570 maybe-check-gettext: check-gettext
14572 check-gettext:
14573 @: $(MAKE); $(unstage)
14574 @r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 $(HOST_EXPORTS) \
14577 (cd $(HOST_SUBDIR)/gettext && \
14578 $(MAKE) $(FLAGS_TO_PASS) check)
14580 @endif gettext
14582 .PHONY: install-gettext maybe-install-gettext
14583 maybe-install-gettext:
14584 @if gettext
14585 maybe-install-gettext: install-gettext
14587 install-gettext: installdirs
14588 @: $(MAKE); $(unstage)
14589 @r=`${PWD_COMMAND}`; export r; \
14590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14591 $(HOST_EXPORTS) \
14592 (cd $(HOST_SUBDIR)/gettext && \
14593 $(MAKE) $(FLAGS_TO_PASS) install)
14595 @endif gettext
14597 # Other targets (info, dvi, pdf, etc.)
14599 .PHONY: maybe-info-gettext info-gettext
14600 maybe-info-gettext:
14601 @if gettext
14602 maybe-info-gettext: info-gettext
14604 info-gettext: \
14605 configure-gettext
14606 @: $(MAKE); $(unstage)
14607 @[ -f ./gettext/Makefile ] || exit 0; \
14608 r=`${PWD_COMMAND}`; export r; \
14609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 $(HOST_EXPORTS) \
14611 for flag in $(EXTRA_HOST_FLAGS) ; do \
14612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14613 done; \
14614 echo "Doing info in gettext" ; \
14615 (cd $(HOST_SUBDIR)/gettext && \
14616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14618 "RANLIB=$${RANLIB}" \
14619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14620 info) \
14621 || exit 1
14623 @endif gettext
14625 .PHONY: maybe-dvi-gettext dvi-gettext
14626 maybe-dvi-gettext:
14627 @if gettext
14628 maybe-dvi-gettext: dvi-gettext
14630 dvi-gettext: \
14631 configure-gettext
14632 @: $(MAKE); $(unstage)
14633 @[ -f ./gettext/Makefile ] || exit 0; \
14634 r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 $(HOST_EXPORTS) \
14637 for flag in $(EXTRA_HOST_FLAGS) ; do \
14638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14639 done; \
14640 echo "Doing dvi in gettext" ; \
14641 (cd $(HOST_SUBDIR)/gettext && \
14642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14644 "RANLIB=$${RANLIB}" \
14645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14646 dvi) \
14647 || exit 1
14649 @endif gettext
14651 .PHONY: maybe-pdf-gettext pdf-gettext
14652 maybe-pdf-gettext:
14653 @if gettext
14654 maybe-pdf-gettext: pdf-gettext
14656 pdf-gettext: \
14657 configure-gettext
14658 @: $(MAKE); $(unstage)
14659 @[ -f ./gettext/Makefile ] || exit 0; \
14660 r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14662 $(HOST_EXPORTS) \
14663 for flag in $(EXTRA_HOST_FLAGS) ; do \
14664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14665 done; \
14666 echo "Doing pdf in gettext" ; \
14667 (cd $(HOST_SUBDIR)/gettext && \
14668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14670 "RANLIB=$${RANLIB}" \
14671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14672 pdf) \
14673 || exit 1
14675 @endif gettext
14677 .PHONY: maybe-html-gettext html-gettext
14678 maybe-html-gettext:
14679 @if gettext
14680 maybe-html-gettext: html-gettext
14682 html-gettext: \
14683 configure-gettext
14684 @: $(MAKE); $(unstage)
14685 @[ -f ./gettext/Makefile ] || exit 0; \
14686 r=`${PWD_COMMAND}`; export r; \
14687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14688 $(HOST_EXPORTS) \
14689 for flag in $(EXTRA_HOST_FLAGS) ; do \
14690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14691 done; \
14692 echo "Doing html in gettext" ; \
14693 (cd $(HOST_SUBDIR)/gettext && \
14694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14696 "RANLIB=$${RANLIB}" \
14697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14698 html) \
14699 || exit 1
14701 @endif gettext
14703 .PHONY: maybe-TAGS-gettext TAGS-gettext
14704 maybe-TAGS-gettext:
14705 @if gettext
14706 maybe-TAGS-gettext: TAGS-gettext
14708 TAGS-gettext: \
14709 configure-gettext
14710 @: $(MAKE); $(unstage)
14711 @[ -f ./gettext/Makefile ] || exit 0; \
14712 r=`${PWD_COMMAND}`; export r; \
14713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14714 $(HOST_EXPORTS) \
14715 for flag in $(EXTRA_HOST_FLAGS) ; do \
14716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14717 done; \
14718 echo "Doing TAGS in gettext" ; \
14719 (cd $(HOST_SUBDIR)/gettext && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14722 "RANLIB=$${RANLIB}" \
14723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14724 TAGS) \
14725 || exit 1
14727 @endif gettext
14729 .PHONY: maybe-install-info-gettext install-info-gettext
14730 maybe-install-info-gettext:
14731 @if gettext
14732 maybe-install-info-gettext: install-info-gettext
14734 install-info-gettext: \
14735 configure-gettext \
14736 info-gettext
14737 @: $(MAKE); $(unstage)
14738 @[ -f ./gettext/Makefile ] || exit 0; \
14739 r=`${PWD_COMMAND}`; export r; \
14740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14741 $(HOST_EXPORTS) \
14742 for flag in $(EXTRA_HOST_FLAGS) ; do \
14743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14744 done; \
14745 echo "Doing install-info in gettext" ; \
14746 (cd $(HOST_SUBDIR)/gettext && \
14747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14749 "RANLIB=$${RANLIB}" \
14750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14751 install-info) \
14752 || exit 1
14754 @endif gettext
14756 .PHONY: maybe-install-pdf-gettext install-pdf-gettext
14757 maybe-install-pdf-gettext:
14758 @if gettext
14759 maybe-install-pdf-gettext: install-pdf-gettext
14761 install-pdf-gettext: \
14762 configure-gettext \
14763 pdf-gettext
14764 @: $(MAKE); $(unstage)
14765 @[ -f ./gettext/Makefile ] || exit 0; \
14766 r=`${PWD_COMMAND}`; export r; \
14767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14768 $(HOST_EXPORTS) \
14769 for flag in $(EXTRA_HOST_FLAGS) ; do \
14770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14771 done; \
14772 echo "Doing install-pdf in gettext" ; \
14773 (cd $(HOST_SUBDIR)/gettext && \
14774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14776 "RANLIB=$${RANLIB}" \
14777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14778 install-pdf) \
14779 || exit 1
14781 @endif gettext
14783 .PHONY: maybe-install-html-gettext install-html-gettext
14784 maybe-install-html-gettext:
14785 @if gettext
14786 maybe-install-html-gettext: install-html-gettext
14788 install-html-gettext: \
14789 configure-gettext \
14790 html-gettext
14791 @: $(MAKE); $(unstage)
14792 @[ -f ./gettext/Makefile ] || exit 0; \
14793 r=`${PWD_COMMAND}`; export r; \
14794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14795 $(HOST_EXPORTS) \
14796 for flag in $(EXTRA_HOST_FLAGS) ; do \
14797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14798 done; \
14799 echo "Doing install-html in gettext" ; \
14800 (cd $(HOST_SUBDIR)/gettext && \
14801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14803 "RANLIB=$${RANLIB}" \
14804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14805 install-html) \
14806 || exit 1
14808 @endif gettext
14810 .PHONY: maybe-installcheck-gettext installcheck-gettext
14811 maybe-installcheck-gettext:
14812 @if gettext
14813 maybe-installcheck-gettext: installcheck-gettext
14815 installcheck-gettext: \
14816 configure-gettext
14817 @: $(MAKE); $(unstage)
14818 @[ -f ./gettext/Makefile ] || exit 0; \
14819 r=`${PWD_COMMAND}`; export r; \
14820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14821 $(HOST_EXPORTS) \
14822 for flag in $(EXTRA_HOST_FLAGS) ; do \
14823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14824 done; \
14825 echo "Doing installcheck in gettext" ; \
14826 (cd $(HOST_SUBDIR)/gettext && \
14827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14829 "RANLIB=$${RANLIB}" \
14830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14831 installcheck) \
14832 || exit 1
14834 @endif gettext
14836 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
14837 maybe-mostlyclean-gettext:
14838 @if gettext
14839 maybe-mostlyclean-gettext: mostlyclean-gettext
14841 mostlyclean-gettext:
14842 @: $(MAKE); $(unstage)
14843 @[ -f ./gettext/Makefile ] || exit 0; \
14844 r=`${PWD_COMMAND}`; export r; \
14845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14846 $(HOST_EXPORTS) \
14847 for flag in $(EXTRA_HOST_FLAGS) ; do \
14848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14849 done; \
14850 echo "Doing mostlyclean in gettext" ; \
14851 (cd $(HOST_SUBDIR)/gettext && \
14852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14854 "RANLIB=$${RANLIB}" \
14855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14856 mostlyclean) \
14857 || exit 1
14859 @endif gettext
14861 .PHONY: maybe-clean-gettext clean-gettext
14862 maybe-clean-gettext:
14863 @if gettext
14864 maybe-clean-gettext: clean-gettext
14866 clean-gettext:
14867 @: $(MAKE); $(unstage)
14868 @[ -f ./gettext/Makefile ] || exit 0; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 $(HOST_EXPORTS) \
14872 for flag in $(EXTRA_HOST_FLAGS) ; do \
14873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14874 done; \
14875 echo "Doing clean in gettext" ; \
14876 (cd $(HOST_SUBDIR)/gettext && \
14877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14879 "RANLIB=$${RANLIB}" \
14880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14881 clean) \
14882 || exit 1
14884 @endif gettext
14886 .PHONY: maybe-distclean-gettext distclean-gettext
14887 maybe-distclean-gettext:
14888 @if gettext
14889 maybe-distclean-gettext: distclean-gettext
14891 distclean-gettext:
14892 @: $(MAKE); $(unstage)
14893 @[ -f ./gettext/Makefile ] || exit 0; \
14894 r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 $(HOST_EXPORTS) \
14897 for flag in $(EXTRA_HOST_FLAGS) ; do \
14898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14899 done; \
14900 echo "Doing distclean in gettext" ; \
14901 (cd $(HOST_SUBDIR)/gettext && \
14902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14904 "RANLIB=$${RANLIB}" \
14905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14906 distclean) \
14907 || exit 1
14909 @endif gettext
14911 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14912 maybe-maintainer-clean-gettext:
14913 @if gettext
14914 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14916 maintainer-clean-gettext:
14917 @: $(MAKE); $(unstage)
14918 @[ -f ./gettext/Makefile ] || exit 0; \
14919 r=`${PWD_COMMAND}`; export r; \
14920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14921 $(HOST_EXPORTS) \
14922 for flag in $(EXTRA_HOST_FLAGS) ; do \
14923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14924 done; \
14925 echo "Doing maintainer-clean in gettext" ; \
14926 (cd $(HOST_SUBDIR)/gettext && \
14927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14929 "RANLIB=$${RANLIB}" \
14930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14931 maintainer-clean) \
14932 || exit 1
14934 @endif gettext
14938 .PHONY: configure-gmp maybe-configure-gmp
14939 maybe-configure-gmp:
14940 @if gcc-bootstrap
14941 configure-gmp: stage_current
14942 @endif gcc-bootstrap
14943 @if gmp
14944 maybe-configure-gmp: configure-gmp
14945 configure-gmp:
14946 @r=`${PWD_COMMAND}`; export r; \
14947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14948 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14950 $(HOST_EXPORTS) \
14951 echo Configuring in $(HOST_SUBDIR)/gmp; \
14952 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
14953 case $(srcdir) in \
14954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14955 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14957 esac; \
14958 srcdiroption="--srcdir=$${topdir}/gmp"; \
14959 libsrcdir="$$s/gmp"; \
14960 $(SHELL) $${libsrcdir}/configure \
14961 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14962 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
14963 || exit 1
14964 @endif gmp
14968 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
14969 maybe-configure-stage1-gmp:
14970 @if gmp-bootstrap
14971 maybe-configure-stage1-gmp: configure-stage1-gmp
14972 configure-stage1-gmp:
14973 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14974 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14975 @r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14978 $(HOST_EXPORTS) \
14979 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
14980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14981 cd $(HOST_SUBDIR)/gmp || exit 1; \
14982 case $(srcdir) in \
14983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14984 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14986 esac; \
14987 srcdiroption="--srcdir=$${topdir}/gmp"; \
14988 libsrcdir="$$s/gmp"; \
14989 $(SHELL) $${libsrcdir}/configure \
14990 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14991 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14993 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared
14994 @endif gmp-bootstrap
14996 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
14997 maybe-configure-stage2-gmp:
14998 @if gmp-bootstrap
14999 maybe-configure-stage2-gmp: configure-stage2-gmp
15000 configure-stage2-gmp:
15001 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
15003 @r=`${PWD_COMMAND}`; export r; \
15004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15005 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
15006 $(HOST_EXPORTS) \
15007 $(POSTSTAGE1_HOST_EXPORTS) \
15008 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
15009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
15010 cd $(HOST_SUBDIR)/gmp || exit 1; \
15011 case $(srcdir) in \
15012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15013 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
15014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15015 esac; \
15016 srcdiroption="--srcdir=$${topdir}/gmp"; \
15017 libsrcdir="$$s/gmp"; \
15018 $(SHELL) $${libsrcdir}/configure \
15019 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15020 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15021 --with-build-libsubdir=$(HOST_SUBDIR) \
15022 @stage2_werror_flag@ --disable-shared
15023 @endif gmp-bootstrap
15025 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
15026 maybe-configure-stage3-gmp:
15027 @if gmp-bootstrap
15028 maybe-configure-stage3-gmp: configure-stage3-gmp
15029 configure-stage3-gmp:
15030 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
15032 @r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15034 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
15035 $(HOST_EXPORTS) \
15036 $(POSTSTAGE1_HOST_EXPORTS) \
15037 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
15038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
15039 cd $(HOST_SUBDIR)/gmp || exit 1; \
15040 case $(srcdir) in \
15041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15042 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
15043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15044 esac; \
15045 srcdiroption="--srcdir=$${topdir}/gmp"; \
15046 libsrcdir="$$s/gmp"; \
15047 $(SHELL) $${libsrcdir}/configure \
15048 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15049 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15050 --with-build-libsubdir=$(HOST_SUBDIR) \
15051 @stage2_werror_flag@ --disable-shared
15052 @endif gmp-bootstrap
15054 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
15055 maybe-configure-stage4-gmp:
15056 @if gmp-bootstrap
15057 maybe-configure-stage4-gmp: configure-stage4-gmp
15058 configure-stage4-gmp:
15059 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
15061 @r=`${PWD_COMMAND}`; export r; \
15062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15063 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
15064 $(HOST_EXPORTS) \
15065 $(POSTSTAGE1_HOST_EXPORTS) \
15066 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
15067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
15068 cd $(HOST_SUBDIR)/gmp || exit 1; \
15069 case $(srcdir) in \
15070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15071 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
15072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15073 esac; \
15074 srcdiroption="--srcdir=$${topdir}/gmp"; \
15075 libsrcdir="$$s/gmp"; \
15076 $(SHELL) $${libsrcdir}/configure \
15077 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15078 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15079 --with-build-libsubdir=$(HOST_SUBDIR) \
15080 @stage2_werror_flag@ --disable-shared
15081 @endif gmp-bootstrap
15083 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
15084 maybe-configure-stageprofile-gmp:
15085 @if gmp-bootstrap
15086 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
15087 configure-stageprofile-gmp:
15088 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
15090 @r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
15093 $(HOST_EXPORTS) \
15094 $(POSTSTAGE1_HOST_EXPORTS) \
15095 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
15096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
15097 cd $(HOST_SUBDIR)/gmp || exit 1; \
15098 case $(srcdir) in \
15099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15100 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
15101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15102 esac; \
15103 srcdiroption="--srcdir=$${topdir}/gmp"; \
15104 libsrcdir="$$s/gmp"; \
15105 $(SHELL) $${libsrcdir}/configure \
15106 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15107 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15108 --with-build-libsubdir=$(HOST_SUBDIR) \
15109 @stage2_werror_flag@ --disable-shared
15110 @endif gmp-bootstrap
15112 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
15113 maybe-configure-stagefeedback-gmp:
15114 @if gmp-bootstrap
15115 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
15116 configure-stagefeedback-gmp:
15117 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
15119 @r=`${PWD_COMMAND}`; export r; \
15120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15121 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
15122 $(HOST_EXPORTS) \
15123 $(POSTSTAGE1_HOST_EXPORTS) \
15124 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
15125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
15126 cd $(HOST_SUBDIR)/gmp || exit 1; \
15127 case $(srcdir) in \
15128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15129 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
15130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15131 esac; \
15132 srcdiroption="--srcdir=$${topdir}/gmp"; \
15133 libsrcdir="$$s/gmp"; \
15134 $(SHELL) $${libsrcdir}/configure \
15135 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15136 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15137 --with-build-libsubdir=$(HOST_SUBDIR) \
15138 @stage2_werror_flag@ --disable-shared
15139 @endif gmp-bootstrap
15145 .PHONY: all-gmp maybe-all-gmp
15146 maybe-all-gmp:
15147 @if gcc-bootstrap
15148 all-gmp: stage_current
15149 @endif gcc-bootstrap
15150 @if gmp
15151 TARGET-gmp=all
15152 maybe-all-gmp: all-gmp
15153 all-gmp: configure-gmp
15154 @r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 $(HOST_EXPORTS) \
15157 (cd $(HOST_SUBDIR)/gmp && \
15158 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gmp))
15159 @endif gmp
15163 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
15164 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
15165 maybe-all-stage1-gmp:
15166 maybe-clean-stage1-gmp:
15167 @if gmp-bootstrap
15168 maybe-all-stage1-gmp: all-stage1-gmp
15169 all-stage1: all-stage1-gmp
15170 TARGET-stage1-gmp = $(TARGET-gmp)
15171 all-stage1-gmp: configure-stage1-gmp
15172 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15173 @r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 $(HOST_EXPORTS) \
15176 cd $(HOST_SUBDIR)/gmp && \
15177 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15178 $(TARGET-stage1-gmp)
15180 maybe-clean-stage1-gmp: clean-stage1-gmp
15181 clean-stage1: clean-stage1-gmp
15182 clean-stage1-gmp:
15183 @if [ $(current_stage) = stage1 ]; then \
15184 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
15185 else \
15186 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
15187 $(MAKE) stage1-start; \
15188 fi; \
15189 cd $(HOST_SUBDIR)/gmp && \
15190 $(MAKE) $(FLAGS_TO_PASS) \
15191 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15192 @endif gmp-bootstrap
15195 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
15196 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
15197 maybe-all-stage2-gmp:
15198 maybe-clean-stage2-gmp:
15199 @if gmp-bootstrap
15200 maybe-all-stage2-gmp: all-stage2-gmp
15201 all-stage2: all-stage2-gmp
15202 TARGET-stage2-gmp = $(TARGET-gmp)
15203 all-stage2-gmp: configure-stage2-gmp
15204 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15205 @r=`${PWD_COMMAND}`; export r; \
15206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15207 $(HOST_EXPORTS) \
15208 $(POSTSTAGE1_HOST_EXPORTS) \
15209 cd $(HOST_SUBDIR)/gmp && \
15210 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15211 $(TARGET-stage2-gmp)
15213 maybe-clean-stage2-gmp: clean-stage2-gmp
15214 clean-stage2: clean-stage2-gmp
15215 clean-stage2-gmp:
15216 @if [ $(current_stage) = stage2 ]; then \
15217 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
15218 else \
15219 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
15220 $(MAKE) stage2-start; \
15221 fi; \
15222 cd $(HOST_SUBDIR)/gmp && \
15223 $(MAKE) $(FLAGS_TO_PASS) \
15224 $(POSTSTAGE1_FLAGS_TO_PASS) \
15225 clean
15226 @endif gmp-bootstrap
15229 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
15230 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
15231 maybe-all-stage3-gmp:
15232 maybe-clean-stage3-gmp:
15233 @if gmp-bootstrap
15234 maybe-all-stage3-gmp: all-stage3-gmp
15235 all-stage3: all-stage3-gmp
15236 TARGET-stage3-gmp = $(TARGET-gmp)
15237 all-stage3-gmp: configure-stage3-gmp
15238 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15239 @r=`${PWD_COMMAND}`; export r; \
15240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15241 $(HOST_EXPORTS) \
15242 $(POSTSTAGE1_HOST_EXPORTS) \
15243 cd $(HOST_SUBDIR)/gmp && \
15244 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15245 $(TARGET-stage3-gmp)
15247 maybe-clean-stage3-gmp: clean-stage3-gmp
15248 clean-stage3: clean-stage3-gmp
15249 clean-stage3-gmp:
15250 @if [ $(current_stage) = stage3 ]; then \
15251 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
15252 else \
15253 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
15254 $(MAKE) stage3-start; \
15255 fi; \
15256 cd $(HOST_SUBDIR)/gmp && \
15257 $(MAKE) $(FLAGS_TO_PASS) \
15258 $(POSTSTAGE1_FLAGS_TO_PASS) \
15259 clean
15260 @endif gmp-bootstrap
15263 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
15264 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
15265 maybe-all-stage4-gmp:
15266 maybe-clean-stage4-gmp:
15267 @if gmp-bootstrap
15268 maybe-all-stage4-gmp: all-stage4-gmp
15269 all-stage4: all-stage4-gmp
15270 TARGET-stage4-gmp = $(TARGET-gmp)
15271 all-stage4-gmp: configure-stage4-gmp
15272 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15273 @r=`${PWD_COMMAND}`; export r; \
15274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15275 $(HOST_EXPORTS) \
15276 $(POSTSTAGE1_HOST_EXPORTS) \
15277 cd $(HOST_SUBDIR)/gmp && \
15278 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15279 $(TARGET-stage4-gmp)
15281 maybe-clean-stage4-gmp: clean-stage4-gmp
15282 clean-stage4: clean-stage4-gmp
15283 clean-stage4-gmp:
15284 @if [ $(current_stage) = stage4 ]; then \
15285 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
15286 else \
15287 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
15288 $(MAKE) stage4-start; \
15289 fi; \
15290 cd $(HOST_SUBDIR)/gmp && \
15291 $(MAKE) $(FLAGS_TO_PASS) \
15292 $(POSTSTAGE1_FLAGS_TO_PASS) \
15293 clean
15294 @endif gmp-bootstrap
15297 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
15298 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
15299 maybe-all-stageprofile-gmp:
15300 maybe-clean-stageprofile-gmp:
15301 @if gmp-bootstrap
15302 maybe-all-stageprofile-gmp: all-stageprofile-gmp
15303 all-stageprofile: all-stageprofile-gmp
15304 TARGET-stageprofile-gmp = $(TARGET-gmp)
15305 all-stageprofile-gmp: configure-stageprofile-gmp
15306 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15307 @r=`${PWD_COMMAND}`; export r; \
15308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15309 $(HOST_EXPORTS) \
15310 $(POSTSTAGE1_HOST_EXPORTS) \
15311 cd $(HOST_SUBDIR)/gmp && \
15312 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15313 $(TARGET-stageprofile-gmp)
15315 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
15316 clean-stageprofile: clean-stageprofile-gmp
15317 clean-stageprofile-gmp:
15318 @if [ $(current_stage) = stageprofile ]; then \
15319 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
15320 else \
15321 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
15322 $(MAKE) stageprofile-start; \
15323 fi; \
15324 cd $(HOST_SUBDIR)/gmp && \
15325 $(MAKE) $(FLAGS_TO_PASS) \
15326 $(POSTSTAGE1_FLAGS_TO_PASS) \
15327 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15328 @endif gmp-bootstrap
15331 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
15332 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
15333 maybe-all-stagefeedback-gmp:
15334 maybe-clean-stagefeedback-gmp:
15335 @if gmp-bootstrap
15336 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
15337 all-stagefeedback: all-stagefeedback-gmp
15338 TARGET-stagefeedback-gmp = $(TARGET-gmp)
15339 all-stagefeedback-gmp: configure-stagefeedback-gmp
15340 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15341 @r=`${PWD_COMMAND}`; export r; \
15342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15343 $(HOST_EXPORTS) \
15344 $(POSTSTAGE1_HOST_EXPORTS) \
15345 cd $(HOST_SUBDIR)/gmp && \
15346 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15347 $(TARGET-stagefeedback-gmp)
15349 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
15350 clean-stagefeedback: clean-stagefeedback-gmp
15351 clean-stagefeedback-gmp:
15352 @if [ $(current_stage) = stagefeedback ]; then \
15353 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
15354 else \
15355 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
15356 $(MAKE) stagefeedback-start; \
15357 fi; \
15358 cd $(HOST_SUBDIR)/gmp && \
15359 $(MAKE) $(FLAGS_TO_PASS) \
15360 $(POSTSTAGE1_FLAGS_TO_PASS) \
15361 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15362 @endif gmp-bootstrap
15368 .PHONY: check-gmp maybe-check-gmp
15369 maybe-check-gmp:
15370 @if gmp
15371 maybe-check-gmp: check-gmp
15373 check-gmp:
15374 @: $(MAKE); $(unstage)
15375 @r=`${PWD_COMMAND}`; export r; \
15376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15377 $(HOST_EXPORTS) \
15378 (cd $(HOST_SUBDIR)/gmp && \
15379 $(MAKE) $(FLAGS_TO_PASS) check)
15381 @endif gmp
15383 .PHONY: install-gmp maybe-install-gmp
15384 maybe-install-gmp:
15385 @if gmp
15386 maybe-install-gmp: install-gmp
15388 install-gmp:
15390 @endif gmp
15392 # Other targets (info, dvi, pdf, etc.)
15394 .PHONY: maybe-info-gmp info-gmp
15395 maybe-info-gmp:
15396 @if gmp
15397 maybe-info-gmp: info-gmp
15399 info-gmp: \
15400 configure-gmp
15401 @[ -f ./gmp/Makefile ] || exit 0; \
15402 r=`${PWD_COMMAND}`; export r; \
15403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15404 $(HOST_EXPORTS) \
15405 for flag in $(EXTRA_HOST_FLAGS) ; do \
15406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15407 done; \
15408 echo "Doing info in gmp" ; \
15409 (cd $(HOST_SUBDIR)/gmp && \
15410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15412 "RANLIB=$${RANLIB}" \
15413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15414 info) \
15415 || exit 1
15417 @endif gmp
15419 .PHONY: maybe-dvi-gmp dvi-gmp
15420 maybe-dvi-gmp:
15421 @if gmp
15422 maybe-dvi-gmp: dvi-gmp
15424 dvi-gmp: \
15425 configure-gmp
15426 @[ -f ./gmp/Makefile ] || exit 0; \
15427 r=`${PWD_COMMAND}`; export r; \
15428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15429 $(HOST_EXPORTS) \
15430 for flag in $(EXTRA_HOST_FLAGS) ; do \
15431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15432 done; \
15433 echo "Doing dvi in gmp" ; \
15434 (cd $(HOST_SUBDIR)/gmp && \
15435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15437 "RANLIB=$${RANLIB}" \
15438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15439 dvi) \
15440 || exit 1
15442 @endif gmp
15444 .PHONY: maybe-pdf-gmp pdf-gmp
15445 maybe-pdf-gmp:
15446 @if gmp
15447 maybe-pdf-gmp: pdf-gmp
15449 pdf-gmp: \
15450 configure-gmp
15451 @[ -f ./gmp/Makefile ] || exit 0; \
15452 r=`${PWD_COMMAND}`; export r; \
15453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15454 $(HOST_EXPORTS) \
15455 for flag in $(EXTRA_HOST_FLAGS) ; do \
15456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15457 done; \
15458 echo "Doing pdf in gmp" ; \
15459 (cd $(HOST_SUBDIR)/gmp && \
15460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15462 "RANLIB=$${RANLIB}" \
15463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15464 pdf) \
15465 || exit 1
15467 @endif gmp
15469 .PHONY: maybe-html-gmp html-gmp
15470 maybe-html-gmp:
15471 @if gmp
15472 maybe-html-gmp: html-gmp
15474 html-gmp: \
15475 configure-gmp
15476 @[ -f ./gmp/Makefile ] || exit 0; \
15477 r=`${PWD_COMMAND}`; export r; \
15478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15479 $(HOST_EXPORTS) \
15480 for flag in $(EXTRA_HOST_FLAGS) ; do \
15481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15482 done; \
15483 echo "Doing html in gmp" ; \
15484 (cd $(HOST_SUBDIR)/gmp && \
15485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15487 "RANLIB=$${RANLIB}" \
15488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15489 html) \
15490 || exit 1
15492 @endif gmp
15494 .PHONY: maybe-TAGS-gmp TAGS-gmp
15495 maybe-TAGS-gmp:
15496 @if gmp
15497 maybe-TAGS-gmp: TAGS-gmp
15499 TAGS-gmp: \
15500 configure-gmp
15501 @[ -f ./gmp/Makefile ] || exit 0; \
15502 r=`${PWD_COMMAND}`; export r; \
15503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15504 $(HOST_EXPORTS) \
15505 for flag in $(EXTRA_HOST_FLAGS) ; do \
15506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15507 done; \
15508 echo "Doing TAGS in gmp" ; \
15509 (cd $(HOST_SUBDIR)/gmp && \
15510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15512 "RANLIB=$${RANLIB}" \
15513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15514 TAGS) \
15515 || exit 1
15517 @endif gmp
15519 .PHONY: maybe-install-info-gmp install-info-gmp
15520 maybe-install-info-gmp:
15521 @if gmp
15522 maybe-install-info-gmp: install-info-gmp
15524 install-info-gmp: \
15525 configure-gmp \
15526 info-gmp
15527 @[ -f ./gmp/Makefile ] || exit 0; \
15528 r=`${PWD_COMMAND}`; export r; \
15529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15530 $(HOST_EXPORTS) \
15531 for flag in $(EXTRA_HOST_FLAGS) ; do \
15532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15533 done; \
15534 echo "Doing install-info in gmp" ; \
15535 (cd $(HOST_SUBDIR)/gmp && \
15536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15538 "RANLIB=$${RANLIB}" \
15539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15540 install-info) \
15541 || exit 1
15543 @endif gmp
15545 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
15546 maybe-install-pdf-gmp:
15547 @if gmp
15548 maybe-install-pdf-gmp: install-pdf-gmp
15550 install-pdf-gmp: \
15551 configure-gmp \
15552 pdf-gmp
15553 @[ -f ./gmp/Makefile ] || exit 0; \
15554 r=`${PWD_COMMAND}`; export r; \
15555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15556 $(HOST_EXPORTS) \
15557 for flag in $(EXTRA_HOST_FLAGS) ; do \
15558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15559 done; \
15560 echo "Doing install-pdf in gmp" ; \
15561 (cd $(HOST_SUBDIR)/gmp && \
15562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15564 "RANLIB=$${RANLIB}" \
15565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15566 install-pdf) \
15567 || exit 1
15569 @endif gmp
15571 .PHONY: maybe-install-html-gmp install-html-gmp
15572 maybe-install-html-gmp:
15573 @if gmp
15574 maybe-install-html-gmp: install-html-gmp
15576 install-html-gmp: \
15577 configure-gmp \
15578 html-gmp
15579 @[ -f ./gmp/Makefile ] || exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing install-html in gmp" ; \
15587 (cd $(HOST_SUBDIR)/gmp && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15592 install-html) \
15593 || exit 1
15595 @endif gmp
15597 .PHONY: maybe-installcheck-gmp installcheck-gmp
15598 maybe-installcheck-gmp:
15599 @if gmp
15600 maybe-installcheck-gmp: installcheck-gmp
15602 installcheck-gmp: \
15603 configure-gmp
15604 @[ -f ./gmp/Makefile ] || exit 0; \
15605 r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 $(HOST_EXPORTS) \
15608 for flag in $(EXTRA_HOST_FLAGS) ; do \
15609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610 done; \
15611 echo "Doing installcheck in gmp" ; \
15612 (cd $(HOST_SUBDIR)/gmp && \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615 "RANLIB=$${RANLIB}" \
15616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15617 installcheck) \
15618 || exit 1
15620 @endif gmp
15622 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
15623 maybe-mostlyclean-gmp:
15624 @if gmp
15625 maybe-mostlyclean-gmp: mostlyclean-gmp
15627 mostlyclean-gmp:
15628 @[ -f ./gmp/Makefile ] || exit 0; \
15629 r=`${PWD_COMMAND}`; export r; \
15630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15631 $(HOST_EXPORTS) \
15632 for flag in $(EXTRA_HOST_FLAGS) ; do \
15633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15634 done; \
15635 echo "Doing mostlyclean in gmp" ; \
15636 (cd $(HOST_SUBDIR)/gmp && \
15637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15639 "RANLIB=$${RANLIB}" \
15640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15641 mostlyclean) \
15642 || exit 1
15644 @endif gmp
15646 .PHONY: maybe-clean-gmp clean-gmp
15647 maybe-clean-gmp:
15648 @if gmp
15649 maybe-clean-gmp: clean-gmp
15651 clean-gmp:
15652 @[ -f ./gmp/Makefile ] || exit 0; \
15653 r=`${PWD_COMMAND}`; export r; \
15654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15655 $(HOST_EXPORTS) \
15656 for flag in $(EXTRA_HOST_FLAGS) ; do \
15657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15658 done; \
15659 echo "Doing clean in gmp" ; \
15660 (cd $(HOST_SUBDIR)/gmp && \
15661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15663 "RANLIB=$${RANLIB}" \
15664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15665 clean) \
15666 || exit 1
15668 @endif gmp
15670 .PHONY: maybe-distclean-gmp distclean-gmp
15671 maybe-distclean-gmp:
15672 @if gmp
15673 maybe-distclean-gmp: distclean-gmp
15675 distclean-gmp:
15676 @[ -f ./gmp/Makefile ] || exit 0; \
15677 r=`${PWD_COMMAND}`; export r; \
15678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15679 $(HOST_EXPORTS) \
15680 for flag in $(EXTRA_HOST_FLAGS) ; do \
15681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15682 done; \
15683 echo "Doing distclean in gmp" ; \
15684 (cd $(HOST_SUBDIR)/gmp && \
15685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15687 "RANLIB=$${RANLIB}" \
15688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15689 distclean) \
15690 || exit 1
15692 @endif gmp
15694 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
15695 maybe-maintainer-clean-gmp:
15696 @if gmp
15697 maybe-maintainer-clean-gmp: maintainer-clean-gmp
15699 maintainer-clean-gmp:
15700 @[ -f ./gmp/Makefile ] || exit 0; \
15701 r=`${PWD_COMMAND}`; export r; \
15702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15703 $(HOST_EXPORTS) \
15704 for flag in $(EXTRA_HOST_FLAGS) ; do \
15705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15706 done; \
15707 echo "Doing maintainer-clean in gmp" ; \
15708 (cd $(HOST_SUBDIR)/gmp && \
15709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15711 "RANLIB=$${RANLIB}" \
15712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15713 maintainer-clean) \
15714 || exit 1
15716 @endif gmp
15720 .PHONY: configure-mpfr maybe-configure-mpfr
15721 maybe-configure-mpfr:
15722 @if gcc-bootstrap
15723 configure-mpfr: stage_current
15724 @endif gcc-bootstrap
15725 @if mpfr
15726 maybe-configure-mpfr: configure-mpfr
15727 configure-mpfr:
15728 @r=`${PWD_COMMAND}`; export r; \
15729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15730 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15731 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15732 $(HOST_EXPORTS) \
15733 echo Configuring in $(HOST_SUBDIR)/mpfr; \
15734 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
15735 case $(srcdir) in \
15736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15737 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15739 esac; \
15740 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15741 libsrcdir="$$s/mpfr"; \
15742 $(SHELL) $${libsrcdir}/configure \
15743 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15744 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
15745 || exit 1
15746 @endif mpfr
15750 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
15751 maybe-configure-stage1-mpfr:
15752 @if mpfr-bootstrap
15753 maybe-configure-stage1-mpfr: configure-stage1-mpfr
15754 configure-stage1-mpfr:
15755 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15756 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15757 @r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15760 $(HOST_EXPORTS) \
15761 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
15762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15763 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15764 case $(srcdir) in \
15765 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15766 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15767 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15768 esac; \
15769 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15770 libsrcdir="$$s/mpfr"; \
15771 $(SHELL) $${libsrcdir}/configure \
15772 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15773 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15775 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15776 @endif mpfr-bootstrap
15778 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
15779 maybe-configure-stage2-mpfr:
15780 @if mpfr-bootstrap
15781 maybe-configure-stage2-mpfr: configure-stage2-mpfr
15782 configure-stage2-mpfr:
15783 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15785 @r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15788 $(HOST_EXPORTS) \
15789 $(POSTSTAGE1_HOST_EXPORTS) \
15790 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
15791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15792 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15793 case $(srcdir) in \
15794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15795 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15797 esac; \
15798 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15799 libsrcdir="$$s/mpfr"; \
15800 $(SHELL) $${libsrcdir}/configure \
15801 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15802 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15803 --with-build-libsubdir=$(HOST_SUBDIR) \
15804 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15805 @endif mpfr-bootstrap
15807 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
15808 maybe-configure-stage3-mpfr:
15809 @if mpfr-bootstrap
15810 maybe-configure-stage3-mpfr: configure-stage3-mpfr
15811 configure-stage3-mpfr:
15812 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15813 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15814 @r=`${PWD_COMMAND}`; export r; \
15815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15816 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15817 $(HOST_EXPORTS) \
15818 $(POSTSTAGE1_HOST_EXPORTS) \
15819 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
15820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15821 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15822 case $(srcdir) in \
15823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15824 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15826 esac; \
15827 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15828 libsrcdir="$$s/mpfr"; \
15829 $(SHELL) $${libsrcdir}/configure \
15830 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15831 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15832 --with-build-libsubdir=$(HOST_SUBDIR) \
15833 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15834 @endif mpfr-bootstrap
15836 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
15837 maybe-configure-stage4-mpfr:
15838 @if mpfr-bootstrap
15839 maybe-configure-stage4-mpfr: configure-stage4-mpfr
15840 configure-stage4-mpfr:
15841 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15842 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15843 @r=`${PWD_COMMAND}`; export r; \
15844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15845 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15846 $(HOST_EXPORTS) \
15847 $(POSTSTAGE1_HOST_EXPORTS) \
15848 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
15849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15850 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15851 case $(srcdir) in \
15852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15853 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15855 esac; \
15856 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15857 libsrcdir="$$s/mpfr"; \
15858 $(SHELL) $${libsrcdir}/configure \
15859 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15860 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15861 --with-build-libsubdir=$(HOST_SUBDIR) \
15862 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15863 @endif mpfr-bootstrap
15865 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
15866 maybe-configure-stageprofile-mpfr:
15867 @if mpfr-bootstrap
15868 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
15869 configure-stageprofile-mpfr:
15870 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15872 @r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15875 $(HOST_EXPORTS) \
15876 $(POSTSTAGE1_HOST_EXPORTS) \
15877 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
15878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15879 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15880 case $(srcdir) in \
15881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15882 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15884 esac; \
15885 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15886 libsrcdir="$$s/mpfr"; \
15887 $(SHELL) $${libsrcdir}/configure \
15888 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15889 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15890 --with-build-libsubdir=$(HOST_SUBDIR) \
15891 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15892 @endif mpfr-bootstrap
15894 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
15895 maybe-configure-stagefeedback-mpfr:
15896 @if mpfr-bootstrap
15897 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
15898 configure-stagefeedback-mpfr:
15899 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15900 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15901 @r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15904 $(HOST_EXPORTS) \
15905 $(POSTSTAGE1_HOST_EXPORTS) \
15906 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
15907 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15908 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15909 case $(srcdir) in \
15910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15911 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15913 esac; \
15914 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15915 libsrcdir="$$s/mpfr"; \
15916 $(SHELL) $${libsrcdir}/configure \
15917 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15918 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15919 --with-build-libsubdir=$(HOST_SUBDIR) \
15920 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15921 @endif mpfr-bootstrap
15927 .PHONY: all-mpfr maybe-all-mpfr
15928 maybe-all-mpfr:
15929 @if gcc-bootstrap
15930 all-mpfr: stage_current
15931 @endif gcc-bootstrap
15932 @if mpfr
15933 TARGET-mpfr=all
15934 maybe-all-mpfr: all-mpfr
15935 all-mpfr: configure-mpfr
15936 @r=`${PWD_COMMAND}`; export r; \
15937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15938 $(HOST_EXPORTS) \
15939 (cd $(HOST_SUBDIR)/mpfr && \
15940 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mpfr))
15941 @endif mpfr
15945 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
15946 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
15947 maybe-all-stage1-mpfr:
15948 maybe-clean-stage1-mpfr:
15949 @if mpfr-bootstrap
15950 maybe-all-stage1-mpfr: all-stage1-mpfr
15951 all-stage1: all-stage1-mpfr
15952 TARGET-stage1-mpfr = $(TARGET-mpfr)
15953 all-stage1-mpfr: configure-stage1-mpfr
15954 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15955 @r=`${PWD_COMMAND}`; export r; \
15956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15957 $(HOST_EXPORTS) \
15958 cd $(HOST_SUBDIR)/mpfr && \
15959 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15960 $(TARGET-stage1-mpfr)
15962 maybe-clean-stage1-mpfr: clean-stage1-mpfr
15963 clean-stage1: clean-stage1-mpfr
15964 clean-stage1-mpfr:
15965 @if [ $(current_stage) = stage1 ]; then \
15966 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15967 else \
15968 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
15969 $(MAKE) stage1-start; \
15970 fi; \
15971 cd $(HOST_SUBDIR)/mpfr && \
15972 $(MAKE) $(FLAGS_TO_PASS) \
15973 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15974 @endif mpfr-bootstrap
15977 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
15978 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
15979 maybe-all-stage2-mpfr:
15980 maybe-clean-stage2-mpfr:
15981 @if mpfr-bootstrap
15982 maybe-all-stage2-mpfr: all-stage2-mpfr
15983 all-stage2: all-stage2-mpfr
15984 TARGET-stage2-mpfr = $(TARGET-mpfr)
15985 all-stage2-mpfr: configure-stage2-mpfr
15986 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15987 @r=`${PWD_COMMAND}`; export r; \
15988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 $(HOST_EXPORTS) \
15990 $(POSTSTAGE1_HOST_EXPORTS) \
15991 cd $(HOST_SUBDIR)/mpfr && \
15992 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15993 $(TARGET-stage2-mpfr)
15995 maybe-clean-stage2-mpfr: clean-stage2-mpfr
15996 clean-stage2: clean-stage2-mpfr
15997 clean-stage2-mpfr:
15998 @if [ $(current_stage) = stage2 ]; then \
15999 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
16000 else \
16001 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
16002 $(MAKE) stage2-start; \
16003 fi; \
16004 cd $(HOST_SUBDIR)/mpfr && \
16005 $(MAKE) $(FLAGS_TO_PASS) \
16006 $(POSTSTAGE1_FLAGS_TO_PASS) \
16007 clean
16008 @endif mpfr-bootstrap
16011 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
16012 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
16013 maybe-all-stage3-mpfr:
16014 maybe-clean-stage3-mpfr:
16015 @if mpfr-bootstrap
16016 maybe-all-stage3-mpfr: all-stage3-mpfr
16017 all-stage3: all-stage3-mpfr
16018 TARGET-stage3-mpfr = $(TARGET-mpfr)
16019 all-stage3-mpfr: configure-stage3-mpfr
16020 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16021 @r=`${PWD_COMMAND}`; export r; \
16022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16023 $(HOST_EXPORTS) \
16024 $(POSTSTAGE1_HOST_EXPORTS) \
16025 cd $(HOST_SUBDIR)/mpfr && \
16026 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16027 $(TARGET-stage3-mpfr)
16029 maybe-clean-stage3-mpfr: clean-stage3-mpfr
16030 clean-stage3: clean-stage3-mpfr
16031 clean-stage3-mpfr:
16032 @if [ $(current_stage) = stage3 ]; then \
16033 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
16034 else \
16035 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
16036 $(MAKE) stage3-start; \
16037 fi; \
16038 cd $(HOST_SUBDIR)/mpfr && \
16039 $(MAKE) $(FLAGS_TO_PASS) \
16040 $(POSTSTAGE1_FLAGS_TO_PASS) \
16041 clean
16042 @endif mpfr-bootstrap
16045 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
16046 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
16047 maybe-all-stage4-mpfr:
16048 maybe-clean-stage4-mpfr:
16049 @if mpfr-bootstrap
16050 maybe-all-stage4-mpfr: all-stage4-mpfr
16051 all-stage4: all-stage4-mpfr
16052 TARGET-stage4-mpfr = $(TARGET-mpfr)
16053 all-stage4-mpfr: configure-stage4-mpfr
16054 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16055 @r=`${PWD_COMMAND}`; export r; \
16056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16057 $(HOST_EXPORTS) \
16058 $(POSTSTAGE1_HOST_EXPORTS) \
16059 cd $(HOST_SUBDIR)/mpfr && \
16060 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16061 $(TARGET-stage4-mpfr)
16063 maybe-clean-stage4-mpfr: clean-stage4-mpfr
16064 clean-stage4: clean-stage4-mpfr
16065 clean-stage4-mpfr:
16066 @if [ $(current_stage) = stage4 ]; then \
16067 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
16068 else \
16069 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
16070 $(MAKE) stage4-start; \
16071 fi; \
16072 cd $(HOST_SUBDIR)/mpfr && \
16073 $(MAKE) $(FLAGS_TO_PASS) \
16074 $(POSTSTAGE1_FLAGS_TO_PASS) \
16075 clean
16076 @endif mpfr-bootstrap
16079 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
16080 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
16081 maybe-all-stageprofile-mpfr:
16082 maybe-clean-stageprofile-mpfr:
16083 @if mpfr-bootstrap
16084 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
16085 all-stageprofile: all-stageprofile-mpfr
16086 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
16087 all-stageprofile-mpfr: configure-stageprofile-mpfr
16088 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16089 @r=`${PWD_COMMAND}`; export r; \
16090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16091 $(HOST_EXPORTS) \
16092 $(POSTSTAGE1_HOST_EXPORTS) \
16093 cd $(HOST_SUBDIR)/mpfr && \
16094 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16095 $(TARGET-stageprofile-mpfr)
16097 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
16098 clean-stageprofile: clean-stageprofile-mpfr
16099 clean-stageprofile-mpfr:
16100 @if [ $(current_stage) = stageprofile ]; then \
16101 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
16102 else \
16103 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
16104 $(MAKE) stageprofile-start; \
16105 fi; \
16106 cd $(HOST_SUBDIR)/mpfr && \
16107 $(MAKE) $(FLAGS_TO_PASS) \
16108 $(POSTSTAGE1_FLAGS_TO_PASS) \
16109 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16110 @endif mpfr-bootstrap
16113 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
16114 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
16115 maybe-all-stagefeedback-mpfr:
16116 maybe-clean-stagefeedback-mpfr:
16117 @if mpfr-bootstrap
16118 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
16119 all-stagefeedback: all-stagefeedback-mpfr
16120 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
16121 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
16122 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16123 @r=`${PWD_COMMAND}`; export r; \
16124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 $(HOST_EXPORTS) \
16126 $(POSTSTAGE1_HOST_EXPORTS) \
16127 cd $(HOST_SUBDIR)/mpfr && \
16128 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16129 $(TARGET-stagefeedback-mpfr)
16131 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
16132 clean-stagefeedback: clean-stagefeedback-mpfr
16133 clean-stagefeedback-mpfr:
16134 @if [ $(current_stage) = stagefeedback ]; then \
16135 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
16136 else \
16137 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
16138 $(MAKE) stagefeedback-start; \
16139 fi; \
16140 cd $(HOST_SUBDIR)/mpfr && \
16141 $(MAKE) $(FLAGS_TO_PASS) \
16142 $(POSTSTAGE1_FLAGS_TO_PASS) \
16143 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16144 @endif mpfr-bootstrap
16150 .PHONY: check-mpfr maybe-check-mpfr
16151 maybe-check-mpfr:
16152 @if mpfr
16153 maybe-check-mpfr: check-mpfr
16155 check-mpfr:
16156 @: $(MAKE); $(unstage)
16157 @r=`${PWD_COMMAND}`; export r; \
16158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16159 $(HOST_EXPORTS) \
16160 (cd $(HOST_SUBDIR)/mpfr && \
16161 $(MAKE) $(FLAGS_TO_PASS) check)
16163 @endif mpfr
16165 .PHONY: install-mpfr maybe-install-mpfr
16166 maybe-install-mpfr:
16167 @if mpfr
16168 maybe-install-mpfr: install-mpfr
16170 install-mpfr:
16172 @endif mpfr
16174 # Other targets (info, dvi, pdf, etc.)
16176 .PHONY: maybe-info-mpfr info-mpfr
16177 maybe-info-mpfr:
16178 @if mpfr
16179 maybe-info-mpfr: info-mpfr
16181 info-mpfr: \
16182 configure-mpfr
16183 @[ -f ./mpfr/Makefile ] || exit 0; \
16184 r=`${PWD_COMMAND}`; export r; \
16185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16186 $(HOST_EXPORTS) \
16187 for flag in $(EXTRA_HOST_FLAGS) ; do \
16188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16189 done; \
16190 echo "Doing info in mpfr" ; \
16191 (cd $(HOST_SUBDIR)/mpfr && \
16192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16194 "RANLIB=$${RANLIB}" \
16195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16196 info) \
16197 || exit 1
16199 @endif mpfr
16201 .PHONY: maybe-dvi-mpfr dvi-mpfr
16202 maybe-dvi-mpfr:
16203 @if mpfr
16204 maybe-dvi-mpfr: dvi-mpfr
16206 dvi-mpfr: \
16207 configure-mpfr
16208 @[ -f ./mpfr/Makefile ] || exit 0; \
16209 r=`${PWD_COMMAND}`; export r; \
16210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16211 $(HOST_EXPORTS) \
16212 for flag in $(EXTRA_HOST_FLAGS) ; do \
16213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16214 done; \
16215 echo "Doing dvi in mpfr" ; \
16216 (cd $(HOST_SUBDIR)/mpfr && \
16217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16219 "RANLIB=$${RANLIB}" \
16220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16221 dvi) \
16222 || exit 1
16224 @endif mpfr
16226 .PHONY: maybe-pdf-mpfr pdf-mpfr
16227 maybe-pdf-mpfr:
16228 @if mpfr
16229 maybe-pdf-mpfr: pdf-mpfr
16231 pdf-mpfr: \
16232 configure-mpfr
16233 @[ -f ./mpfr/Makefile ] || exit 0; \
16234 r=`${PWD_COMMAND}`; export r; \
16235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16236 $(HOST_EXPORTS) \
16237 for flag in $(EXTRA_HOST_FLAGS) ; do \
16238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16239 done; \
16240 echo "Doing pdf in mpfr" ; \
16241 (cd $(HOST_SUBDIR)/mpfr && \
16242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16244 "RANLIB=$${RANLIB}" \
16245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16246 pdf) \
16247 || exit 1
16249 @endif mpfr
16251 .PHONY: maybe-html-mpfr html-mpfr
16252 maybe-html-mpfr:
16253 @if mpfr
16254 maybe-html-mpfr: html-mpfr
16256 html-mpfr: \
16257 configure-mpfr
16258 @[ -f ./mpfr/Makefile ] || exit 0; \
16259 r=`${PWD_COMMAND}`; export r; \
16260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16261 $(HOST_EXPORTS) \
16262 for flag in $(EXTRA_HOST_FLAGS) ; do \
16263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16264 done; \
16265 echo "Doing html in mpfr" ; \
16266 (cd $(HOST_SUBDIR)/mpfr && \
16267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16269 "RANLIB=$${RANLIB}" \
16270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16271 html) \
16272 || exit 1
16274 @endif mpfr
16276 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
16277 maybe-TAGS-mpfr:
16278 @if mpfr
16279 maybe-TAGS-mpfr: TAGS-mpfr
16281 TAGS-mpfr: \
16282 configure-mpfr
16283 @[ -f ./mpfr/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 for flag in $(EXTRA_HOST_FLAGS) ; do \
16288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16289 done; \
16290 echo "Doing TAGS in mpfr" ; \
16291 (cd $(HOST_SUBDIR)/mpfr && \
16292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16294 "RANLIB=$${RANLIB}" \
16295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16296 TAGS) \
16297 || exit 1
16299 @endif mpfr
16301 .PHONY: maybe-install-info-mpfr install-info-mpfr
16302 maybe-install-info-mpfr:
16303 @if mpfr
16304 maybe-install-info-mpfr: install-info-mpfr
16306 install-info-mpfr: \
16307 configure-mpfr \
16308 info-mpfr
16309 @[ -f ./mpfr/Makefile ] || exit 0; \
16310 r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16312 $(HOST_EXPORTS) \
16313 for flag in $(EXTRA_HOST_FLAGS) ; do \
16314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16315 done; \
16316 echo "Doing install-info in mpfr" ; \
16317 (cd $(HOST_SUBDIR)/mpfr && \
16318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16320 "RANLIB=$${RANLIB}" \
16321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16322 install-info) \
16323 || exit 1
16325 @endif mpfr
16327 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
16328 maybe-install-pdf-mpfr:
16329 @if mpfr
16330 maybe-install-pdf-mpfr: install-pdf-mpfr
16332 install-pdf-mpfr: \
16333 configure-mpfr \
16334 pdf-mpfr
16335 @[ -f ./mpfr/Makefile ] || exit 0; \
16336 r=`${PWD_COMMAND}`; export r; \
16337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16338 $(HOST_EXPORTS) \
16339 for flag in $(EXTRA_HOST_FLAGS) ; do \
16340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16341 done; \
16342 echo "Doing install-pdf in mpfr" ; \
16343 (cd $(HOST_SUBDIR)/mpfr && \
16344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16346 "RANLIB=$${RANLIB}" \
16347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16348 install-pdf) \
16349 || exit 1
16351 @endif mpfr
16353 .PHONY: maybe-install-html-mpfr install-html-mpfr
16354 maybe-install-html-mpfr:
16355 @if mpfr
16356 maybe-install-html-mpfr: install-html-mpfr
16358 install-html-mpfr: \
16359 configure-mpfr \
16360 html-mpfr
16361 @[ -f ./mpfr/Makefile ] || exit 0; \
16362 r=`${PWD_COMMAND}`; export r; \
16363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16364 $(HOST_EXPORTS) \
16365 for flag in $(EXTRA_HOST_FLAGS) ; do \
16366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16367 done; \
16368 echo "Doing install-html in mpfr" ; \
16369 (cd $(HOST_SUBDIR)/mpfr && \
16370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16372 "RANLIB=$${RANLIB}" \
16373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16374 install-html) \
16375 || exit 1
16377 @endif mpfr
16379 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
16380 maybe-installcheck-mpfr:
16381 @if mpfr
16382 maybe-installcheck-mpfr: installcheck-mpfr
16384 installcheck-mpfr: \
16385 configure-mpfr
16386 @[ -f ./mpfr/Makefile ] || exit 0; \
16387 r=`${PWD_COMMAND}`; export r; \
16388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16389 $(HOST_EXPORTS) \
16390 for flag in $(EXTRA_HOST_FLAGS) ; do \
16391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16392 done; \
16393 echo "Doing installcheck in mpfr" ; \
16394 (cd $(HOST_SUBDIR)/mpfr && \
16395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16397 "RANLIB=$${RANLIB}" \
16398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16399 installcheck) \
16400 || exit 1
16402 @endif mpfr
16404 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
16405 maybe-mostlyclean-mpfr:
16406 @if mpfr
16407 maybe-mostlyclean-mpfr: mostlyclean-mpfr
16409 mostlyclean-mpfr:
16410 @[ -f ./mpfr/Makefile ] || exit 0; \
16411 r=`${PWD_COMMAND}`; export r; \
16412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16413 $(HOST_EXPORTS) \
16414 for flag in $(EXTRA_HOST_FLAGS) ; do \
16415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16416 done; \
16417 echo "Doing mostlyclean in mpfr" ; \
16418 (cd $(HOST_SUBDIR)/mpfr && \
16419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16421 "RANLIB=$${RANLIB}" \
16422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16423 mostlyclean) \
16424 || exit 1
16426 @endif mpfr
16428 .PHONY: maybe-clean-mpfr clean-mpfr
16429 maybe-clean-mpfr:
16430 @if mpfr
16431 maybe-clean-mpfr: clean-mpfr
16433 clean-mpfr:
16434 @[ -f ./mpfr/Makefile ] || exit 0; \
16435 r=`${PWD_COMMAND}`; export r; \
16436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16437 $(HOST_EXPORTS) \
16438 for flag in $(EXTRA_HOST_FLAGS) ; do \
16439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16440 done; \
16441 echo "Doing clean in mpfr" ; \
16442 (cd $(HOST_SUBDIR)/mpfr && \
16443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16445 "RANLIB=$${RANLIB}" \
16446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16447 clean) \
16448 || exit 1
16450 @endif mpfr
16452 .PHONY: maybe-distclean-mpfr distclean-mpfr
16453 maybe-distclean-mpfr:
16454 @if mpfr
16455 maybe-distclean-mpfr: distclean-mpfr
16457 distclean-mpfr:
16458 @[ -f ./mpfr/Makefile ] || exit 0; \
16459 r=`${PWD_COMMAND}`; export r; \
16460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 $(HOST_EXPORTS) \
16462 for flag in $(EXTRA_HOST_FLAGS) ; do \
16463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16464 done; \
16465 echo "Doing distclean in mpfr" ; \
16466 (cd $(HOST_SUBDIR)/mpfr && \
16467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16469 "RANLIB=$${RANLIB}" \
16470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16471 distclean) \
16472 || exit 1
16474 @endif mpfr
16476 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
16477 maybe-maintainer-clean-mpfr:
16478 @if mpfr
16479 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
16481 maintainer-clean-mpfr:
16482 @[ -f ./mpfr/Makefile ] || exit 0; \
16483 r=`${PWD_COMMAND}`; export r; \
16484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16485 $(HOST_EXPORTS) \
16486 for flag in $(EXTRA_HOST_FLAGS) ; do \
16487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16488 done; \
16489 echo "Doing maintainer-clean in mpfr" ; \
16490 (cd $(HOST_SUBDIR)/mpfr && \
16491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16493 "RANLIB=$${RANLIB}" \
16494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16495 maintainer-clean) \
16496 || exit 1
16498 @endif mpfr
16502 .PHONY: configure-gnuserv maybe-configure-gnuserv
16503 maybe-configure-gnuserv:
16504 @if gcc-bootstrap
16505 configure-gnuserv: stage_current
16506 @endif gcc-bootstrap
16507 @if gnuserv
16508 maybe-configure-gnuserv: configure-gnuserv
16509 configure-gnuserv:
16510 @: $(MAKE); $(unstage)
16511 @r=`${PWD_COMMAND}`; export r; \
16512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16513 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
16514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
16515 $(HOST_EXPORTS) \
16516 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
16517 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
16518 case $(srcdir) in \
16519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16520 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
16521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16522 esac; \
16523 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
16524 libsrcdir="$$s/gnuserv"; \
16525 $(SHELL) $${libsrcdir}/configure \
16526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16527 --target=${target_alias} $${srcdiroption} \
16528 || exit 1
16529 @endif gnuserv
16535 .PHONY: all-gnuserv maybe-all-gnuserv
16536 maybe-all-gnuserv:
16537 @if gcc-bootstrap
16538 all-gnuserv: stage_current
16539 @endif gcc-bootstrap
16540 @if gnuserv
16541 TARGET-gnuserv=all
16542 maybe-all-gnuserv: all-gnuserv
16543 all-gnuserv: configure-gnuserv
16544 @: $(MAKE); $(unstage)
16545 @r=`${PWD_COMMAND}`; export r; \
16546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16547 $(HOST_EXPORTS) \
16548 (cd $(HOST_SUBDIR)/gnuserv && \
16549 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
16550 @endif gnuserv
16555 .PHONY: check-gnuserv maybe-check-gnuserv
16556 maybe-check-gnuserv:
16557 @if gnuserv
16558 maybe-check-gnuserv: check-gnuserv
16560 check-gnuserv:
16561 @: $(MAKE); $(unstage)
16562 @r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 (cd $(HOST_SUBDIR)/gnuserv && \
16566 $(MAKE) $(FLAGS_TO_PASS) check)
16568 @endif gnuserv
16570 .PHONY: install-gnuserv maybe-install-gnuserv
16571 maybe-install-gnuserv:
16572 @if gnuserv
16573 maybe-install-gnuserv: install-gnuserv
16575 install-gnuserv: installdirs
16576 @: $(MAKE); $(unstage)
16577 @r=`${PWD_COMMAND}`; export r; \
16578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16579 $(HOST_EXPORTS) \
16580 (cd $(HOST_SUBDIR)/gnuserv && \
16581 $(MAKE) $(FLAGS_TO_PASS) install)
16583 @endif gnuserv
16585 # Other targets (info, dvi, pdf, etc.)
16587 .PHONY: maybe-info-gnuserv info-gnuserv
16588 maybe-info-gnuserv:
16589 @if gnuserv
16590 maybe-info-gnuserv: info-gnuserv
16592 info-gnuserv: \
16593 configure-gnuserv
16594 @: $(MAKE); $(unstage)
16595 @[ -f ./gnuserv/Makefile ] || exit 0; \
16596 r=`${PWD_COMMAND}`; export r; \
16597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16598 $(HOST_EXPORTS) \
16599 for flag in $(EXTRA_HOST_FLAGS) ; do \
16600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16601 done; \
16602 echo "Doing info in gnuserv" ; \
16603 (cd $(HOST_SUBDIR)/gnuserv && \
16604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16606 "RANLIB=$${RANLIB}" \
16607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16608 info) \
16609 || exit 1
16611 @endif gnuserv
16613 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
16614 maybe-dvi-gnuserv:
16615 @if gnuserv
16616 maybe-dvi-gnuserv: dvi-gnuserv
16618 dvi-gnuserv: \
16619 configure-gnuserv
16620 @: $(MAKE); $(unstage)
16621 @[ -f ./gnuserv/Makefile ] || exit 0; \
16622 r=`${PWD_COMMAND}`; export r; \
16623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16624 $(HOST_EXPORTS) \
16625 for flag in $(EXTRA_HOST_FLAGS) ; do \
16626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16627 done; \
16628 echo "Doing dvi in gnuserv" ; \
16629 (cd $(HOST_SUBDIR)/gnuserv && \
16630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16632 "RANLIB=$${RANLIB}" \
16633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16634 dvi) \
16635 || exit 1
16637 @endif gnuserv
16639 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
16640 maybe-pdf-gnuserv:
16641 @if gnuserv
16642 maybe-pdf-gnuserv: pdf-gnuserv
16644 pdf-gnuserv: \
16645 configure-gnuserv
16646 @: $(MAKE); $(unstage)
16647 @[ -f ./gnuserv/Makefile ] || exit 0; \
16648 r=`${PWD_COMMAND}`; export r; \
16649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16650 $(HOST_EXPORTS) \
16651 for flag in $(EXTRA_HOST_FLAGS) ; do \
16652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16653 done; \
16654 echo "Doing pdf in gnuserv" ; \
16655 (cd $(HOST_SUBDIR)/gnuserv && \
16656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16658 "RANLIB=$${RANLIB}" \
16659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16660 pdf) \
16661 || exit 1
16663 @endif gnuserv
16665 .PHONY: maybe-html-gnuserv html-gnuserv
16666 maybe-html-gnuserv:
16667 @if gnuserv
16668 maybe-html-gnuserv: html-gnuserv
16670 html-gnuserv: \
16671 configure-gnuserv
16672 @: $(MAKE); $(unstage)
16673 @[ -f ./gnuserv/Makefile ] || exit 0; \
16674 r=`${PWD_COMMAND}`; export r; \
16675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16676 $(HOST_EXPORTS) \
16677 for flag in $(EXTRA_HOST_FLAGS) ; do \
16678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16679 done; \
16680 echo "Doing html in gnuserv" ; \
16681 (cd $(HOST_SUBDIR)/gnuserv && \
16682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16684 "RANLIB=$${RANLIB}" \
16685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16686 html) \
16687 || exit 1
16689 @endif gnuserv
16691 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
16692 maybe-TAGS-gnuserv:
16693 @if gnuserv
16694 maybe-TAGS-gnuserv: TAGS-gnuserv
16696 TAGS-gnuserv: \
16697 configure-gnuserv
16698 @: $(MAKE); $(unstage)
16699 @[ -f ./gnuserv/Makefile ] || exit 0; \
16700 r=`${PWD_COMMAND}`; export r; \
16701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16702 $(HOST_EXPORTS) \
16703 for flag in $(EXTRA_HOST_FLAGS) ; do \
16704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16705 done; \
16706 echo "Doing TAGS in gnuserv" ; \
16707 (cd $(HOST_SUBDIR)/gnuserv && \
16708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16710 "RANLIB=$${RANLIB}" \
16711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16712 TAGS) \
16713 || exit 1
16715 @endif gnuserv
16717 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
16718 maybe-install-info-gnuserv:
16719 @if gnuserv
16720 maybe-install-info-gnuserv: install-info-gnuserv
16722 install-info-gnuserv: \
16723 configure-gnuserv \
16724 info-gnuserv
16725 @: $(MAKE); $(unstage)
16726 @[ -f ./gnuserv/Makefile ] || exit 0; \
16727 r=`${PWD_COMMAND}`; export r; \
16728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16729 $(HOST_EXPORTS) \
16730 for flag in $(EXTRA_HOST_FLAGS) ; do \
16731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16732 done; \
16733 echo "Doing install-info in gnuserv" ; \
16734 (cd $(HOST_SUBDIR)/gnuserv && \
16735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16737 "RANLIB=$${RANLIB}" \
16738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16739 install-info) \
16740 || exit 1
16742 @endif gnuserv
16744 .PHONY: maybe-install-pdf-gnuserv install-pdf-gnuserv
16745 maybe-install-pdf-gnuserv:
16746 @if gnuserv
16747 maybe-install-pdf-gnuserv: install-pdf-gnuserv
16749 install-pdf-gnuserv: \
16750 configure-gnuserv \
16751 pdf-gnuserv
16752 @: $(MAKE); $(unstage)
16753 @[ -f ./gnuserv/Makefile ] || exit 0; \
16754 r=`${PWD_COMMAND}`; export r; \
16755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16756 $(HOST_EXPORTS) \
16757 for flag in $(EXTRA_HOST_FLAGS) ; do \
16758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16759 done; \
16760 echo "Doing install-pdf in gnuserv" ; \
16761 (cd $(HOST_SUBDIR)/gnuserv && \
16762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16764 "RANLIB=$${RANLIB}" \
16765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16766 install-pdf) \
16767 || exit 1
16769 @endif gnuserv
16771 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
16772 maybe-install-html-gnuserv:
16773 @if gnuserv
16774 maybe-install-html-gnuserv: install-html-gnuserv
16776 install-html-gnuserv: \
16777 configure-gnuserv \
16778 html-gnuserv
16779 @: $(MAKE); $(unstage)
16780 @[ -f ./gnuserv/Makefile ] || exit 0; \
16781 r=`${PWD_COMMAND}`; export r; \
16782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16783 $(HOST_EXPORTS) \
16784 for flag in $(EXTRA_HOST_FLAGS) ; do \
16785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16786 done; \
16787 echo "Doing install-html in gnuserv" ; \
16788 (cd $(HOST_SUBDIR)/gnuserv && \
16789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16791 "RANLIB=$${RANLIB}" \
16792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16793 install-html) \
16794 || exit 1
16796 @endif gnuserv
16798 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
16799 maybe-installcheck-gnuserv:
16800 @if gnuserv
16801 maybe-installcheck-gnuserv: installcheck-gnuserv
16803 installcheck-gnuserv: \
16804 configure-gnuserv
16805 @: $(MAKE); $(unstage)
16806 @[ -f ./gnuserv/Makefile ] || exit 0; \
16807 r=`${PWD_COMMAND}`; export r; \
16808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16809 $(HOST_EXPORTS) \
16810 for flag in $(EXTRA_HOST_FLAGS) ; do \
16811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16812 done; \
16813 echo "Doing installcheck in gnuserv" ; \
16814 (cd $(HOST_SUBDIR)/gnuserv && \
16815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16817 "RANLIB=$${RANLIB}" \
16818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16819 installcheck) \
16820 || exit 1
16822 @endif gnuserv
16824 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
16825 maybe-mostlyclean-gnuserv:
16826 @if gnuserv
16827 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
16829 mostlyclean-gnuserv:
16830 @: $(MAKE); $(unstage)
16831 @[ -f ./gnuserv/Makefile ] || exit 0; \
16832 r=`${PWD_COMMAND}`; export r; \
16833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16834 $(HOST_EXPORTS) \
16835 for flag in $(EXTRA_HOST_FLAGS) ; do \
16836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16837 done; \
16838 echo "Doing mostlyclean in gnuserv" ; \
16839 (cd $(HOST_SUBDIR)/gnuserv && \
16840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16842 "RANLIB=$${RANLIB}" \
16843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16844 mostlyclean) \
16845 || exit 1
16847 @endif gnuserv
16849 .PHONY: maybe-clean-gnuserv clean-gnuserv
16850 maybe-clean-gnuserv:
16851 @if gnuserv
16852 maybe-clean-gnuserv: clean-gnuserv
16854 clean-gnuserv:
16855 @: $(MAKE); $(unstage)
16856 @[ -f ./gnuserv/Makefile ] || exit 0; \
16857 r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 $(HOST_EXPORTS) \
16860 for flag in $(EXTRA_HOST_FLAGS) ; do \
16861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16862 done; \
16863 echo "Doing clean in gnuserv" ; \
16864 (cd $(HOST_SUBDIR)/gnuserv && \
16865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16867 "RANLIB=$${RANLIB}" \
16868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16869 clean) \
16870 || exit 1
16872 @endif gnuserv
16874 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
16875 maybe-distclean-gnuserv:
16876 @if gnuserv
16877 maybe-distclean-gnuserv: distclean-gnuserv
16879 distclean-gnuserv:
16880 @: $(MAKE); $(unstage)
16881 @[ -f ./gnuserv/Makefile ] || exit 0; \
16882 r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16884 $(HOST_EXPORTS) \
16885 for flag in $(EXTRA_HOST_FLAGS) ; do \
16886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16887 done; \
16888 echo "Doing distclean in gnuserv" ; \
16889 (cd $(HOST_SUBDIR)/gnuserv && \
16890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16892 "RANLIB=$${RANLIB}" \
16893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16894 distclean) \
16895 || exit 1
16897 @endif gnuserv
16899 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16900 maybe-maintainer-clean-gnuserv:
16901 @if gnuserv
16902 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
16904 maintainer-clean-gnuserv:
16905 @: $(MAKE); $(unstage)
16906 @[ -f ./gnuserv/Makefile ] || exit 0; \
16907 r=`${PWD_COMMAND}`; export r; \
16908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16909 $(HOST_EXPORTS) \
16910 for flag in $(EXTRA_HOST_FLAGS) ; do \
16911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16912 done; \
16913 echo "Doing maintainer-clean in gnuserv" ; \
16914 (cd $(HOST_SUBDIR)/gnuserv && \
16915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16917 "RANLIB=$${RANLIB}" \
16918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16919 maintainer-clean) \
16920 || exit 1
16922 @endif gnuserv
16926 .PHONY: configure-gprof maybe-configure-gprof
16927 maybe-configure-gprof:
16928 @if gcc-bootstrap
16929 configure-gprof: stage_current
16930 @endif gcc-bootstrap
16931 @if gprof
16932 maybe-configure-gprof: configure-gprof
16933 configure-gprof:
16934 @: $(MAKE); $(unstage)
16935 @r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16938 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16939 $(HOST_EXPORTS) \
16940 echo Configuring in $(HOST_SUBDIR)/gprof; \
16941 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16942 case $(srcdir) in \
16943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16944 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16946 esac; \
16947 srcdiroption="--srcdir=$${topdir}/gprof"; \
16948 libsrcdir="$$s/gprof"; \
16949 $(SHELL) $${libsrcdir}/configure \
16950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16951 --target=${target_alias} $${srcdiroption} \
16952 || exit 1
16953 @endif gprof
16959 .PHONY: all-gprof maybe-all-gprof
16960 maybe-all-gprof:
16961 @if gcc-bootstrap
16962 all-gprof: stage_current
16963 @endif gcc-bootstrap
16964 @if gprof
16965 TARGET-gprof=all
16966 maybe-all-gprof: all-gprof
16967 all-gprof: configure-gprof
16968 @: $(MAKE); $(unstage)
16969 @r=`${PWD_COMMAND}`; export r; \
16970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16971 $(HOST_EXPORTS) \
16972 (cd $(HOST_SUBDIR)/gprof && \
16973 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
16974 @endif gprof
16979 .PHONY: check-gprof maybe-check-gprof
16980 maybe-check-gprof:
16981 @if gprof
16982 maybe-check-gprof: check-gprof
16984 check-gprof:
16985 @: $(MAKE); $(unstage)
16986 @r=`${PWD_COMMAND}`; export r; \
16987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16988 $(HOST_EXPORTS) \
16989 (cd $(HOST_SUBDIR)/gprof && \
16990 $(MAKE) $(FLAGS_TO_PASS) check)
16992 @endif gprof
16994 .PHONY: install-gprof maybe-install-gprof
16995 maybe-install-gprof:
16996 @if gprof
16997 maybe-install-gprof: install-gprof
16999 install-gprof: installdirs
17000 @: $(MAKE); $(unstage)
17001 @r=`${PWD_COMMAND}`; export r; \
17002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17003 $(HOST_EXPORTS) \
17004 (cd $(HOST_SUBDIR)/gprof && \
17005 $(MAKE) $(FLAGS_TO_PASS) install)
17007 @endif gprof
17009 # Other targets (info, dvi, pdf, etc.)
17011 .PHONY: maybe-info-gprof info-gprof
17012 maybe-info-gprof:
17013 @if gprof
17014 maybe-info-gprof: info-gprof
17016 info-gprof: \
17017 configure-gprof
17018 @: $(MAKE); $(unstage)
17019 @[ -f ./gprof/Makefile ] || exit 0; \
17020 r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 $(HOST_EXPORTS) \
17023 for flag in $(EXTRA_HOST_FLAGS) ; do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17025 done; \
17026 echo "Doing info in gprof" ; \
17027 (cd $(HOST_SUBDIR)/gprof && \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17032 info) \
17033 || exit 1
17035 @endif gprof
17037 .PHONY: maybe-dvi-gprof dvi-gprof
17038 maybe-dvi-gprof:
17039 @if gprof
17040 maybe-dvi-gprof: dvi-gprof
17042 dvi-gprof: \
17043 configure-gprof
17044 @: $(MAKE); $(unstage)
17045 @[ -f ./gprof/Makefile ] || exit 0; \
17046 r=`${PWD_COMMAND}`; export r; \
17047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048 $(HOST_EXPORTS) \
17049 for flag in $(EXTRA_HOST_FLAGS) ; do \
17050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17051 done; \
17052 echo "Doing dvi in gprof" ; \
17053 (cd $(HOST_SUBDIR)/gprof && \
17054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17056 "RANLIB=$${RANLIB}" \
17057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17058 dvi) \
17059 || exit 1
17061 @endif gprof
17063 .PHONY: maybe-pdf-gprof pdf-gprof
17064 maybe-pdf-gprof:
17065 @if gprof
17066 maybe-pdf-gprof: pdf-gprof
17068 pdf-gprof: \
17069 configure-gprof
17070 @: $(MAKE); $(unstage)
17071 @[ -f ./gprof/Makefile ] || exit 0; \
17072 r=`${PWD_COMMAND}`; export r; \
17073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17074 $(HOST_EXPORTS) \
17075 for flag in $(EXTRA_HOST_FLAGS) ; do \
17076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17077 done; \
17078 echo "Doing pdf in gprof" ; \
17079 (cd $(HOST_SUBDIR)/gprof && \
17080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17082 "RANLIB=$${RANLIB}" \
17083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17084 pdf) \
17085 || exit 1
17087 @endif gprof
17089 .PHONY: maybe-html-gprof html-gprof
17090 maybe-html-gprof:
17091 @if gprof
17092 maybe-html-gprof: html-gprof
17094 html-gprof: \
17095 configure-gprof
17096 @: $(MAKE); $(unstage)
17097 @[ -f ./gprof/Makefile ] || exit 0; \
17098 r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 $(HOST_EXPORTS) \
17101 for flag in $(EXTRA_HOST_FLAGS) ; do \
17102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17103 done; \
17104 echo "Doing html in gprof" ; \
17105 (cd $(HOST_SUBDIR)/gprof && \
17106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17108 "RANLIB=$${RANLIB}" \
17109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17110 html) \
17111 || exit 1
17113 @endif gprof
17115 .PHONY: maybe-TAGS-gprof TAGS-gprof
17116 maybe-TAGS-gprof:
17117 @if gprof
17118 maybe-TAGS-gprof: TAGS-gprof
17120 TAGS-gprof: \
17121 configure-gprof
17122 @: $(MAKE); $(unstage)
17123 @[ -f ./gprof/Makefile ] || exit 0; \
17124 r=`${PWD_COMMAND}`; export r; \
17125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17126 $(HOST_EXPORTS) \
17127 for flag in $(EXTRA_HOST_FLAGS) ; do \
17128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17129 done; \
17130 echo "Doing TAGS in gprof" ; \
17131 (cd $(HOST_SUBDIR)/gprof && \
17132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17134 "RANLIB=$${RANLIB}" \
17135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17136 TAGS) \
17137 || exit 1
17139 @endif gprof
17141 .PHONY: maybe-install-info-gprof install-info-gprof
17142 maybe-install-info-gprof:
17143 @if gprof
17144 maybe-install-info-gprof: install-info-gprof
17146 install-info-gprof: \
17147 configure-gprof \
17148 info-gprof
17149 @: $(MAKE); $(unstage)
17150 @[ -f ./gprof/Makefile ] || exit 0; \
17151 r=`${PWD_COMMAND}`; export r; \
17152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17153 $(HOST_EXPORTS) \
17154 for flag in $(EXTRA_HOST_FLAGS) ; do \
17155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17156 done; \
17157 echo "Doing install-info in gprof" ; \
17158 (cd $(HOST_SUBDIR)/gprof && \
17159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17161 "RANLIB=$${RANLIB}" \
17162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17163 install-info) \
17164 || exit 1
17166 @endif gprof
17168 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
17169 maybe-install-pdf-gprof:
17170 @if gprof
17171 maybe-install-pdf-gprof: install-pdf-gprof
17173 install-pdf-gprof: \
17174 configure-gprof \
17175 pdf-gprof
17176 @: $(MAKE); $(unstage)
17177 @[ -f ./gprof/Makefile ] || exit 0; \
17178 r=`${PWD_COMMAND}`; export r; \
17179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 $(HOST_EXPORTS) \
17181 for flag in $(EXTRA_HOST_FLAGS) ; do \
17182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17183 done; \
17184 echo "Doing install-pdf in gprof" ; \
17185 (cd $(HOST_SUBDIR)/gprof && \
17186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17188 "RANLIB=$${RANLIB}" \
17189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17190 install-pdf) \
17191 || exit 1
17193 @endif gprof
17195 .PHONY: maybe-install-html-gprof install-html-gprof
17196 maybe-install-html-gprof:
17197 @if gprof
17198 maybe-install-html-gprof: install-html-gprof
17200 install-html-gprof: \
17201 configure-gprof \
17202 html-gprof
17203 @: $(MAKE); $(unstage)
17204 @[ -f ./gprof/Makefile ] || exit 0; \
17205 r=`${PWD_COMMAND}`; export r; \
17206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17207 $(HOST_EXPORTS) \
17208 for flag in $(EXTRA_HOST_FLAGS) ; do \
17209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17210 done; \
17211 echo "Doing install-html in gprof" ; \
17212 (cd $(HOST_SUBDIR)/gprof && \
17213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17215 "RANLIB=$${RANLIB}" \
17216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17217 install-html) \
17218 || exit 1
17220 @endif gprof
17222 .PHONY: maybe-installcheck-gprof installcheck-gprof
17223 maybe-installcheck-gprof:
17224 @if gprof
17225 maybe-installcheck-gprof: installcheck-gprof
17227 installcheck-gprof: \
17228 configure-gprof
17229 @: $(MAKE); $(unstage)
17230 @[ -f ./gprof/Makefile ] || exit 0; \
17231 r=`${PWD_COMMAND}`; export r; \
17232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17233 $(HOST_EXPORTS) \
17234 for flag in $(EXTRA_HOST_FLAGS) ; do \
17235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17236 done; \
17237 echo "Doing installcheck in gprof" ; \
17238 (cd $(HOST_SUBDIR)/gprof && \
17239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17241 "RANLIB=$${RANLIB}" \
17242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17243 installcheck) \
17244 || exit 1
17246 @endif gprof
17248 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
17249 maybe-mostlyclean-gprof:
17250 @if gprof
17251 maybe-mostlyclean-gprof: mostlyclean-gprof
17253 mostlyclean-gprof:
17254 @: $(MAKE); $(unstage)
17255 @[ -f ./gprof/Makefile ] || exit 0; \
17256 r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(HOST_EXPORTS) \
17259 for flag in $(EXTRA_HOST_FLAGS) ; do \
17260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17261 done; \
17262 echo "Doing mostlyclean in gprof" ; \
17263 (cd $(HOST_SUBDIR)/gprof && \
17264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17266 "RANLIB=$${RANLIB}" \
17267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17268 mostlyclean) \
17269 || exit 1
17271 @endif gprof
17273 .PHONY: maybe-clean-gprof clean-gprof
17274 maybe-clean-gprof:
17275 @if gprof
17276 maybe-clean-gprof: clean-gprof
17278 clean-gprof:
17279 @: $(MAKE); $(unstage)
17280 @[ -f ./gprof/Makefile ] || exit 0; \
17281 r=`${PWD_COMMAND}`; export r; \
17282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 $(HOST_EXPORTS) \
17284 for flag in $(EXTRA_HOST_FLAGS) ; do \
17285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17286 done; \
17287 echo "Doing clean in gprof" ; \
17288 (cd $(HOST_SUBDIR)/gprof && \
17289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17291 "RANLIB=$${RANLIB}" \
17292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17293 clean) \
17294 || exit 1
17296 @endif gprof
17298 .PHONY: maybe-distclean-gprof distclean-gprof
17299 maybe-distclean-gprof:
17300 @if gprof
17301 maybe-distclean-gprof: distclean-gprof
17303 distclean-gprof:
17304 @: $(MAKE); $(unstage)
17305 @[ -f ./gprof/Makefile ] || exit 0; \
17306 r=`${PWD_COMMAND}`; export r; \
17307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17308 $(HOST_EXPORTS) \
17309 for flag in $(EXTRA_HOST_FLAGS) ; do \
17310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17311 done; \
17312 echo "Doing distclean in gprof" ; \
17313 (cd $(HOST_SUBDIR)/gprof && \
17314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17316 "RANLIB=$${RANLIB}" \
17317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17318 distclean) \
17319 || exit 1
17321 @endif gprof
17323 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
17324 maybe-maintainer-clean-gprof:
17325 @if gprof
17326 maybe-maintainer-clean-gprof: maintainer-clean-gprof
17328 maintainer-clean-gprof:
17329 @: $(MAKE); $(unstage)
17330 @[ -f ./gprof/Makefile ] || exit 0; \
17331 r=`${PWD_COMMAND}`; export r; \
17332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333 $(HOST_EXPORTS) \
17334 for flag in $(EXTRA_HOST_FLAGS) ; do \
17335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17336 done; \
17337 echo "Doing maintainer-clean in gprof" ; \
17338 (cd $(HOST_SUBDIR)/gprof && \
17339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17341 "RANLIB=$${RANLIB}" \
17342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17343 maintainer-clean) \
17344 || exit 1
17346 @endif gprof
17350 .PHONY: configure-gzip maybe-configure-gzip
17351 maybe-configure-gzip:
17352 @if gcc-bootstrap
17353 configure-gzip: stage_current
17354 @endif gcc-bootstrap
17355 @if gzip
17356 maybe-configure-gzip: configure-gzip
17357 configure-gzip:
17358 @: $(MAKE); $(unstage)
17359 @r=`${PWD_COMMAND}`; export r; \
17360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17361 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
17362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
17363 $(HOST_EXPORTS) \
17364 echo Configuring in $(HOST_SUBDIR)/gzip; \
17365 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
17366 case $(srcdir) in \
17367 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17368 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
17369 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17370 esac; \
17371 srcdiroption="--srcdir=$${topdir}/gzip"; \
17372 libsrcdir="$$s/gzip"; \
17373 $(SHELL) $${libsrcdir}/configure \
17374 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17375 --target=${target_alias} $${srcdiroption} \
17376 || exit 1
17377 @endif gzip
17383 .PHONY: all-gzip maybe-all-gzip
17384 maybe-all-gzip:
17385 @if gcc-bootstrap
17386 all-gzip: stage_current
17387 @endif gcc-bootstrap
17388 @if gzip
17389 TARGET-gzip=all
17390 maybe-all-gzip: all-gzip
17391 all-gzip: configure-gzip
17392 @: $(MAKE); $(unstage)
17393 @r=`${PWD_COMMAND}`; export r; \
17394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17395 $(HOST_EXPORTS) \
17396 (cd $(HOST_SUBDIR)/gzip && \
17397 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
17398 @endif gzip
17403 .PHONY: check-gzip maybe-check-gzip
17404 maybe-check-gzip:
17405 @if gzip
17406 maybe-check-gzip: check-gzip
17408 check-gzip:
17409 @: $(MAKE); $(unstage)
17410 @r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17412 $(HOST_EXPORTS) \
17413 (cd $(HOST_SUBDIR)/gzip && \
17414 $(MAKE) $(FLAGS_TO_PASS) check)
17416 @endif gzip
17418 .PHONY: install-gzip maybe-install-gzip
17419 maybe-install-gzip:
17420 @if gzip
17421 maybe-install-gzip: install-gzip
17423 install-gzip: installdirs
17424 @: $(MAKE); $(unstage)
17425 @r=`${PWD_COMMAND}`; export r; \
17426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17427 $(HOST_EXPORTS) \
17428 (cd $(HOST_SUBDIR)/gzip && \
17429 $(MAKE) $(FLAGS_TO_PASS) install)
17431 @endif gzip
17433 # Other targets (info, dvi, pdf, etc.)
17435 .PHONY: maybe-info-gzip info-gzip
17436 maybe-info-gzip:
17437 @if gzip
17438 maybe-info-gzip: info-gzip
17440 info-gzip: \
17441 configure-gzip
17442 @: $(MAKE); $(unstage)
17443 @[ -f ./gzip/Makefile ] || exit 0; \
17444 r=`${PWD_COMMAND}`; export r; \
17445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17446 $(HOST_EXPORTS) \
17447 for flag in $(EXTRA_HOST_FLAGS) ; do \
17448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17449 done; \
17450 echo "Doing info in gzip" ; \
17451 (cd $(HOST_SUBDIR)/gzip && \
17452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17454 "RANLIB=$${RANLIB}" \
17455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17456 info) \
17457 || exit 1
17459 @endif gzip
17461 .PHONY: maybe-dvi-gzip dvi-gzip
17462 maybe-dvi-gzip:
17463 @if gzip
17464 maybe-dvi-gzip: dvi-gzip
17466 dvi-gzip: \
17467 configure-gzip
17468 @: $(MAKE); $(unstage)
17469 @[ -f ./gzip/Makefile ] || exit 0; \
17470 r=`${PWD_COMMAND}`; export r; \
17471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17472 $(HOST_EXPORTS) \
17473 for flag in $(EXTRA_HOST_FLAGS) ; do \
17474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17475 done; \
17476 echo "Doing dvi in gzip" ; \
17477 (cd $(HOST_SUBDIR)/gzip && \
17478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17480 "RANLIB=$${RANLIB}" \
17481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17482 dvi) \
17483 || exit 1
17485 @endif gzip
17487 .PHONY: maybe-pdf-gzip pdf-gzip
17488 maybe-pdf-gzip:
17489 @if gzip
17490 maybe-pdf-gzip: pdf-gzip
17492 pdf-gzip: \
17493 configure-gzip
17494 @: $(MAKE); $(unstage)
17495 @[ -f ./gzip/Makefile ] || exit 0; \
17496 r=`${PWD_COMMAND}`; export r; \
17497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17498 $(HOST_EXPORTS) \
17499 for flag in $(EXTRA_HOST_FLAGS) ; do \
17500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17501 done; \
17502 echo "Doing pdf in gzip" ; \
17503 (cd $(HOST_SUBDIR)/gzip && \
17504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17506 "RANLIB=$${RANLIB}" \
17507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17508 pdf) \
17509 || exit 1
17511 @endif gzip
17513 .PHONY: maybe-html-gzip html-gzip
17514 maybe-html-gzip:
17515 @if gzip
17516 maybe-html-gzip: html-gzip
17518 html-gzip: \
17519 configure-gzip
17520 @: $(MAKE); $(unstage)
17521 @[ -f ./gzip/Makefile ] || exit 0; \
17522 r=`${PWD_COMMAND}`; export r; \
17523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing html in gzip" ; \
17529 (cd $(HOST_SUBDIR)/gzip && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17534 html) \
17535 || exit 1
17537 @endif gzip
17539 .PHONY: maybe-TAGS-gzip TAGS-gzip
17540 maybe-TAGS-gzip:
17541 @if gzip
17542 maybe-TAGS-gzip: TAGS-gzip
17544 TAGS-gzip: \
17545 configure-gzip
17546 @: $(MAKE); $(unstage)
17547 @[ -f ./gzip/Makefile ] || exit 0; \
17548 r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 $(HOST_EXPORTS) \
17551 for flag in $(EXTRA_HOST_FLAGS) ; do \
17552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17553 done; \
17554 echo "Doing TAGS in gzip" ; \
17555 (cd $(HOST_SUBDIR)/gzip && \
17556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17558 "RANLIB=$${RANLIB}" \
17559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17560 TAGS) \
17561 || exit 1
17563 @endif gzip
17565 .PHONY: maybe-install-info-gzip install-info-gzip
17566 maybe-install-info-gzip:
17567 @if gzip
17568 maybe-install-info-gzip: install-info-gzip
17570 install-info-gzip: \
17571 configure-gzip \
17572 info-gzip
17573 @: $(MAKE); $(unstage)
17574 @[ -f ./gzip/Makefile ] || exit 0; \
17575 r=`${PWD_COMMAND}`; export r; \
17576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17577 $(HOST_EXPORTS) \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17580 done; \
17581 echo "Doing install-info in gzip" ; \
17582 (cd $(HOST_SUBDIR)/gzip && \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17587 install-info) \
17588 || exit 1
17590 @endif gzip
17592 .PHONY: maybe-install-pdf-gzip install-pdf-gzip
17593 maybe-install-pdf-gzip:
17594 @if gzip
17595 maybe-install-pdf-gzip: install-pdf-gzip
17597 install-pdf-gzip: \
17598 configure-gzip \
17599 pdf-gzip
17600 @: $(MAKE); $(unstage)
17601 @[ -f ./gzip/Makefile ] || exit 0; \
17602 r=`${PWD_COMMAND}`; export r; \
17603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 $(HOST_EXPORTS) \
17605 for flag in $(EXTRA_HOST_FLAGS) ; do \
17606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17607 done; \
17608 echo "Doing install-pdf in gzip" ; \
17609 (cd $(HOST_SUBDIR)/gzip && \
17610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17612 "RANLIB=$${RANLIB}" \
17613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17614 install-pdf) \
17615 || exit 1
17617 @endif gzip
17619 .PHONY: maybe-install-html-gzip install-html-gzip
17620 maybe-install-html-gzip:
17621 @if gzip
17622 maybe-install-html-gzip: install-html-gzip
17624 install-html-gzip: \
17625 configure-gzip \
17626 html-gzip
17627 @: $(MAKE); $(unstage)
17628 @[ -f ./gzip/Makefile ] || exit 0; \
17629 r=`${PWD_COMMAND}`; export r; \
17630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17631 $(HOST_EXPORTS) \
17632 for flag in $(EXTRA_HOST_FLAGS) ; do \
17633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17634 done; \
17635 echo "Doing install-html in gzip" ; \
17636 (cd $(HOST_SUBDIR)/gzip && \
17637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17639 "RANLIB=$${RANLIB}" \
17640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17641 install-html) \
17642 || exit 1
17644 @endif gzip
17646 .PHONY: maybe-installcheck-gzip installcheck-gzip
17647 maybe-installcheck-gzip:
17648 @if gzip
17649 maybe-installcheck-gzip: installcheck-gzip
17651 installcheck-gzip: \
17652 configure-gzip
17653 @: $(MAKE); $(unstage)
17654 @[ -f ./gzip/Makefile ] || exit 0; \
17655 r=`${PWD_COMMAND}`; export r; \
17656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17657 $(HOST_EXPORTS) \
17658 for flag in $(EXTRA_HOST_FLAGS) ; do \
17659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17660 done; \
17661 echo "Doing installcheck in gzip" ; \
17662 (cd $(HOST_SUBDIR)/gzip && \
17663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17665 "RANLIB=$${RANLIB}" \
17666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17667 installcheck) \
17668 || exit 1
17670 @endif gzip
17672 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
17673 maybe-mostlyclean-gzip:
17674 @if gzip
17675 maybe-mostlyclean-gzip: mostlyclean-gzip
17677 mostlyclean-gzip:
17678 @: $(MAKE); $(unstage)
17679 @[ -f ./gzip/Makefile ] || exit 0; \
17680 r=`${PWD_COMMAND}`; export r; \
17681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17682 $(HOST_EXPORTS) \
17683 for flag in $(EXTRA_HOST_FLAGS) ; do \
17684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17685 done; \
17686 echo "Doing mostlyclean in gzip" ; \
17687 (cd $(HOST_SUBDIR)/gzip && \
17688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17690 "RANLIB=$${RANLIB}" \
17691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17692 mostlyclean) \
17693 || exit 1
17695 @endif gzip
17697 .PHONY: maybe-clean-gzip clean-gzip
17698 maybe-clean-gzip:
17699 @if gzip
17700 maybe-clean-gzip: clean-gzip
17702 clean-gzip:
17703 @: $(MAKE); $(unstage)
17704 @[ -f ./gzip/Makefile ] || exit 0; \
17705 r=`${PWD_COMMAND}`; export r; \
17706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17707 $(HOST_EXPORTS) \
17708 for flag in $(EXTRA_HOST_FLAGS) ; do \
17709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17710 done; \
17711 echo "Doing clean in gzip" ; \
17712 (cd $(HOST_SUBDIR)/gzip && \
17713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17715 "RANLIB=$${RANLIB}" \
17716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17717 clean) \
17718 || exit 1
17720 @endif gzip
17722 .PHONY: maybe-distclean-gzip distclean-gzip
17723 maybe-distclean-gzip:
17724 @if gzip
17725 maybe-distclean-gzip: distclean-gzip
17727 distclean-gzip:
17728 @: $(MAKE); $(unstage)
17729 @[ -f ./gzip/Makefile ] || exit 0; \
17730 r=`${PWD_COMMAND}`; export r; \
17731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17732 $(HOST_EXPORTS) \
17733 for flag in $(EXTRA_HOST_FLAGS) ; do \
17734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17735 done; \
17736 echo "Doing distclean in gzip" ; \
17737 (cd $(HOST_SUBDIR)/gzip && \
17738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17740 "RANLIB=$${RANLIB}" \
17741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17742 distclean) \
17743 || exit 1
17745 @endif gzip
17747 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
17748 maybe-maintainer-clean-gzip:
17749 @if gzip
17750 maybe-maintainer-clean-gzip: maintainer-clean-gzip
17752 maintainer-clean-gzip:
17753 @: $(MAKE); $(unstage)
17754 @[ -f ./gzip/Makefile ] || exit 0; \
17755 r=`${PWD_COMMAND}`; export r; \
17756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17757 $(HOST_EXPORTS) \
17758 for flag in $(EXTRA_HOST_FLAGS) ; do \
17759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17760 done; \
17761 echo "Doing maintainer-clean in gzip" ; \
17762 (cd $(HOST_SUBDIR)/gzip && \
17763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17765 "RANLIB=$${RANLIB}" \
17766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17767 maintainer-clean) \
17768 || exit 1
17770 @endif gzip
17774 .PHONY: configure-hello maybe-configure-hello
17775 maybe-configure-hello:
17776 @if gcc-bootstrap
17777 configure-hello: stage_current
17778 @endif gcc-bootstrap
17779 @if hello
17780 maybe-configure-hello: configure-hello
17781 configure-hello:
17782 @: $(MAKE); $(unstage)
17783 @r=`${PWD_COMMAND}`; export r; \
17784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
17786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
17787 $(HOST_EXPORTS) \
17788 echo Configuring in $(HOST_SUBDIR)/hello; \
17789 cd "$(HOST_SUBDIR)/hello" || exit 1; \
17790 case $(srcdir) in \
17791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17792 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
17793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17794 esac; \
17795 srcdiroption="--srcdir=$${topdir}/hello"; \
17796 libsrcdir="$$s/hello"; \
17797 $(SHELL) $${libsrcdir}/configure \
17798 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17799 --target=${target_alias} $${srcdiroption} \
17800 || exit 1
17801 @endif hello
17807 .PHONY: all-hello maybe-all-hello
17808 maybe-all-hello:
17809 @if gcc-bootstrap
17810 all-hello: stage_current
17811 @endif gcc-bootstrap
17812 @if hello
17813 TARGET-hello=all
17814 maybe-all-hello: all-hello
17815 all-hello: configure-hello
17816 @: $(MAKE); $(unstage)
17817 @r=`${PWD_COMMAND}`; export r; \
17818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 $(HOST_EXPORTS) \
17820 (cd $(HOST_SUBDIR)/hello && \
17821 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
17822 @endif hello
17827 .PHONY: check-hello maybe-check-hello
17828 maybe-check-hello:
17829 @if hello
17830 maybe-check-hello: check-hello
17832 check-hello:
17833 @: $(MAKE); $(unstage)
17834 @r=`${PWD_COMMAND}`; export r; \
17835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17836 $(HOST_EXPORTS) \
17837 (cd $(HOST_SUBDIR)/hello && \
17838 $(MAKE) $(FLAGS_TO_PASS) check)
17840 @endif hello
17842 .PHONY: install-hello maybe-install-hello
17843 maybe-install-hello:
17844 @if hello
17845 maybe-install-hello: install-hello
17847 install-hello: installdirs
17848 @: $(MAKE); $(unstage)
17849 @r=`${PWD_COMMAND}`; export r; \
17850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17851 $(HOST_EXPORTS) \
17852 (cd $(HOST_SUBDIR)/hello && \
17853 $(MAKE) $(FLAGS_TO_PASS) install)
17855 @endif hello
17857 # Other targets (info, dvi, pdf, etc.)
17859 .PHONY: maybe-info-hello info-hello
17860 maybe-info-hello:
17861 @if hello
17862 maybe-info-hello: info-hello
17864 info-hello: \
17865 configure-hello
17866 @: $(MAKE); $(unstage)
17867 @[ -f ./hello/Makefile ] || exit 0; \
17868 r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870 $(HOST_EXPORTS) \
17871 for flag in $(EXTRA_HOST_FLAGS) ; do \
17872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17873 done; \
17874 echo "Doing info in hello" ; \
17875 (cd $(HOST_SUBDIR)/hello && \
17876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17878 "RANLIB=$${RANLIB}" \
17879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17880 info) \
17881 || exit 1
17883 @endif hello
17885 .PHONY: maybe-dvi-hello dvi-hello
17886 maybe-dvi-hello:
17887 @if hello
17888 maybe-dvi-hello: dvi-hello
17890 dvi-hello: \
17891 configure-hello
17892 @: $(MAKE); $(unstage)
17893 @[ -f ./hello/Makefile ] || exit 0; \
17894 r=`${PWD_COMMAND}`; export r; \
17895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17896 $(HOST_EXPORTS) \
17897 for flag in $(EXTRA_HOST_FLAGS) ; do \
17898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17899 done; \
17900 echo "Doing dvi in hello" ; \
17901 (cd $(HOST_SUBDIR)/hello && \
17902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17904 "RANLIB=$${RANLIB}" \
17905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17906 dvi) \
17907 || exit 1
17909 @endif hello
17911 .PHONY: maybe-pdf-hello pdf-hello
17912 maybe-pdf-hello:
17913 @if hello
17914 maybe-pdf-hello: pdf-hello
17916 pdf-hello: \
17917 configure-hello
17918 @: $(MAKE); $(unstage)
17919 @[ -f ./hello/Makefile ] || exit 0; \
17920 r=`${PWD_COMMAND}`; export r; \
17921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17922 $(HOST_EXPORTS) \
17923 for flag in $(EXTRA_HOST_FLAGS) ; do \
17924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17925 done; \
17926 echo "Doing pdf in hello" ; \
17927 (cd $(HOST_SUBDIR)/hello && \
17928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17930 "RANLIB=$${RANLIB}" \
17931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17932 pdf) \
17933 || exit 1
17935 @endif hello
17937 .PHONY: maybe-html-hello html-hello
17938 maybe-html-hello:
17939 @if hello
17940 maybe-html-hello: html-hello
17942 html-hello: \
17943 configure-hello
17944 @: $(MAKE); $(unstage)
17945 @[ -f ./hello/Makefile ] || exit 0; \
17946 r=`${PWD_COMMAND}`; export r; \
17947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17948 $(HOST_EXPORTS) \
17949 for flag in $(EXTRA_HOST_FLAGS) ; do \
17950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17951 done; \
17952 echo "Doing html in hello" ; \
17953 (cd $(HOST_SUBDIR)/hello && \
17954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17956 "RANLIB=$${RANLIB}" \
17957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17958 html) \
17959 || exit 1
17961 @endif hello
17963 .PHONY: maybe-TAGS-hello TAGS-hello
17964 maybe-TAGS-hello:
17965 @if hello
17966 maybe-TAGS-hello: TAGS-hello
17968 TAGS-hello: \
17969 configure-hello
17970 @: $(MAKE); $(unstage)
17971 @[ -f ./hello/Makefile ] || exit 0; \
17972 r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 $(HOST_EXPORTS) \
17975 for flag in $(EXTRA_HOST_FLAGS) ; do \
17976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17977 done; \
17978 echo "Doing TAGS in hello" ; \
17979 (cd $(HOST_SUBDIR)/hello && \
17980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17982 "RANLIB=$${RANLIB}" \
17983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17984 TAGS) \
17985 || exit 1
17987 @endif hello
17989 .PHONY: maybe-install-info-hello install-info-hello
17990 maybe-install-info-hello:
17991 @if hello
17992 maybe-install-info-hello: install-info-hello
17994 install-info-hello: \
17995 configure-hello \
17996 info-hello
17997 @: $(MAKE); $(unstage)
17998 @[ -f ./hello/Makefile ] || exit 0; \
17999 r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 $(HOST_EXPORTS) \
18002 for flag in $(EXTRA_HOST_FLAGS) ; do \
18003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18004 done; \
18005 echo "Doing install-info in hello" ; \
18006 (cd $(HOST_SUBDIR)/hello && \
18007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18009 "RANLIB=$${RANLIB}" \
18010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18011 install-info) \
18012 || exit 1
18014 @endif hello
18016 .PHONY: maybe-install-pdf-hello install-pdf-hello
18017 maybe-install-pdf-hello:
18018 @if hello
18019 maybe-install-pdf-hello: install-pdf-hello
18021 install-pdf-hello: \
18022 configure-hello \
18023 pdf-hello
18024 @: $(MAKE); $(unstage)
18025 @[ -f ./hello/Makefile ] || exit 0; \
18026 r=`${PWD_COMMAND}`; export r; \
18027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18028 $(HOST_EXPORTS) \
18029 for flag in $(EXTRA_HOST_FLAGS) ; do \
18030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18031 done; \
18032 echo "Doing install-pdf in hello" ; \
18033 (cd $(HOST_SUBDIR)/hello && \
18034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18036 "RANLIB=$${RANLIB}" \
18037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18038 install-pdf) \
18039 || exit 1
18041 @endif hello
18043 .PHONY: maybe-install-html-hello install-html-hello
18044 maybe-install-html-hello:
18045 @if hello
18046 maybe-install-html-hello: install-html-hello
18048 install-html-hello: \
18049 configure-hello \
18050 html-hello
18051 @: $(MAKE); $(unstage)
18052 @[ -f ./hello/Makefile ] || exit 0; \
18053 r=`${PWD_COMMAND}`; export r; \
18054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18055 $(HOST_EXPORTS) \
18056 for flag in $(EXTRA_HOST_FLAGS) ; do \
18057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18058 done; \
18059 echo "Doing install-html in hello" ; \
18060 (cd $(HOST_SUBDIR)/hello && \
18061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18063 "RANLIB=$${RANLIB}" \
18064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18065 install-html) \
18066 || exit 1
18068 @endif hello
18070 .PHONY: maybe-installcheck-hello installcheck-hello
18071 maybe-installcheck-hello:
18072 @if hello
18073 maybe-installcheck-hello: installcheck-hello
18075 installcheck-hello: \
18076 configure-hello
18077 @: $(MAKE); $(unstage)
18078 @[ -f ./hello/Makefile ] || exit 0; \
18079 r=`${PWD_COMMAND}`; export r; \
18080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18081 $(HOST_EXPORTS) \
18082 for flag in $(EXTRA_HOST_FLAGS) ; do \
18083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18084 done; \
18085 echo "Doing installcheck in hello" ; \
18086 (cd $(HOST_SUBDIR)/hello && \
18087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18089 "RANLIB=$${RANLIB}" \
18090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18091 installcheck) \
18092 || exit 1
18094 @endif hello
18096 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
18097 maybe-mostlyclean-hello:
18098 @if hello
18099 maybe-mostlyclean-hello: mostlyclean-hello
18101 mostlyclean-hello:
18102 @: $(MAKE); $(unstage)
18103 @[ -f ./hello/Makefile ] || exit 0; \
18104 r=`${PWD_COMMAND}`; export r; \
18105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18106 $(HOST_EXPORTS) \
18107 for flag in $(EXTRA_HOST_FLAGS) ; do \
18108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18109 done; \
18110 echo "Doing mostlyclean in hello" ; \
18111 (cd $(HOST_SUBDIR)/hello && \
18112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18114 "RANLIB=$${RANLIB}" \
18115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18116 mostlyclean) \
18117 || exit 1
18119 @endif hello
18121 .PHONY: maybe-clean-hello clean-hello
18122 maybe-clean-hello:
18123 @if hello
18124 maybe-clean-hello: clean-hello
18126 clean-hello:
18127 @: $(MAKE); $(unstage)
18128 @[ -f ./hello/Makefile ] || exit 0; \
18129 r=`${PWD_COMMAND}`; export r; \
18130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18131 $(HOST_EXPORTS) \
18132 for flag in $(EXTRA_HOST_FLAGS) ; do \
18133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18134 done; \
18135 echo "Doing clean in hello" ; \
18136 (cd $(HOST_SUBDIR)/hello && \
18137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18139 "RANLIB=$${RANLIB}" \
18140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18141 clean) \
18142 || exit 1
18144 @endif hello
18146 .PHONY: maybe-distclean-hello distclean-hello
18147 maybe-distclean-hello:
18148 @if hello
18149 maybe-distclean-hello: distclean-hello
18151 distclean-hello:
18152 @: $(MAKE); $(unstage)
18153 @[ -f ./hello/Makefile ] || exit 0; \
18154 r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(HOST_EXPORTS) \
18157 for flag in $(EXTRA_HOST_FLAGS) ; do \
18158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18159 done; \
18160 echo "Doing distclean in hello" ; \
18161 (cd $(HOST_SUBDIR)/hello && \
18162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18164 "RANLIB=$${RANLIB}" \
18165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18166 distclean) \
18167 || exit 1
18169 @endif hello
18171 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
18172 maybe-maintainer-clean-hello:
18173 @if hello
18174 maybe-maintainer-clean-hello: maintainer-clean-hello
18176 maintainer-clean-hello:
18177 @: $(MAKE); $(unstage)
18178 @[ -f ./hello/Makefile ] || exit 0; \
18179 r=`${PWD_COMMAND}`; export r; \
18180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18181 $(HOST_EXPORTS) \
18182 for flag in $(EXTRA_HOST_FLAGS) ; do \
18183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18184 done; \
18185 echo "Doing maintainer-clean in hello" ; \
18186 (cd $(HOST_SUBDIR)/hello && \
18187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18189 "RANLIB=$${RANLIB}" \
18190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18191 maintainer-clean) \
18192 || exit 1
18194 @endif hello
18198 .PHONY: configure-indent maybe-configure-indent
18199 maybe-configure-indent:
18200 @if gcc-bootstrap
18201 configure-indent: stage_current
18202 @endif gcc-bootstrap
18203 @if indent
18204 maybe-configure-indent: configure-indent
18205 configure-indent:
18206 @: $(MAKE); $(unstage)
18207 @r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18209 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
18210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
18211 $(HOST_EXPORTS) \
18212 echo Configuring in $(HOST_SUBDIR)/indent; \
18213 cd "$(HOST_SUBDIR)/indent" || exit 1; \
18214 case $(srcdir) in \
18215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18216 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
18217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18218 esac; \
18219 srcdiroption="--srcdir=$${topdir}/indent"; \
18220 libsrcdir="$$s/indent"; \
18221 $(SHELL) $${libsrcdir}/configure \
18222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18223 --target=${target_alias} $${srcdiroption} \
18224 || exit 1
18225 @endif indent
18231 .PHONY: all-indent maybe-all-indent
18232 maybe-all-indent:
18233 @if gcc-bootstrap
18234 all-indent: stage_current
18235 @endif gcc-bootstrap
18236 @if indent
18237 TARGET-indent=all
18238 maybe-all-indent: all-indent
18239 all-indent: configure-indent
18240 @: $(MAKE); $(unstage)
18241 @r=`${PWD_COMMAND}`; export r; \
18242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243 $(HOST_EXPORTS) \
18244 (cd $(HOST_SUBDIR)/indent && \
18245 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
18246 @endif indent
18251 .PHONY: check-indent maybe-check-indent
18252 maybe-check-indent:
18253 @if indent
18254 maybe-check-indent: check-indent
18256 check-indent:
18257 @: $(MAKE); $(unstage)
18258 @r=`${PWD_COMMAND}`; export r; \
18259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 $(HOST_EXPORTS) \
18261 (cd $(HOST_SUBDIR)/indent && \
18262 $(MAKE) $(FLAGS_TO_PASS) check)
18264 @endif indent
18266 .PHONY: install-indent maybe-install-indent
18267 maybe-install-indent:
18268 @if indent
18269 maybe-install-indent: install-indent
18271 install-indent: installdirs
18272 @: $(MAKE); $(unstage)
18273 @r=`${PWD_COMMAND}`; export r; \
18274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18275 $(HOST_EXPORTS) \
18276 (cd $(HOST_SUBDIR)/indent && \
18277 $(MAKE) $(FLAGS_TO_PASS) install)
18279 @endif indent
18281 # Other targets (info, dvi, pdf, etc.)
18283 .PHONY: maybe-info-indent info-indent
18284 maybe-info-indent:
18285 @if indent
18286 maybe-info-indent: info-indent
18288 info-indent: \
18289 configure-indent
18290 @: $(MAKE); $(unstage)
18291 @[ -f ./indent/Makefile ] || exit 0; \
18292 r=`${PWD_COMMAND}`; export r; \
18293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18294 $(HOST_EXPORTS) \
18295 for flag in $(EXTRA_HOST_FLAGS) ; do \
18296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18297 done; \
18298 echo "Doing info in indent" ; \
18299 (cd $(HOST_SUBDIR)/indent && \
18300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18302 "RANLIB=$${RANLIB}" \
18303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18304 info) \
18305 || exit 1
18307 @endif indent
18309 .PHONY: maybe-dvi-indent dvi-indent
18310 maybe-dvi-indent:
18311 @if indent
18312 maybe-dvi-indent: dvi-indent
18314 dvi-indent: \
18315 configure-indent
18316 @: $(MAKE); $(unstage)
18317 @[ -f ./indent/Makefile ] || exit 0; \
18318 r=`${PWD_COMMAND}`; export r; \
18319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18320 $(HOST_EXPORTS) \
18321 for flag in $(EXTRA_HOST_FLAGS) ; do \
18322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18323 done; \
18324 echo "Doing dvi in indent" ; \
18325 (cd $(HOST_SUBDIR)/indent && \
18326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18328 "RANLIB=$${RANLIB}" \
18329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18330 dvi) \
18331 || exit 1
18333 @endif indent
18335 .PHONY: maybe-pdf-indent pdf-indent
18336 maybe-pdf-indent:
18337 @if indent
18338 maybe-pdf-indent: pdf-indent
18340 pdf-indent: \
18341 configure-indent
18342 @: $(MAKE); $(unstage)
18343 @[ -f ./indent/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18346 $(HOST_EXPORTS) \
18347 for flag in $(EXTRA_HOST_FLAGS) ; do \
18348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18349 done; \
18350 echo "Doing pdf in indent" ; \
18351 (cd $(HOST_SUBDIR)/indent && \
18352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18354 "RANLIB=$${RANLIB}" \
18355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18356 pdf) \
18357 || exit 1
18359 @endif indent
18361 .PHONY: maybe-html-indent html-indent
18362 maybe-html-indent:
18363 @if indent
18364 maybe-html-indent: html-indent
18366 html-indent: \
18367 configure-indent
18368 @: $(MAKE); $(unstage)
18369 @[ -f ./indent/Makefile ] || exit 0; \
18370 r=`${PWD_COMMAND}`; export r; \
18371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18372 $(HOST_EXPORTS) \
18373 for flag in $(EXTRA_HOST_FLAGS) ; do \
18374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18375 done; \
18376 echo "Doing html in indent" ; \
18377 (cd $(HOST_SUBDIR)/indent && \
18378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18380 "RANLIB=$${RANLIB}" \
18381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18382 html) \
18383 || exit 1
18385 @endif indent
18387 .PHONY: maybe-TAGS-indent TAGS-indent
18388 maybe-TAGS-indent:
18389 @if indent
18390 maybe-TAGS-indent: TAGS-indent
18392 TAGS-indent: \
18393 configure-indent
18394 @: $(MAKE); $(unstage)
18395 @[ -f ./indent/Makefile ] || exit 0; \
18396 r=`${PWD_COMMAND}`; export r; \
18397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18398 $(HOST_EXPORTS) \
18399 for flag in $(EXTRA_HOST_FLAGS) ; do \
18400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18401 done; \
18402 echo "Doing TAGS in indent" ; \
18403 (cd $(HOST_SUBDIR)/indent && \
18404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18406 "RANLIB=$${RANLIB}" \
18407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18408 TAGS) \
18409 || exit 1
18411 @endif indent
18413 .PHONY: maybe-install-info-indent install-info-indent
18414 maybe-install-info-indent:
18415 @if indent
18416 maybe-install-info-indent: install-info-indent
18418 install-info-indent: \
18419 configure-indent \
18420 info-indent
18421 @: $(MAKE); $(unstage)
18422 @[ -f ./indent/Makefile ] || exit 0; \
18423 r=`${PWD_COMMAND}`; export r; \
18424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18425 $(HOST_EXPORTS) \
18426 for flag in $(EXTRA_HOST_FLAGS) ; do \
18427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18428 done; \
18429 echo "Doing install-info in indent" ; \
18430 (cd $(HOST_SUBDIR)/indent && \
18431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18433 "RANLIB=$${RANLIB}" \
18434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18435 install-info) \
18436 || exit 1
18438 @endif indent
18440 .PHONY: maybe-install-pdf-indent install-pdf-indent
18441 maybe-install-pdf-indent:
18442 @if indent
18443 maybe-install-pdf-indent: install-pdf-indent
18445 install-pdf-indent: \
18446 configure-indent \
18447 pdf-indent
18448 @: $(MAKE); $(unstage)
18449 @[ -f ./indent/Makefile ] || exit 0; \
18450 r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452 $(HOST_EXPORTS) \
18453 for flag in $(EXTRA_HOST_FLAGS) ; do \
18454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18455 done; \
18456 echo "Doing install-pdf in indent" ; \
18457 (cd $(HOST_SUBDIR)/indent && \
18458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18460 "RANLIB=$${RANLIB}" \
18461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18462 install-pdf) \
18463 || exit 1
18465 @endif indent
18467 .PHONY: maybe-install-html-indent install-html-indent
18468 maybe-install-html-indent:
18469 @if indent
18470 maybe-install-html-indent: install-html-indent
18472 install-html-indent: \
18473 configure-indent \
18474 html-indent
18475 @: $(MAKE); $(unstage)
18476 @[ -f ./indent/Makefile ] || exit 0; \
18477 r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 $(HOST_EXPORTS) \
18480 for flag in $(EXTRA_HOST_FLAGS) ; do \
18481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18482 done; \
18483 echo "Doing install-html in indent" ; \
18484 (cd $(HOST_SUBDIR)/indent && \
18485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18487 "RANLIB=$${RANLIB}" \
18488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18489 install-html) \
18490 || exit 1
18492 @endif indent
18494 .PHONY: maybe-installcheck-indent installcheck-indent
18495 maybe-installcheck-indent:
18496 @if indent
18497 maybe-installcheck-indent: installcheck-indent
18499 installcheck-indent: \
18500 configure-indent
18501 @: $(MAKE); $(unstage)
18502 @[ -f ./indent/Makefile ] || exit 0; \
18503 r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(HOST_EXPORTS) \
18506 for flag in $(EXTRA_HOST_FLAGS) ; do \
18507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18508 done; \
18509 echo "Doing installcheck in indent" ; \
18510 (cd $(HOST_SUBDIR)/indent && \
18511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18513 "RANLIB=$${RANLIB}" \
18514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18515 installcheck) \
18516 || exit 1
18518 @endif indent
18520 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
18521 maybe-mostlyclean-indent:
18522 @if indent
18523 maybe-mostlyclean-indent: mostlyclean-indent
18525 mostlyclean-indent:
18526 @: $(MAKE); $(unstage)
18527 @[ -f ./indent/Makefile ] || exit 0; \
18528 r=`${PWD_COMMAND}`; export r; \
18529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18530 $(HOST_EXPORTS) \
18531 for flag in $(EXTRA_HOST_FLAGS) ; do \
18532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18533 done; \
18534 echo "Doing mostlyclean in indent" ; \
18535 (cd $(HOST_SUBDIR)/indent && \
18536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538 "RANLIB=$${RANLIB}" \
18539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18540 mostlyclean) \
18541 || exit 1
18543 @endif indent
18545 .PHONY: maybe-clean-indent clean-indent
18546 maybe-clean-indent:
18547 @if indent
18548 maybe-clean-indent: clean-indent
18550 clean-indent:
18551 @: $(MAKE); $(unstage)
18552 @[ -f ./indent/Makefile ] || exit 0; \
18553 r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555 $(HOST_EXPORTS) \
18556 for flag in $(EXTRA_HOST_FLAGS) ; do \
18557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18558 done; \
18559 echo "Doing clean in indent" ; \
18560 (cd $(HOST_SUBDIR)/indent && \
18561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18563 "RANLIB=$${RANLIB}" \
18564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18565 clean) \
18566 || exit 1
18568 @endif indent
18570 .PHONY: maybe-distclean-indent distclean-indent
18571 maybe-distclean-indent:
18572 @if indent
18573 maybe-distclean-indent: distclean-indent
18575 distclean-indent:
18576 @: $(MAKE); $(unstage)
18577 @[ -f ./indent/Makefile ] || exit 0; \
18578 r=`${PWD_COMMAND}`; export r; \
18579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18580 $(HOST_EXPORTS) \
18581 for flag in $(EXTRA_HOST_FLAGS) ; do \
18582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18583 done; \
18584 echo "Doing distclean in indent" ; \
18585 (cd $(HOST_SUBDIR)/indent && \
18586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18588 "RANLIB=$${RANLIB}" \
18589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18590 distclean) \
18591 || exit 1
18593 @endif indent
18595 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
18596 maybe-maintainer-clean-indent:
18597 @if indent
18598 maybe-maintainer-clean-indent: maintainer-clean-indent
18600 maintainer-clean-indent:
18601 @: $(MAKE); $(unstage)
18602 @[ -f ./indent/Makefile ] || exit 0; \
18603 r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 $(HOST_EXPORTS) \
18606 for flag in $(EXTRA_HOST_FLAGS) ; do \
18607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18608 done; \
18609 echo "Doing maintainer-clean in indent" ; \
18610 (cd $(HOST_SUBDIR)/indent && \
18611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18613 "RANLIB=$${RANLIB}" \
18614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18615 maintainer-clean) \
18616 || exit 1
18618 @endif indent
18622 .PHONY: configure-intl maybe-configure-intl
18623 maybe-configure-intl:
18624 @if gcc-bootstrap
18625 configure-intl: stage_current
18626 @endif gcc-bootstrap
18627 @if intl
18628 maybe-configure-intl: configure-intl
18629 configure-intl:
18630 @r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18632 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18633 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18634 $(HOST_EXPORTS) \
18635 echo Configuring in $(HOST_SUBDIR)/intl; \
18636 cd "$(HOST_SUBDIR)/intl" || exit 1; \
18637 case $(srcdir) in \
18638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18639 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18641 esac; \
18642 srcdiroption="--srcdir=$${topdir}/intl"; \
18643 libsrcdir="$$s/intl"; \
18644 $(SHELL) $${libsrcdir}/configure \
18645 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18646 --target=${target_alias} $${srcdiroption} \
18647 || exit 1
18648 @endif intl
18652 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
18653 maybe-configure-stage1-intl:
18654 @if intl-bootstrap
18655 maybe-configure-stage1-intl: configure-stage1-intl
18656 configure-stage1-intl:
18657 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18658 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18659 @r=`${PWD_COMMAND}`; export r; \
18660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18661 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18662 $(HOST_EXPORTS) \
18663 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
18664 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18665 cd $(HOST_SUBDIR)/intl || exit 1; \
18666 case $(srcdir) in \
18667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18668 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18670 esac; \
18671 srcdiroption="--srcdir=$${topdir}/intl"; \
18672 libsrcdir="$$s/intl"; \
18673 $(SHELL) $${libsrcdir}/configure \
18674 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18675 --target=${target_alias} $${srcdiroption} \
18677 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
18678 @endif intl-bootstrap
18680 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
18681 maybe-configure-stage2-intl:
18682 @if intl-bootstrap
18683 maybe-configure-stage2-intl: configure-stage2-intl
18684 configure-stage2-intl:
18685 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18686 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18687 @r=`${PWD_COMMAND}`; export r; \
18688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18689 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18690 $(HOST_EXPORTS) \
18691 $(POSTSTAGE1_HOST_EXPORTS) \
18692 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
18693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18694 cd $(HOST_SUBDIR)/intl || exit 1; \
18695 case $(srcdir) in \
18696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18697 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18699 esac; \
18700 srcdiroption="--srcdir=$${topdir}/intl"; \
18701 libsrcdir="$$s/intl"; \
18702 $(SHELL) $${libsrcdir}/configure \
18703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18704 --target=${target_alias} $${srcdiroption} \
18705 --with-build-libsubdir=$(HOST_SUBDIR) \
18706 @stage2_werror_flag@
18707 @endif intl-bootstrap
18709 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
18710 maybe-configure-stage3-intl:
18711 @if intl-bootstrap
18712 maybe-configure-stage3-intl: configure-stage3-intl
18713 configure-stage3-intl:
18714 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18715 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18716 @r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18719 $(HOST_EXPORTS) \
18720 $(POSTSTAGE1_HOST_EXPORTS) \
18721 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
18722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18723 cd $(HOST_SUBDIR)/intl || exit 1; \
18724 case $(srcdir) in \
18725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18726 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18728 esac; \
18729 srcdiroption="--srcdir=$${topdir}/intl"; \
18730 libsrcdir="$$s/intl"; \
18731 $(SHELL) $${libsrcdir}/configure \
18732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18733 --target=${target_alias} $${srcdiroption} \
18734 --with-build-libsubdir=$(HOST_SUBDIR) \
18735 @stage2_werror_flag@
18736 @endif intl-bootstrap
18738 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
18739 maybe-configure-stage4-intl:
18740 @if intl-bootstrap
18741 maybe-configure-stage4-intl: configure-stage4-intl
18742 configure-stage4-intl:
18743 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18744 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18745 @r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18748 $(HOST_EXPORTS) \
18749 $(POSTSTAGE1_HOST_EXPORTS) \
18750 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
18751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18752 cd $(HOST_SUBDIR)/intl || exit 1; \
18753 case $(srcdir) in \
18754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18755 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18757 esac; \
18758 srcdiroption="--srcdir=$${topdir}/intl"; \
18759 libsrcdir="$$s/intl"; \
18760 $(SHELL) $${libsrcdir}/configure \
18761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18762 --target=${target_alias} $${srcdiroption} \
18763 --with-build-libsubdir=$(HOST_SUBDIR) \
18764 @stage2_werror_flag@
18765 @endif intl-bootstrap
18767 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
18768 maybe-configure-stageprofile-intl:
18769 @if intl-bootstrap
18770 maybe-configure-stageprofile-intl: configure-stageprofile-intl
18771 configure-stageprofile-intl:
18772 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18773 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18774 @r=`${PWD_COMMAND}`; export r; \
18775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18776 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18777 $(HOST_EXPORTS) \
18778 $(POSTSTAGE1_HOST_EXPORTS) \
18779 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
18780 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18781 cd $(HOST_SUBDIR)/intl || exit 1; \
18782 case $(srcdir) in \
18783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18784 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18786 esac; \
18787 srcdiroption="--srcdir=$${topdir}/intl"; \
18788 libsrcdir="$$s/intl"; \
18789 $(SHELL) $${libsrcdir}/configure \
18790 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18791 --target=${target_alias} $${srcdiroption} \
18792 --with-build-libsubdir=$(HOST_SUBDIR) \
18793 @stage2_werror_flag@
18794 @endif intl-bootstrap
18796 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
18797 maybe-configure-stagefeedback-intl:
18798 @if intl-bootstrap
18799 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
18800 configure-stagefeedback-intl:
18801 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18802 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
18803 @r=`${PWD_COMMAND}`; export r; \
18804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18805 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
18806 $(HOST_EXPORTS) \
18807 $(POSTSTAGE1_HOST_EXPORTS) \
18808 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
18809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
18810 cd $(HOST_SUBDIR)/intl || exit 1; \
18811 case $(srcdir) in \
18812 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18813 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
18814 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18815 esac; \
18816 srcdiroption="--srcdir=$${topdir}/intl"; \
18817 libsrcdir="$$s/intl"; \
18818 $(SHELL) $${libsrcdir}/configure \
18819 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18820 --target=${target_alias} $${srcdiroption} \
18821 --with-build-libsubdir=$(HOST_SUBDIR) \
18822 @stage2_werror_flag@
18823 @endif intl-bootstrap
18829 .PHONY: all-intl maybe-all-intl
18830 maybe-all-intl:
18831 @if gcc-bootstrap
18832 all-intl: stage_current
18833 @endif gcc-bootstrap
18834 @if intl
18835 TARGET-intl=all
18836 maybe-all-intl: all-intl
18837 all-intl: configure-intl
18838 @r=`${PWD_COMMAND}`; export r; \
18839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18840 $(HOST_EXPORTS) \
18841 (cd $(HOST_SUBDIR)/intl && \
18842 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
18843 @endif intl
18847 .PHONY: all-stage1-intl maybe-all-stage1-intl
18848 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
18849 maybe-all-stage1-intl:
18850 maybe-clean-stage1-intl:
18851 @if intl-bootstrap
18852 maybe-all-stage1-intl: all-stage1-intl
18853 all-stage1: all-stage1-intl
18854 TARGET-stage1-intl = $(TARGET-intl)
18855 all-stage1-intl: configure-stage1-intl
18856 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18857 @r=`${PWD_COMMAND}`; export r; \
18858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18859 $(HOST_EXPORTS) \
18860 cd $(HOST_SUBDIR)/intl && \
18861 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
18862 $(TARGET-stage1-intl)
18864 maybe-clean-stage1-intl: clean-stage1-intl
18865 clean-stage1: clean-stage1-intl
18866 clean-stage1-intl:
18867 @if [ $(current_stage) = stage1 ]; then \
18868 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18869 else \
18870 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
18871 $(MAKE) stage1-start; \
18872 fi; \
18873 cd $(HOST_SUBDIR)/intl && \
18874 $(MAKE) $(FLAGS_TO_PASS) \
18875 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
18876 @endif intl-bootstrap
18879 .PHONY: all-stage2-intl maybe-all-stage2-intl
18880 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
18881 maybe-all-stage2-intl:
18882 maybe-clean-stage2-intl:
18883 @if intl-bootstrap
18884 maybe-all-stage2-intl: all-stage2-intl
18885 all-stage2: all-stage2-intl
18886 TARGET-stage2-intl = $(TARGET-intl)
18887 all-stage2-intl: configure-stage2-intl
18888 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18889 @r=`${PWD_COMMAND}`; export r; \
18890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18891 $(HOST_EXPORTS) \
18892 $(POSTSTAGE1_HOST_EXPORTS) \
18893 cd $(HOST_SUBDIR)/intl && \
18894 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18895 $(TARGET-stage2-intl)
18897 maybe-clean-stage2-intl: clean-stage2-intl
18898 clean-stage2: clean-stage2-intl
18899 clean-stage2-intl:
18900 @if [ $(current_stage) = stage2 ]; then \
18901 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18902 else \
18903 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
18904 $(MAKE) stage2-start; \
18905 fi; \
18906 cd $(HOST_SUBDIR)/intl && \
18907 $(MAKE) $(FLAGS_TO_PASS) \
18908 $(POSTSTAGE1_FLAGS_TO_PASS) \
18909 clean
18910 @endif intl-bootstrap
18913 .PHONY: all-stage3-intl maybe-all-stage3-intl
18914 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
18915 maybe-all-stage3-intl:
18916 maybe-clean-stage3-intl:
18917 @if intl-bootstrap
18918 maybe-all-stage3-intl: all-stage3-intl
18919 all-stage3: all-stage3-intl
18920 TARGET-stage3-intl = $(TARGET-intl)
18921 all-stage3-intl: configure-stage3-intl
18922 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18923 @r=`${PWD_COMMAND}`; export r; \
18924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18925 $(HOST_EXPORTS) \
18926 $(POSTSTAGE1_HOST_EXPORTS) \
18927 cd $(HOST_SUBDIR)/intl && \
18928 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18929 $(TARGET-stage3-intl)
18931 maybe-clean-stage3-intl: clean-stage3-intl
18932 clean-stage3: clean-stage3-intl
18933 clean-stage3-intl:
18934 @if [ $(current_stage) = stage3 ]; then \
18935 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18936 else \
18937 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
18938 $(MAKE) stage3-start; \
18939 fi; \
18940 cd $(HOST_SUBDIR)/intl && \
18941 $(MAKE) $(FLAGS_TO_PASS) \
18942 $(POSTSTAGE1_FLAGS_TO_PASS) \
18943 clean
18944 @endif intl-bootstrap
18947 .PHONY: all-stage4-intl maybe-all-stage4-intl
18948 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
18949 maybe-all-stage4-intl:
18950 maybe-clean-stage4-intl:
18951 @if intl-bootstrap
18952 maybe-all-stage4-intl: all-stage4-intl
18953 all-stage4: all-stage4-intl
18954 TARGET-stage4-intl = $(TARGET-intl)
18955 all-stage4-intl: configure-stage4-intl
18956 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18957 @r=`${PWD_COMMAND}`; export r; \
18958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 $(HOST_EXPORTS) \
18960 $(POSTSTAGE1_HOST_EXPORTS) \
18961 cd $(HOST_SUBDIR)/intl && \
18962 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18963 $(TARGET-stage4-intl)
18965 maybe-clean-stage4-intl: clean-stage4-intl
18966 clean-stage4: clean-stage4-intl
18967 clean-stage4-intl:
18968 @if [ $(current_stage) = stage4 ]; then \
18969 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18970 else \
18971 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
18972 $(MAKE) stage4-start; \
18973 fi; \
18974 cd $(HOST_SUBDIR)/intl && \
18975 $(MAKE) $(FLAGS_TO_PASS) \
18976 $(POSTSTAGE1_FLAGS_TO_PASS) \
18977 clean
18978 @endif intl-bootstrap
18981 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
18982 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
18983 maybe-all-stageprofile-intl:
18984 maybe-clean-stageprofile-intl:
18985 @if intl-bootstrap
18986 maybe-all-stageprofile-intl: all-stageprofile-intl
18987 all-stageprofile: all-stageprofile-intl
18988 TARGET-stageprofile-intl = $(TARGET-intl)
18989 all-stageprofile-intl: configure-stageprofile-intl
18990 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18991 @r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 $(HOST_EXPORTS) \
18994 $(POSTSTAGE1_HOST_EXPORTS) \
18995 cd $(HOST_SUBDIR)/intl && \
18996 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18997 $(TARGET-stageprofile-intl)
18999 maybe-clean-stageprofile-intl: clean-stageprofile-intl
19000 clean-stageprofile: clean-stageprofile-intl
19001 clean-stageprofile-intl:
19002 @if [ $(current_stage) = stageprofile ]; then \
19003 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19004 else \
19005 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
19006 $(MAKE) stageprofile-start; \
19007 fi; \
19008 cd $(HOST_SUBDIR)/intl && \
19009 $(MAKE) $(FLAGS_TO_PASS) \
19010 $(POSTSTAGE1_FLAGS_TO_PASS) \
19011 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19012 @endif intl-bootstrap
19015 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
19016 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
19017 maybe-all-stagefeedback-intl:
19018 maybe-clean-stagefeedback-intl:
19019 @if intl-bootstrap
19020 maybe-all-stagefeedback-intl: all-stagefeedback-intl
19021 all-stagefeedback: all-stagefeedback-intl
19022 TARGET-stagefeedback-intl = $(TARGET-intl)
19023 all-stagefeedback-intl: configure-stagefeedback-intl
19024 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19025 @r=`${PWD_COMMAND}`; export r; \
19026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19027 $(HOST_EXPORTS) \
19028 $(POSTSTAGE1_HOST_EXPORTS) \
19029 cd $(HOST_SUBDIR)/intl && \
19030 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19031 $(TARGET-stagefeedback-intl)
19033 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
19034 clean-stagefeedback: clean-stagefeedback-intl
19035 clean-stagefeedback-intl:
19036 @if [ $(current_stage) = stagefeedback ]; then \
19037 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
19038 else \
19039 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
19040 $(MAKE) stagefeedback-start; \
19041 fi; \
19042 cd $(HOST_SUBDIR)/intl && \
19043 $(MAKE) $(FLAGS_TO_PASS) \
19044 $(POSTSTAGE1_FLAGS_TO_PASS) \
19045 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19046 @endif intl-bootstrap
19052 .PHONY: check-intl maybe-check-intl
19053 maybe-check-intl:
19054 @if intl
19055 maybe-check-intl: check-intl
19057 check-intl:
19058 @: $(MAKE); $(unstage)
19059 @r=`${PWD_COMMAND}`; export r; \
19060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19061 $(HOST_EXPORTS) \
19062 (cd $(HOST_SUBDIR)/intl && \
19063 $(MAKE) $(FLAGS_TO_PASS) check)
19065 @endif intl
19067 .PHONY: install-intl maybe-install-intl
19068 maybe-install-intl:
19069 @if intl
19070 maybe-install-intl: install-intl
19072 install-intl: installdirs
19073 @: $(MAKE); $(unstage)
19074 @r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 $(HOST_EXPORTS) \
19077 (cd $(HOST_SUBDIR)/intl && \
19078 $(MAKE) $(FLAGS_TO_PASS) install)
19080 @endif intl
19082 # Other targets (info, dvi, pdf, etc.)
19084 .PHONY: maybe-info-intl info-intl
19085 maybe-info-intl:
19086 @if intl
19087 maybe-info-intl: info-intl
19089 info-intl: \
19090 configure-intl
19091 @[ -f ./intl/Makefile ] || exit 0; \
19092 r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094 $(HOST_EXPORTS) \
19095 for flag in $(EXTRA_HOST_FLAGS) ; do \
19096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19097 done; \
19098 echo "Doing info in intl" ; \
19099 (cd $(HOST_SUBDIR)/intl && \
19100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19102 "RANLIB=$${RANLIB}" \
19103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19104 info) \
19105 || exit 1
19107 @endif intl
19109 .PHONY: maybe-dvi-intl dvi-intl
19110 maybe-dvi-intl:
19111 @if intl
19112 maybe-dvi-intl: dvi-intl
19114 dvi-intl: \
19115 configure-intl
19116 @[ -f ./intl/Makefile ] || exit 0; \
19117 r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 $(HOST_EXPORTS) \
19120 for flag in $(EXTRA_HOST_FLAGS) ; do \
19121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19122 done; \
19123 echo "Doing dvi in intl" ; \
19124 (cd $(HOST_SUBDIR)/intl && \
19125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19127 "RANLIB=$${RANLIB}" \
19128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19129 dvi) \
19130 || exit 1
19132 @endif intl
19134 .PHONY: maybe-pdf-intl pdf-intl
19135 maybe-pdf-intl:
19136 @if intl
19137 maybe-pdf-intl: pdf-intl
19139 pdf-intl: \
19140 configure-intl
19141 @[ -f ./intl/Makefile ] || exit 0; \
19142 r=`${PWD_COMMAND}`; export r; \
19143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19144 $(HOST_EXPORTS) \
19145 for flag in $(EXTRA_HOST_FLAGS) ; do \
19146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19147 done; \
19148 echo "Doing pdf in intl" ; \
19149 (cd $(HOST_SUBDIR)/intl && \
19150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19152 "RANLIB=$${RANLIB}" \
19153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19154 pdf) \
19155 || exit 1
19157 @endif intl
19159 .PHONY: maybe-html-intl html-intl
19160 maybe-html-intl:
19161 @if intl
19162 maybe-html-intl: html-intl
19164 html-intl: \
19165 configure-intl
19166 @[ -f ./intl/Makefile ] || exit 0; \
19167 r=`${PWD_COMMAND}`; export r; \
19168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19169 $(HOST_EXPORTS) \
19170 for flag in $(EXTRA_HOST_FLAGS) ; do \
19171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19172 done; \
19173 echo "Doing html in intl" ; \
19174 (cd $(HOST_SUBDIR)/intl && \
19175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19177 "RANLIB=$${RANLIB}" \
19178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19179 html) \
19180 || exit 1
19182 @endif intl
19184 .PHONY: maybe-TAGS-intl TAGS-intl
19185 maybe-TAGS-intl:
19186 @if intl
19187 maybe-TAGS-intl: TAGS-intl
19189 TAGS-intl: \
19190 configure-intl
19191 @[ -f ./intl/Makefile ] || exit 0; \
19192 r=`${PWD_COMMAND}`; export r; \
19193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19194 $(HOST_EXPORTS) \
19195 for flag in $(EXTRA_HOST_FLAGS) ; do \
19196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19197 done; \
19198 echo "Doing TAGS in intl" ; \
19199 (cd $(HOST_SUBDIR)/intl && \
19200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19202 "RANLIB=$${RANLIB}" \
19203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19204 TAGS) \
19205 || exit 1
19207 @endif intl
19209 .PHONY: maybe-install-info-intl install-info-intl
19210 maybe-install-info-intl:
19211 @if intl
19212 maybe-install-info-intl: install-info-intl
19214 install-info-intl: \
19215 configure-intl \
19216 info-intl
19217 @[ -f ./intl/Makefile ] || exit 0; \
19218 r=`${PWD_COMMAND}`; export r; \
19219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19220 $(HOST_EXPORTS) \
19221 for flag in $(EXTRA_HOST_FLAGS) ; do \
19222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19223 done; \
19224 echo "Doing install-info in intl" ; \
19225 (cd $(HOST_SUBDIR)/intl && \
19226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19228 "RANLIB=$${RANLIB}" \
19229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19230 install-info) \
19231 || exit 1
19233 @endif intl
19235 .PHONY: maybe-install-pdf-intl install-pdf-intl
19236 maybe-install-pdf-intl:
19237 @if intl
19238 maybe-install-pdf-intl: install-pdf-intl
19240 install-pdf-intl: \
19241 configure-intl \
19242 pdf-intl
19243 @[ -f ./intl/Makefile ] || exit 0; \
19244 r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 $(HOST_EXPORTS) \
19247 for flag in $(EXTRA_HOST_FLAGS) ; do \
19248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19249 done; \
19250 echo "Doing install-pdf in intl" ; \
19251 (cd $(HOST_SUBDIR)/intl && \
19252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19254 "RANLIB=$${RANLIB}" \
19255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19256 install-pdf) \
19257 || exit 1
19259 @endif intl
19261 .PHONY: maybe-install-html-intl install-html-intl
19262 maybe-install-html-intl:
19263 @if intl
19264 maybe-install-html-intl: install-html-intl
19266 install-html-intl: \
19267 configure-intl \
19268 html-intl
19269 @[ -f ./intl/Makefile ] || exit 0; \
19270 r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(HOST_EXPORTS) \
19273 for flag in $(EXTRA_HOST_FLAGS) ; do \
19274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19275 done; \
19276 echo "Doing install-html in intl" ; \
19277 (cd $(HOST_SUBDIR)/intl && \
19278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19280 "RANLIB=$${RANLIB}" \
19281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19282 install-html) \
19283 || exit 1
19285 @endif intl
19287 .PHONY: maybe-installcheck-intl installcheck-intl
19288 maybe-installcheck-intl:
19289 @if intl
19290 maybe-installcheck-intl: installcheck-intl
19292 installcheck-intl: \
19293 configure-intl
19294 @[ -f ./intl/Makefile ] || exit 0; \
19295 r=`${PWD_COMMAND}`; export r; \
19296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19297 $(HOST_EXPORTS) \
19298 for flag in $(EXTRA_HOST_FLAGS) ; do \
19299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19300 done; \
19301 echo "Doing installcheck in intl" ; \
19302 (cd $(HOST_SUBDIR)/intl && \
19303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19305 "RANLIB=$${RANLIB}" \
19306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19307 installcheck) \
19308 || exit 1
19310 @endif intl
19312 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
19313 maybe-mostlyclean-intl:
19314 @if intl
19315 maybe-mostlyclean-intl: mostlyclean-intl
19317 mostlyclean-intl:
19318 @[ -f ./intl/Makefile ] || exit 0; \
19319 r=`${PWD_COMMAND}`; export r; \
19320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19321 $(HOST_EXPORTS) \
19322 for flag in $(EXTRA_HOST_FLAGS) ; do \
19323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19324 done; \
19325 echo "Doing mostlyclean in intl" ; \
19326 (cd $(HOST_SUBDIR)/intl && \
19327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19329 "RANLIB=$${RANLIB}" \
19330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19331 mostlyclean) \
19332 || exit 1
19334 @endif intl
19336 .PHONY: maybe-clean-intl clean-intl
19337 maybe-clean-intl:
19338 @if intl
19339 maybe-clean-intl: clean-intl
19341 clean-intl:
19342 @[ -f ./intl/Makefile ] || exit 0; \
19343 r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(HOST_EXPORTS) \
19346 for flag in $(EXTRA_HOST_FLAGS) ; do \
19347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19348 done; \
19349 echo "Doing clean in intl" ; \
19350 (cd $(HOST_SUBDIR)/intl && \
19351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19353 "RANLIB=$${RANLIB}" \
19354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19355 clean) \
19356 || exit 1
19358 @endif intl
19360 .PHONY: maybe-distclean-intl distclean-intl
19361 maybe-distclean-intl:
19362 @if intl
19363 maybe-distclean-intl: distclean-intl
19365 distclean-intl:
19366 @[ -f ./intl/Makefile ] || exit 0; \
19367 r=`${PWD_COMMAND}`; export r; \
19368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19369 $(HOST_EXPORTS) \
19370 for flag in $(EXTRA_HOST_FLAGS) ; do \
19371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19372 done; \
19373 echo "Doing distclean in intl" ; \
19374 (cd $(HOST_SUBDIR)/intl && \
19375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19377 "RANLIB=$${RANLIB}" \
19378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19379 distclean) \
19380 || exit 1
19382 @endif intl
19384 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
19385 maybe-maintainer-clean-intl:
19386 @if intl
19387 maybe-maintainer-clean-intl: maintainer-clean-intl
19389 maintainer-clean-intl:
19390 @[ -f ./intl/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 maintainer-clean in intl" ; \
19398 (cd $(HOST_SUBDIR)/intl && \
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}" \
19403 maintainer-clean) \
19404 || exit 1
19406 @endif intl
19410 .PHONY: configure-tcl maybe-configure-tcl
19411 maybe-configure-tcl:
19412 @if gcc-bootstrap
19413 configure-tcl: stage_current
19414 @endif gcc-bootstrap
19415 @if tcl
19416 maybe-configure-tcl: configure-tcl
19417 configure-tcl:
19418 @: $(MAKE); $(unstage)
19419 @r=`${PWD_COMMAND}`; export r; \
19420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
19422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
19423 $(HOST_EXPORTS) \
19424 echo Configuring in $(HOST_SUBDIR)/tcl; \
19425 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
19426 case $(srcdir) in \
19427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19428 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
19429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19430 esac; \
19431 srcdiroption="--srcdir=$${topdir}/tcl"; \
19432 libsrcdir="$$s/tcl"; \
19433 $(SHELL) $${libsrcdir}/configure \
19434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19435 --target=${target_alias} $${srcdiroption} \
19436 || exit 1
19437 @endif tcl
19443 .PHONY: all-tcl maybe-all-tcl
19444 maybe-all-tcl:
19445 @if gcc-bootstrap
19446 all-tcl: stage_current
19447 @endif gcc-bootstrap
19448 @if tcl
19449 TARGET-tcl=all
19450 maybe-all-tcl: all-tcl
19451 all-tcl: configure-tcl
19452 @: $(MAKE); $(unstage)
19453 @r=`${PWD_COMMAND}`; export r; \
19454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19455 $(HOST_EXPORTS) \
19456 (cd $(HOST_SUBDIR)/tcl && \
19457 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
19458 @endif tcl
19463 .PHONY: check-tcl maybe-check-tcl
19464 maybe-check-tcl:
19465 @if tcl
19466 maybe-check-tcl: check-tcl
19468 check-tcl:
19469 @: $(MAKE); $(unstage)
19470 @r=`${PWD_COMMAND}`; export r; \
19471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19472 $(HOST_EXPORTS) \
19473 (cd $(HOST_SUBDIR)/tcl && \
19474 $(MAKE) $(FLAGS_TO_PASS) check)
19476 @endif tcl
19478 .PHONY: install-tcl maybe-install-tcl
19479 maybe-install-tcl:
19480 @if tcl
19481 maybe-install-tcl: install-tcl
19483 install-tcl: installdirs
19484 @: $(MAKE); $(unstage)
19485 @r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 $(HOST_EXPORTS) \
19488 (cd $(HOST_SUBDIR)/tcl && \
19489 $(MAKE) $(FLAGS_TO_PASS) install)
19491 @endif tcl
19493 # Other targets (info, dvi, pdf, etc.)
19495 .PHONY: maybe-info-tcl info-tcl
19496 maybe-info-tcl:
19497 @if tcl
19498 maybe-info-tcl: info-tcl
19500 info-tcl: \
19501 configure-tcl
19502 @: $(MAKE); $(unstage)
19503 @[ -f ./tcl/Makefile ] || exit 0; \
19504 r=`${PWD_COMMAND}`; export r; \
19505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19506 $(HOST_EXPORTS) \
19507 for flag in $(EXTRA_HOST_FLAGS) ; do \
19508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19509 done; \
19510 echo "Doing info in tcl" ; \
19511 (cd $(HOST_SUBDIR)/tcl && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19514 "RANLIB=$${RANLIB}" \
19515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19516 info) \
19517 || exit 1
19519 @endif tcl
19521 .PHONY: maybe-dvi-tcl dvi-tcl
19522 maybe-dvi-tcl:
19523 @if tcl
19524 maybe-dvi-tcl: dvi-tcl
19526 dvi-tcl: \
19527 configure-tcl
19528 @: $(MAKE); $(unstage)
19529 @[ -f ./tcl/Makefile ] || exit 0; \
19530 r=`${PWD_COMMAND}`; export r; \
19531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19532 $(HOST_EXPORTS) \
19533 for flag in $(EXTRA_HOST_FLAGS) ; do \
19534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19535 done; \
19536 echo "Doing dvi in tcl" ; \
19537 (cd $(HOST_SUBDIR)/tcl && \
19538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19540 "RANLIB=$${RANLIB}" \
19541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19542 dvi) \
19543 || exit 1
19545 @endif tcl
19547 .PHONY: maybe-pdf-tcl pdf-tcl
19548 maybe-pdf-tcl:
19549 @if tcl
19550 maybe-pdf-tcl: pdf-tcl
19552 pdf-tcl: \
19553 configure-tcl
19554 @: $(MAKE); $(unstage)
19555 @[ -f ./tcl/Makefile ] || exit 0; \
19556 r=`${PWD_COMMAND}`; export r; \
19557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19558 $(HOST_EXPORTS) \
19559 for flag in $(EXTRA_HOST_FLAGS) ; do \
19560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19561 done; \
19562 echo "Doing pdf in tcl" ; \
19563 (cd $(HOST_SUBDIR)/tcl && \
19564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19566 "RANLIB=$${RANLIB}" \
19567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19568 pdf) \
19569 || exit 1
19571 @endif tcl
19573 .PHONY: maybe-html-tcl html-tcl
19574 maybe-html-tcl:
19575 @if tcl
19576 maybe-html-tcl: html-tcl
19578 html-tcl: \
19579 configure-tcl
19580 @: $(MAKE); $(unstage)
19581 @[ -f ./tcl/Makefile ] || exit 0; \
19582 r=`${PWD_COMMAND}`; export r; \
19583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19584 $(HOST_EXPORTS) \
19585 for flag in $(EXTRA_HOST_FLAGS) ; do \
19586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19587 done; \
19588 echo "Doing html in tcl" ; \
19589 (cd $(HOST_SUBDIR)/tcl && \
19590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19592 "RANLIB=$${RANLIB}" \
19593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19594 html) \
19595 || exit 1
19597 @endif tcl
19599 .PHONY: maybe-TAGS-tcl TAGS-tcl
19600 maybe-TAGS-tcl:
19601 @if tcl
19602 maybe-TAGS-tcl: TAGS-tcl
19604 TAGS-tcl: \
19605 configure-tcl
19606 @: $(MAKE); $(unstage)
19607 @[ -f ./tcl/Makefile ] || exit 0; \
19608 r=`${PWD_COMMAND}`; export r; \
19609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19610 $(HOST_EXPORTS) \
19611 for flag in $(EXTRA_HOST_FLAGS) ; do \
19612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19613 done; \
19614 echo "Doing TAGS in tcl" ; \
19615 (cd $(HOST_SUBDIR)/tcl && \
19616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19618 "RANLIB=$${RANLIB}" \
19619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19620 TAGS) \
19621 || exit 1
19623 @endif tcl
19625 .PHONY: maybe-install-info-tcl install-info-tcl
19626 maybe-install-info-tcl:
19627 @if tcl
19628 maybe-install-info-tcl: install-info-tcl
19630 install-info-tcl: \
19631 configure-tcl \
19632 info-tcl
19633 @: $(MAKE); $(unstage)
19634 @[ -f ./tcl/Makefile ] || exit 0; \
19635 r=`${PWD_COMMAND}`; export r; \
19636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19637 $(HOST_EXPORTS) \
19638 for flag in $(EXTRA_HOST_FLAGS) ; do \
19639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19640 done; \
19641 echo "Doing install-info in tcl" ; \
19642 (cd $(HOST_SUBDIR)/tcl && \
19643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19645 "RANLIB=$${RANLIB}" \
19646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19647 install-info) \
19648 || exit 1
19650 @endif tcl
19652 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
19653 maybe-install-pdf-tcl:
19654 @if tcl
19655 maybe-install-pdf-tcl: install-pdf-tcl
19657 install-pdf-tcl: \
19658 configure-tcl \
19659 pdf-tcl
19660 @: $(MAKE); $(unstage)
19661 @[ -f ./tcl/Makefile ] || exit 0; \
19662 r=`${PWD_COMMAND}`; export r; \
19663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19664 $(HOST_EXPORTS) \
19665 for flag in $(EXTRA_HOST_FLAGS) ; do \
19666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19667 done; \
19668 echo "Doing install-pdf in tcl" ; \
19669 (cd $(HOST_SUBDIR)/tcl && \
19670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19672 "RANLIB=$${RANLIB}" \
19673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19674 install-pdf) \
19675 || exit 1
19677 @endif tcl
19679 .PHONY: maybe-install-html-tcl install-html-tcl
19680 maybe-install-html-tcl:
19681 @if tcl
19682 maybe-install-html-tcl: install-html-tcl
19684 install-html-tcl: \
19685 configure-tcl \
19686 html-tcl
19687 @: $(MAKE); $(unstage)
19688 @[ -f ./tcl/Makefile ] || exit 0; \
19689 r=`${PWD_COMMAND}`; export r; \
19690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19691 $(HOST_EXPORTS) \
19692 for flag in $(EXTRA_HOST_FLAGS) ; do \
19693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19694 done; \
19695 echo "Doing install-html in tcl" ; \
19696 (cd $(HOST_SUBDIR)/tcl && \
19697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699 "RANLIB=$${RANLIB}" \
19700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19701 install-html) \
19702 || exit 1
19704 @endif tcl
19706 .PHONY: maybe-installcheck-tcl installcheck-tcl
19707 maybe-installcheck-tcl:
19708 @if tcl
19709 maybe-installcheck-tcl: installcheck-tcl
19711 installcheck-tcl: \
19712 configure-tcl
19713 @: $(MAKE); $(unstage)
19714 @[ -f ./tcl/Makefile ] || exit 0; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717 $(HOST_EXPORTS) \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19720 done; \
19721 echo "Doing installcheck in tcl" ; \
19722 (cd $(HOST_SUBDIR)/tcl && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19727 installcheck) \
19728 || exit 1
19730 @endif tcl
19732 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
19733 maybe-mostlyclean-tcl:
19734 @if tcl
19735 maybe-mostlyclean-tcl: mostlyclean-tcl
19737 # tcl doesn't support mostlyclean.
19738 mostlyclean-tcl:
19740 @endif tcl
19742 .PHONY: maybe-clean-tcl clean-tcl
19743 maybe-clean-tcl:
19744 @if tcl
19745 maybe-clean-tcl: clean-tcl
19747 clean-tcl:
19748 @: $(MAKE); $(unstage)
19749 @[ -f ./tcl/Makefile ] || exit 0; \
19750 r=`${PWD_COMMAND}`; export r; \
19751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19752 $(HOST_EXPORTS) \
19753 for flag in $(EXTRA_HOST_FLAGS) ; do \
19754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19755 done; \
19756 echo "Doing clean in tcl" ; \
19757 (cd $(HOST_SUBDIR)/tcl && \
19758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19760 "RANLIB=$${RANLIB}" \
19761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19762 clean) \
19763 || exit 1
19765 @endif tcl
19767 .PHONY: maybe-distclean-tcl distclean-tcl
19768 maybe-distclean-tcl:
19769 @if tcl
19770 maybe-distclean-tcl: distclean-tcl
19772 distclean-tcl:
19773 @: $(MAKE); $(unstage)
19774 @[ -f ./tcl/Makefile ] || exit 0; \
19775 r=`${PWD_COMMAND}`; export r; \
19776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19777 $(HOST_EXPORTS) \
19778 for flag in $(EXTRA_HOST_FLAGS) ; do \
19779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19780 done; \
19781 echo "Doing distclean in tcl" ; \
19782 (cd $(HOST_SUBDIR)/tcl && \
19783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19785 "RANLIB=$${RANLIB}" \
19786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19787 distclean) \
19788 || exit 1
19790 @endif tcl
19792 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
19793 maybe-maintainer-clean-tcl:
19794 @if tcl
19795 maybe-maintainer-clean-tcl: maintainer-clean-tcl
19797 maintainer-clean-tcl:
19798 @: $(MAKE); $(unstage)
19799 @[ -f ./tcl/Makefile ] || exit 0; \
19800 r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 $(HOST_EXPORTS) \
19803 for flag in $(EXTRA_HOST_FLAGS) ; do \
19804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19805 done; \
19806 echo "Doing maintainer-clean in tcl" ; \
19807 (cd $(HOST_SUBDIR)/tcl && \
19808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19810 "RANLIB=$${RANLIB}" \
19811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19812 maintainer-clean) \
19813 || exit 1
19815 @endif tcl
19819 .PHONY: configure-itcl maybe-configure-itcl
19820 maybe-configure-itcl:
19821 @if gcc-bootstrap
19822 configure-itcl: stage_current
19823 @endif gcc-bootstrap
19824 @if itcl
19825 maybe-configure-itcl: configure-itcl
19826 configure-itcl:
19827 @: $(MAKE); $(unstage)
19828 @r=`${PWD_COMMAND}`; export r; \
19829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19830 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
19831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
19832 $(HOST_EXPORTS) \
19833 echo Configuring in $(HOST_SUBDIR)/itcl; \
19834 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
19835 case $(srcdir) in \
19836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19837 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
19838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19839 esac; \
19840 srcdiroption="--srcdir=$${topdir}/itcl"; \
19841 libsrcdir="$$s/itcl"; \
19842 $(SHELL) $${libsrcdir}/configure \
19843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19844 --target=${target_alias} $${srcdiroption} \
19845 || exit 1
19846 @endif itcl
19852 .PHONY: all-itcl maybe-all-itcl
19853 maybe-all-itcl:
19854 @if gcc-bootstrap
19855 all-itcl: stage_current
19856 @endif gcc-bootstrap
19857 @if itcl
19858 TARGET-itcl=all
19859 maybe-all-itcl: all-itcl
19860 all-itcl: configure-itcl
19861 @: $(MAKE); $(unstage)
19862 @r=`${PWD_COMMAND}`; export r; \
19863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19864 $(HOST_EXPORTS) \
19865 (cd $(HOST_SUBDIR)/itcl && \
19866 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
19867 @endif itcl
19872 .PHONY: check-itcl maybe-check-itcl
19873 maybe-check-itcl:
19874 @if itcl
19875 maybe-check-itcl: check-itcl
19877 check-itcl:
19878 @: $(MAKE); $(unstage)
19879 @r=`${PWD_COMMAND}`; export r; \
19880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19881 $(HOST_EXPORTS) \
19882 (cd $(HOST_SUBDIR)/itcl && \
19883 $(MAKE) $(FLAGS_TO_PASS) check)
19885 @endif itcl
19887 .PHONY: install-itcl maybe-install-itcl
19888 maybe-install-itcl:
19889 @if itcl
19890 maybe-install-itcl: install-itcl
19892 install-itcl: installdirs
19893 @: $(MAKE); $(unstage)
19894 @r=`${PWD_COMMAND}`; export r; \
19895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19896 $(HOST_EXPORTS) \
19897 (cd $(HOST_SUBDIR)/itcl && \
19898 $(MAKE) $(FLAGS_TO_PASS) install)
19900 @endif itcl
19902 # Other targets (info, dvi, pdf, etc.)
19904 .PHONY: maybe-info-itcl info-itcl
19905 maybe-info-itcl:
19906 @if itcl
19907 maybe-info-itcl: info-itcl
19909 info-itcl: \
19910 configure-itcl
19911 @: $(MAKE); $(unstage)
19912 @[ -f ./itcl/Makefile ] || exit 0; \
19913 r=`${PWD_COMMAND}`; export r; \
19914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19915 $(HOST_EXPORTS) \
19916 for flag in $(EXTRA_HOST_FLAGS) ; do \
19917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19918 done; \
19919 echo "Doing info in itcl" ; \
19920 (cd $(HOST_SUBDIR)/itcl && \
19921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19923 "RANLIB=$${RANLIB}" \
19924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19925 info) \
19926 || exit 1
19928 @endif itcl
19930 .PHONY: maybe-dvi-itcl dvi-itcl
19931 maybe-dvi-itcl:
19932 @if itcl
19933 maybe-dvi-itcl: dvi-itcl
19935 dvi-itcl: \
19936 configure-itcl
19937 @: $(MAKE); $(unstage)
19938 @[ -f ./itcl/Makefile ] || exit 0; \
19939 r=`${PWD_COMMAND}`; export r; \
19940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19941 $(HOST_EXPORTS) \
19942 for flag in $(EXTRA_HOST_FLAGS) ; do \
19943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19944 done; \
19945 echo "Doing dvi in itcl" ; \
19946 (cd $(HOST_SUBDIR)/itcl && \
19947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19949 "RANLIB=$${RANLIB}" \
19950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19951 dvi) \
19952 || exit 1
19954 @endif itcl
19956 .PHONY: maybe-pdf-itcl pdf-itcl
19957 maybe-pdf-itcl:
19958 @if itcl
19959 maybe-pdf-itcl: pdf-itcl
19961 pdf-itcl: \
19962 configure-itcl
19963 @: $(MAKE); $(unstage)
19964 @[ -f ./itcl/Makefile ] || exit 0; \
19965 r=`${PWD_COMMAND}`; export r; \
19966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19967 $(HOST_EXPORTS) \
19968 for flag in $(EXTRA_HOST_FLAGS) ; do \
19969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19970 done; \
19971 echo "Doing pdf in itcl" ; \
19972 (cd $(HOST_SUBDIR)/itcl && \
19973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19975 "RANLIB=$${RANLIB}" \
19976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19977 pdf) \
19978 || exit 1
19980 @endif itcl
19982 .PHONY: maybe-html-itcl html-itcl
19983 maybe-html-itcl:
19984 @if itcl
19985 maybe-html-itcl: html-itcl
19987 html-itcl: \
19988 configure-itcl
19989 @: $(MAKE); $(unstage)
19990 @[ -f ./itcl/Makefile ] || exit 0; \
19991 r=`${PWD_COMMAND}`; export r; \
19992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19993 $(HOST_EXPORTS) \
19994 for flag in $(EXTRA_HOST_FLAGS) ; do \
19995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19996 done; \
19997 echo "Doing html in itcl" ; \
19998 (cd $(HOST_SUBDIR)/itcl && \
19999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20001 "RANLIB=$${RANLIB}" \
20002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20003 html) \
20004 || exit 1
20006 @endif itcl
20008 .PHONY: maybe-TAGS-itcl TAGS-itcl
20009 maybe-TAGS-itcl:
20010 @if itcl
20011 maybe-TAGS-itcl: TAGS-itcl
20013 TAGS-itcl: \
20014 configure-itcl
20015 @: $(MAKE); $(unstage)
20016 @[ -f ./itcl/Makefile ] || exit 0; \
20017 r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 $(HOST_EXPORTS) \
20020 for flag in $(EXTRA_HOST_FLAGS) ; do \
20021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20022 done; \
20023 echo "Doing TAGS in itcl" ; \
20024 (cd $(HOST_SUBDIR)/itcl && \
20025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20027 "RANLIB=$${RANLIB}" \
20028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20029 TAGS) \
20030 || exit 1
20032 @endif itcl
20034 .PHONY: maybe-install-info-itcl install-info-itcl
20035 maybe-install-info-itcl:
20036 @if itcl
20037 maybe-install-info-itcl: install-info-itcl
20039 install-info-itcl: \
20040 configure-itcl \
20041 info-itcl
20042 @: $(MAKE); $(unstage)
20043 @[ -f ./itcl/Makefile ] || exit 0; \
20044 r=`${PWD_COMMAND}`; export r; \
20045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20046 $(HOST_EXPORTS) \
20047 for flag in $(EXTRA_HOST_FLAGS) ; do \
20048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20049 done; \
20050 echo "Doing install-info in itcl" ; \
20051 (cd $(HOST_SUBDIR)/itcl && \
20052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20054 "RANLIB=$${RANLIB}" \
20055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20056 install-info) \
20057 || exit 1
20059 @endif itcl
20061 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
20062 maybe-install-pdf-itcl:
20063 @if itcl
20064 maybe-install-pdf-itcl: install-pdf-itcl
20066 install-pdf-itcl: \
20067 configure-itcl \
20068 pdf-itcl
20069 @: $(MAKE); $(unstage)
20070 @[ -f ./itcl/Makefile ] || exit 0; \
20071 r=`${PWD_COMMAND}`; export r; \
20072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20073 $(HOST_EXPORTS) \
20074 for flag in $(EXTRA_HOST_FLAGS) ; do \
20075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20076 done; \
20077 echo "Doing install-pdf in itcl" ; \
20078 (cd $(HOST_SUBDIR)/itcl && \
20079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20081 "RANLIB=$${RANLIB}" \
20082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20083 install-pdf) \
20084 || exit 1
20086 @endif itcl
20088 .PHONY: maybe-install-html-itcl install-html-itcl
20089 maybe-install-html-itcl:
20090 @if itcl
20091 maybe-install-html-itcl: install-html-itcl
20093 install-html-itcl: \
20094 configure-itcl \
20095 html-itcl
20096 @: $(MAKE); $(unstage)
20097 @[ -f ./itcl/Makefile ] || exit 0; \
20098 r=`${PWD_COMMAND}`; export r; \
20099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20100 $(HOST_EXPORTS) \
20101 for flag in $(EXTRA_HOST_FLAGS) ; do \
20102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20103 done; \
20104 echo "Doing install-html in itcl" ; \
20105 (cd $(HOST_SUBDIR)/itcl && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20108 "RANLIB=$${RANLIB}" \
20109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20110 install-html) \
20111 || exit 1
20113 @endif itcl
20115 .PHONY: maybe-installcheck-itcl installcheck-itcl
20116 maybe-installcheck-itcl:
20117 @if itcl
20118 maybe-installcheck-itcl: installcheck-itcl
20120 installcheck-itcl: \
20121 configure-itcl
20122 @: $(MAKE); $(unstage)
20123 @[ -f ./itcl/Makefile ] || exit 0; \
20124 r=`${PWD_COMMAND}`; export r; \
20125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20126 $(HOST_EXPORTS) \
20127 for flag in $(EXTRA_HOST_FLAGS) ; do \
20128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20129 done; \
20130 echo "Doing installcheck in itcl" ; \
20131 (cd $(HOST_SUBDIR)/itcl && \
20132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20134 "RANLIB=$${RANLIB}" \
20135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20136 installcheck) \
20137 || exit 1
20139 @endif itcl
20141 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
20142 maybe-mostlyclean-itcl:
20143 @if itcl
20144 maybe-mostlyclean-itcl: mostlyclean-itcl
20146 mostlyclean-itcl:
20147 @: $(MAKE); $(unstage)
20148 @[ -f ./itcl/Makefile ] || exit 0; \
20149 r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 $(HOST_EXPORTS) \
20152 for flag in $(EXTRA_HOST_FLAGS) ; do \
20153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20154 done; \
20155 echo "Doing mostlyclean in itcl" ; \
20156 (cd $(HOST_SUBDIR)/itcl && \
20157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20159 "RANLIB=$${RANLIB}" \
20160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20161 mostlyclean) \
20162 || exit 1
20164 @endif itcl
20166 .PHONY: maybe-clean-itcl clean-itcl
20167 maybe-clean-itcl:
20168 @if itcl
20169 maybe-clean-itcl: clean-itcl
20171 clean-itcl:
20172 @: $(MAKE); $(unstage)
20173 @[ -f ./itcl/Makefile ] || exit 0; \
20174 r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(HOST_EXPORTS) \
20177 for flag in $(EXTRA_HOST_FLAGS) ; do \
20178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20179 done; \
20180 echo "Doing clean in itcl" ; \
20181 (cd $(HOST_SUBDIR)/itcl && \
20182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20184 "RANLIB=$${RANLIB}" \
20185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20186 clean) \
20187 || exit 1
20189 @endif itcl
20191 .PHONY: maybe-distclean-itcl distclean-itcl
20192 maybe-distclean-itcl:
20193 @if itcl
20194 maybe-distclean-itcl: distclean-itcl
20196 distclean-itcl:
20197 @: $(MAKE); $(unstage)
20198 @[ -f ./itcl/Makefile ] || exit 0; \
20199 r=`${PWD_COMMAND}`; export r; \
20200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20201 $(HOST_EXPORTS) \
20202 for flag in $(EXTRA_HOST_FLAGS) ; do \
20203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20204 done; \
20205 echo "Doing distclean in itcl" ; \
20206 (cd $(HOST_SUBDIR)/itcl && \
20207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20209 "RANLIB=$${RANLIB}" \
20210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20211 distclean) \
20212 || exit 1
20214 @endif itcl
20216 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
20217 maybe-maintainer-clean-itcl:
20218 @if itcl
20219 maybe-maintainer-clean-itcl: maintainer-clean-itcl
20221 maintainer-clean-itcl:
20222 @: $(MAKE); $(unstage)
20223 @[ -f ./itcl/Makefile ] || exit 0; \
20224 r=`${PWD_COMMAND}`; export r; \
20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20226 $(HOST_EXPORTS) \
20227 for flag in $(EXTRA_HOST_FLAGS) ; do \
20228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20229 done; \
20230 echo "Doing maintainer-clean in itcl" ; \
20231 (cd $(HOST_SUBDIR)/itcl && \
20232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20234 "RANLIB=$${RANLIB}" \
20235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20236 maintainer-clean) \
20237 || exit 1
20239 @endif itcl
20243 .PHONY: configure-ld maybe-configure-ld
20244 maybe-configure-ld:
20245 @if gcc-bootstrap
20246 configure-ld: stage_current
20247 @endif gcc-bootstrap
20248 @if ld
20249 maybe-configure-ld: configure-ld
20250 configure-ld:
20251 @r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20255 $(HOST_EXPORTS) \
20256 echo Configuring in $(HOST_SUBDIR)/ld; \
20257 cd "$(HOST_SUBDIR)/ld" || exit 1; \
20258 case $(srcdir) in \
20259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20260 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20262 esac; \
20263 srcdiroption="--srcdir=$${topdir}/ld"; \
20264 libsrcdir="$$s/ld"; \
20265 $(SHELL) $${libsrcdir}/configure \
20266 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20267 --target=${target_alias} $${srcdiroption} \
20268 || exit 1
20269 @endif ld
20273 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
20274 maybe-configure-stage1-ld:
20275 @if ld-bootstrap
20276 maybe-configure-stage1-ld: configure-stage1-ld
20277 configure-stage1-ld:
20278 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20279 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20280 @r=`${PWD_COMMAND}`; export r; \
20281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20282 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20283 $(HOST_EXPORTS) \
20284 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
20285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20286 cd $(HOST_SUBDIR)/ld || exit 1; \
20287 case $(srcdir) in \
20288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20289 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20291 esac; \
20292 srcdiroption="--srcdir=$${topdir}/ld"; \
20293 libsrcdir="$$s/ld"; \
20294 $(SHELL) $${libsrcdir}/configure \
20295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20296 --target=${target_alias} $${srcdiroption} \
20298 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20299 @endif ld-bootstrap
20301 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
20302 maybe-configure-stage2-ld:
20303 @if ld-bootstrap
20304 maybe-configure-stage2-ld: configure-stage2-ld
20305 configure-stage2-ld:
20306 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20308 @r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20311 $(HOST_EXPORTS) \
20312 $(POSTSTAGE1_HOST_EXPORTS) \
20313 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
20314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20315 cd $(HOST_SUBDIR)/ld || exit 1; \
20316 case $(srcdir) in \
20317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20318 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20320 esac; \
20321 srcdiroption="--srcdir=$${topdir}/ld"; \
20322 libsrcdir="$$s/ld"; \
20323 $(SHELL) $${libsrcdir}/configure \
20324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20325 --target=${target_alias} $${srcdiroption} \
20326 --with-build-libsubdir=$(HOST_SUBDIR) \
20327 @stage2_werror_flag@
20328 @endif ld-bootstrap
20330 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
20331 maybe-configure-stage3-ld:
20332 @if ld-bootstrap
20333 maybe-configure-stage3-ld: configure-stage3-ld
20334 configure-stage3-ld:
20335 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20337 @r=`${PWD_COMMAND}`; export r; \
20338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20339 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20340 $(HOST_EXPORTS) \
20341 $(POSTSTAGE1_HOST_EXPORTS) \
20342 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
20343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20344 cd $(HOST_SUBDIR)/ld || exit 1; \
20345 case $(srcdir) in \
20346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20347 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20348 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20349 esac; \
20350 srcdiroption="--srcdir=$${topdir}/ld"; \
20351 libsrcdir="$$s/ld"; \
20352 $(SHELL) $${libsrcdir}/configure \
20353 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20354 --target=${target_alias} $${srcdiroption} \
20355 --with-build-libsubdir=$(HOST_SUBDIR) \
20356 @stage2_werror_flag@
20357 @endif ld-bootstrap
20359 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
20360 maybe-configure-stage4-ld:
20361 @if ld-bootstrap
20362 maybe-configure-stage4-ld: configure-stage4-ld
20363 configure-stage4-ld:
20364 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20365 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20366 @r=`${PWD_COMMAND}`; export r; \
20367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20368 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20369 $(HOST_EXPORTS) \
20370 $(POSTSTAGE1_HOST_EXPORTS) \
20371 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
20372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20373 cd $(HOST_SUBDIR)/ld || exit 1; \
20374 case $(srcdir) in \
20375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20376 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20378 esac; \
20379 srcdiroption="--srcdir=$${topdir}/ld"; \
20380 libsrcdir="$$s/ld"; \
20381 $(SHELL) $${libsrcdir}/configure \
20382 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20383 --target=${target_alias} $${srcdiroption} \
20384 --with-build-libsubdir=$(HOST_SUBDIR) \
20385 @stage2_werror_flag@
20386 @endif ld-bootstrap
20388 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
20389 maybe-configure-stageprofile-ld:
20390 @if ld-bootstrap
20391 maybe-configure-stageprofile-ld: configure-stageprofile-ld
20392 configure-stageprofile-ld:
20393 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20394 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20395 @r=`${PWD_COMMAND}`; export r; \
20396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20397 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20398 $(HOST_EXPORTS) \
20399 $(POSTSTAGE1_HOST_EXPORTS) \
20400 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
20401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20402 cd $(HOST_SUBDIR)/ld || exit 1; \
20403 case $(srcdir) in \
20404 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20405 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20406 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20407 esac; \
20408 srcdiroption="--srcdir=$${topdir}/ld"; \
20409 libsrcdir="$$s/ld"; \
20410 $(SHELL) $${libsrcdir}/configure \
20411 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20412 --target=${target_alias} $${srcdiroption} \
20413 --with-build-libsubdir=$(HOST_SUBDIR) \
20414 @stage2_werror_flag@
20415 @endif ld-bootstrap
20417 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
20418 maybe-configure-stagefeedback-ld:
20419 @if ld-bootstrap
20420 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
20421 configure-stagefeedback-ld:
20422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
20424 @r=`${PWD_COMMAND}`; export r; \
20425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20426 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
20427 $(HOST_EXPORTS) \
20428 $(POSTSTAGE1_HOST_EXPORTS) \
20429 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
20430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
20431 cd $(HOST_SUBDIR)/ld || exit 1; \
20432 case $(srcdir) in \
20433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20434 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
20435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20436 esac; \
20437 srcdiroption="--srcdir=$${topdir}/ld"; \
20438 libsrcdir="$$s/ld"; \
20439 $(SHELL) $${libsrcdir}/configure \
20440 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20441 --target=${target_alias} $${srcdiroption} \
20442 --with-build-libsubdir=$(HOST_SUBDIR) \
20443 @stage2_werror_flag@
20444 @endif ld-bootstrap
20450 .PHONY: all-ld maybe-all-ld
20451 maybe-all-ld:
20452 @if gcc-bootstrap
20453 all-ld: stage_current
20454 @endif gcc-bootstrap
20455 @if ld
20456 TARGET-ld=all
20457 maybe-all-ld: all-ld
20458 all-ld: configure-ld
20459 @r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 $(HOST_EXPORTS) \
20462 (cd $(HOST_SUBDIR)/ld && \
20463 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
20464 @endif ld
20468 .PHONY: all-stage1-ld maybe-all-stage1-ld
20469 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
20470 maybe-all-stage1-ld:
20471 maybe-clean-stage1-ld:
20472 @if ld-bootstrap
20473 maybe-all-stage1-ld: all-stage1-ld
20474 all-stage1: all-stage1-ld
20475 TARGET-stage1-ld = $(TARGET-ld)
20476 all-stage1-ld: configure-stage1-ld
20477 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20478 @r=`${PWD_COMMAND}`; export r; \
20479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20480 $(HOST_EXPORTS) \
20481 cd $(HOST_SUBDIR)/ld && \
20482 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20483 $(TARGET-stage1-ld)
20485 maybe-clean-stage1-ld: clean-stage1-ld
20486 clean-stage1: clean-stage1-ld
20487 clean-stage1-ld:
20488 @if [ $(current_stage) = stage1 ]; then \
20489 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20490 else \
20491 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
20492 $(MAKE) stage1-start; \
20493 fi; \
20494 cd $(HOST_SUBDIR)/ld && \
20495 $(MAKE) $(FLAGS_TO_PASS) \
20496 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20497 @endif ld-bootstrap
20500 .PHONY: all-stage2-ld maybe-all-stage2-ld
20501 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
20502 maybe-all-stage2-ld:
20503 maybe-clean-stage2-ld:
20504 @if ld-bootstrap
20505 maybe-all-stage2-ld: all-stage2-ld
20506 all-stage2: all-stage2-ld
20507 TARGET-stage2-ld = $(TARGET-ld)
20508 all-stage2-ld: configure-stage2-ld
20509 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20510 @r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 $(HOST_EXPORTS) \
20513 $(POSTSTAGE1_HOST_EXPORTS) \
20514 cd $(HOST_SUBDIR)/ld && \
20515 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20516 $(TARGET-stage2-ld)
20518 maybe-clean-stage2-ld: clean-stage2-ld
20519 clean-stage2: clean-stage2-ld
20520 clean-stage2-ld:
20521 @if [ $(current_stage) = stage2 ]; then \
20522 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20523 else \
20524 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
20525 $(MAKE) stage2-start; \
20526 fi; \
20527 cd $(HOST_SUBDIR)/ld && \
20528 $(MAKE) $(FLAGS_TO_PASS) \
20529 $(POSTSTAGE1_FLAGS_TO_PASS) \
20530 clean
20531 @endif ld-bootstrap
20534 .PHONY: all-stage3-ld maybe-all-stage3-ld
20535 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
20536 maybe-all-stage3-ld:
20537 maybe-clean-stage3-ld:
20538 @if ld-bootstrap
20539 maybe-all-stage3-ld: all-stage3-ld
20540 all-stage3: all-stage3-ld
20541 TARGET-stage3-ld = $(TARGET-ld)
20542 all-stage3-ld: configure-stage3-ld
20543 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20544 @r=`${PWD_COMMAND}`; export r; \
20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 $(HOST_EXPORTS) \
20547 $(POSTSTAGE1_HOST_EXPORTS) \
20548 cd $(HOST_SUBDIR)/ld && \
20549 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20550 $(TARGET-stage3-ld)
20552 maybe-clean-stage3-ld: clean-stage3-ld
20553 clean-stage3: clean-stage3-ld
20554 clean-stage3-ld:
20555 @if [ $(current_stage) = stage3 ]; then \
20556 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20557 else \
20558 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
20559 $(MAKE) stage3-start; \
20560 fi; \
20561 cd $(HOST_SUBDIR)/ld && \
20562 $(MAKE) $(FLAGS_TO_PASS) \
20563 $(POSTSTAGE1_FLAGS_TO_PASS) \
20564 clean
20565 @endif ld-bootstrap
20568 .PHONY: all-stage4-ld maybe-all-stage4-ld
20569 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
20570 maybe-all-stage4-ld:
20571 maybe-clean-stage4-ld:
20572 @if ld-bootstrap
20573 maybe-all-stage4-ld: all-stage4-ld
20574 all-stage4: all-stage4-ld
20575 TARGET-stage4-ld = $(TARGET-ld)
20576 all-stage4-ld: configure-stage4-ld
20577 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20578 @r=`${PWD_COMMAND}`; export r; \
20579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20580 $(HOST_EXPORTS) \
20581 $(POSTSTAGE1_HOST_EXPORTS) \
20582 cd $(HOST_SUBDIR)/ld && \
20583 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20584 $(TARGET-stage4-ld)
20586 maybe-clean-stage4-ld: clean-stage4-ld
20587 clean-stage4: clean-stage4-ld
20588 clean-stage4-ld:
20589 @if [ $(current_stage) = stage4 ]; then \
20590 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20591 else \
20592 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
20593 $(MAKE) stage4-start; \
20594 fi; \
20595 cd $(HOST_SUBDIR)/ld && \
20596 $(MAKE) $(FLAGS_TO_PASS) \
20597 $(POSTSTAGE1_FLAGS_TO_PASS) \
20598 clean
20599 @endif ld-bootstrap
20602 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
20603 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
20604 maybe-all-stageprofile-ld:
20605 maybe-clean-stageprofile-ld:
20606 @if ld-bootstrap
20607 maybe-all-stageprofile-ld: all-stageprofile-ld
20608 all-stageprofile: all-stageprofile-ld
20609 TARGET-stageprofile-ld = $(TARGET-ld)
20610 all-stageprofile-ld: configure-stageprofile-ld
20611 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20612 @r=`${PWD_COMMAND}`; export r; \
20613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20614 $(HOST_EXPORTS) \
20615 $(POSTSTAGE1_HOST_EXPORTS) \
20616 cd $(HOST_SUBDIR)/ld && \
20617 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20618 $(TARGET-stageprofile-ld)
20620 maybe-clean-stageprofile-ld: clean-stageprofile-ld
20621 clean-stageprofile: clean-stageprofile-ld
20622 clean-stageprofile-ld:
20623 @if [ $(current_stage) = stageprofile ]; then \
20624 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20625 else \
20626 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
20627 $(MAKE) stageprofile-start; \
20628 fi; \
20629 cd $(HOST_SUBDIR)/ld && \
20630 $(MAKE) $(FLAGS_TO_PASS) \
20631 $(POSTSTAGE1_FLAGS_TO_PASS) \
20632 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20633 @endif ld-bootstrap
20636 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
20637 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
20638 maybe-all-stagefeedback-ld:
20639 maybe-clean-stagefeedback-ld:
20640 @if ld-bootstrap
20641 maybe-all-stagefeedback-ld: all-stagefeedback-ld
20642 all-stagefeedback: all-stagefeedback-ld
20643 TARGET-stagefeedback-ld = $(TARGET-ld)
20644 all-stagefeedback-ld: configure-stagefeedback-ld
20645 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20646 @r=`${PWD_COMMAND}`; export r; \
20647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20648 $(HOST_EXPORTS) \
20649 $(POSTSTAGE1_HOST_EXPORTS) \
20650 cd $(HOST_SUBDIR)/ld && \
20651 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20652 $(TARGET-stagefeedback-ld)
20654 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
20655 clean-stagefeedback: clean-stagefeedback-ld
20656 clean-stagefeedback-ld:
20657 @if [ $(current_stage) = stagefeedback ]; then \
20658 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
20659 else \
20660 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
20661 $(MAKE) stagefeedback-start; \
20662 fi; \
20663 cd $(HOST_SUBDIR)/ld && \
20664 $(MAKE) $(FLAGS_TO_PASS) \
20665 $(POSTSTAGE1_FLAGS_TO_PASS) \
20666 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20667 @endif ld-bootstrap
20673 .PHONY: check-ld maybe-check-ld
20674 maybe-check-ld:
20675 @if ld
20676 maybe-check-ld: check-ld
20678 check-ld:
20679 @: $(MAKE); $(unstage)
20680 @r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(HOST_EXPORTS) \
20683 (cd $(HOST_SUBDIR)/ld && \
20684 $(MAKE) $(FLAGS_TO_PASS) check)
20686 @endif ld
20688 .PHONY: install-ld maybe-install-ld
20689 maybe-install-ld:
20690 @if ld
20691 maybe-install-ld: install-ld
20693 install-ld: installdirs
20694 @: $(MAKE); $(unstage)
20695 @r=`${PWD_COMMAND}`; export r; \
20696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20697 $(HOST_EXPORTS) \
20698 (cd $(HOST_SUBDIR)/ld && \
20699 $(MAKE) $(FLAGS_TO_PASS) install)
20701 @endif ld
20703 # Other targets (info, dvi, pdf, etc.)
20705 .PHONY: maybe-info-ld info-ld
20706 maybe-info-ld:
20707 @if ld
20708 maybe-info-ld: info-ld
20710 info-ld: \
20711 configure-ld
20712 @[ -f ./ld/Makefile ] || exit 0; \
20713 r=`${PWD_COMMAND}`; export r; \
20714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20715 $(HOST_EXPORTS) \
20716 for flag in $(EXTRA_HOST_FLAGS) ; do \
20717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20718 done; \
20719 echo "Doing info in ld" ; \
20720 (cd $(HOST_SUBDIR)/ld && \
20721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20723 "RANLIB=$${RANLIB}" \
20724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20725 info) \
20726 || exit 1
20728 @endif ld
20730 .PHONY: maybe-dvi-ld dvi-ld
20731 maybe-dvi-ld:
20732 @if ld
20733 maybe-dvi-ld: dvi-ld
20735 dvi-ld: \
20736 configure-ld
20737 @[ -f ./ld/Makefile ] || exit 0; \
20738 r=`${PWD_COMMAND}`; export r; \
20739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20740 $(HOST_EXPORTS) \
20741 for flag in $(EXTRA_HOST_FLAGS) ; do \
20742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20743 done; \
20744 echo "Doing dvi in ld" ; \
20745 (cd $(HOST_SUBDIR)/ld && \
20746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20748 "RANLIB=$${RANLIB}" \
20749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20750 dvi) \
20751 || exit 1
20753 @endif ld
20755 .PHONY: maybe-pdf-ld pdf-ld
20756 maybe-pdf-ld:
20757 @if ld
20758 maybe-pdf-ld: pdf-ld
20760 pdf-ld: \
20761 configure-ld
20762 @[ -f ./ld/Makefile ] || exit 0; \
20763 r=`${PWD_COMMAND}`; export r; \
20764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20765 $(HOST_EXPORTS) \
20766 for flag in $(EXTRA_HOST_FLAGS) ; do \
20767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20768 done; \
20769 echo "Doing pdf in ld" ; \
20770 (cd $(HOST_SUBDIR)/ld && \
20771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20773 "RANLIB=$${RANLIB}" \
20774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20775 pdf) \
20776 || exit 1
20778 @endif ld
20780 .PHONY: maybe-html-ld html-ld
20781 maybe-html-ld:
20782 @if ld
20783 maybe-html-ld: html-ld
20785 html-ld: \
20786 configure-ld
20787 @[ -f ./ld/Makefile ] || exit 0; \
20788 r=`${PWD_COMMAND}`; export r; \
20789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20790 $(HOST_EXPORTS) \
20791 for flag in $(EXTRA_HOST_FLAGS) ; do \
20792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20793 done; \
20794 echo "Doing html in ld" ; \
20795 (cd $(HOST_SUBDIR)/ld && \
20796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20798 "RANLIB=$${RANLIB}" \
20799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20800 html) \
20801 || exit 1
20803 @endif ld
20805 .PHONY: maybe-TAGS-ld TAGS-ld
20806 maybe-TAGS-ld:
20807 @if ld
20808 maybe-TAGS-ld: TAGS-ld
20810 TAGS-ld: \
20811 configure-ld
20812 @[ -f ./ld/Makefile ] || exit 0; \
20813 r=`${PWD_COMMAND}`; export r; \
20814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20815 $(HOST_EXPORTS) \
20816 for flag in $(EXTRA_HOST_FLAGS) ; do \
20817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20818 done; \
20819 echo "Doing TAGS in ld" ; \
20820 (cd $(HOST_SUBDIR)/ld && \
20821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20823 "RANLIB=$${RANLIB}" \
20824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20825 TAGS) \
20826 || exit 1
20828 @endif ld
20830 .PHONY: maybe-install-info-ld install-info-ld
20831 maybe-install-info-ld:
20832 @if ld
20833 maybe-install-info-ld: install-info-ld
20835 install-info-ld: \
20836 configure-ld \
20837 info-ld
20838 @[ -f ./ld/Makefile ] || exit 0; \
20839 r=`${PWD_COMMAND}`; export r; \
20840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20841 $(HOST_EXPORTS) \
20842 for flag in $(EXTRA_HOST_FLAGS) ; do \
20843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20844 done; \
20845 echo "Doing install-info in ld" ; \
20846 (cd $(HOST_SUBDIR)/ld && \
20847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20849 "RANLIB=$${RANLIB}" \
20850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20851 install-info) \
20852 || exit 1
20854 @endif ld
20856 .PHONY: maybe-install-pdf-ld install-pdf-ld
20857 maybe-install-pdf-ld:
20858 @if ld
20859 maybe-install-pdf-ld: install-pdf-ld
20861 install-pdf-ld: \
20862 configure-ld \
20863 pdf-ld
20864 @[ -f ./ld/Makefile ] || exit 0; \
20865 r=`${PWD_COMMAND}`; export r; \
20866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20867 $(HOST_EXPORTS) \
20868 for flag in $(EXTRA_HOST_FLAGS) ; do \
20869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20870 done; \
20871 echo "Doing install-pdf in ld" ; \
20872 (cd $(HOST_SUBDIR)/ld && \
20873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20875 "RANLIB=$${RANLIB}" \
20876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20877 install-pdf) \
20878 || exit 1
20880 @endif ld
20882 .PHONY: maybe-install-html-ld install-html-ld
20883 maybe-install-html-ld:
20884 @if ld
20885 maybe-install-html-ld: install-html-ld
20887 install-html-ld: \
20888 configure-ld \
20889 html-ld
20890 @[ -f ./ld/Makefile ] || exit 0; \
20891 r=`${PWD_COMMAND}`; export r; \
20892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20893 $(HOST_EXPORTS) \
20894 for flag in $(EXTRA_HOST_FLAGS) ; do \
20895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20896 done; \
20897 echo "Doing install-html in ld" ; \
20898 (cd $(HOST_SUBDIR)/ld && \
20899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20901 "RANLIB=$${RANLIB}" \
20902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20903 install-html) \
20904 || exit 1
20906 @endif ld
20908 .PHONY: maybe-installcheck-ld installcheck-ld
20909 maybe-installcheck-ld:
20910 @if ld
20911 maybe-installcheck-ld: installcheck-ld
20913 installcheck-ld: \
20914 configure-ld
20915 @[ -f ./ld/Makefile ] || exit 0; \
20916 r=`${PWD_COMMAND}`; export r; \
20917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20918 $(HOST_EXPORTS) \
20919 for flag in $(EXTRA_HOST_FLAGS) ; do \
20920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20921 done; \
20922 echo "Doing installcheck in ld" ; \
20923 (cd $(HOST_SUBDIR)/ld && \
20924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20926 "RANLIB=$${RANLIB}" \
20927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20928 installcheck) \
20929 || exit 1
20931 @endif ld
20933 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
20934 maybe-mostlyclean-ld:
20935 @if ld
20936 maybe-mostlyclean-ld: mostlyclean-ld
20938 mostlyclean-ld:
20939 @[ -f ./ld/Makefile ] || exit 0; \
20940 r=`${PWD_COMMAND}`; export r; \
20941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20942 $(HOST_EXPORTS) \
20943 for flag in $(EXTRA_HOST_FLAGS) ; do \
20944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20945 done; \
20946 echo "Doing mostlyclean in ld" ; \
20947 (cd $(HOST_SUBDIR)/ld && \
20948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20950 "RANLIB=$${RANLIB}" \
20951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20952 mostlyclean) \
20953 || exit 1
20955 @endif ld
20957 .PHONY: maybe-clean-ld clean-ld
20958 maybe-clean-ld:
20959 @if ld
20960 maybe-clean-ld: clean-ld
20962 clean-ld:
20963 @[ -f ./ld/Makefile ] || exit 0; \
20964 r=`${PWD_COMMAND}`; export r; \
20965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20966 $(HOST_EXPORTS) \
20967 for flag in $(EXTRA_HOST_FLAGS) ; do \
20968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20969 done; \
20970 echo "Doing clean in ld" ; \
20971 (cd $(HOST_SUBDIR)/ld && \
20972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20974 "RANLIB=$${RANLIB}" \
20975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20976 clean) \
20977 || exit 1
20979 @endif ld
20981 .PHONY: maybe-distclean-ld distclean-ld
20982 maybe-distclean-ld:
20983 @if ld
20984 maybe-distclean-ld: distclean-ld
20986 distclean-ld:
20987 @[ -f ./ld/Makefile ] || exit 0; \
20988 r=`${PWD_COMMAND}`; export r; \
20989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20990 $(HOST_EXPORTS) \
20991 for flag in $(EXTRA_HOST_FLAGS) ; do \
20992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20993 done; \
20994 echo "Doing distclean in ld" ; \
20995 (cd $(HOST_SUBDIR)/ld && \
20996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20998 "RANLIB=$${RANLIB}" \
20999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21000 distclean) \
21001 || exit 1
21003 @endif ld
21005 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
21006 maybe-maintainer-clean-ld:
21007 @if ld
21008 maybe-maintainer-clean-ld: maintainer-clean-ld
21010 maintainer-clean-ld:
21011 @[ -f ./ld/Makefile ] || exit 0; \
21012 r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 $(HOST_EXPORTS) \
21015 for flag in $(EXTRA_HOST_FLAGS) ; do \
21016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21017 done; \
21018 echo "Doing maintainer-clean in ld" ; \
21019 (cd $(HOST_SUBDIR)/ld && \
21020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21022 "RANLIB=$${RANLIB}" \
21023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21024 maintainer-clean) \
21025 || exit 1
21027 @endif ld
21031 .PHONY: configure-libcpp maybe-configure-libcpp
21032 maybe-configure-libcpp:
21033 @if gcc-bootstrap
21034 configure-libcpp: stage_current
21035 @endif gcc-bootstrap
21036 @if libcpp
21037 maybe-configure-libcpp: configure-libcpp
21038 configure-libcpp:
21039 @r=`${PWD_COMMAND}`; export r; \
21040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21041 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21043 $(HOST_EXPORTS) \
21044 echo Configuring in $(HOST_SUBDIR)/libcpp; \
21045 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
21046 case $(srcdir) in \
21047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21048 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21050 esac; \
21051 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21052 libsrcdir="$$s/libcpp"; \
21053 $(SHELL) $${libsrcdir}/configure \
21054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21055 --target=${target_alias} $${srcdiroption} \
21056 || exit 1
21057 @endif libcpp
21061 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
21062 maybe-configure-stage1-libcpp:
21063 @if libcpp-bootstrap
21064 maybe-configure-stage1-libcpp: configure-stage1-libcpp
21065 configure-stage1-libcpp:
21066 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21068 @r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21071 $(HOST_EXPORTS) \
21072 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
21073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21074 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21075 case $(srcdir) in \
21076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21077 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21079 esac; \
21080 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21081 libsrcdir="$$s/libcpp"; \
21082 $(SHELL) $${libsrcdir}/configure \
21083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21084 --target=${target_alias} $${srcdiroption} \
21086 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
21087 @endif libcpp-bootstrap
21089 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
21090 maybe-configure-stage2-libcpp:
21091 @if libcpp-bootstrap
21092 maybe-configure-stage2-libcpp: configure-stage2-libcpp
21093 configure-stage2-libcpp:
21094 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21096 @r=`${PWD_COMMAND}`; export r; \
21097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21098 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21099 $(HOST_EXPORTS) \
21100 $(POSTSTAGE1_HOST_EXPORTS) \
21101 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
21102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21103 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21104 case $(srcdir) in \
21105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21106 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21108 esac; \
21109 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21110 libsrcdir="$$s/libcpp"; \
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 libcpp-bootstrap
21118 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
21119 maybe-configure-stage3-libcpp:
21120 @if libcpp-bootstrap
21121 maybe-configure-stage3-libcpp: configure-stage3-libcpp
21122 configure-stage3-libcpp:
21123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21125 @r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21128 $(HOST_EXPORTS) \
21129 $(POSTSTAGE1_HOST_EXPORTS) \
21130 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
21131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21132 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21133 case $(srcdir) in \
21134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21135 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21137 esac; \
21138 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21139 libsrcdir="$$s/libcpp"; \
21140 $(SHELL) $${libsrcdir}/configure \
21141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21142 --target=${target_alias} $${srcdiroption} \
21143 --with-build-libsubdir=$(HOST_SUBDIR) \
21144 @stage2_werror_flag@
21145 @endif libcpp-bootstrap
21147 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
21148 maybe-configure-stage4-libcpp:
21149 @if libcpp-bootstrap
21150 maybe-configure-stage4-libcpp: configure-stage4-libcpp
21151 configure-stage4-libcpp:
21152 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21154 @r=`${PWD_COMMAND}`; export r; \
21155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21156 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21157 $(HOST_EXPORTS) \
21158 $(POSTSTAGE1_HOST_EXPORTS) \
21159 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
21160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21161 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21162 case $(srcdir) in \
21163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21164 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21166 esac; \
21167 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21168 libsrcdir="$$s/libcpp"; \
21169 $(SHELL) $${libsrcdir}/configure \
21170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21171 --target=${target_alias} $${srcdiroption} \
21172 --with-build-libsubdir=$(HOST_SUBDIR) \
21173 @stage2_werror_flag@
21174 @endif libcpp-bootstrap
21176 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
21177 maybe-configure-stageprofile-libcpp:
21178 @if libcpp-bootstrap
21179 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
21180 configure-stageprofile-libcpp:
21181 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21183 @r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21186 $(HOST_EXPORTS) \
21187 $(POSTSTAGE1_HOST_EXPORTS) \
21188 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
21189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21190 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21191 case $(srcdir) in \
21192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21193 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21195 esac; \
21196 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21197 libsrcdir="$$s/libcpp"; \
21198 $(SHELL) $${libsrcdir}/configure \
21199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21200 --target=${target_alias} $${srcdiroption} \
21201 --with-build-libsubdir=$(HOST_SUBDIR) \
21202 @stage2_werror_flag@
21203 @endif libcpp-bootstrap
21205 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
21206 maybe-configure-stagefeedback-libcpp:
21207 @if libcpp-bootstrap
21208 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
21209 configure-stagefeedback-libcpp:
21210 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21212 @r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21215 $(HOST_EXPORTS) \
21216 $(POSTSTAGE1_HOST_EXPORTS) \
21217 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
21218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21219 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21220 case $(srcdir) in \
21221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21222 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21224 esac; \
21225 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21226 libsrcdir="$$s/libcpp"; \
21227 $(SHELL) $${libsrcdir}/configure \
21228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21229 --target=${target_alias} $${srcdiroption} \
21230 --with-build-libsubdir=$(HOST_SUBDIR) \
21231 @stage2_werror_flag@
21232 @endif libcpp-bootstrap
21238 .PHONY: all-libcpp maybe-all-libcpp
21239 maybe-all-libcpp:
21240 @if gcc-bootstrap
21241 all-libcpp: stage_current
21242 @endif gcc-bootstrap
21243 @if libcpp
21244 TARGET-libcpp=all
21245 maybe-all-libcpp: all-libcpp
21246 all-libcpp: configure-libcpp
21247 @r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21249 $(HOST_EXPORTS) \
21250 (cd $(HOST_SUBDIR)/libcpp && \
21251 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
21252 @endif libcpp
21256 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
21257 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
21258 maybe-all-stage1-libcpp:
21259 maybe-clean-stage1-libcpp:
21260 @if libcpp-bootstrap
21261 maybe-all-stage1-libcpp: all-stage1-libcpp
21262 all-stage1: all-stage1-libcpp
21263 TARGET-stage1-libcpp = $(TARGET-libcpp)
21264 all-stage1-libcpp: configure-stage1-libcpp
21265 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21266 @r=`${PWD_COMMAND}`; export r; \
21267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21268 $(HOST_EXPORTS) \
21269 cd $(HOST_SUBDIR)/libcpp && \
21270 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
21271 $(TARGET-stage1-libcpp)
21273 maybe-clean-stage1-libcpp: clean-stage1-libcpp
21274 clean-stage1: clean-stage1-libcpp
21275 clean-stage1-libcpp:
21276 @if [ $(current_stage) = stage1 ]; then \
21277 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21278 else \
21279 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
21280 $(MAKE) stage1-start; \
21281 fi; \
21282 cd $(HOST_SUBDIR)/libcpp && \
21283 $(MAKE) $(FLAGS_TO_PASS) \
21284 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
21285 @endif libcpp-bootstrap
21288 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
21289 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
21290 maybe-all-stage2-libcpp:
21291 maybe-clean-stage2-libcpp:
21292 @if libcpp-bootstrap
21293 maybe-all-stage2-libcpp: all-stage2-libcpp
21294 all-stage2: all-stage2-libcpp
21295 TARGET-stage2-libcpp = $(TARGET-libcpp)
21296 all-stage2-libcpp: configure-stage2-libcpp
21297 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21298 @r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21300 $(HOST_EXPORTS) \
21301 $(POSTSTAGE1_HOST_EXPORTS) \
21302 cd $(HOST_SUBDIR)/libcpp && \
21303 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21304 $(TARGET-stage2-libcpp)
21306 maybe-clean-stage2-libcpp: clean-stage2-libcpp
21307 clean-stage2: clean-stage2-libcpp
21308 clean-stage2-libcpp:
21309 @if [ $(current_stage) = stage2 ]; then \
21310 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21311 else \
21312 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
21313 $(MAKE) stage2-start; \
21314 fi; \
21315 cd $(HOST_SUBDIR)/libcpp && \
21316 $(MAKE) $(FLAGS_TO_PASS) \
21317 $(POSTSTAGE1_FLAGS_TO_PASS) \
21318 clean
21319 @endif libcpp-bootstrap
21322 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
21323 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
21324 maybe-all-stage3-libcpp:
21325 maybe-clean-stage3-libcpp:
21326 @if libcpp-bootstrap
21327 maybe-all-stage3-libcpp: all-stage3-libcpp
21328 all-stage3: all-stage3-libcpp
21329 TARGET-stage3-libcpp = $(TARGET-libcpp)
21330 all-stage3-libcpp: configure-stage3-libcpp
21331 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21332 @r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 $(HOST_EXPORTS) \
21335 $(POSTSTAGE1_HOST_EXPORTS) \
21336 cd $(HOST_SUBDIR)/libcpp && \
21337 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21338 $(TARGET-stage3-libcpp)
21340 maybe-clean-stage3-libcpp: clean-stage3-libcpp
21341 clean-stage3: clean-stage3-libcpp
21342 clean-stage3-libcpp:
21343 @if [ $(current_stage) = stage3 ]; then \
21344 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21345 else \
21346 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
21347 $(MAKE) stage3-start; \
21348 fi; \
21349 cd $(HOST_SUBDIR)/libcpp && \
21350 $(MAKE) $(FLAGS_TO_PASS) \
21351 $(POSTSTAGE1_FLAGS_TO_PASS) \
21352 clean
21353 @endif libcpp-bootstrap
21356 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
21357 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
21358 maybe-all-stage4-libcpp:
21359 maybe-clean-stage4-libcpp:
21360 @if libcpp-bootstrap
21361 maybe-all-stage4-libcpp: all-stage4-libcpp
21362 all-stage4: all-stage4-libcpp
21363 TARGET-stage4-libcpp = $(TARGET-libcpp)
21364 all-stage4-libcpp: configure-stage4-libcpp
21365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21366 @r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 $(HOST_EXPORTS) \
21369 $(POSTSTAGE1_HOST_EXPORTS) \
21370 cd $(HOST_SUBDIR)/libcpp && \
21371 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21372 $(TARGET-stage4-libcpp)
21374 maybe-clean-stage4-libcpp: clean-stage4-libcpp
21375 clean-stage4: clean-stage4-libcpp
21376 clean-stage4-libcpp:
21377 @if [ $(current_stage) = stage4 ]; then \
21378 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21379 else \
21380 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
21381 $(MAKE) stage4-start; \
21382 fi; \
21383 cd $(HOST_SUBDIR)/libcpp && \
21384 $(MAKE) $(FLAGS_TO_PASS) \
21385 $(POSTSTAGE1_FLAGS_TO_PASS) \
21386 clean
21387 @endif libcpp-bootstrap
21390 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
21391 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
21392 maybe-all-stageprofile-libcpp:
21393 maybe-clean-stageprofile-libcpp:
21394 @if libcpp-bootstrap
21395 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
21396 all-stageprofile: all-stageprofile-libcpp
21397 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
21398 all-stageprofile-libcpp: configure-stageprofile-libcpp
21399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21400 @r=`${PWD_COMMAND}`; export r; \
21401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21402 $(HOST_EXPORTS) \
21403 $(POSTSTAGE1_HOST_EXPORTS) \
21404 cd $(HOST_SUBDIR)/libcpp && \
21405 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
21406 $(TARGET-stageprofile-libcpp)
21408 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
21409 clean-stageprofile: clean-stageprofile-libcpp
21410 clean-stageprofile-libcpp:
21411 @if [ $(current_stage) = stageprofile ]; then \
21412 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21413 else \
21414 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
21415 $(MAKE) stageprofile-start; \
21416 fi; \
21417 cd $(HOST_SUBDIR)/libcpp && \
21418 $(MAKE) $(FLAGS_TO_PASS) \
21419 $(POSTSTAGE1_FLAGS_TO_PASS) \
21420 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
21421 @endif libcpp-bootstrap
21424 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
21425 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
21426 maybe-all-stagefeedback-libcpp:
21427 maybe-clean-stagefeedback-libcpp:
21428 @if libcpp-bootstrap
21429 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
21430 all-stagefeedback: all-stagefeedback-libcpp
21431 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
21432 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
21433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21434 @r=`${PWD_COMMAND}`; export r; \
21435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21436 $(HOST_EXPORTS) \
21437 $(POSTSTAGE1_HOST_EXPORTS) \
21438 cd $(HOST_SUBDIR)/libcpp && \
21439 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
21440 $(TARGET-stagefeedback-libcpp)
21442 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
21443 clean-stagefeedback: clean-stagefeedback-libcpp
21444 clean-stagefeedback-libcpp:
21445 @if [ $(current_stage) = stagefeedback ]; then \
21446 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21447 else \
21448 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
21449 $(MAKE) stagefeedback-start; \
21450 fi; \
21451 cd $(HOST_SUBDIR)/libcpp && \
21452 $(MAKE) $(FLAGS_TO_PASS) \
21453 $(POSTSTAGE1_FLAGS_TO_PASS) \
21454 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
21455 @endif libcpp-bootstrap
21461 .PHONY: check-libcpp maybe-check-libcpp
21462 maybe-check-libcpp:
21463 @if libcpp
21464 maybe-check-libcpp: check-libcpp
21466 check-libcpp:
21467 @: $(MAKE); $(unstage)
21468 @r=`${PWD_COMMAND}`; export r; \
21469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21470 $(HOST_EXPORTS) \
21471 (cd $(HOST_SUBDIR)/libcpp && \
21472 $(MAKE) $(FLAGS_TO_PASS) check)
21474 @endif libcpp
21476 .PHONY: install-libcpp maybe-install-libcpp
21477 maybe-install-libcpp:
21478 @if libcpp
21479 maybe-install-libcpp: install-libcpp
21481 install-libcpp: installdirs
21482 @: $(MAKE); $(unstage)
21483 @r=`${PWD_COMMAND}`; export r; \
21484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21485 $(HOST_EXPORTS) \
21486 (cd $(HOST_SUBDIR)/libcpp && \
21487 $(MAKE) $(FLAGS_TO_PASS) install)
21489 @endif libcpp
21491 # Other targets (info, dvi, pdf, etc.)
21493 .PHONY: maybe-info-libcpp info-libcpp
21494 maybe-info-libcpp:
21495 @if libcpp
21496 maybe-info-libcpp: info-libcpp
21498 info-libcpp: \
21499 configure-libcpp
21500 @[ -f ./libcpp/Makefile ] || exit 0; \
21501 r=`${PWD_COMMAND}`; export r; \
21502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21503 $(HOST_EXPORTS) \
21504 for flag in $(EXTRA_HOST_FLAGS) ; do \
21505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21506 done; \
21507 echo "Doing info in libcpp" ; \
21508 (cd $(HOST_SUBDIR)/libcpp && \
21509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21511 "RANLIB=$${RANLIB}" \
21512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21513 info) \
21514 || exit 1
21516 @endif libcpp
21518 .PHONY: maybe-dvi-libcpp dvi-libcpp
21519 maybe-dvi-libcpp:
21520 @if libcpp
21521 maybe-dvi-libcpp: dvi-libcpp
21523 dvi-libcpp: \
21524 configure-libcpp
21525 @[ -f ./libcpp/Makefile ] || exit 0; \
21526 r=`${PWD_COMMAND}`; export r; \
21527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21528 $(HOST_EXPORTS) \
21529 for flag in $(EXTRA_HOST_FLAGS) ; do \
21530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21531 done; \
21532 echo "Doing dvi in libcpp" ; \
21533 (cd $(HOST_SUBDIR)/libcpp && \
21534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21536 "RANLIB=$${RANLIB}" \
21537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21538 dvi) \
21539 || exit 1
21541 @endif libcpp
21543 .PHONY: maybe-pdf-libcpp pdf-libcpp
21544 maybe-pdf-libcpp:
21545 @if libcpp
21546 maybe-pdf-libcpp: pdf-libcpp
21548 pdf-libcpp: \
21549 configure-libcpp
21550 @[ -f ./libcpp/Makefile ] || exit 0; \
21551 r=`${PWD_COMMAND}`; export r; \
21552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21553 $(HOST_EXPORTS) \
21554 for flag in $(EXTRA_HOST_FLAGS) ; do \
21555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21556 done; \
21557 echo "Doing pdf in libcpp" ; \
21558 (cd $(HOST_SUBDIR)/libcpp && \
21559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21561 "RANLIB=$${RANLIB}" \
21562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21563 pdf) \
21564 || exit 1
21566 @endif libcpp
21568 .PHONY: maybe-html-libcpp html-libcpp
21569 maybe-html-libcpp:
21570 @if libcpp
21571 maybe-html-libcpp: html-libcpp
21573 html-libcpp: \
21574 configure-libcpp
21575 @[ -f ./libcpp/Makefile ] || exit 0; \
21576 r=`${PWD_COMMAND}`; export r; \
21577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21578 $(HOST_EXPORTS) \
21579 for flag in $(EXTRA_HOST_FLAGS) ; do \
21580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21581 done; \
21582 echo "Doing html in libcpp" ; \
21583 (cd $(HOST_SUBDIR)/libcpp && \
21584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21586 "RANLIB=$${RANLIB}" \
21587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21588 html) \
21589 || exit 1
21591 @endif libcpp
21593 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21594 maybe-TAGS-libcpp:
21595 @if libcpp
21596 maybe-TAGS-libcpp: TAGS-libcpp
21598 TAGS-libcpp: \
21599 configure-libcpp
21600 @[ -f ./libcpp/Makefile ] || exit 0; \
21601 r=`${PWD_COMMAND}`; export r; \
21602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21603 $(HOST_EXPORTS) \
21604 for flag in $(EXTRA_HOST_FLAGS) ; do \
21605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21606 done; \
21607 echo "Doing TAGS in libcpp" ; \
21608 (cd $(HOST_SUBDIR)/libcpp && \
21609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21611 "RANLIB=$${RANLIB}" \
21612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21613 TAGS) \
21614 || exit 1
21616 @endif libcpp
21618 .PHONY: maybe-install-info-libcpp install-info-libcpp
21619 maybe-install-info-libcpp:
21620 @if libcpp
21621 maybe-install-info-libcpp: install-info-libcpp
21623 install-info-libcpp: \
21624 configure-libcpp \
21625 info-libcpp
21626 @[ -f ./libcpp/Makefile ] || exit 0; \
21627 r=`${PWD_COMMAND}`; export r; \
21628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21629 $(HOST_EXPORTS) \
21630 for flag in $(EXTRA_HOST_FLAGS) ; do \
21631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21632 done; \
21633 echo "Doing install-info in libcpp" ; \
21634 (cd $(HOST_SUBDIR)/libcpp && \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21637 "RANLIB=$${RANLIB}" \
21638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21639 install-info) \
21640 || exit 1
21642 @endif libcpp
21644 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21645 maybe-install-pdf-libcpp:
21646 @if libcpp
21647 maybe-install-pdf-libcpp: install-pdf-libcpp
21649 install-pdf-libcpp: \
21650 configure-libcpp \
21651 pdf-libcpp
21652 @[ -f ./libcpp/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) ; do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing install-pdf in libcpp" ; \
21660 (cd $(HOST_SUBDIR)/libcpp && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21665 install-pdf) \
21666 || exit 1
21668 @endif libcpp
21670 .PHONY: maybe-install-html-libcpp install-html-libcpp
21671 maybe-install-html-libcpp:
21672 @if libcpp
21673 maybe-install-html-libcpp: install-html-libcpp
21675 install-html-libcpp: \
21676 configure-libcpp \
21677 html-libcpp
21678 @[ -f ./libcpp/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(HOST_EXPORTS) \
21682 for flag in $(EXTRA_HOST_FLAGS) ; do \
21683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21684 done; \
21685 echo "Doing install-html in libcpp" ; \
21686 (cd $(HOST_SUBDIR)/libcpp && \
21687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21689 "RANLIB=$${RANLIB}" \
21690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21691 install-html) \
21692 || exit 1
21694 @endif libcpp
21696 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21697 maybe-installcheck-libcpp:
21698 @if libcpp
21699 maybe-installcheck-libcpp: installcheck-libcpp
21701 installcheck-libcpp: \
21702 configure-libcpp
21703 @[ -f ./libcpp/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(HOST_EXPORTS) \
21707 for flag in $(EXTRA_HOST_FLAGS) ; do \
21708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21709 done; \
21710 echo "Doing installcheck in libcpp" ; \
21711 (cd $(HOST_SUBDIR)/libcpp && \
21712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21714 "RANLIB=$${RANLIB}" \
21715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21716 installcheck) \
21717 || exit 1
21719 @endif libcpp
21721 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21722 maybe-mostlyclean-libcpp:
21723 @if libcpp
21724 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21726 mostlyclean-libcpp:
21727 @[ -f ./libcpp/Makefile ] || exit 0; \
21728 r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21730 $(HOST_EXPORTS) \
21731 for flag in $(EXTRA_HOST_FLAGS) ; do \
21732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21733 done; \
21734 echo "Doing mostlyclean in libcpp" ; \
21735 (cd $(HOST_SUBDIR)/libcpp && \
21736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738 "RANLIB=$${RANLIB}" \
21739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21740 mostlyclean) \
21741 || exit 1
21743 @endif libcpp
21745 .PHONY: maybe-clean-libcpp clean-libcpp
21746 maybe-clean-libcpp:
21747 @if libcpp
21748 maybe-clean-libcpp: clean-libcpp
21750 clean-libcpp:
21751 @[ -f ./libcpp/Makefile ] || exit 0; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 for flag in $(EXTRA_HOST_FLAGS) ; do \
21756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21757 done; \
21758 echo "Doing clean in libcpp" ; \
21759 (cd $(HOST_SUBDIR)/libcpp && \
21760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21762 "RANLIB=$${RANLIB}" \
21763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21764 clean) \
21765 || exit 1
21767 @endif libcpp
21769 .PHONY: maybe-distclean-libcpp distclean-libcpp
21770 maybe-distclean-libcpp:
21771 @if libcpp
21772 maybe-distclean-libcpp: distclean-libcpp
21774 distclean-libcpp:
21775 @[ -f ./libcpp/Makefile ] || exit 0; \
21776 r=`${PWD_COMMAND}`; export r; \
21777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778 $(HOST_EXPORTS) \
21779 for flag in $(EXTRA_HOST_FLAGS) ; do \
21780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21781 done; \
21782 echo "Doing distclean in libcpp" ; \
21783 (cd $(HOST_SUBDIR)/libcpp && \
21784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21786 "RANLIB=$${RANLIB}" \
21787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21788 distclean) \
21789 || exit 1
21791 @endif libcpp
21793 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21794 maybe-maintainer-clean-libcpp:
21795 @if libcpp
21796 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21798 maintainer-clean-libcpp:
21799 @[ -f ./libcpp/Makefile ] || exit 0; \
21800 r=`${PWD_COMMAND}`; export r; \
21801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21802 $(HOST_EXPORTS) \
21803 for flag in $(EXTRA_HOST_FLAGS) ; do \
21804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21805 done; \
21806 echo "Doing maintainer-clean in libcpp" ; \
21807 (cd $(HOST_SUBDIR)/libcpp && \
21808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21810 "RANLIB=$${RANLIB}" \
21811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21812 maintainer-clean) \
21813 || exit 1
21815 @endif libcpp
21819 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21820 maybe-configure-libdecnumber:
21821 @if gcc-bootstrap
21822 configure-libdecnumber: stage_current
21823 @endif gcc-bootstrap
21824 @if libdecnumber
21825 maybe-configure-libdecnumber: configure-libdecnumber
21826 configure-libdecnumber:
21827 @r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21831 $(HOST_EXPORTS) \
21832 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21833 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21834 case $(srcdir) in \
21835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21836 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21838 esac; \
21839 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21840 libsrcdir="$$s/libdecnumber"; \
21841 $(SHELL) $${libsrcdir}/configure \
21842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21843 --target=${target_alias} $${srcdiroption} \
21844 || exit 1
21845 @endif libdecnumber
21849 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21850 maybe-configure-stage1-libdecnumber:
21851 @if libdecnumber-bootstrap
21852 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21853 configure-stage1-libdecnumber:
21854 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21856 @r=`${PWD_COMMAND}`; export r; \
21857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21858 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21859 $(HOST_EXPORTS) \
21860 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21862 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21863 case $(srcdir) in \
21864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21865 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21867 esac; \
21868 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21869 libsrcdir="$$s/libdecnumber"; \
21870 $(SHELL) $${libsrcdir}/configure \
21871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21872 --target=${target_alias} $${srcdiroption} \
21874 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
21875 @endif libdecnumber-bootstrap
21877 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21878 maybe-configure-stage2-libdecnumber:
21879 @if libdecnumber-bootstrap
21880 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21881 configure-stage2-libdecnumber:
21882 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21883 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21884 @r=`${PWD_COMMAND}`; export r; \
21885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21886 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21887 $(HOST_EXPORTS) \
21888 $(POSTSTAGE1_HOST_EXPORTS) \
21889 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21891 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21892 case $(srcdir) in \
21893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21894 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21896 esac; \
21897 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21898 libsrcdir="$$s/libdecnumber"; \
21899 $(SHELL) $${libsrcdir}/configure \
21900 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21901 --target=${target_alias} $${srcdiroption} \
21902 --with-build-libsubdir=$(HOST_SUBDIR) \
21903 @stage2_werror_flag@
21904 @endif libdecnumber-bootstrap
21906 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21907 maybe-configure-stage3-libdecnumber:
21908 @if libdecnumber-bootstrap
21909 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21910 configure-stage3-libdecnumber:
21911 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21913 @r=`${PWD_COMMAND}`; export r; \
21914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21915 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21916 $(HOST_EXPORTS) \
21917 $(POSTSTAGE1_HOST_EXPORTS) \
21918 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21920 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21921 case $(srcdir) in \
21922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21923 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21925 esac; \
21926 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21927 libsrcdir="$$s/libdecnumber"; \
21928 $(SHELL) $${libsrcdir}/configure \
21929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21930 --target=${target_alias} $${srcdiroption} \
21931 --with-build-libsubdir=$(HOST_SUBDIR) \
21932 @stage2_werror_flag@
21933 @endif libdecnumber-bootstrap
21935 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21936 maybe-configure-stage4-libdecnumber:
21937 @if libdecnumber-bootstrap
21938 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21939 configure-stage4-libdecnumber:
21940 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21941 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21942 @r=`${PWD_COMMAND}`; export r; \
21943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21944 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21945 $(HOST_EXPORTS) \
21946 $(POSTSTAGE1_HOST_EXPORTS) \
21947 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21949 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21950 case $(srcdir) in \
21951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21952 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21954 esac; \
21955 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21956 libsrcdir="$$s/libdecnumber"; \
21957 $(SHELL) $${libsrcdir}/configure \
21958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21959 --target=${target_alias} $${srcdiroption} \
21960 --with-build-libsubdir=$(HOST_SUBDIR) \
21961 @stage2_werror_flag@
21962 @endif libdecnumber-bootstrap
21964 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21965 maybe-configure-stageprofile-libdecnumber:
21966 @if libdecnumber-bootstrap
21967 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21968 configure-stageprofile-libdecnumber:
21969 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21971 @r=`${PWD_COMMAND}`; export r; \
21972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21973 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21974 $(HOST_EXPORTS) \
21975 $(POSTSTAGE1_HOST_EXPORTS) \
21976 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21978 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21979 case $(srcdir) in \
21980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21981 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21983 esac; \
21984 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21985 libsrcdir="$$s/libdecnumber"; \
21986 $(SHELL) $${libsrcdir}/configure \
21987 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21988 --target=${target_alias} $${srcdiroption} \
21989 --with-build-libsubdir=$(HOST_SUBDIR) \
21990 @stage2_werror_flag@
21991 @endif libdecnumber-bootstrap
21993 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21994 maybe-configure-stagefeedback-libdecnumber:
21995 @if libdecnumber-bootstrap
21996 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21997 configure-stagefeedback-libdecnumber:
21998 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
22000 @r=`${PWD_COMMAND}`; export r; \
22001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22002 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
22003 $(HOST_EXPORTS) \
22004 $(POSTSTAGE1_HOST_EXPORTS) \
22005 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
22006 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
22007 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
22008 case $(srcdir) in \
22009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22010 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
22011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22012 esac; \
22013 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
22014 libsrcdir="$$s/libdecnumber"; \
22015 $(SHELL) $${libsrcdir}/configure \
22016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22017 --target=${target_alias} $${srcdiroption} \
22018 --with-build-libsubdir=$(HOST_SUBDIR) \
22019 @stage2_werror_flag@
22020 @endif libdecnumber-bootstrap
22026 .PHONY: all-libdecnumber maybe-all-libdecnumber
22027 maybe-all-libdecnumber:
22028 @if gcc-bootstrap
22029 all-libdecnumber: stage_current
22030 @endif gcc-bootstrap
22031 @if libdecnumber
22032 TARGET-libdecnumber=all
22033 maybe-all-libdecnumber: all-libdecnumber
22034 all-libdecnumber: configure-libdecnumber
22035 @r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037 $(HOST_EXPORTS) \
22038 (cd $(HOST_SUBDIR)/libdecnumber && \
22039 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
22040 @endif libdecnumber
22044 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
22045 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
22046 maybe-all-stage1-libdecnumber:
22047 maybe-clean-stage1-libdecnumber:
22048 @if libdecnumber-bootstrap
22049 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
22050 all-stage1: all-stage1-libdecnumber
22051 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
22052 all-stage1-libdecnumber: configure-stage1-libdecnumber
22053 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22054 @r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(HOST_EXPORTS) \
22057 cd $(HOST_SUBDIR)/libdecnumber && \
22058 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
22059 $(TARGET-stage1-libdecnumber)
22061 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
22062 clean-stage1: clean-stage1-libdecnumber
22063 clean-stage1-libdecnumber:
22064 @if [ $(current_stage) = stage1 ]; then \
22065 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22066 else \
22067 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
22068 $(MAKE) stage1-start; \
22069 fi; \
22070 cd $(HOST_SUBDIR)/libdecnumber && \
22071 $(MAKE) $(FLAGS_TO_PASS) \
22072 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
22073 @endif libdecnumber-bootstrap
22076 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
22077 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
22078 maybe-all-stage2-libdecnumber:
22079 maybe-clean-stage2-libdecnumber:
22080 @if libdecnumber-bootstrap
22081 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
22082 all-stage2: all-stage2-libdecnumber
22083 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
22084 all-stage2-libdecnumber: configure-stage2-libdecnumber
22085 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22086 @r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088 $(HOST_EXPORTS) \
22089 $(POSTSTAGE1_HOST_EXPORTS) \
22090 cd $(HOST_SUBDIR)/libdecnumber && \
22091 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22092 $(TARGET-stage2-libdecnumber)
22094 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
22095 clean-stage2: clean-stage2-libdecnumber
22096 clean-stage2-libdecnumber:
22097 @if [ $(current_stage) = stage2 ]; then \
22098 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22099 else \
22100 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
22101 $(MAKE) stage2-start; \
22102 fi; \
22103 cd $(HOST_SUBDIR)/libdecnumber && \
22104 $(MAKE) $(FLAGS_TO_PASS) \
22105 $(POSTSTAGE1_FLAGS_TO_PASS) \
22106 clean
22107 @endif libdecnumber-bootstrap
22110 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
22111 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
22112 maybe-all-stage3-libdecnumber:
22113 maybe-clean-stage3-libdecnumber:
22114 @if libdecnumber-bootstrap
22115 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
22116 all-stage3: all-stage3-libdecnumber
22117 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
22118 all-stage3-libdecnumber: configure-stage3-libdecnumber
22119 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22120 @r=`${PWD_COMMAND}`; export r; \
22121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22122 $(HOST_EXPORTS) \
22123 $(POSTSTAGE1_HOST_EXPORTS) \
22124 cd $(HOST_SUBDIR)/libdecnumber && \
22125 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22126 $(TARGET-stage3-libdecnumber)
22128 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
22129 clean-stage3: clean-stage3-libdecnumber
22130 clean-stage3-libdecnumber:
22131 @if [ $(current_stage) = stage3 ]; then \
22132 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22133 else \
22134 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
22135 $(MAKE) stage3-start; \
22136 fi; \
22137 cd $(HOST_SUBDIR)/libdecnumber && \
22138 $(MAKE) $(FLAGS_TO_PASS) \
22139 $(POSTSTAGE1_FLAGS_TO_PASS) \
22140 clean
22141 @endif libdecnumber-bootstrap
22144 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
22145 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
22146 maybe-all-stage4-libdecnumber:
22147 maybe-clean-stage4-libdecnumber:
22148 @if libdecnumber-bootstrap
22149 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
22150 all-stage4: all-stage4-libdecnumber
22151 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
22152 all-stage4-libdecnumber: configure-stage4-libdecnumber
22153 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22154 @r=`${PWD_COMMAND}`; export r; \
22155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22156 $(HOST_EXPORTS) \
22157 $(POSTSTAGE1_HOST_EXPORTS) \
22158 cd $(HOST_SUBDIR)/libdecnumber && \
22159 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22160 $(TARGET-stage4-libdecnumber)
22162 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
22163 clean-stage4: clean-stage4-libdecnumber
22164 clean-stage4-libdecnumber:
22165 @if [ $(current_stage) = stage4 ]; then \
22166 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22167 else \
22168 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
22169 $(MAKE) stage4-start; \
22170 fi; \
22171 cd $(HOST_SUBDIR)/libdecnumber && \
22172 $(MAKE) $(FLAGS_TO_PASS) \
22173 $(POSTSTAGE1_FLAGS_TO_PASS) \
22174 clean
22175 @endif libdecnumber-bootstrap
22178 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
22179 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
22180 maybe-all-stageprofile-libdecnumber:
22181 maybe-clean-stageprofile-libdecnumber:
22182 @if libdecnumber-bootstrap
22183 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
22184 all-stageprofile: all-stageprofile-libdecnumber
22185 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
22186 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
22187 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22188 @r=`${PWD_COMMAND}`; export r; \
22189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22190 $(HOST_EXPORTS) \
22191 $(POSTSTAGE1_HOST_EXPORTS) \
22192 cd $(HOST_SUBDIR)/libdecnumber && \
22193 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
22194 $(TARGET-stageprofile-libdecnumber)
22196 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
22197 clean-stageprofile: clean-stageprofile-libdecnumber
22198 clean-stageprofile-libdecnumber:
22199 @if [ $(current_stage) = stageprofile ]; then \
22200 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22201 else \
22202 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
22203 $(MAKE) stageprofile-start; \
22204 fi; \
22205 cd $(HOST_SUBDIR)/libdecnumber && \
22206 $(MAKE) $(FLAGS_TO_PASS) \
22207 $(POSTSTAGE1_FLAGS_TO_PASS) \
22208 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
22209 @endif libdecnumber-bootstrap
22212 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
22213 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
22214 maybe-all-stagefeedback-libdecnumber:
22215 maybe-clean-stagefeedback-libdecnumber:
22216 @if libdecnumber-bootstrap
22217 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
22218 all-stagefeedback: all-stagefeedback-libdecnumber
22219 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
22220 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
22221 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22222 @r=`${PWD_COMMAND}`; export r; \
22223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22224 $(HOST_EXPORTS) \
22225 $(POSTSTAGE1_HOST_EXPORTS) \
22226 cd $(HOST_SUBDIR)/libdecnumber && \
22227 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
22228 $(TARGET-stagefeedback-libdecnumber)
22230 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
22231 clean-stagefeedback: clean-stagefeedback-libdecnumber
22232 clean-stagefeedback-libdecnumber:
22233 @if [ $(current_stage) = stagefeedback ]; then \
22234 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22235 else \
22236 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
22237 $(MAKE) stagefeedback-start; \
22238 fi; \
22239 cd $(HOST_SUBDIR)/libdecnumber && \
22240 $(MAKE) $(FLAGS_TO_PASS) \
22241 $(POSTSTAGE1_FLAGS_TO_PASS) \
22242 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
22243 @endif libdecnumber-bootstrap
22249 .PHONY: check-libdecnumber maybe-check-libdecnumber
22250 maybe-check-libdecnumber:
22251 @if libdecnumber
22252 maybe-check-libdecnumber: check-libdecnumber
22254 check-libdecnumber:
22255 @: $(MAKE); $(unstage)
22256 @r=`${PWD_COMMAND}`; export r; \
22257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22258 $(HOST_EXPORTS) \
22259 (cd $(HOST_SUBDIR)/libdecnumber && \
22260 $(MAKE) $(FLAGS_TO_PASS) check)
22262 @endif libdecnumber
22264 .PHONY: install-libdecnumber maybe-install-libdecnumber
22265 maybe-install-libdecnumber:
22266 @if libdecnumber
22267 maybe-install-libdecnumber: install-libdecnumber
22269 install-libdecnumber: installdirs
22270 @: $(MAKE); $(unstage)
22271 @r=`${PWD_COMMAND}`; export r; \
22272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22273 $(HOST_EXPORTS) \
22274 (cd $(HOST_SUBDIR)/libdecnumber && \
22275 $(MAKE) $(FLAGS_TO_PASS) install)
22277 @endif libdecnumber
22279 # Other targets (info, dvi, pdf, etc.)
22281 .PHONY: maybe-info-libdecnumber info-libdecnumber
22282 maybe-info-libdecnumber:
22283 @if libdecnumber
22284 maybe-info-libdecnumber: info-libdecnumber
22286 info-libdecnumber: \
22287 configure-libdecnumber
22288 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22289 r=`${PWD_COMMAND}`; export r; \
22290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22291 $(HOST_EXPORTS) \
22292 for flag in $(EXTRA_HOST_FLAGS) ; do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294 done; \
22295 echo "Doing info in libdecnumber" ; \
22296 (cd $(HOST_SUBDIR)/libdecnumber && \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22299 "RANLIB=$${RANLIB}" \
22300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22301 info) \
22302 || exit 1
22304 @endif libdecnumber
22306 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
22307 maybe-dvi-libdecnumber:
22308 @if libdecnumber
22309 maybe-dvi-libdecnumber: dvi-libdecnumber
22311 dvi-libdecnumber: \
22312 configure-libdecnumber
22313 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22314 r=`${PWD_COMMAND}`; export r; \
22315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22316 $(HOST_EXPORTS) \
22317 for flag in $(EXTRA_HOST_FLAGS) ; do \
22318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22319 done; \
22320 echo "Doing dvi in libdecnumber" ; \
22321 (cd $(HOST_SUBDIR)/libdecnumber && \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22326 dvi) \
22327 || exit 1
22329 @endif libdecnumber
22331 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
22332 maybe-pdf-libdecnumber:
22333 @if libdecnumber
22334 maybe-pdf-libdecnumber: pdf-libdecnumber
22336 pdf-libdecnumber: \
22337 configure-libdecnumber
22338 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22339 r=`${PWD_COMMAND}`; export r; \
22340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 $(HOST_EXPORTS) \
22342 for flag in $(EXTRA_HOST_FLAGS) ; do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22344 done; \
22345 echo "Doing pdf in libdecnumber" ; \
22346 (cd $(HOST_SUBDIR)/libdecnumber && \
22347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22349 "RANLIB=$${RANLIB}" \
22350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22351 pdf) \
22352 || exit 1
22354 @endif libdecnumber
22356 .PHONY: maybe-html-libdecnumber html-libdecnumber
22357 maybe-html-libdecnumber:
22358 @if libdecnumber
22359 maybe-html-libdecnumber: html-libdecnumber
22361 html-libdecnumber: \
22362 configure-libdecnumber
22363 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22364 r=`${PWD_COMMAND}`; export r; \
22365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22366 $(HOST_EXPORTS) \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22369 done; \
22370 echo "Doing html in libdecnumber" ; \
22371 (cd $(HOST_SUBDIR)/libdecnumber && \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22376 html) \
22377 || exit 1
22379 @endif libdecnumber
22381 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
22382 maybe-TAGS-libdecnumber:
22383 @if libdecnumber
22384 maybe-TAGS-libdecnumber: TAGS-libdecnumber
22386 TAGS-libdecnumber: \
22387 configure-libdecnumber
22388 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22389 r=`${PWD_COMMAND}`; export r; \
22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22391 $(HOST_EXPORTS) \
22392 for flag in $(EXTRA_HOST_FLAGS) ; do \
22393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22394 done; \
22395 echo "Doing TAGS in libdecnumber" ; \
22396 (cd $(HOST_SUBDIR)/libdecnumber && \
22397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22399 "RANLIB=$${RANLIB}" \
22400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22401 TAGS) \
22402 || exit 1
22404 @endif libdecnumber
22406 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
22407 maybe-install-info-libdecnumber:
22408 @if libdecnumber
22409 maybe-install-info-libdecnumber: install-info-libdecnumber
22411 install-info-libdecnumber: \
22412 configure-libdecnumber \
22413 info-libdecnumber
22414 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(HOST_EXPORTS) \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22420 done; \
22421 echo "Doing install-info in libdecnumber" ; \
22422 (cd $(HOST_SUBDIR)/libdecnumber && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22427 install-info) \
22428 || exit 1
22430 @endif libdecnumber
22432 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
22433 maybe-install-pdf-libdecnumber:
22434 @if libdecnumber
22435 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
22437 install-pdf-libdecnumber: \
22438 configure-libdecnumber \
22439 pdf-libdecnumber
22440 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22441 r=`${PWD_COMMAND}`; export r; \
22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 $(HOST_EXPORTS) \
22444 for flag in $(EXTRA_HOST_FLAGS) ; do \
22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 done; \
22447 echo "Doing install-pdf in libdecnumber" ; \
22448 (cd $(HOST_SUBDIR)/libdecnumber && \
22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22451 "RANLIB=$${RANLIB}" \
22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22453 install-pdf) \
22454 || exit 1
22456 @endif libdecnumber
22458 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
22459 maybe-install-html-libdecnumber:
22460 @if libdecnumber
22461 maybe-install-html-libdecnumber: install-html-libdecnumber
22463 install-html-libdecnumber: \
22464 configure-libdecnumber \
22465 html-libdecnumber
22466 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 $(HOST_EXPORTS) \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 done; \
22473 echo "Doing install-html in libdecnumber" ; \
22474 (cd $(HOST_SUBDIR)/libdecnumber && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22479 install-html) \
22480 || exit 1
22482 @endif libdecnumber
22484 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22485 maybe-installcheck-libdecnumber:
22486 @if libdecnumber
22487 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22489 installcheck-libdecnumber: \
22490 configure-libdecnumber
22491 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22492 r=`${PWD_COMMAND}`; export r; \
22493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22494 $(HOST_EXPORTS) \
22495 for flag in $(EXTRA_HOST_FLAGS) ; do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22497 done; \
22498 echo "Doing installcheck in libdecnumber" ; \
22499 (cd $(HOST_SUBDIR)/libdecnumber && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22504 installcheck) \
22505 || exit 1
22507 @endif libdecnumber
22509 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22510 maybe-mostlyclean-libdecnumber:
22511 @if libdecnumber
22512 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22514 mostlyclean-libdecnumber:
22515 @[ -f ./libdecnumber/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 mostlyclean in libdecnumber" ; \
22523 (cd $(HOST_SUBDIR)/libdecnumber && \
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}" \
22528 mostlyclean) \
22529 || exit 1
22531 @endif libdecnumber
22533 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22534 maybe-clean-libdecnumber:
22535 @if libdecnumber
22536 maybe-clean-libdecnumber: clean-libdecnumber
22538 clean-libdecnumber:
22539 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22540 r=`${PWD_COMMAND}`; export r; \
22541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22542 $(HOST_EXPORTS) \
22543 for flag in $(EXTRA_HOST_FLAGS) ; do \
22544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22545 done; \
22546 echo "Doing clean in libdecnumber" ; \
22547 (cd $(HOST_SUBDIR)/libdecnumber && \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22550 "RANLIB=$${RANLIB}" \
22551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22552 clean) \
22553 || exit 1
22555 @endif libdecnumber
22557 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22558 maybe-distclean-libdecnumber:
22559 @if libdecnumber
22560 maybe-distclean-libdecnumber: distclean-libdecnumber
22562 distclean-libdecnumber:
22563 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22564 r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22566 $(HOST_EXPORTS) \
22567 for flag in $(EXTRA_HOST_FLAGS) ; do \
22568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22569 done; \
22570 echo "Doing distclean in libdecnumber" ; \
22571 (cd $(HOST_SUBDIR)/libdecnumber && \
22572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22574 "RANLIB=$${RANLIB}" \
22575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22576 distclean) \
22577 || exit 1
22579 @endif libdecnumber
22581 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22582 maybe-maintainer-clean-libdecnumber:
22583 @if libdecnumber
22584 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22586 maintainer-clean-libdecnumber:
22587 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22588 r=`${PWD_COMMAND}`; export r; \
22589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22590 $(HOST_EXPORTS) \
22591 for flag in $(EXTRA_HOST_FLAGS) ; do \
22592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22593 done; \
22594 echo "Doing maintainer-clean in libdecnumber" ; \
22595 (cd $(HOST_SUBDIR)/libdecnumber && \
22596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22598 "RANLIB=$${RANLIB}" \
22599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22600 maintainer-clean) \
22601 || exit 1
22603 @endif libdecnumber
22607 .PHONY: configure-libgui maybe-configure-libgui
22608 maybe-configure-libgui:
22609 @if gcc-bootstrap
22610 configure-libgui: stage_current
22611 @endif gcc-bootstrap
22612 @if libgui
22613 maybe-configure-libgui: configure-libgui
22614 configure-libgui:
22615 @: $(MAKE); $(unstage)
22616 @r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22620 $(HOST_EXPORTS) \
22621 echo Configuring in $(HOST_SUBDIR)/libgui; \
22622 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22623 case $(srcdir) in \
22624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22625 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22627 esac; \
22628 srcdiroption="--srcdir=$${topdir}/libgui"; \
22629 libsrcdir="$$s/libgui"; \
22630 $(SHELL) $${libsrcdir}/configure \
22631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22632 --target=${target_alias} $${srcdiroption} \
22633 || exit 1
22634 @endif libgui
22640 .PHONY: all-libgui maybe-all-libgui
22641 maybe-all-libgui:
22642 @if gcc-bootstrap
22643 all-libgui: stage_current
22644 @endif gcc-bootstrap
22645 @if libgui
22646 TARGET-libgui=all
22647 maybe-all-libgui: all-libgui
22648 all-libgui: configure-libgui
22649 @: $(MAKE); $(unstage)
22650 @r=`${PWD_COMMAND}`; export r; \
22651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22652 $(HOST_EXPORTS) \
22653 (cd $(HOST_SUBDIR)/libgui && \
22654 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
22655 @endif libgui
22660 .PHONY: check-libgui maybe-check-libgui
22661 maybe-check-libgui:
22662 @if libgui
22663 maybe-check-libgui: check-libgui
22665 check-libgui:
22666 @: $(MAKE); $(unstage)
22667 @r=`${PWD_COMMAND}`; export r; \
22668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22669 $(HOST_EXPORTS) \
22670 (cd $(HOST_SUBDIR)/libgui && \
22671 $(MAKE) $(FLAGS_TO_PASS) check)
22673 @endif libgui
22675 .PHONY: install-libgui maybe-install-libgui
22676 maybe-install-libgui:
22677 @if libgui
22678 maybe-install-libgui: install-libgui
22680 install-libgui: installdirs
22681 @: $(MAKE); $(unstage)
22682 @r=`${PWD_COMMAND}`; export r; \
22683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22684 $(HOST_EXPORTS) \
22685 (cd $(HOST_SUBDIR)/libgui && \
22686 $(MAKE) $(FLAGS_TO_PASS) install)
22688 @endif libgui
22690 # Other targets (info, dvi, pdf, etc.)
22692 .PHONY: maybe-info-libgui info-libgui
22693 maybe-info-libgui:
22694 @if libgui
22695 maybe-info-libgui: info-libgui
22697 info-libgui: \
22698 configure-libgui
22699 @: $(MAKE); $(unstage)
22700 @[ -f ./libgui/Makefile ] || exit 0; \
22701 r=`${PWD_COMMAND}`; export r; \
22702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22703 $(HOST_EXPORTS) \
22704 for flag in $(EXTRA_HOST_FLAGS) ; do \
22705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22706 done; \
22707 echo "Doing info in libgui" ; \
22708 (cd $(HOST_SUBDIR)/libgui && \
22709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22711 "RANLIB=$${RANLIB}" \
22712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22713 info) \
22714 || exit 1
22716 @endif libgui
22718 .PHONY: maybe-dvi-libgui dvi-libgui
22719 maybe-dvi-libgui:
22720 @if libgui
22721 maybe-dvi-libgui: dvi-libgui
22723 dvi-libgui: \
22724 configure-libgui
22725 @: $(MAKE); $(unstage)
22726 @[ -f ./libgui/Makefile ] || exit 0; \
22727 r=`${PWD_COMMAND}`; export r; \
22728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22729 $(HOST_EXPORTS) \
22730 for flag in $(EXTRA_HOST_FLAGS) ; do \
22731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22732 done; \
22733 echo "Doing dvi in libgui" ; \
22734 (cd $(HOST_SUBDIR)/libgui && \
22735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22737 "RANLIB=$${RANLIB}" \
22738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22739 dvi) \
22740 || exit 1
22742 @endif libgui
22744 .PHONY: maybe-pdf-libgui pdf-libgui
22745 maybe-pdf-libgui:
22746 @if libgui
22747 maybe-pdf-libgui: pdf-libgui
22749 pdf-libgui: \
22750 configure-libgui
22751 @: $(MAKE); $(unstage)
22752 @[ -f ./libgui/Makefile ] || exit 0; \
22753 r=`${PWD_COMMAND}`; export r; \
22754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22755 $(HOST_EXPORTS) \
22756 for flag in $(EXTRA_HOST_FLAGS) ; do \
22757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22758 done; \
22759 echo "Doing pdf in libgui" ; \
22760 (cd $(HOST_SUBDIR)/libgui && \
22761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22763 "RANLIB=$${RANLIB}" \
22764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22765 pdf) \
22766 || exit 1
22768 @endif libgui
22770 .PHONY: maybe-html-libgui html-libgui
22771 maybe-html-libgui:
22772 @if libgui
22773 maybe-html-libgui: html-libgui
22775 html-libgui: \
22776 configure-libgui
22777 @: $(MAKE); $(unstage)
22778 @[ -f ./libgui/Makefile ] || exit 0; \
22779 r=`${PWD_COMMAND}`; export r; \
22780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22781 $(HOST_EXPORTS) \
22782 for flag in $(EXTRA_HOST_FLAGS) ; do \
22783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22784 done; \
22785 echo "Doing html in libgui" ; \
22786 (cd $(HOST_SUBDIR)/libgui && \
22787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22789 "RANLIB=$${RANLIB}" \
22790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22791 html) \
22792 || exit 1
22794 @endif libgui
22796 .PHONY: maybe-TAGS-libgui TAGS-libgui
22797 maybe-TAGS-libgui:
22798 @if libgui
22799 maybe-TAGS-libgui: TAGS-libgui
22801 TAGS-libgui: \
22802 configure-libgui
22803 @: $(MAKE); $(unstage)
22804 @[ -f ./libgui/Makefile ] || exit 0; \
22805 r=`${PWD_COMMAND}`; export r; \
22806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22807 $(HOST_EXPORTS) \
22808 for flag in $(EXTRA_HOST_FLAGS) ; do \
22809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22810 done; \
22811 echo "Doing TAGS in libgui" ; \
22812 (cd $(HOST_SUBDIR)/libgui && \
22813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22815 "RANLIB=$${RANLIB}" \
22816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22817 TAGS) \
22818 || exit 1
22820 @endif libgui
22822 .PHONY: maybe-install-info-libgui install-info-libgui
22823 maybe-install-info-libgui:
22824 @if libgui
22825 maybe-install-info-libgui: install-info-libgui
22827 install-info-libgui: \
22828 configure-libgui \
22829 info-libgui
22830 @: $(MAKE); $(unstage)
22831 @[ -f ./libgui/Makefile ] || exit 0; \
22832 r=`${PWD_COMMAND}`; export r; \
22833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22834 $(HOST_EXPORTS) \
22835 for flag in $(EXTRA_HOST_FLAGS) ; do \
22836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22837 done; \
22838 echo "Doing install-info in libgui" ; \
22839 (cd $(HOST_SUBDIR)/libgui && \
22840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22842 "RANLIB=$${RANLIB}" \
22843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22844 install-info) \
22845 || exit 1
22847 @endif libgui
22849 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22850 maybe-install-pdf-libgui:
22851 @if libgui
22852 maybe-install-pdf-libgui: install-pdf-libgui
22854 install-pdf-libgui: \
22855 configure-libgui \
22856 pdf-libgui
22857 @: $(MAKE); $(unstage)
22858 @[ -f ./libgui/Makefile ] || exit 0; \
22859 r=`${PWD_COMMAND}`; export r; \
22860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22861 $(HOST_EXPORTS) \
22862 for flag in $(EXTRA_HOST_FLAGS) ; do \
22863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22864 done; \
22865 echo "Doing install-pdf in libgui" ; \
22866 (cd $(HOST_SUBDIR)/libgui && \
22867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22869 "RANLIB=$${RANLIB}" \
22870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22871 install-pdf) \
22872 || exit 1
22874 @endif libgui
22876 .PHONY: maybe-install-html-libgui install-html-libgui
22877 maybe-install-html-libgui:
22878 @if libgui
22879 maybe-install-html-libgui: install-html-libgui
22881 install-html-libgui: \
22882 configure-libgui \
22883 html-libgui
22884 @: $(MAKE); $(unstage)
22885 @[ -f ./libgui/Makefile ] || exit 0; \
22886 r=`${PWD_COMMAND}`; export r; \
22887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22888 $(HOST_EXPORTS) \
22889 for flag in $(EXTRA_HOST_FLAGS) ; do \
22890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22891 done; \
22892 echo "Doing install-html in libgui" ; \
22893 (cd $(HOST_SUBDIR)/libgui && \
22894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22896 "RANLIB=$${RANLIB}" \
22897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22898 install-html) \
22899 || exit 1
22901 @endif libgui
22903 .PHONY: maybe-installcheck-libgui installcheck-libgui
22904 maybe-installcheck-libgui:
22905 @if libgui
22906 maybe-installcheck-libgui: installcheck-libgui
22908 installcheck-libgui: \
22909 configure-libgui
22910 @: $(MAKE); $(unstage)
22911 @[ -f ./libgui/Makefile ] || exit 0; \
22912 r=`${PWD_COMMAND}`; export r; \
22913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22914 $(HOST_EXPORTS) \
22915 for flag in $(EXTRA_HOST_FLAGS) ; do \
22916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22917 done; \
22918 echo "Doing installcheck in libgui" ; \
22919 (cd $(HOST_SUBDIR)/libgui && \
22920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22922 "RANLIB=$${RANLIB}" \
22923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22924 installcheck) \
22925 || exit 1
22927 @endif libgui
22929 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22930 maybe-mostlyclean-libgui:
22931 @if libgui
22932 maybe-mostlyclean-libgui: mostlyclean-libgui
22934 mostlyclean-libgui:
22935 @: $(MAKE); $(unstage)
22936 @[ -f ./libgui/Makefile ] || exit 0; \
22937 r=`${PWD_COMMAND}`; export r; \
22938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22939 $(HOST_EXPORTS) \
22940 for flag in $(EXTRA_HOST_FLAGS) ; do \
22941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22942 done; \
22943 echo "Doing mostlyclean in libgui" ; \
22944 (cd $(HOST_SUBDIR)/libgui && \
22945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22947 "RANLIB=$${RANLIB}" \
22948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22949 mostlyclean) \
22950 || exit 1
22952 @endif libgui
22954 .PHONY: maybe-clean-libgui clean-libgui
22955 maybe-clean-libgui:
22956 @if libgui
22957 maybe-clean-libgui: clean-libgui
22959 clean-libgui:
22960 @: $(MAKE); $(unstage)
22961 @[ -f ./libgui/Makefile ] || exit 0; \
22962 r=`${PWD_COMMAND}`; export r; \
22963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 $(HOST_EXPORTS) \
22965 for flag in $(EXTRA_HOST_FLAGS) ; do \
22966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22967 done; \
22968 echo "Doing clean in libgui" ; \
22969 (cd $(HOST_SUBDIR)/libgui && \
22970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22972 "RANLIB=$${RANLIB}" \
22973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22974 clean) \
22975 || exit 1
22977 @endif libgui
22979 .PHONY: maybe-distclean-libgui distclean-libgui
22980 maybe-distclean-libgui:
22981 @if libgui
22982 maybe-distclean-libgui: distclean-libgui
22984 distclean-libgui:
22985 @: $(MAKE); $(unstage)
22986 @[ -f ./libgui/Makefile ] || exit 0; \
22987 r=`${PWD_COMMAND}`; export r; \
22988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22989 $(HOST_EXPORTS) \
22990 for flag in $(EXTRA_HOST_FLAGS) ; do \
22991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22992 done; \
22993 echo "Doing distclean in libgui" ; \
22994 (cd $(HOST_SUBDIR)/libgui && \
22995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22997 "RANLIB=$${RANLIB}" \
22998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22999 distclean) \
23000 || exit 1
23002 @endif libgui
23004 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
23005 maybe-maintainer-clean-libgui:
23006 @if libgui
23007 maybe-maintainer-clean-libgui: maintainer-clean-libgui
23009 maintainer-clean-libgui:
23010 @: $(MAKE); $(unstage)
23011 @[ -f ./libgui/Makefile ] || exit 0; \
23012 r=`${PWD_COMMAND}`; export r; \
23013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23014 $(HOST_EXPORTS) \
23015 for flag in $(EXTRA_HOST_FLAGS) ; do \
23016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23017 done; \
23018 echo "Doing maintainer-clean in libgui" ; \
23019 (cd $(HOST_SUBDIR)/libgui && \
23020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23022 "RANLIB=$${RANLIB}" \
23023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23024 maintainer-clean) \
23025 || exit 1
23027 @endif libgui
23031 .PHONY: configure-libiberty maybe-configure-libiberty
23032 maybe-configure-libiberty:
23033 @if gcc-bootstrap
23034 configure-libiberty: stage_current
23035 @endif gcc-bootstrap
23036 @if libiberty
23037 maybe-configure-libiberty: configure-libiberty
23038 configure-libiberty:
23039 @r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23042 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23043 $(HOST_EXPORTS) \
23044 echo Configuring in $(HOST_SUBDIR)/libiberty; \
23045 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
23046 case $(srcdir) in \
23047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23048 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23050 esac; \
23051 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23052 libsrcdir="$$s/libiberty"; \
23053 $(SHELL) $${libsrcdir}/configure \
23054 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23055 --target=${target_alias} $${srcdiroption} \
23056 || exit 1
23057 @endif libiberty
23061 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
23062 maybe-configure-stage1-libiberty:
23063 @if libiberty-bootstrap
23064 maybe-configure-stage1-libiberty: configure-stage1-libiberty
23065 configure-stage1-libiberty:
23066 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23068 @r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23071 $(HOST_EXPORTS) \
23072 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
23073 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23074 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23075 case $(srcdir) in \
23076 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23077 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23078 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23079 esac; \
23080 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23081 libsrcdir="$$s/libiberty"; \
23082 $(SHELL) $${libsrcdir}/configure \
23083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23084 --target=${target_alias} $${srcdiroption} \
23086 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
23087 @endif libiberty-bootstrap
23089 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
23090 maybe-configure-stage2-libiberty:
23091 @if libiberty-bootstrap
23092 maybe-configure-stage2-libiberty: configure-stage2-libiberty
23093 configure-stage2-libiberty:
23094 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23096 @r=`${PWD_COMMAND}`; export r; \
23097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23098 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23099 $(HOST_EXPORTS) \
23100 $(POSTSTAGE1_HOST_EXPORTS) \
23101 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
23102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23103 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23104 case $(srcdir) in \
23105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23106 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23108 esac; \
23109 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23110 libsrcdir="$$s/libiberty"; \
23111 $(SHELL) $${libsrcdir}/configure \
23112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23113 --target=${target_alias} $${srcdiroption} \
23114 --with-build-libsubdir=$(HOST_SUBDIR) \
23115 @stage2_werror_flag@
23116 @endif libiberty-bootstrap
23118 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
23119 maybe-configure-stage3-libiberty:
23120 @if libiberty-bootstrap
23121 maybe-configure-stage3-libiberty: configure-stage3-libiberty
23122 configure-stage3-libiberty:
23123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23125 @r=`${PWD_COMMAND}`; export r; \
23126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23128 $(HOST_EXPORTS) \
23129 $(POSTSTAGE1_HOST_EXPORTS) \
23130 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
23131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23132 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23133 case $(srcdir) in \
23134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23135 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23137 esac; \
23138 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23139 libsrcdir="$$s/libiberty"; \
23140 $(SHELL) $${libsrcdir}/configure \
23141 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23142 --target=${target_alias} $${srcdiroption} \
23143 --with-build-libsubdir=$(HOST_SUBDIR) \
23144 @stage2_werror_flag@
23145 @endif libiberty-bootstrap
23147 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
23148 maybe-configure-stage4-libiberty:
23149 @if libiberty-bootstrap
23150 maybe-configure-stage4-libiberty: configure-stage4-libiberty
23151 configure-stage4-libiberty:
23152 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23153 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23154 @r=`${PWD_COMMAND}`; export r; \
23155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23156 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23157 $(HOST_EXPORTS) \
23158 $(POSTSTAGE1_HOST_EXPORTS) \
23159 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
23160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23161 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23162 case $(srcdir) in \
23163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23164 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23166 esac; \
23167 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23168 libsrcdir="$$s/libiberty"; \
23169 $(SHELL) $${libsrcdir}/configure \
23170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23171 --target=${target_alias} $${srcdiroption} \
23172 --with-build-libsubdir=$(HOST_SUBDIR) \
23173 @stage2_werror_flag@
23174 @endif libiberty-bootstrap
23176 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
23177 maybe-configure-stageprofile-libiberty:
23178 @if libiberty-bootstrap
23179 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
23180 configure-stageprofile-libiberty:
23181 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23183 @r=`${PWD_COMMAND}`; export r; \
23184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23185 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23186 $(HOST_EXPORTS) \
23187 $(POSTSTAGE1_HOST_EXPORTS) \
23188 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
23189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23190 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23191 case $(srcdir) in \
23192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23193 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23195 esac; \
23196 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23197 libsrcdir="$$s/libiberty"; \
23198 $(SHELL) $${libsrcdir}/configure \
23199 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23200 --target=${target_alias} $${srcdiroption} \
23201 --with-build-libsubdir=$(HOST_SUBDIR) \
23202 @stage2_werror_flag@
23203 @endif libiberty-bootstrap
23205 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
23206 maybe-configure-stagefeedback-libiberty:
23207 @if libiberty-bootstrap
23208 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
23209 configure-stagefeedback-libiberty:
23210 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23211 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23212 @r=`${PWD_COMMAND}`; export r; \
23213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23214 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23215 $(HOST_EXPORTS) \
23216 $(POSTSTAGE1_HOST_EXPORTS) \
23217 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
23218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23219 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23220 case $(srcdir) in \
23221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23222 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23224 esac; \
23225 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23226 libsrcdir="$$s/libiberty"; \
23227 $(SHELL) $${libsrcdir}/configure \
23228 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23229 --target=${target_alias} $${srcdiroption} \
23230 --with-build-libsubdir=$(HOST_SUBDIR) \
23231 @stage2_werror_flag@
23232 @endif libiberty-bootstrap
23238 .PHONY: all-libiberty maybe-all-libiberty
23239 maybe-all-libiberty:
23240 @if gcc-bootstrap
23241 all-libiberty: stage_current
23242 @endif gcc-bootstrap
23243 @if libiberty
23244 TARGET-libiberty=all
23245 maybe-all-libiberty: all-libiberty
23246 all-libiberty: configure-libiberty
23247 @r=`${PWD_COMMAND}`; export r; \
23248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23249 $(HOST_EXPORTS) \
23250 (cd $(HOST_SUBDIR)/libiberty && \
23251 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
23252 @endif libiberty
23256 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
23257 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
23258 maybe-all-stage1-libiberty:
23259 maybe-clean-stage1-libiberty:
23260 @if libiberty-bootstrap
23261 maybe-all-stage1-libiberty: all-stage1-libiberty
23262 all-stage1: all-stage1-libiberty
23263 TARGET-stage1-libiberty = $(TARGET-libiberty)
23264 all-stage1-libiberty: configure-stage1-libiberty
23265 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23266 @r=`${PWD_COMMAND}`; export r; \
23267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23268 $(HOST_EXPORTS) \
23269 cd $(HOST_SUBDIR)/libiberty && \
23270 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
23271 $(TARGET-stage1-libiberty)
23273 maybe-clean-stage1-libiberty: clean-stage1-libiberty
23274 clean-stage1: clean-stage1-libiberty
23275 clean-stage1-libiberty:
23276 @if [ $(current_stage) = stage1 ]; then \
23277 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23278 else \
23279 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
23280 $(MAKE) stage1-start; \
23281 fi; \
23282 cd $(HOST_SUBDIR)/libiberty && \
23283 $(MAKE) $(FLAGS_TO_PASS) \
23284 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
23285 @endif libiberty-bootstrap
23288 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
23289 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
23290 maybe-all-stage2-libiberty:
23291 maybe-clean-stage2-libiberty:
23292 @if libiberty-bootstrap
23293 maybe-all-stage2-libiberty: all-stage2-libiberty
23294 all-stage2: all-stage2-libiberty
23295 TARGET-stage2-libiberty = $(TARGET-libiberty)
23296 all-stage2-libiberty: configure-stage2-libiberty
23297 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23298 @r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(HOST_EXPORTS) \
23301 $(POSTSTAGE1_HOST_EXPORTS) \
23302 cd $(HOST_SUBDIR)/libiberty && \
23303 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23304 $(TARGET-stage2-libiberty)
23306 maybe-clean-stage2-libiberty: clean-stage2-libiberty
23307 clean-stage2: clean-stage2-libiberty
23308 clean-stage2-libiberty:
23309 @if [ $(current_stage) = stage2 ]; then \
23310 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23311 else \
23312 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
23313 $(MAKE) stage2-start; \
23314 fi; \
23315 cd $(HOST_SUBDIR)/libiberty && \
23316 $(MAKE) $(FLAGS_TO_PASS) \
23317 $(POSTSTAGE1_FLAGS_TO_PASS) \
23318 clean
23319 @endif libiberty-bootstrap
23322 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
23323 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
23324 maybe-all-stage3-libiberty:
23325 maybe-clean-stage3-libiberty:
23326 @if libiberty-bootstrap
23327 maybe-all-stage3-libiberty: all-stage3-libiberty
23328 all-stage3: all-stage3-libiberty
23329 TARGET-stage3-libiberty = $(TARGET-libiberty)
23330 all-stage3-libiberty: configure-stage3-libiberty
23331 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23332 @r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23334 $(HOST_EXPORTS) \
23335 $(POSTSTAGE1_HOST_EXPORTS) \
23336 cd $(HOST_SUBDIR)/libiberty && \
23337 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23338 $(TARGET-stage3-libiberty)
23340 maybe-clean-stage3-libiberty: clean-stage3-libiberty
23341 clean-stage3: clean-stage3-libiberty
23342 clean-stage3-libiberty:
23343 @if [ $(current_stage) = stage3 ]; then \
23344 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23345 else \
23346 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
23347 $(MAKE) stage3-start; \
23348 fi; \
23349 cd $(HOST_SUBDIR)/libiberty && \
23350 $(MAKE) $(FLAGS_TO_PASS) \
23351 $(POSTSTAGE1_FLAGS_TO_PASS) \
23352 clean
23353 @endif libiberty-bootstrap
23356 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
23357 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
23358 maybe-all-stage4-libiberty:
23359 maybe-clean-stage4-libiberty:
23360 @if libiberty-bootstrap
23361 maybe-all-stage4-libiberty: all-stage4-libiberty
23362 all-stage4: all-stage4-libiberty
23363 TARGET-stage4-libiberty = $(TARGET-libiberty)
23364 all-stage4-libiberty: configure-stage4-libiberty
23365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23366 @r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 $(HOST_EXPORTS) \
23369 $(POSTSTAGE1_HOST_EXPORTS) \
23370 cd $(HOST_SUBDIR)/libiberty && \
23371 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23372 $(TARGET-stage4-libiberty)
23374 maybe-clean-stage4-libiberty: clean-stage4-libiberty
23375 clean-stage4: clean-stage4-libiberty
23376 clean-stage4-libiberty:
23377 @if [ $(current_stage) = stage4 ]; then \
23378 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23379 else \
23380 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
23381 $(MAKE) stage4-start; \
23382 fi; \
23383 cd $(HOST_SUBDIR)/libiberty && \
23384 $(MAKE) $(FLAGS_TO_PASS) \
23385 $(POSTSTAGE1_FLAGS_TO_PASS) \
23386 clean
23387 @endif libiberty-bootstrap
23390 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23391 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23392 maybe-all-stageprofile-libiberty:
23393 maybe-clean-stageprofile-libiberty:
23394 @if libiberty-bootstrap
23395 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23396 all-stageprofile: all-stageprofile-libiberty
23397 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23398 all-stageprofile-libiberty: configure-stageprofile-libiberty
23399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23400 @r=`${PWD_COMMAND}`; export r; \
23401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23402 $(HOST_EXPORTS) \
23403 $(POSTSTAGE1_HOST_EXPORTS) \
23404 cd $(HOST_SUBDIR)/libiberty && \
23405 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
23406 $(TARGET-stageprofile-libiberty)
23408 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23409 clean-stageprofile: clean-stageprofile-libiberty
23410 clean-stageprofile-libiberty:
23411 @if [ $(current_stage) = stageprofile ]; then \
23412 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23413 else \
23414 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23415 $(MAKE) stageprofile-start; \
23416 fi; \
23417 cd $(HOST_SUBDIR)/libiberty && \
23418 $(MAKE) $(FLAGS_TO_PASS) \
23419 $(POSTSTAGE1_FLAGS_TO_PASS) \
23420 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
23421 @endif libiberty-bootstrap
23424 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23425 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23426 maybe-all-stagefeedback-libiberty:
23427 maybe-clean-stagefeedback-libiberty:
23428 @if libiberty-bootstrap
23429 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23430 all-stagefeedback: all-stagefeedback-libiberty
23431 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23432 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23433 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23434 @r=`${PWD_COMMAND}`; export r; \
23435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436 $(HOST_EXPORTS) \
23437 $(POSTSTAGE1_HOST_EXPORTS) \
23438 cd $(HOST_SUBDIR)/libiberty && \
23439 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
23440 $(TARGET-stagefeedback-libiberty)
23442 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23443 clean-stagefeedback: clean-stagefeedback-libiberty
23444 clean-stagefeedback-libiberty:
23445 @if [ $(current_stage) = stagefeedback ]; then \
23446 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23447 else \
23448 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23449 $(MAKE) stagefeedback-start; \
23450 fi; \
23451 cd $(HOST_SUBDIR)/libiberty && \
23452 $(MAKE) $(FLAGS_TO_PASS) \
23453 $(POSTSTAGE1_FLAGS_TO_PASS) \
23454 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
23455 @endif libiberty-bootstrap
23461 .PHONY: check-libiberty maybe-check-libiberty
23462 maybe-check-libiberty:
23463 @if libiberty
23464 maybe-check-libiberty: check-libiberty
23466 check-libiberty:
23467 @: $(MAKE); $(unstage)
23468 @r=`${PWD_COMMAND}`; export r; \
23469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23470 $(HOST_EXPORTS) \
23471 (cd $(HOST_SUBDIR)/libiberty && \
23472 $(MAKE) $(FLAGS_TO_PASS) check)
23474 @endif libiberty
23476 .PHONY: install-libiberty maybe-install-libiberty
23477 maybe-install-libiberty:
23478 @if libiberty
23479 maybe-install-libiberty: install-libiberty
23481 install-libiberty: installdirs
23482 @: $(MAKE); $(unstage)
23483 @r=`${PWD_COMMAND}`; export r; \
23484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23485 $(HOST_EXPORTS) \
23486 (cd $(HOST_SUBDIR)/libiberty && \
23487 $(MAKE) $(FLAGS_TO_PASS) install)
23489 @endif libiberty
23491 # Other targets (info, dvi, pdf, etc.)
23493 .PHONY: maybe-info-libiberty info-libiberty
23494 maybe-info-libiberty:
23495 @if libiberty
23496 maybe-info-libiberty: info-libiberty
23498 info-libiberty: \
23499 configure-libiberty
23500 @[ -f ./libiberty/Makefile ] || exit 0; \
23501 r=`${PWD_COMMAND}`; export r; \
23502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23503 $(HOST_EXPORTS) \
23504 for flag in $(EXTRA_HOST_FLAGS) ; do \
23505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23506 done; \
23507 echo "Doing info in libiberty" ; \
23508 (cd $(HOST_SUBDIR)/libiberty && \
23509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23511 "RANLIB=$${RANLIB}" \
23512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23513 info) \
23514 || exit 1
23516 @endif libiberty
23518 .PHONY: maybe-dvi-libiberty dvi-libiberty
23519 maybe-dvi-libiberty:
23520 @if libiberty
23521 maybe-dvi-libiberty: dvi-libiberty
23523 dvi-libiberty: \
23524 configure-libiberty
23525 @[ -f ./libiberty/Makefile ] || exit 0; \
23526 r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 $(HOST_EXPORTS) \
23529 for flag in $(EXTRA_HOST_FLAGS) ; do \
23530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23531 done; \
23532 echo "Doing dvi in libiberty" ; \
23533 (cd $(HOST_SUBDIR)/libiberty && \
23534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23536 "RANLIB=$${RANLIB}" \
23537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23538 dvi) \
23539 || exit 1
23541 @endif libiberty
23543 .PHONY: maybe-pdf-libiberty pdf-libiberty
23544 maybe-pdf-libiberty:
23545 @if libiberty
23546 maybe-pdf-libiberty: pdf-libiberty
23548 pdf-libiberty: \
23549 configure-libiberty
23550 @[ -f ./libiberty/Makefile ] || exit 0; \
23551 r=`${PWD_COMMAND}`; export r; \
23552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23553 $(HOST_EXPORTS) \
23554 for flag in $(EXTRA_HOST_FLAGS) ; do \
23555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23556 done; \
23557 echo "Doing pdf in libiberty" ; \
23558 (cd $(HOST_SUBDIR)/libiberty && \
23559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23561 "RANLIB=$${RANLIB}" \
23562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23563 pdf) \
23564 || exit 1
23566 @endif libiberty
23568 .PHONY: maybe-html-libiberty html-libiberty
23569 maybe-html-libiberty:
23570 @if libiberty
23571 maybe-html-libiberty: html-libiberty
23573 html-libiberty: \
23574 configure-libiberty
23575 @[ -f ./libiberty/Makefile ] || exit 0; \
23576 r=`${PWD_COMMAND}`; export r; \
23577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23578 $(HOST_EXPORTS) \
23579 for flag in $(EXTRA_HOST_FLAGS) ; do \
23580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23581 done; \
23582 echo "Doing html in libiberty" ; \
23583 (cd $(HOST_SUBDIR)/libiberty && \
23584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23586 "RANLIB=$${RANLIB}" \
23587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23588 html) \
23589 || exit 1
23591 @endif libiberty
23593 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23594 maybe-TAGS-libiberty:
23595 @if libiberty
23596 maybe-TAGS-libiberty: TAGS-libiberty
23598 TAGS-libiberty: \
23599 configure-libiberty
23600 @[ -f ./libiberty/Makefile ] || exit 0; \
23601 r=`${PWD_COMMAND}`; export r; \
23602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23603 $(HOST_EXPORTS) \
23604 for flag in $(EXTRA_HOST_FLAGS) ; do \
23605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23606 done; \
23607 echo "Doing TAGS in libiberty" ; \
23608 (cd $(HOST_SUBDIR)/libiberty && \
23609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23611 "RANLIB=$${RANLIB}" \
23612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23613 TAGS) \
23614 || exit 1
23616 @endif libiberty
23618 .PHONY: maybe-install-info-libiberty install-info-libiberty
23619 maybe-install-info-libiberty:
23620 @if libiberty
23621 maybe-install-info-libiberty: install-info-libiberty
23623 install-info-libiberty: \
23624 configure-libiberty \
23625 info-libiberty
23626 @[ -f ./libiberty/Makefile ] || exit 0; \
23627 r=`${PWD_COMMAND}`; export r; \
23628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23629 $(HOST_EXPORTS) \
23630 for flag in $(EXTRA_HOST_FLAGS) ; do \
23631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23632 done; \
23633 echo "Doing install-info in libiberty" ; \
23634 (cd $(HOST_SUBDIR)/libiberty && \
23635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23637 "RANLIB=$${RANLIB}" \
23638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23639 install-info) \
23640 || exit 1
23642 @endif libiberty
23644 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23645 maybe-install-pdf-libiberty:
23646 @if libiberty
23647 maybe-install-pdf-libiberty: install-pdf-libiberty
23649 install-pdf-libiberty: \
23650 configure-libiberty \
23651 pdf-libiberty
23652 @[ -f ./libiberty/Makefile ] || exit 0; \
23653 r=`${PWD_COMMAND}`; export r; \
23654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23655 $(HOST_EXPORTS) \
23656 for flag in $(EXTRA_HOST_FLAGS) ; do \
23657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23658 done; \
23659 echo "Doing install-pdf in libiberty" ; \
23660 (cd $(HOST_SUBDIR)/libiberty && \
23661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23663 "RANLIB=$${RANLIB}" \
23664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23665 install-pdf) \
23666 || exit 1
23668 @endif libiberty
23670 .PHONY: maybe-install-html-libiberty install-html-libiberty
23671 maybe-install-html-libiberty:
23672 @if libiberty
23673 maybe-install-html-libiberty: install-html-libiberty
23675 install-html-libiberty: \
23676 configure-libiberty \
23677 html-libiberty
23678 @[ -f ./libiberty/Makefile ] || exit 0; \
23679 r=`${PWD_COMMAND}`; export r; \
23680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23681 $(HOST_EXPORTS) \
23682 for flag in $(EXTRA_HOST_FLAGS) ; do \
23683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23684 done; \
23685 echo "Doing install-html in libiberty" ; \
23686 (cd $(HOST_SUBDIR)/libiberty && \
23687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23689 "RANLIB=$${RANLIB}" \
23690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23691 install-html) \
23692 || exit 1
23694 @endif libiberty
23696 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23697 maybe-installcheck-libiberty:
23698 @if libiberty
23699 maybe-installcheck-libiberty: installcheck-libiberty
23701 installcheck-libiberty: \
23702 configure-libiberty
23703 @[ -f ./libiberty/Makefile ] || exit 0; \
23704 r=`${PWD_COMMAND}`; export r; \
23705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23706 $(HOST_EXPORTS) \
23707 for flag in $(EXTRA_HOST_FLAGS) ; do \
23708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23709 done; \
23710 echo "Doing installcheck in libiberty" ; \
23711 (cd $(HOST_SUBDIR)/libiberty && \
23712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23714 "RANLIB=$${RANLIB}" \
23715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23716 installcheck) \
23717 || exit 1
23719 @endif libiberty
23721 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23722 maybe-mostlyclean-libiberty:
23723 @if libiberty
23724 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23726 mostlyclean-libiberty:
23727 @[ -f ./libiberty/Makefile ] || exit 0; \
23728 r=`${PWD_COMMAND}`; export r; \
23729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23730 $(HOST_EXPORTS) \
23731 for flag in $(EXTRA_HOST_FLAGS) ; do \
23732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23733 done; \
23734 echo "Doing mostlyclean in libiberty" ; \
23735 (cd $(HOST_SUBDIR)/libiberty && \
23736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23738 "RANLIB=$${RANLIB}" \
23739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23740 mostlyclean) \
23741 || exit 1
23743 @endif libiberty
23745 .PHONY: maybe-clean-libiberty clean-libiberty
23746 maybe-clean-libiberty:
23747 @if libiberty
23748 maybe-clean-libiberty: clean-libiberty
23750 clean-libiberty:
23751 @[ -f ./libiberty/Makefile ] || exit 0; \
23752 r=`${PWD_COMMAND}`; export r; \
23753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23754 $(HOST_EXPORTS) \
23755 for flag in $(EXTRA_HOST_FLAGS) ; do \
23756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23757 done; \
23758 echo "Doing clean in libiberty" ; \
23759 (cd $(HOST_SUBDIR)/libiberty && \
23760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23762 "RANLIB=$${RANLIB}" \
23763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23764 clean) \
23765 || exit 1
23767 @endif libiberty
23769 .PHONY: maybe-distclean-libiberty distclean-libiberty
23770 maybe-distclean-libiberty:
23771 @if libiberty
23772 maybe-distclean-libiberty: distclean-libiberty
23774 distclean-libiberty:
23775 @[ -f ./libiberty/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 $(HOST_EXPORTS) \
23779 for flag in $(EXTRA_HOST_FLAGS) ; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23781 done; \
23782 echo "Doing distclean in libiberty" ; \
23783 (cd $(HOST_SUBDIR)/libiberty && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23788 distclean) \
23789 || exit 1
23791 @endif libiberty
23793 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23794 maybe-maintainer-clean-libiberty:
23795 @if libiberty
23796 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23798 maintainer-clean-libiberty:
23799 @[ -f ./libiberty/Makefile ] || exit 0; \
23800 r=`${PWD_COMMAND}`; export r; \
23801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23802 $(HOST_EXPORTS) \
23803 for flag in $(EXTRA_HOST_FLAGS) ; do \
23804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23805 done; \
23806 echo "Doing maintainer-clean in libiberty" ; \
23807 (cd $(HOST_SUBDIR)/libiberty && \
23808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23810 "RANLIB=$${RANLIB}" \
23811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23812 maintainer-clean) \
23813 || exit 1
23815 @endif libiberty
23819 .PHONY: configure-libtool maybe-configure-libtool
23820 maybe-configure-libtool:
23821 @if gcc-bootstrap
23822 configure-libtool: stage_current
23823 @endif gcc-bootstrap
23824 @if libtool
23825 maybe-configure-libtool: configure-libtool
23826 configure-libtool:
23827 @: $(MAKE); $(unstage)
23828 @r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
23831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
23832 $(HOST_EXPORTS) \
23833 echo Configuring in $(HOST_SUBDIR)/libtool; \
23834 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
23835 case $(srcdir) in \
23836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23837 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
23838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23839 esac; \
23840 srcdiroption="--srcdir=$${topdir}/libtool"; \
23841 libsrcdir="$$s/libtool"; \
23842 $(SHELL) $${libsrcdir}/configure \
23843 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23844 --target=${target_alias} $${srcdiroption} \
23845 || exit 1
23846 @endif libtool
23852 .PHONY: all-libtool maybe-all-libtool
23853 maybe-all-libtool:
23854 @if gcc-bootstrap
23855 all-libtool: stage_current
23856 @endif gcc-bootstrap
23857 @if libtool
23858 TARGET-libtool=all
23859 maybe-all-libtool: all-libtool
23860 all-libtool: configure-libtool
23861 @: $(MAKE); $(unstage)
23862 @r=`${PWD_COMMAND}`; export r; \
23863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23864 $(HOST_EXPORTS) \
23865 (cd $(HOST_SUBDIR)/libtool && \
23866 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
23867 @endif libtool
23872 .PHONY: check-libtool maybe-check-libtool
23873 maybe-check-libtool:
23874 @if libtool
23875 maybe-check-libtool: check-libtool
23877 check-libtool:
23878 @: $(MAKE); $(unstage)
23879 @r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 $(HOST_EXPORTS) \
23882 (cd $(HOST_SUBDIR)/libtool && \
23883 $(MAKE) $(FLAGS_TO_PASS) check)
23885 @endif libtool
23887 .PHONY: install-libtool maybe-install-libtool
23888 maybe-install-libtool:
23889 @if libtool
23890 maybe-install-libtool: install-libtool
23892 install-libtool: installdirs
23893 @: $(MAKE); $(unstage)
23894 @r=`${PWD_COMMAND}`; export r; \
23895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23896 $(HOST_EXPORTS) \
23897 (cd $(HOST_SUBDIR)/libtool && \
23898 $(MAKE) $(FLAGS_TO_PASS) install)
23900 @endif libtool
23902 # Other targets (info, dvi, pdf, etc.)
23904 .PHONY: maybe-info-libtool info-libtool
23905 maybe-info-libtool:
23906 @if libtool
23907 maybe-info-libtool: info-libtool
23909 info-libtool: \
23910 configure-libtool
23911 @: $(MAKE); $(unstage)
23912 @[ -f ./libtool/Makefile ] || exit 0; \
23913 r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(HOST_EXPORTS) \
23916 for flag in $(EXTRA_HOST_FLAGS) ; do \
23917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23918 done; \
23919 echo "Doing info in libtool" ; \
23920 (cd $(HOST_SUBDIR)/libtool && \
23921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23923 "RANLIB=$${RANLIB}" \
23924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23925 info) \
23926 || exit 1
23928 @endif libtool
23930 .PHONY: maybe-dvi-libtool dvi-libtool
23931 maybe-dvi-libtool:
23932 @if libtool
23933 maybe-dvi-libtool: dvi-libtool
23935 dvi-libtool: \
23936 configure-libtool
23937 @: $(MAKE); $(unstage)
23938 @[ -f ./libtool/Makefile ] || exit 0; \
23939 r=`${PWD_COMMAND}`; export r; \
23940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23941 $(HOST_EXPORTS) \
23942 for flag in $(EXTRA_HOST_FLAGS) ; do \
23943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23944 done; \
23945 echo "Doing dvi in libtool" ; \
23946 (cd $(HOST_SUBDIR)/libtool && \
23947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23949 "RANLIB=$${RANLIB}" \
23950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23951 dvi) \
23952 || exit 1
23954 @endif libtool
23956 .PHONY: maybe-pdf-libtool pdf-libtool
23957 maybe-pdf-libtool:
23958 @if libtool
23959 maybe-pdf-libtool: pdf-libtool
23961 pdf-libtool: \
23962 configure-libtool
23963 @: $(MAKE); $(unstage)
23964 @[ -f ./libtool/Makefile ] || exit 0; \
23965 r=`${PWD_COMMAND}`; export r; \
23966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23967 $(HOST_EXPORTS) \
23968 for flag in $(EXTRA_HOST_FLAGS) ; do \
23969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23970 done; \
23971 echo "Doing pdf in libtool" ; \
23972 (cd $(HOST_SUBDIR)/libtool && \
23973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23975 "RANLIB=$${RANLIB}" \
23976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23977 pdf) \
23978 || exit 1
23980 @endif libtool
23982 .PHONY: maybe-html-libtool html-libtool
23983 maybe-html-libtool:
23984 @if libtool
23985 maybe-html-libtool: html-libtool
23987 html-libtool: \
23988 configure-libtool
23989 @: $(MAKE); $(unstage)
23990 @[ -f ./libtool/Makefile ] || exit 0; \
23991 r=`${PWD_COMMAND}`; export r; \
23992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23993 $(HOST_EXPORTS) \
23994 for flag in $(EXTRA_HOST_FLAGS) ; do \
23995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23996 done; \
23997 echo "Doing html in libtool" ; \
23998 (cd $(HOST_SUBDIR)/libtool && \
23999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24001 "RANLIB=$${RANLIB}" \
24002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24003 html) \
24004 || exit 1
24006 @endif libtool
24008 .PHONY: maybe-TAGS-libtool TAGS-libtool
24009 maybe-TAGS-libtool:
24010 @if libtool
24011 maybe-TAGS-libtool: TAGS-libtool
24013 TAGS-libtool: \
24014 configure-libtool
24015 @: $(MAKE); $(unstage)
24016 @[ -f ./libtool/Makefile ] || exit 0; \
24017 r=`${PWD_COMMAND}`; export r; \
24018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 $(HOST_EXPORTS) \
24020 for flag in $(EXTRA_HOST_FLAGS) ; do \
24021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24022 done; \
24023 echo "Doing TAGS in libtool" ; \
24024 (cd $(HOST_SUBDIR)/libtool && \
24025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24027 "RANLIB=$${RANLIB}" \
24028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24029 TAGS) \
24030 || exit 1
24032 @endif libtool
24034 .PHONY: maybe-install-info-libtool install-info-libtool
24035 maybe-install-info-libtool:
24036 @if libtool
24037 maybe-install-info-libtool: install-info-libtool
24039 install-info-libtool: \
24040 configure-libtool \
24041 info-libtool
24042 @: $(MAKE); $(unstage)
24043 @[ -f ./libtool/Makefile ] || exit 0; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing install-info in libtool" ; \
24051 (cd $(HOST_SUBDIR)/libtool && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24056 install-info) \
24057 || exit 1
24059 @endif libtool
24061 .PHONY: maybe-install-pdf-libtool install-pdf-libtool
24062 maybe-install-pdf-libtool:
24063 @if libtool
24064 maybe-install-pdf-libtool: install-pdf-libtool
24066 install-pdf-libtool: \
24067 configure-libtool \
24068 pdf-libtool
24069 @: $(MAKE); $(unstage)
24070 @[ -f ./libtool/Makefile ] || exit 0; \
24071 r=`${PWD_COMMAND}`; export r; \
24072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24073 $(HOST_EXPORTS) \
24074 for flag in $(EXTRA_HOST_FLAGS) ; do \
24075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24076 done; \
24077 echo "Doing install-pdf in libtool" ; \
24078 (cd $(HOST_SUBDIR)/libtool && \
24079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24081 "RANLIB=$${RANLIB}" \
24082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24083 install-pdf) \
24084 || exit 1
24086 @endif libtool
24088 .PHONY: maybe-install-html-libtool install-html-libtool
24089 maybe-install-html-libtool:
24090 @if libtool
24091 maybe-install-html-libtool: install-html-libtool
24093 install-html-libtool: \
24094 configure-libtool \
24095 html-libtool
24096 @: $(MAKE); $(unstage)
24097 @[ -f ./libtool/Makefile ] || exit 0; \
24098 r=`${PWD_COMMAND}`; export r; \
24099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24100 $(HOST_EXPORTS) \
24101 for flag in $(EXTRA_HOST_FLAGS) ; do \
24102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24103 done; \
24104 echo "Doing install-html in libtool" ; \
24105 (cd $(HOST_SUBDIR)/libtool && \
24106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24108 "RANLIB=$${RANLIB}" \
24109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24110 install-html) \
24111 || exit 1
24113 @endif libtool
24115 .PHONY: maybe-installcheck-libtool installcheck-libtool
24116 maybe-installcheck-libtool:
24117 @if libtool
24118 maybe-installcheck-libtool: installcheck-libtool
24120 installcheck-libtool: \
24121 configure-libtool
24122 @: $(MAKE); $(unstage)
24123 @[ -f ./libtool/Makefile ] || exit 0; \
24124 r=`${PWD_COMMAND}`; export r; \
24125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24126 $(HOST_EXPORTS) \
24127 for flag in $(EXTRA_HOST_FLAGS) ; do \
24128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24129 done; \
24130 echo "Doing installcheck in libtool" ; \
24131 (cd $(HOST_SUBDIR)/libtool && \
24132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24134 "RANLIB=$${RANLIB}" \
24135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24136 installcheck) \
24137 || exit 1
24139 @endif libtool
24141 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
24142 maybe-mostlyclean-libtool:
24143 @if libtool
24144 maybe-mostlyclean-libtool: mostlyclean-libtool
24146 mostlyclean-libtool:
24147 @: $(MAKE); $(unstage)
24148 @[ -f ./libtool/Makefile ] || exit 0; \
24149 r=`${PWD_COMMAND}`; export r; \
24150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24151 $(HOST_EXPORTS) \
24152 for flag in $(EXTRA_HOST_FLAGS) ; do \
24153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24154 done; \
24155 echo "Doing mostlyclean in libtool" ; \
24156 (cd $(HOST_SUBDIR)/libtool && \
24157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24159 "RANLIB=$${RANLIB}" \
24160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24161 mostlyclean) \
24162 || exit 1
24164 @endif libtool
24166 .PHONY: maybe-clean-libtool clean-libtool
24167 maybe-clean-libtool:
24168 @if libtool
24169 maybe-clean-libtool: clean-libtool
24171 clean-libtool:
24172 @: $(MAKE); $(unstage)
24173 @[ -f ./libtool/Makefile ] || exit 0; \
24174 r=`${PWD_COMMAND}`; export r; \
24175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24176 $(HOST_EXPORTS) \
24177 for flag in $(EXTRA_HOST_FLAGS) ; do \
24178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24179 done; \
24180 echo "Doing clean in libtool" ; \
24181 (cd $(HOST_SUBDIR)/libtool && \
24182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24184 "RANLIB=$${RANLIB}" \
24185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24186 clean) \
24187 || exit 1
24189 @endif libtool
24191 .PHONY: maybe-distclean-libtool distclean-libtool
24192 maybe-distclean-libtool:
24193 @if libtool
24194 maybe-distclean-libtool: distclean-libtool
24196 distclean-libtool:
24197 @: $(MAKE); $(unstage)
24198 @[ -f ./libtool/Makefile ] || exit 0; \
24199 r=`${PWD_COMMAND}`; export r; \
24200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24201 $(HOST_EXPORTS) \
24202 for flag in $(EXTRA_HOST_FLAGS) ; do \
24203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24204 done; \
24205 echo "Doing distclean in libtool" ; \
24206 (cd $(HOST_SUBDIR)/libtool && \
24207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24209 "RANLIB=$${RANLIB}" \
24210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24211 distclean) \
24212 || exit 1
24214 @endif libtool
24216 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
24217 maybe-maintainer-clean-libtool:
24218 @if libtool
24219 maybe-maintainer-clean-libtool: maintainer-clean-libtool
24221 maintainer-clean-libtool:
24222 @: $(MAKE); $(unstage)
24223 @[ -f ./libtool/Makefile ] || exit 0; \
24224 r=`${PWD_COMMAND}`; export r; \
24225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24226 $(HOST_EXPORTS) \
24227 for flag in $(EXTRA_HOST_FLAGS) ; do \
24228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24229 done; \
24230 echo "Doing maintainer-clean in libtool" ; \
24231 (cd $(HOST_SUBDIR)/libtool && \
24232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24234 "RANLIB=$${RANLIB}" \
24235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24236 maintainer-clean) \
24237 || exit 1
24239 @endif libtool
24243 .PHONY: configure-m4 maybe-configure-m4
24244 maybe-configure-m4:
24245 @if gcc-bootstrap
24246 configure-m4: stage_current
24247 @endif gcc-bootstrap
24248 @if m4
24249 maybe-configure-m4: configure-m4
24250 configure-m4:
24251 @: $(MAKE); $(unstage)
24252 @r=`${PWD_COMMAND}`; export r; \
24253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24254 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
24256 $(HOST_EXPORTS) \
24257 echo Configuring in $(HOST_SUBDIR)/m4; \
24258 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24259 case $(srcdir) in \
24260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24261 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24263 esac; \
24264 srcdiroption="--srcdir=$${topdir}/m4"; \
24265 libsrcdir="$$s/m4"; \
24266 $(SHELL) $${libsrcdir}/configure \
24267 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24268 --target=${target_alias} $${srcdiroption} \
24269 || exit 1
24270 @endif m4
24276 .PHONY: all-m4 maybe-all-m4
24277 maybe-all-m4:
24278 @if gcc-bootstrap
24279 all-m4: stage_current
24280 @endif gcc-bootstrap
24281 @if m4
24282 TARGET-m4=all
24283 maybe-all-m4: all-m4
24284 all-m4: configure-m4
24285 @: $(MAKE); $(unstage)
24286 @r=`${PWD_COMMAND}`; export r; \
24287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24288 $(HOST_EXPORTS) \
24289 (cd $(HOST_SUBDIR)/m4 && \
24290 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
24291 @endif m4
24296 .PHONY: check-m4 maybe-check-m4
24297 maybe-check-m4:
24298 @if m4
24299 maybe-check-m4: check-m4
24301 check-m4:
24302 @: $(MAKE); $(unstage)
24303 @r=`${PWD_COMMAND}`; export r; \
24304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(HOST_EXPORTS) \
24306 (cd $(HOST_SUBDIR)/m4 && \
24307 $(MAKE) $(FLAGS_TO_PASS) check)
24309 @endif m4
24311 .PHONY: install-m4 maybe-install-m4
24312 maybe-install-m4:
24313 @if m4
24314 maybe-install-m4: install-m4
24316 install-m4: installdirs
24317 @: $(MAKE); $(unstage)
24318 @r=`${PWD_COMMAND}`; export r; \
24319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 $(HOST_EXPORTS) \
24321 (cd $(HOST_SUBDIR)/m4 && \
24322 $(MAKE) $(FLAGS_TO_PASS) install)
24324 @endif m4
24326 # Other targets (info, dvi, pdf, etc.)
24328 .PHONY: maybe-info-m4 info-m4
24329 maybe-info-m4:
24330 @if m4
24331 maybe-info-m4: info-m4
24333 info-m4: \
24334 configure-m4
24335 @: $(MAKE); $(unstage)
24336 @[ -f ./m4/Makefile ] || exit 0; \
24337 r=`${PWD_COMMAND}`; export r; \
24338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24339 $(HOST_EXPORTS) \
24340 for flag in $(EXTRA_HOST_FLAGS) ; do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 echo "Doing info in m4" ; \
24344 (cd $(HOST_SUBDIR)/m4 && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24349 info) \
24350 || exit 1
24352 @endif m4
24354 .PHONY: maybe-dvi-m4 dvi-m4
24355 maybe-dvi-m4:
24356 @if m4
24357 maybe-dvi-m4: dvi-m4
24359 dvi-m4: \
24360 configure-m4
24361 @: $(MAKE); $(unstage)
24362 @[ -f ./m4/Makefile ] || exit 0; \
24363 r=`${PWD_COMMAND}`; export r; \
24364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24365 $(HOST_EXPORTS) \
24366 for flag in $(EXTRA_HOST_FLAGS) ; do \
24367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24368 done; \
24369 echo "Doing dvi in m4" ; \
24370 (cd $(HOST_SUBDIR)/m4 && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24375 dvi) \
24376 || exit 1
24378 @endif m4
24380 .PHONY: maybe-pdf-m4 pdf-m4
24381 maybe-pdf-m4:
24382 @if m4
24383 maybe-pdf-m4: pdf-m4
24385 pdf-m4: \
24386 configure-m4
24387 @: $(MAKE); $(unstage)
24388 @[ -f ./m4/Makefile ] || exit 0; \
24389 r=`${PWD_COMMAND}`; export r; \
24390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24391 $(HOST_EXPORTS) \
24392 for flag in $(EXTRA_HOST_FLAGS) ; do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 echo "Doing pdf in m4" ; \
24396 (cd $(HOST_SUBDIR)/m4 && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24401 pdf) \
24402 || exit 1
24404 @endif m4
24406 .PHONY: maybe-html-m4 html-m4
24407 maybe-html-m4:
24408 @if m4
24409 maybe-html-m4: html-m4
24411 html-m4: \
24412 configure-m4
24413 @: $(MAKE); $(unstage)
24414 @[ -f ./m4/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing html in m4" ; \
24422 (cd $(HOST_SUBDIR)/m4 && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24427 html) \
24428 || exit 1
24430 @endif m4
24432 .PHONY: maybe-TAGS-m4 TAGS-m4
24433 maybe-TAGS-m4:
24434 @if m4
24435 maybe-TAGS-m4: TAGS-m4
24437 TAGS-m4: \
24438 configure-m4
24439 @: $(MAKE); $(unstage)
24440 @[ -f ./m4/Makefile ] || exit 0; \
24441 r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(HOST_EXPORTS) \
24444 for flag in $(EXTRA_HOST_FLAGS) ; do \
24445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24446 done; \
24447 echo "Doing TAGS in m4" ; \
24448 (cd $(HOST_SUBDIR)/m4 && \
24449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24451 "RANLIB=$${RANLIB}" \
24452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24453 TAGS) \
24454 || exit 1
24456 @endif m4
24458 .PHONY: maybe-install-info-m4 install-info-m4
24459 maybe-install-info-m4:
24460 @if m4
24461 maybe-install-info-m4: install-info-m4
24463 install-info-m4: \
24464 configure-m4 \
24465 info-m4
24466 @: $(MAKE); $(unstage)
24467 @[ -f ./m4/Makefile ] || exit 0; \
24468 r=`${PWD_COMMAND}`; export r; \
24469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24470 $(HOST_EXPORTS) \
24471 for flag in $(EXTRA_HOST_FLAGS) ; do \
24472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24473 done; \
24474 echo "Doing install-info in m4" ; \
24475 (cd $(HOST_SUBDIR)/m4 && \
24476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24478 "RANLIB=$${RANLIB}" \
24479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24480 install-info) \
24481 || exit 1
24483 @endif m4
24485 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24486 maybe-install-pdf-m4:
24487 @if m4
24488 maybe-install-pdf-m4: install-pdf-m4
24490 install-pdf-m4: \
24491 configure-m4 \
24492 pdf-m4
24493 @: $(MAKE); $(unstage)
24494 @[ -f ./m4/Makefile ] || exit 0; \
24495 r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(HOST_EXPORTS) \
24498 for flag in $(EXTRA_HOST_FLAGS) ; do \
24499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24500 done; \
24501 echo "Doing install-pdf in m4" ; \
24502 (cd $(HOST_SUBDIR)/m4 && \
24503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24505 "RANLIB=$${RANLIB}" \
24506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24507 install-pdf) \
24508 || exit 1
24510 @endif m4
24512 .PHONY: maybe-install-html-m4 install-html-m4
24513 maybe-install-html-m4:
24514 @if m4
24515 maybe-install-html-m4: install-html-m4
24517 install-html-m4: \
24518 configure-m4 \
24519 html-m4
24520 @: $(MAKE); $(unstage)
24521 @[ -f ./m4/Makefile ] || exit 0; \
24522 r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24524 $(HOST_EXPORTS) \
24525 for flag in $(EXTRA_HOST_FLAGS) ; do \
24526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24527 done; \
24528 echo "Doing install-html in m4" ; \
24529 (cd $(HOST_SUBDIR)/m4 && \
24530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24532 "RANLIB=$${RANLIB}" \
24533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24534 install-html) \
24535 || exit 1
24537 @endif m4
24539 .PHONY: maybe-installcheck-m4 installcheck-m4
24540 maybe-installcheck-m4:
24541 @if m4
24542 maybe-installcheck-m4: installcheck-m4
24544 installcheck-m4: \
24545 configure-m4
24546 @: $(MAKE); $(unstage)
24547 @[ -f ./m4/Makefile ] || exit 0; \
24548 r=`${PWD_COMMAND}`; export r; \
24549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24550 $(HOST_EXPORTS) \
24551 for flag in $(EXTRA_HOST_FLAGS) ; do \
24552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24553 done; \
24554 echo "Doing installcheck in m4" ; \
24555 (cd $(HOST_SUBDIR)/m4 && \
24556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24558 "RANLIB=$${RANLIB}" \
24559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24560 installcheck) \
24561 || exit 1
24563 @endif m4
24565 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24566 maybe-mostlyclean-m4:
24567 @if m4
24568 maybe-mostlyclean-m4: mostlyclean-m4
24570 mostlyclean-m4:
24571 @: $(MAKE); $(unstage)
24572 @[ -f ./m4/Makefile ] || exit 0; \
24573 r=`${PWD_COMMAND}`; export r; \
24574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24575 $(HOST_EXPORTS) \
24576 for flag in $(EXTRA_HOST_FLAGS) ; do \
24577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24578 done; \
24579 echo "Doing mostlyclean in m4" ; \
24580 (cd $(HOST_SUBDIR)/m4 && \
24581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24583 "RANLIB=$${RANLIB}" \
24584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24585 mostlyclean) \
24586 || exit 1
24588 @endif m4
24590 .PHONY: maybe-clean-m4 clean-m4
24591 maybe-clean-m4:
24592 @if m4
24593 maybe-clean-m4: clean-m4
24595 clean-m4:
24596 @: $(MAKE); $(unstage)
24597 @[ -f ./m4/Makefile ] || exit 0; \
24598 r=`${PWD_COMMAND}`; export r; \
24599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24600 $(HOST_EXPORTS) \
24601 for flag in $(EXTRA_HOST_FLAGS) ; do \
24602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24603 done; \
24604 echo "Doing clean in m4" ; \
24605 (cd $(HOST_SUBDIR)/m4 && \
24606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24608 "RANLIB=$${RANLIB}" \
24609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24610 clean) \
24611 || exit 1
24613 @endif m4
24615 .PHONY: maybe-distclean-m4 distclean-m4
24616 maybe-distclean-m4:
24617 @if m4
24618 maybe-distclean-m4: distclean-m4
24620 distclean-m4:
24621 @: $(MAKE); $(unstage)
24622 @[ -f ./m4/Makefile ] || exit 0; \
24623 r=`${PWD_COMMAND}`; export r; \
24624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24625 $(HOST_EXPORTS) \
24626 for flag in $(EXTRA_HOST_FLAGS) ; do \
24627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24628 done; \
24629 echo "Doing distclean in m4" ; \
24630 (cd $(HOST_SUBDIR)/m4 && \
24631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24633 "RANLIB=$${RANLIB}" \
24634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24635 distclean) \
24636 || exit 1
24638 @endif m4
24640 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24641 maybe-maintainer-clean-m4:
24642 @if m4
24643 maybe-maintainer-clean-m4: maintainer-clean-m4
24645 maintainer-clean-m4:
24646 @: $(MAKE); $(unstage)
24647 @[ -f ./m4/Makefile ] || exit 0; \
24648 r=`${PWD_COMMAND}`; export r; \
24649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24650 $(HOST_EXPORTS) \
24651 for flag in $(EXTRA_HOST_FLAGS) ; do \
24652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24653 done; \
24654 echo "Doing maintainer-clean in m4" ; \
24655 (cd $(HOST_SUBDIR)/m4 && \
24656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24658 "RANLIB=$${RANLIB}" \
24659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24660 maintainer-clean) \
24661 || exit 1
24663 @endif m4
24667 .PHONY: configure-make maybe-configure-make
24668 maybe-configure-make:
24669 @if gcc-bootstrap
24670 configure-make: stage_current
24671 @endif gcc-bootstrap
24672 @if make
24673 maybe-configure-make: configure-make
24674 configure-make:
24675 @: $(MAKE); $(unstage)
24676 @r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24678 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
24679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
24680 $(HOST_EXPORTS) \
24681 echo Configuring in $(HOST_SUBDIR)/make; \
24682 cd "$(HOST_SUBDIR)/make" || exit 1; \
24683 case $(srcdir) in \
24684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24685 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
24686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24687 esac; \
24688 srcdiroption="--srcdir=$${topdir}/make"; \
24689 libsrcdir="$$s/make"; \
24690 $(SHELL) $${libsrcdir}/configure \
24691 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24692 --target=${target_alias} $${srcdiroption} \
24693 || exit 1
24694 @endif make
24700 .PHONY: all-make maybe-all-make
24701 maybe-all-make:
24702 @if gcc-bootstrap
24703 all-make: stage_current
24704 @endif gcc-bootstrap
24705 @if make
24706 TARGET-make=all
24707 maybe-all-make: all-make
24708 all-make: configure-make
24709 @: $(MAKE); $(unstage)
24710 @r=`${PWD_COMMAND}`; export r; \
24711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24712 $(HOST_EXPORTS) \
24713 (cd $(HOST_SUBDIR)/make && \
24714 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
24715 @endif make
24720 .PHONY: check-make maybe-check-make
24721 maybe-check-make:
24722 @if make
24723 maybe-check-make: check-make
24725 check-make:
24726 @: $(MAKE); $(unstage)
24727 @r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(HOST_EXPORTS) \
24730 (cd $(HOST_SUBDIR)/make && \
24731 $(MAKE) $(FLAGS_TO_PASS) check)
24733 @endif make
24735 .PHONY: install-make maybe-install-make
24736 maybe-install-make:
24737 @if make
24738 maybe-install-make: install-make
24740 install-make: installdirs
24741 @: $(MAKE); $(unstage)
24742 @r=`${PWD_COMMAND}`; export r; \
24743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24744 $(HOST_EXPORTS) \
24745 (cd $(HOST_SUBDIR)/make && \
24746 $(MAKE) $(FLAGS_TO_PASS) install)
24748 @endif make
24750 # Other targets (info, dvi, pdf, etc.)
24752 .PHONY: maybe-info-make info-make
24753 maybe-info-make:
24754 @if make
24755 maybe-info-make: info-make
24757 info-make: \
24758 configure-make
24759 @: $(MAKE); $(unstage)
24760 @[ -f ./make/Makefile ] || exit 0; \
24761 r=`${PWD_COMMAND}`; export r; \
24762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24763 $(HOST_EXPORTS) \
24764 for flag in $(EXTRA_HOST_FLAGS) ; do \
24765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24766 done; \
24767 echo "Doing info in make" ; \
24768 (cd $(HOST_SUBDIR)/make && \
24769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24771 "RANLIB=$${RANLIB}" \
24772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24773 info) \
24774 || exit 1
24776 @endif make
24778 .PHONY: maybe-dvi-make dvi-make
24779 maybe-dvi-make:
24780 @if make
24781 maybe-dvi-make: dvi-make
24783 dvi-make: \
24784 configure-make
24785 @: $(MAKE); $(unstage)
24786 @[ -f ./make/Makefile ] || exit 0; \
24787 r=`${PWD_COMMAND}`; export r; \
24788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24789 $(HOST_EXPORTS) \
24790 for flag in $(EXTRA_HOST_FLAGS) ; do \
24791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24792 done; \
24793 echo "Doing dvi in make" ; \
24794 (cd $(HOST_SUBDIR)/make && \
24795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24797 "RANLIB=$${RANLIB}" \
24798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24799 dvi) \
24800 || exit 1
24802 @endif make
24804 .PHONY: maybe-pdf-make pdf-make
24805 maybe-pdf-make:
24806 @if make
24807 maybe-pdf-make: pdf-make
24809 pdf-make: \
24810 configure-make
24811 @: $(MAKE); $(unstage)
24812 @[ -f ./make/Makefile ] || exit 0; \
24813 r=`${PWD_COMMAND}`; export r; \
24814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24815 $(HOST_EXPORTS) \
24816 for flag in $(EXTRA_HOST_FLAGS) ; do \
24817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24818 done; \
24819 echo "Doing pdf in make" ; \
24820 (cd $(HOST_SUBDIR)/make && \
24821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24823 "RANLIB=$${RANLIB}" \
24824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24825 pdf) \
24826 || exit 1
24828 @endif make
24830 .PHONY: maybe-html-make html-make
24831 maybe-html-make:
24832 @if make
24833 maybe-html-make: html-make
24835 html-make: \
24836 configure-make
24837 @: $(MAKE); $(unstage)
24838 @[ -f ./make/Makefile ] || exit 0; \
24839 r=`${PWD_COMMAND}`; export r; \
24840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24841 $(HOST_EXPORTS) \
24842 for flag in $(EXTRA_HOST_FLAGS) ; do \
24843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24844 done; \
24845 echo "Doing html in make" ; \
24846 (cd $(HOST_SUBDIR)/make && \
24847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24849 "RANLIB=$${RANLIB}" \
24850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24851 html) \
24852 || exit 1
24854 @endif make
24856 .PHONY: maybe-TAGS-make TAGS-make
24857 maybe-TAGS-make:
24858 @if make
24859 maybe-TAGS-make: TAGS-make
24861 TAGS-make: \
24862 configure-make
24863 @: $(MAKE); $(unstage)
24864 @[ -f ./make/Makefile ] || exit 0; \
24865 r=`${PWD_COMMAND}`; export r; \
24866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24867 $(HOST_EXPORTS) \
24868 for flag in $(EXTRA_HOST_FLAGS) ; do \
24869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24870 done; \
24871 echo "Doing TAGS in make" ; \
24872 (cd $(HOST_SUBDIR)/make && \
24873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24875 "RANLIB=$${RANLIB}" \
24876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24877 TAGS) \
24878 || exit 1
24880 @endif make
24882 .PHONY: maybe-install-info-make install-info-make
24883 maybe-install-info-make:
24884 @if make
24885 maybe-install-info-make: install-info-make
24887 install-info-make: \
24888 configure-make \
24889 info-make
24890 @: $(MAKE); $(unstage)
24891 @[ -f ./make/Makefile ] || exit 0; \
24892 r=`${PWD_COMMAND}`; export r; \
24893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24894 $(HOST_EXPORTS) \
24895 for flag in $(EXTRA_HOST_FLAGS) ; do \
24896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24897 done; \
24898 echo "Doing install-info in make" ; \
24899 (cd $(HOST_SUBDIR)/make && \
24900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24902 "RANLIB=$${RANLIB}" \
24903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24904 install-info) \
24905 || exit 1
24907 @endif make
24909 .PHONY: maybe-install-pdf-make install-pdf-make
24910 maybe-install-pdf-make:
24911 @if make
24912 maybe-install-pdf-make: install-pdf-make
24914 install-pdf-make: \
24915 configure-make \
24916 pdf-make
24917 @: $(MAKE); $(unstage)
24918 @[ -f ./make/Makefile ] || exit 0; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(HOST_EXPORTS) \
24922 for flag in $(EXTRA_HOST_FLAGS) ; do \
24923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24924 done; \
24925 echo "Doing install-pdf in make" ; \
24926 (cd $(HOST_SUBDIR)/make && \
24927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24929 "RANLIB=$${RANLIB}" \
24930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24931 install-pdf) \
24932 || exit 1
24934 @endif make
24936 .PHONY: maybe-install-html-make install-html-make
24937 maybe-install-html-make:
24938 @if make
24939 maybe-install-html-make: install-html-make
24941 install-html-make: \
24942 configure-make \
24943 html-make
24944 @: $(MAKE); $(unstage)
24945 @[ -f ./make/Makefile ] || exit 0; \
24946 r=`${PWD_COMMAND}`; export r; \
24947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24948 $(HOST_EXPORTS) \
24949 for flag in $(EXTRA_HOST_FLAGS) ; do \
24950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24951 done; \
24952 echo "Doing install-html in make" ; \
24953 (cd $(HOST_SUBDIR)/make && \
24954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24956 "RANLIB=$${RANLIB}" \
24957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24958 install-html) \
24959 || exit 1
24961 @endif make
24963 .PHONY: maybe-installcheck-make installcheck-make
24964 maybe-installcheck-make:
24965 @if make
24966 maybe-installcheck-make: installcheck-make
24968 installcheck-make: \
24969 configure-make
24970 @: $(MAKE); $(unstage)
24971 @[ -f ./make/Makefile ] || exit 0; \
24972 r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974 $(HOST_EXPORTS) \
24975 for flag in $(EXTRA_HOST_FLAGS) ; do \
24976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24977 done; \
24978 echo "Doing installcheck in make" ; \
24979 (cd $(HOST_SUBDIR)/make && \
24980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24982 "RANLIB=$${RANLIB}" \
24983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24984 installcheck) \
24985 || exit 1
24987 @endif make
24989 .PHONY: maybe-mostlyclean-make mostlyclean-make
24990 maybe-mostlyclean-make:
24991 @if make
24992 maybe-mostlyclean-make: mostlyclean-make
24994 mostlyclean-make:
24995 @: $(MAKE); $(unstage)
24996 @[ -f ./make/Makefile ] || exit 0; \
24997 r=`${PWD_COMMAND}`; export r; \
24998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24999 $(HOST_EXPORTS) \
25000 for flag in $(EXTRA_HOST_FLAGS) ; do \
25001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25002 done; \
25003 echo "Doing mostlyclean in make" ; \
25004 (cd $(HOST_SUBDIR)/make && \
25005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25007 "RANLIB=$${RANLIB}" \
25008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25009 mostlyclean) \
25010 || exit 1
25012 @endif make
25014 .PHONY: maybe-clean-make clean-make
25015 maybe-clean-make:
25016 @if make
25017 maybe-clean-make: clean-make
25019 clean-make:
25020 @: $(MAKE); $(unstage)
25021 @[ -f ./make/Makefile ] || exit 0; \
25022 r=`${PWD_COMMAND}`; export r; \
25023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25024 $(HOST_EXPORTS) \
25025 for flag in $(EXTRA_HOST_FLAGS) ; do \
25026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25027 done; \
25028 echo "Doing clean in make" ; \
25029 (cd $(HOST_SUBDIR)/make && \
25030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25032 "RANLIB=$${RANLIB}" \
25033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25034 clean) \
25035 || exit 1
25037 @endif make
25039 .PHONY: maybe-distclean-make distclean-make
25040 maybe-distclean-make:
25041 @if make
25042 maybe-distclean-make: distclean-make
25044 distclean-make:
25045 @: $(MAKE); $(unstage)
25046 @[ -f ./make/Makefile ] || exit 0; \
25047 r=`${PWD_COMMAND}`; export r; \
25048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25049 $(HOST_EXPORTS) \
25050 for flag in $(EXTRA_HOST_FLAGS) ; do \
25051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25052 done; \
25053 echo "Doing distclean in make" ; \
25054 (cd $(HOST_SUBDIR)/make && \
25055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25057 "RANLIB=$${RANLIB}" \
25058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25059 distclean) \
25060 || exit 1
25062 @endif make
25064 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
25065 maybe-maintainer-clean-make:
25066 @if make
25067 maybe-maintainer-clean-make: maintainer-clean-make
25069 maintainer-clean-make:
25070 @: $(MAKE); $(unstage)
25071 @[ -f ./make/Makefile ] || exit 0; \
25072 r=`${PWD_COMMAND}`; export r; \
25073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25074 $(HOST_EXPORTS) \
25075 for flag in $(EXTRA_HOST_FLAGS) ; do \
25076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25077 done; \
25078 echo "Doing maintainer-clean in make" ; \
25079 (cd $(HOST_SUBDIR)/make && \
25080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25082 "RANLIB=$${RANLIB}" \
25083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25084 maintainer-clean) \
25085 || exit 1
25087 @endif make
25091 .PHONY: configure-mmalloc maybe-configure-mmalloc
25092 maybe-configure-mmalloc:
25093 @if gcc-bootstrap
25094 configure-mmalloc: stage_current
25095 @endif gcc-bootstrap
25096 @if mmalloc
25097 maybe-configure-mmalloc: configure-mmalloc
25098 configure-mmalloc:
25099 @: $(MAKE); $(unstage)
25100 @r=`${PWD_COMMAND}`; export r; \
25101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25102 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
25103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
25104 $(HOST_EXPORTS) \
25105 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
25106 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
25107 case $(srcdir) in \
25108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25109 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
25110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25111 esac; \
25112 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
25113 libsrcdir="$$s/mmalloc"; \
25114 $(SHELL) $${libsrcdir}/configure \
25115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25116 --target=${target_alias} $${srcdiroption} \
25117 || exit 1
25118 @endif mmalloc
25124 .PHONY: all-mmalloc maybe-all-mmalloc
25125 maybe-all-mmalloc:
25126 @if gcc-bootstrap
25127 all-mmalloc: stage_current
25128 @endif gcc-bootstrap
25129 @if mmalloc
25130 TARGET-mmalloc=all
25131 maybe-all-mmalloc: all-mmalloc
25132 all-mmalloc: configure-mmalloc
25133 @: $(MAKE); $(unstage)
25134 @r=`${PWD_COMMAND}`; export r; \
25135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25136 $(HOST_EXPORTS) \
25137 (cd $(HOST_SUBDIR)/mmalloc && \
25138 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
25139 @endif mmalloc
25144 .PHONY: check-mmalloc maybe-check-mmalloc
25145 maybe-check-mmalloc:
25146 @if mmalloc
25147 maybe-check-mmalloc: check-mmalloc
25149 check-mmalloc:
25151 @endif mmalloc
25153 .PHONY: install-mmalloc maybe-install-mmalloc
25154 maybe-install-mmalloc:
25155 @if mmalloc
25156 maybe-install-mmalloc: install-mmalloc
25158 install-mmalloc: installdirs
25159 @: $(MAKE); $(unstage)
25160 @r=`${PWD_COMMAND}`; export r; \
25161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25162 $(HOST_EXPORTS) \
25163 (cd $(HOST_SUBDIR)/mmalloc && \
25164 $(MAKE) $(FLAGS_TO_PASS) install)
25166 @endif mmalloc
25168 # Other targets (info, dvi, pdf, etc.)
25170 .PHONY: maybe-info-mmalloc info-mmalloc
25171 maybe-info-mmalloc:
25172 @if mmalloc
25173 maybe-info-mmalloc: info-mmalloc
25175 info-mmalloc: \
25176 configure-mmalloc
25177 @: $(MAKE); $(unstage)
25178 @[ -f ./mmalloc/Makefile ] || exit 0; \
25179 r=`${PWD_COMMAND}`; export r; \
25180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25181 $(HOST_EXPORTS) \
25182 for flag in $(EXTRA_HOST_FLAGS) ; do \
25183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25184 done; \
25185 echo "Doing info in mmalloc" ; \
25186 (cd $(HOST_SUBDIR)/mmalloc && \
25187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25189 "RANLIB=$${RANLIB}" \
25190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25191 info) \
25192 || exit 1
25194 @endif mmalloc
25196 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
25197 maybe-dvi-mmalloc:
25198 @if mmalloc
25199 maybe-dvi-mmalloc: dvi-mmalloc
25201 dvi-mmalloc: \
25202 configure-mmalloc
25203 @: $(MAKE); $(unstage)
25204 @[ -f ./mmalloc/Makefile ] || exit 0; \
25205 r=`${PWD_COMMAND}`; export r; \
25206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25207 $(HOST_EXPORTS) \
25208 for flag in $(EXTRA_HOST_FLAGS) ; do \
25209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25210 done; \
25211 echo "Doing dvi in mmalloc" ; \
25212 (cd $(HOST_SUBDIR)/mmalloc && \
25213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25215 "RANLIB=$${RANLIB}" \
25216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25217 dvi) \
25218 || exit 1
25220 @endif mmalloc
25222 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
25223 maybe-pdf-mmalloc:
25224 @if mmalloc
25225 maybe-pdf-mmalloc: pdf-mmalloc
25227 pdf-mmalloc: \
25228 configure-mmalloc
25229 @: $(MAKE); $(unstage)
25230 @[ -f ./mmalloc/Makefile ] || exit 0; \
25231 r=`${PWD_COMMAND}`; export r; \
25232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25233 $(HOST_EXPORTS) \
25234 for flag in $(EXTRA_HOST_FLAGS) ; do \
25235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25236 done; \
25237 echo "Doing pdf in mmalloc" ; \
25238 (cd $(HOST_SUBDIR)/mmalloc && \
25239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25241 "RANLIB=$${RANLIB}" \
25242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25243 pdf) \
25244 || exit 1
25246 @endif mmalloc
25248 .PHONY: maybe-html-mmalloc html-mmalloc
25249 maybe-html-mmalloc:
25250 @if mmalloc
25251 maybe-html-mmalloc: html-mmalloc
25253 html-mmalloc: \
25254 configure-mmalloc
25255 @: $(MAKE); $(unstage)
25256 @[ -f ./mmalloc/Makefile ] || exit 0; \
25257 r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25259 $(HOST_EXPORTS) \
25260 for flag in $(EXTRA_HOST_FLAGS) ; do \
25261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25262 done; \
25263 echo "Doing html in mmalloc" ; \
25264 (cd $(HOST_SUBDIR)/mmalloc && \
25265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25267 "RANLIB=$${RANLIB}" \
25268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25269 html) \
25270 || exit 1
25272 @endif mmalloc
25274 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
25275 maybe-TAGS-mmalloc:
25276 @if mmalloc
25277 maybe-TAGS-mmalloc: TAGS-mmalloc
25279 TAGS-mmalloc: \
25280 configure-mmalloc
25281 @: $(MAKE); $(unstage)
25282 @[ -f ./mmalloc/Makefile ] || exit 0; \
25283 r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 $(HOST_EXPORTS) \
25286 for flag in $(EXTRA_HOST_FLAGS) ; do \
25287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25288 done; \
25289 echo "Doing TAGS in mmalloc" ; \
25290 (cd $(HOST_SUBDIR)/mmalloc && \
25291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25293 "RANLIB=$${RANLIB}" \
25294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25295 TAGS) \
25296 || exit 1
25298 @endif mmalloc
25300 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
25301 maybe-install-info-mmalloc:
25302 @if mmalloc
25303 maybe-install-info-mmalloc: install-info-mmalloc
25305 install-info-mmalloc: \
25306 configure-mmalloc \
25307 info-mmalloc
25308 @: $(MAKE); $(unstage)
25309 @[ -f ./mmalloc/Makefile ] || exit 0; \
25310 r=`${PWD_COMMAND}`; export r; \
25311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25312 $(HOST_EXPORTS) \
25313 for flag in $(EXTRA_HOST_FLAGS) ; do \
25314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25315 done; \
25316 echo "Doing install-info in mmalloc" ; \
25317 (cd $(HOST_SUBDIR)/mmalloc && \
25318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25320 "RANLIB=$${RANLIB}" \
25321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25322 install-info) \
25323 || exit 1
25325 @endif mmalloc
25327 .PHONY: maybe-install-pdf-mmalloc install-pdf-mmalloc
25328 maybe-install-pdf-mmalloc:
25329 @if mmalloc
25330 maybe-install-pdf-mmalloc: install-pdf-mmalloc
25332 install-pdf-mmalloc: \
25333 configure-mmalloc \
25334 pdf-mmalloc
25335 @: $(MAKE); $(unstage)
25336 @[ -f ./mmalloc/Makefile ] || exit 0; \
25337 r=`${PWD_COMMAND}`; export r; \
25338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25339 $(HOST_EXPORTS) \
25340 for flag in $(EXTRA_HOST_FLAGS) ; do \
25341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25342 done; \
25343 echo "Doing install-pdf in mmalloc" ; \
25344 (cd $(HOST_SUBDIR)/mmalloc && \
25345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25347 "RANLIB=$${RANLIB}" \
25348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25349 install-pdf) \
25350 || exit 1
25352 @endif mmalloc
25354 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
25355 maybe-install-html-mmalloc:
25356 @if mmalloc
25357 maybe-install-html-mmalloc: install-html-mmalloc
25359 install-html-mmalloc: \
25360 configure-mmalloc \
25361 html-mmalloc
25362 @: $(MAKE); $(unstage)
25363 @[ -f ./mmalloc/Makefile ] || exit 0; \
25364 r=`${PWD_COMMAND}`; export r; \
25365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25366 $(HOST_EXPORTS) \
25367 for flag in $(EXTRA_HOST_FLAGS) ; do \
25368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25369 done; \
25370 echo "Doing install-html in mmalloc" ; \
25371 (cd $(HOST_SUBDIR)/mmalloc && \
25372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25374 "RANLIB=$${RANLIB}" \
25375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25376 install-html) \
25377 || exit 1
25379 @endif mmalloc
25381 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
25382 maybe-installcheck-mmalloc:
25383 @if mmalloc
25384 maybe-installcheck-mmalloc: installcheck-mmalloc
25386 installcheck-mmalloc: \
25387 configure-mmalloc
25388 @: $(MAKE); $(unstage)
25389 @[ -f ./mmalloc/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 installcheck in mmalloc" ; \
25397 (cd $(HOST_SUBDIR)/mmalloc && \
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}" \
25402 installcheck) \
25403 || exit 1
25405 @endif mmalloc
25407 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
25408 maybe-mostlyclean-mmalloc:
25409 @if mmalloc
25410 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
25412 mostlyclean-mmalloc:
25413 @: $(MAKE); $(unstage)
25414 @[ -f ./mmalloc/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 mostlyclean in mmalloc" ; \
25422 (cd $(HOST_SUBDIR)/mmalloc && \
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}" \
25427 mostlyclean) \
25428 || exit 1
25430 @endif mmalloc
25432 .PHONY: maybe-clean-mmalloc clean-mmalloc
25433 maybe-clean-mmalloc:
25434 @if mmalloc
25435 maybe-clean-mmalloc: clean-mmalloc
25437 clean-mmalloc:
25438 @: $(MAKE); $(unstage)
25439 @[ -f ./mmalloc/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 clean in mmalloc" ; \
25447 (cd $(HOST_SUBDIR)/mmalloc && \
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}" \
25452 clean) \
25453 || exit 1
25455 @endif mmalloc
25457 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
25458 maybe-distclean-mmalloc:
25459 @if mmalloc
25460 maybe-distclean-mmalloc: distclean-mmalloc
25462 distclean-mmalloc:
25463 @: $(MAKE); $(unstage)
25464 @[ -f ./mmalloc/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 distclean in mmalloc" ; \
25472 (cd $(HOST_SUBDIR)/mmalloc && \
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}" \
25477 distclean) \
25478 || exit 1
25480 @endif mmalloc
25482 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
25483 maybe-maintainer-clean-mmalloc:
25484 @if mmalloc
25485 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
25487 maintainer-clean-mmalloc:
25488 @: $(MAKE); $(unstage)
25489 @[ -f ./mmalloc/Makefile ] || exit 0; \
25490 r=`${PWD_COMMAND}`; export r; \
25491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25492 $(HOST_EXPORTS) \
25493 for flag in $(EXTRA_HOST_FLAGS) ; do \
25494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25495 done; \
25496 echo "Doing maintainer-clean in mmalloc" ; \
25497 (cd $(HOST_SUBDIR)/mmalloc && \
25498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25500 "RANLIB=$${RANLIB}" \
25501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25502 maintainer-clean) \
25503 || exit 1
25505 @endif mmalloc
25509 .PHONY: configure-patch maybe-configure-patch
25510 maybe-configure-patch:
25511 @if gcc-bootstrap
25512 configure-patch: stage_current
25513 @endif gcc-bootstrap
25514 @if patch
25515 maybe-configure-patch: configure-patch
25516 configure-patch:
25517 @: $(MAKE); $(unstage)
25518 @r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
25521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
25522 $(HOST_EXPORTS) \
25523 echo Configuring in $(HOST_SUBDIR)/patch; \
25524 cd "$(HOST_SUBDIR)/patch" || exit 1; \
25525 case $(srcdir) in \
25526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25527 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
25528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25529 esac; \
25530 srcdiroption="--srcdir=$${topdir}/patch"; \
25531 libsrcdir="$$s/patch"; \
25532 $(SHELL) $${libsrcdir}/configure \
25533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25534 --target=${target_alias} $${srcdiroption} \
25535 || exit 1
25536 @endif patch
25542 .PHONY: all-patch maybe-all-patch
25543 maybe-all-patch:
25544 @if gcc-bootstrap
25545 all-patch: stage_current
25546 @endif gcc-bootstrap
25547 @if patch
25548 TARGET-patch=all
25549 maybe-all-patch: all-patch
25550 all-patch: configure-patch
25551 @: $(MAKE); $(unstage)
25552 @r=`${PWD_COMMAND}`; export r; \
25553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25554 $(HOST_EXPORTS) \
25555 (cd $(HOST_SUBDIR)/patch && \
25556 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
25557 @endif patch
25562 .PHONY: check-patch maybe-check-patch
25563 maybe-check-patch:
25564 @if patch
25565 maybe-check-patch: check-patch
25567 check-patch:
25568 @: $(MAKE); $(unstage)
25569 @r=`${PWD_COMMAND}`; export r; \
25570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571 $(HOST_EXPORTS) \
25572 (cd $(HOST_SUBDIR)/patch && \
25573 $(MAKE) $(FLAGS_TO_PASS) check)
25575 @endif patch
25577 .PHONY: install-patch maybe-install-patch
25578 maybe-install-patch:
25579 @if patch
25580 maybe-install-patch: install-patch
25582 install-patch: installdirs
25583 @: $(MAKE); $(unstage)
25584 @r=`${PWD_COMMAND}`; export r; \
25585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25586 $(HOST_EXPORTS) \
25587 (cd $(HOST_SUBDIR)/patch && \
25588 $(MAKE) $(FLAGS_TO_PASS) install)
25590 @endif patch
25592 # Other targets (info, dvi, pdf, etc.)
25594 .PHONY: maybe-info-patch info-patch
25595 maybe-info-patch:
25596 @if patch
25597 maybe-info-patch: info-patch
25599 info-patch: \
25600 configure-patch
25601 @: $(MAKE); $(unstage)
25602 @[ -f ./patch/Makefile ] || exit 0; \
25603 r=`${PWD_COMMAND}`; export r; \
25604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25605 $(HOST_EXPORTS) \
25606 for flag in $(EXTRA_HOST_FLAGS) ; do \
25607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25608 done; \
25609 echo "Doing info in patch" ; \
25610 (cd $(HOST_SUBDIR)/patch && \
25611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25613 "RANLIB=$${RANLIB}" \
25614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25615 info) \
25616 || exit 1
25618 @endif patch
25620 .PHONY: maybe-dvi-patch dvi-patch
25621 maybe-dvi-patch:
25622 @if patch
25623 maybe-dvi-patch: dvi-patch
25625 dvi-patch: \
25626 configure-patch
25627 @: $(MAKE); $(unstage)
25628 @[ -f ./patch/Makefile ] || exit 0; \
25629 r=`${PWD_COMMAND}`; export r; \
25630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(HOST_EXPORTS) \
25632 for flag in $(EXTRA_HOST_FLAGS) ; do \
25633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25634 done; \
25635 echo "Doing dvi in patch" ; \
25636 (cd $(HOST_SUBDIR)/patch && \
25637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25639 "RANLIB=$${RANLIB}" \
25640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25641 dvi) \
25642 || exit 1
25644 @endif patch
25646 .PHONY: maybe-pdf-patch pdf-patch
25647 maybe-pdf-patch:
25648 @if patch
25649 maybe-pdf-patch: pdf-patch
25651 pdf-patch: \
25652 configure-patch
25653 @: $(MAKE); $(unstage)
25654 @[ -f ./patch/Makefile ] || exit 0; \
25655 r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(HOST_EXPORTS) \
25658 for flag in $(EXTRA_HOST_FLAGS) ; do \
25659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25660 done; \
25661 echo "Doing pdf in patch" ; \
25662 (cd $(HOST_SUBDIR)/patch && \
25663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25665 "RANLIB=$${RANLIB}" \
25666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25667 pdf) \
25668 || exit 1
25670 @endif patch
25672 .PHONY: maybe-html-patch html-patch
25673 maybe-html-patch:
25674 @if patch
25675 maybe-html-patch: html-patch
25677 html-patch: \
25678 configure-patch
25679 @: $(MAKE); $(unstage)
25680 @[ -f ./patch/Makefile ] || exit 0; \
25681 r=`${PWD_COMMAND}`; export r; \
25682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25683 $(HOST_EXPORTS) \
25684 for flag in $(EXTRA_HOST_FLAGS) ; do \
25685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25686 done; \
25687 echo "Doing html in patch" ; \
25688 (cd $(HOST_SUBDIR)/patch && \
25689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25691 "RANLIB=$${RANLIB}" \
25692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25693 html) \
25694 || exit 1
25696 @endif patch
25698 .PHONY: maybe-TAGS-patch TAGS-patch
25699 maybe-TAGS-patch:
25700 @if patch
25701 maybe-TAGS-patch: TAGS-patch
25703 TAGS-patch: \
25704 configure-patch
25705 @: $(MAKE); $(unstage)
25706 @[ -f ./patch/Makefile ] || exit 0; \
25707 r=`${PWD_COMMAND}`; export r; \
25708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25709 $(HOST_EXPORTS) \
25710 for flag in $(EXTRA_HOST_FLAGS) ; do \
25711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25712 done; \
25713 echo "Doing TAGS in patch" ; \
25714 (cd $(HOST_SUBDIR)/patch && \
25715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25717 "RANLIB=$${RANLIB}" \
25718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25719 TAGS) \
25720 || exit 1
25722 @endif patch
25724 .PHONY: maybe-install-info-patch install-info-patch
25725 maybe-install-info-patch:
25726 @if patch
25727 maybe-install-info-patch: install-info-patch
25729 install-info-patch: \
25730 configure-patch \
25731 info-patch
25732 @: $(MAKE); $(unstage)
25733 @[ -f ./patch/Makefile ] || exit 0; \
25734 r=`${PWD_COMMAND}`; export r; \
25735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25736 $(HOST_EXPORTS) \
25737 for flag in $(EXTRA_HOST_FLAGS) ; do \
25738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25739 done; \
25740 echo "Doing install-info in patch" ; \
25741 (cd $(HOST_SUBDIR)/patch && \
25742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25744 "RANLIB=$${RANLIB}" \
25745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25746 install-info) \
25747 || exit 1
25749 @endif patch
25751 .PHONY: maybe-install-pdf-patch install-pdf-patch
25752 maybe-install-pdf-patch:
25753 @if patch
25754 maybe-install-pdf-patch: install-pdf-patch
25756 install-pdf-patch: \
25757 configure-patch \
25758 pdf-patch
25759 @: $(MAKE); $(unstage)
25760 @[ -f ./patch/Makefile ] || exit 0; \
25761 r=`${PWD_COMMAND}`; export r; \
25762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25763 $(HOST_EXPORTS) \
25764 for flag in $(EXTRA_HOST_FLAGS) ; do \
25765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25766 done; \
25767 echo "Doing install-pdf in patch" ; \
25768 (cd $(HOST_SUBDIR)/patch && \
25769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25771 "RANLIB=$${RANLIB}" \
25772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25773 install-pdf) \
25774 || exit 1
25776 @endif patch
25778 .PHONY: maybe-install-html-patch install-html-patch
25779 maybe-install-html-patch:
25780 @if patch
25781 maybe-install-html-patch: install-html-patch
25783 install-html-patch: \
25784 configure-patch \
25785 html-patch
25786 @: $(MAKE); $(unstage)
25787 @[ -f ./patch/Makefile ] || exit 0; \
25788 r=`${PWD_COMMAND}`; export r; \
25789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(HOST_EXPORTS) \
25791 for flag in $(EXTRA_HOST_FLAGS) ; do \
25792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25793 done; \
25794 echo "Doing install-html in patch" ; \
25795 (cd $(HOST_SUBDIR)/patch && \
25796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25798 "RANLIB=$${RANLIB}" \
25799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25800 install-html) \
25801 || exit 1
25803 @endif patch
25805 .PHONY: maybe-installcheck-patch installcheck-patch
25806 maybe-installcheck-patch:
25807 @if patch
25808 maybe-installcheck-patch: installcheck-patch
25810 installcheck-patch: \
25811 configure-patch
25812 @: $(MAKE); $(unstage)
25813 @[ -f ./patch/Makefile ] || exit 0; \
25814 r=`${PWD_COMMAND}`; export r; \
25815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25816 $(HOST_EXPORTS) \
25817 for flag in $(EXTRA_HOST_FLAGS) ; do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819 done; \
25820 echo "Doing installcheck in patch" ; \
25821 (cd $(HOST_SUBDIR)/patch && \
25822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25824 "RANLIB=$${RANLIB}" \
25825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25826 installcheck) \
25827 || exit 1
25829 @endif patch
25831 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
25832 maybe-mostlyclean-patch:
25833 @if patch
25834 maybe-mostlyclean-patch: mostlyclean-patch
25836 mostlyclean-patch:
25837 @: $(MAKE); $(unstage)
25838 @[ -f ./patch/Makefile ] || exit 0; \
25839 r=`${PWD_COMMAND}`; export r; \
25840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25841 $(HOST_EXPORTS) \
25842 for flag in $(EXTRA_HOST_FLAGS) ; do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25844 done; \
25845 echo "Doing mostlyclean in patch" ; \
25846 (cd $(HOST_SUBDIR)/patch && \
25847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25849 "RANLIB=$${RANLIB}" \
25850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 mostlyclean) \
25852 || exit 1
25854 @endif patch
25856 .PHONY: maybe-clean-patch clean-patch
25857 maybe-clean-patch:
25858 @if patch
25859 maybe-clean-patch: clean-patch
25861 clean-patch:
25862 @: $(MAKE); $(unstage)
25863 @[ -f ./patch/Makefile ] || exit 0; \
25864 r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 $(HOST_EXPORTS) \
25867 for flag in $(EXTRA_HOST_FLAGS) ; do \
25868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25869 done; \
25870 echo "Doing clean in patch" ; \
25871 (cd $(HOST_SUBDIR)/patch && \
25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25874 "RANLIB=$${RANLIB}" \
25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 clean) \
25877 || exit 1
25879 @endif patch
25881 .PHONY: maybe-distclean-patch distclean-patch
25882 maybe-distclean-patch:
25883 @if patch
25884 maybe-distclean-patch: distclean-patch
25886 distclean-patch:
25887 @: $(MAKE); $(unstage)
25888 @[ -f ./patch/Makefile ] || exit 0; \
25889 r=`${PWD_COMMAND}`; export r; \
25890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25891 $(HOST_EXPORTS) \
25892 for flag in $(EXTRA_HOST_FLAGS) ; do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894 done; \
25895 echo "Doing distclean in patch" ; \
25896 (cd $(HOST_SUBDIR)/patch && \
25897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25899 "RANLIB=$${RANLIB}" \
25900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25901 distclean) \
25902 || exit 1
25904 @endif patch
25906 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
25907 maybe-maintainer-clean-patch:
25908 @if patch
25909 maybe-maintainer-clean-patch: maintainer-clean-patch
25911 maintainer-clean-patch:
25912 @: $(MAKE); $(unstage)
25913 @[ -f ./patch/Makefile ] || exit 0; \
25914 r=`${PWD_COMMAND}`; export r; \
25915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25916 $(HOST_EXPORTS) \
25917 for flag in $(EXTRA_HOST_FLAGS) ; do \
25918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25919 done; \
25920 echo "Doing maintainer-clean in patch" ; \
25921 (cd $(HOST_SUBDIR)/patch && \
25922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25924 "RANLIB=$${RANLIB}" \
25925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25926 maintainer-clean) \
25927 || exit 1
25929 @endif patch
25933 .PHONY: configure-perl maybe-configure-perl
25934 maybe-configure-perl:
25935 @if gcc-bootstrap
25936 configure-perl: stage_current
25937 @endif gcc-bootstrap
25938 @if perl
25939 maybe-configure-perl: configure-perl
25940 configure-perl:
25941 @: $(MAKE); $(unstage)
25942 @r=`${PWD_COMMAND}`; export r; \
25943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25944 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
25945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
25946 $(HOST_EXPORTS) \
25947 echo Configuring in $(HOST_SUBDIR)/perl; \
25948 cd "$(HOST_SUBDIR)/perl" || exit 1; \
25949 case $(srcdir) in \
25950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25951 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
25952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25953 esac; \
25954 srcdiroption="--srcdir=$${topdir}/perl"; \
25955 libsrcdir="$$s/perl"; \
25956 $(SHELL) $${libsrcdir}/configure \
25957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25958 --target=${target_alias} $${srcdiroption} \
25959 || exit 1
25960 @endif perl
25966 .PHONY: all-perl maybe-all-perl
25967 maybe-all-perl:
25968 @if gcc-bootstrap
25969 all-perl: stage_current
25970 @endif gcc-bootstrap
25971 @if perl
25972 TARGET-perl=all
25973 maybe-all-perl: all-perl
25974 all-perl: configure-perl
25975 @: $(MAKE); $(unstage)
25976 @r=`${PWD_COMMAND}`; export r; \
25977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25978 $(HOST_EXPORTS) \
25979 (cd $(HOST_SUBDIR)/perl && \
25980 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
25981 @endif perl
25986 .PHONY: check-perl maybe-check-perl
25987 maybe-check-perl:
25988 @if perl
25989 maybe-check-perl: check-perl
25991 check-perl:
25992 @: $(MAKE); $(unstage)
25993 @r=`${PWD_COMMAND}`; export r; \
25994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25995 $(HOST_EXPORTS) \
25996 (cd $(HOST_SUBDIR)/perl && \
25997 $(MAKE) $(FLAGS_TO_PASS) check)
25999 @endif perl
26001 .PHONY: install-perl maybe-install-perl
26002 maybe-install-perl:
26003 @if perl
26004 maybe-install-perl: install-perl
26006 install-perl: installdirs
26007 @: $(MAKE); $(unstage)
26008 @r=`${PWD_COMMAND}`; export r; \
26009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26010 $(HOST_EXPORTS) \
26011 (cd $(HOST_SUBDIR)/perl && \
26012 $(MAKE) $(FLAGS_TO_PASS) install)
26014 @endif perl
26016 # Other targets (info, dvi, pdf, etc.)
26018 .PHONY: maybe-info-perl info-perl
26019 maybe-info-perl:
26020 @if perl
26021 maybe-info-perl: info-perl
26023 info-perl: \
26024 configure-perl
26025 @: $(MAKE); $(unstage)
26026 @[ -f ./perl/Makefile ] || exit 0; \
26027 r=`${PWD_COMMAND}`; export r; \
26028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26029 $(HOST_EXPORTS) \
26030 for flag in $(EXTRA_HOST_FLAGS) ; do \
26031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26032 done; \
26033 echo "Doing info in perl" ; \
26034 (cd $(HOST_SUBDIR)/perl && \
26035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26037 "RANLIB=$${RANLIB}" \
26038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26039 info) \
26040 || exit 1
26042 @endif perl
26044 .PHONY: maybe-dvi-perl dvi-perl
26045 maybe-dvi-perl:
26046 @if perl
26047 maybe-dvi-perl: dvi-perl
26049 dvi-perl: \
26050 configure-perl
26051 @: $(MAKE); $(unstage)
26052 @[ -f ./perl/Makefile ] || exit 0; \
26053 r=`${PWD_COMMAND}`; export r; \
26054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26055 $(HOST_EXPORTS) \
26056 for flag in $(EXTRA_HOST_FLAGS) ; do \
26057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26058 done; \
26059 echo "Doing dvi in perl" ; \
26060 (cd $(HOST_SUBDIR)/perl && \
26061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26063 "RANLIB=$${RANLIB}" \
26064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26065 dvi) \
26066 || exit 1
26068 @endif perl
26070 .PHONY: maybe-pdf-perl pdf-perl
26071 maybe-pdf-perl:
26072 @if perl
26073 maybe-pdf-perl: pdf-perl
26075 pdf-perl: \
26076 configure-perl
26077 @: $(MAKE); $(unstage)
26078 @[ -f ./perl/Makefile ] || exit 0; \
26079 r=`${PWD_COMMAND}`; export r; \
26080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26081 $(HOST_EXPORTS) \
26082 for flag in $(EXTRA_HOST_FLAGS) ; do \
26083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26084 done; \
26085 echo "Doing pdf in perl" ; \
26086 (cd $(HOST_SUBDIR)/perl && \
26087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26089 "RANLIB=$${RANLIB}" \
26090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26091 pdf) \
26092 || exit 1
26094 @endif perl
26096 .PHONY: maybe-html-perl html-perl
26097 maybe-html-perl:
26098 @if perl
26099 maybe-html-perl: html-perl
26101 html-perl: \
26102 configure-perl
26103 @: $(MAKE); $(unstage)
26104 @[ -f ./perl/Makefile ] || exit 0; \
26105 r=`${PWD_COMMAND}`; export r; \
26106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26107 $(HOST_EXPORTS) \
26108 for flag in $(EXTRA_HOST_FLAGS) ; do \
26109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26110 done; \
26111 echo "Doing html in perl" ; \
26112 (cd $(HOST_SUBDIR)/perl && \
26113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26115 "RANLIB=$${RANLIB}" \
26116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26117 html) \
26118 || exit 1
26120 @endif perl
26122 .PHONY: maybe-TAGS-perl TAGS-perl
26123 maybe-TAGS-perl:
26124 @if perl
26125 maybe-TAGS-perl: TAGS-perl
26127 TAGS-perl: \
26128 configure-perl
26129 @: $(MAKE); $(unstage)
26130 @[ -f ./perl/Makefile ] || exit 0; \
26131 r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26133 $(HOST_EXPORTS) \
26134 for flag in $(EXTRA_HOST_FLAGS) ; do \
26135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26136 done; \
26137 echo "Doing TAGS in perl" ; \
26138 (cd $(HOST_SUBDIR)/perl && \
26139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26141 "RANLIB=$${RANLIB}" \
26142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26143 TAGS) \
26144 || exit 1
26146 @endif perl
26148 .PHONY: maybe-install-info-perl install-info-perl
26149 maybe-install-info-perl:
26150 @if perl
26151 maybe-install-info-perl: install-info-perl
26153 install-info-perl: \
26154 configure-perl \
26155 info-perl
26156 @: $(MAKE); $(unstage)
26157 @[ -f ./perl/Makefile ] || exit 0; \
26158 r=`${PWD_COMMAND}`; export r; \
26159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26160 $(HOST_EXPORTS) \
26161 for flag in $(EXTRA_HOST_FLAGS) ; do \
26162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26163 done; \
26164 echo "Doing install-info in perl" ; \
26165 (cd $(HOST_SUBDIR)/perl && \
26166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26168 "RANLIB=$${RANLIB}" \
26169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26170 install-info) \
26171 || exit 1
26173 @endif perl
26175 .PHONY: maybe-install-pdf-perl install-pdf-perl
26176 maybe-install-pdf-perl:
26177 @if perl
26178 maybe-install-pdf-perl: install-pdf-perl
26180 install-pdf-perl: \
26181 configure-perl \
26182 pdf-perl
26183 @: $(MAKE); $(unstage)
26184 @[ -f ./perl/Makefile ] || exit 0; \
26185 r=`${PWD_COMMAND}`; export r; \
26186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187 $(HOST_EXPORTS) \
26188 for flag in $(EXTRA_HOST_FLAGS) ; do \
26189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26190 done; \
26191 echo "Doing install-pdf in perl" ; \
26192 (cd $(HOST_SUBDIR)/perl && \
26193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26195 "RANLIB=$${RANLIB}" \
26196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26197 install-pdf) \
26198 || exit 1
26200 @endif perl
26202 .PHONY: maybe-install-html-perl install-html-perl
26203 maybe-install-html-perl:
26204 @if perl
26205 maybe-install-html-perl: install-html-perl
26207 install-html-perl: \
26208 configure-perl \
26209 html-perl
26210 @: $(MAKE); $(unstage)
26211 @[ -f ./perl/Makefile ] || exit 0; \
26212 r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 $(HOST_EXPORTS) \
26215 for flag in $(EXTRA_HOST_FLAGS) ; do \
26216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26217 done; \
26218 echo "Doing install-html in perl" ; \
26219 (cd $(HOST_SUBDIR)/perl && \
26220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26222 "RANLIB=$${RANLIB}" \
26223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26224 install-html) \
26225 || exit 1
26227 @endif perl
26229 .PHONY: maybe-installcheck-perl installcheck-perl
26230 maybe-installcheck-perl:
26231 @if perl
26232 maybe-installcheck-perl: installcheck-perl
26234 installcheck-perl: \
26235 configure-perl
26236 @: $(MAKE); $(unstage)
26237 @[ -f ./perl/Makefile ] || exit 0; \
26238 r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 $(HOST_EXPORTS) \
26241 for flag in $(EXTRA_HOST_FLAGS) ; do \
26242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26243 done; \
26244 echo "Doing installcheck in perl" ; \
26245 (cd $(HOST_SUBDIR)/perl && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26248 "RANLIB=$${RANLIB}" \
26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26250 installcheck) \
26251 || exit 1
26253 @endif perl
26255 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
26256 maybe-mostlyclean-perl:
26257 @if perl
26258 maybe-mostlyclean-perl: mostlyclean-perl
26260 mostlyclean-perl:
26261 @: $(MAKE); $(unstage)
26262 @[ -f ./perl/Makefile ] || exit 0; \
26263 r=`${PWD_COMMAND}`; export r; \
26264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26265 $(HOST_EXPORTS) \
26266 for flag in $(EXTRA_HOST_FLAGS) ; do \
26267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26268 done; \
26269 echo "Doing mostlyclean in perl" ; \
26270 (cd $(HOST_SUBDIR)/perl && \
26271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26273 "RANLIB=$${RANLIB}" \
26274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26275 mostlyclean) \
26276 || exit 1
26278 @endif perl
26280 .PHONY: maybe-clean-perl clean-perl
26281 maybe-clean-perl:
26282 @if perl
26283 maybe-clean-perl: clean-perl
26285 clean-perl:
26286 @: $(MAKE); $(unstage)
26287 @[ -f ./perl/Makefile ] || exit 0; \
26288 r=`${PWD_COMMAND}`; export r; \
26289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26290 $(HOST_EXPORTS) \
26291 for flag in $(EXTRA_HOST_FLAGS) ; do \
26292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26293 done; \
26294 echo "Doing clean in perl" ; \
26295 (cd $(HOST_SUBDIR)/perl && \
26296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26298 "RANLIB=$${RANLIB}" \
26299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26300 clean) \
26301 || exit 1
26303 @endif perl
26305 .PHONY: maybe-distclean-perl distclean-perl
26306 maybe-distclean-perl:
26307 @if perl
26308 maybe-distclean-perl: distclean-perl
26310 distclean-perl:
26311 @: $(MAKE); $(unstage)
26312 @[ -f ./perl/Makefile ] || exit 0; \
26313 r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26315 $(HOST_EXPORTS) \
26316 for flag in $(EXTRA_HOST_FLAGS) ; do \
26317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26318 done; \
26319 echo "Doing distclean in perl" ; \
26320 (cd $(HOST_SUBDIR)/perl && \
26321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26323 "RANLIB=$${RANLIB}" \
26324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26325 distclean) \
26326 || exit 1
26328 @endif perl
26330 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
26331 maybe-maintainer-clean-perl:
26332 @if perl
26333 maybe-maintainer-clean-perl: maintainer-clean-perl
26335 maintainer-clean-perl:
26336 @: $(MAKE); $(unstage)
26337 @[ -f ./perl/Makefile ] || exit 0; \
26338 r=`${PWD_COMMAND}`; export r; \
26339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26340 $(HOST_EXPORTS) \
26341 for flag in $(EXTRA_HOST_FLAGS) ; do \
26342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26343 done; \
26344 echo "Doing maintainer-clean in perl" ; \
26345 (cd $(HOST_SUBDIR)/perl && \
26346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26348 "RANLIB=$${RANLIB}" \
26349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26350 maintainer-clean) \
26351 || exit 1
26353 @endif perl
26357 .PHONY: configure-prms maybe-configure-prms
26358 maybe-configure-prms:
26359 @if gcc-bootstrap
26360 configure-prms: stage_current
26361 @endif gcc-bootstrap
26362 @if prms
26363 maybe-configure-prms: configure-prms
26364 configure-prms:
26365 @: $(MAKE); $(unstage)
26366 @r=`${PWD_COMMAND}`; export r; \
26367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26368 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
26369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
26370 $(HOST_EXPORTS) \
26371 echo Configuring in $(HOST_SUBDIR)/prms; \
26372 cd "$(HOST_SUBDIR)/prms" || exit 1; \
26373 case $(srcdir) in \
26374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26375 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
26376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26377 esac; \
26378 srcdiroption="--srcdir=$${topdir}/prms"; \
26379 libsrcdir="$$s/prms"; \
26380 $(SHELL) $${libsrcdir}/configure \
26381 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26382 --target=${target_alias} $${srcdiroption} \
26383 || exit 1
26384 @endif prms
26390 .PHONY: all-prms maybe-all-prms
26391 maybe-all-prms:
26392 @if gcc-bootstrap
26393 all-prms: stage_current
26394 @endif gcc-bootstrap
26395 @if prms
26396 TARGET-prms=all
26397 maybe-all-prms: all-prms
26398 all-prms: configure-prms
26399 @: $(MAKE); $(unstage)
26400 @r=`${PWD_COMMAND}`; export r; \
26401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26402 $(HOST_EXPORTS) \
26403 (cd $(HOST_SUBDIR)/prms && \
26404 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
26405 @endif prms
26410 .PHONY: check-prms maybe-check-prms
26411 maybe-check-prms:
26412 @if prms
26413 maybe-check-prms: check-prms
26415 check-prms:
26416 @: $(MAKE); $(unstage)
26417 @r=`${PWD_COMMAND}`; export r; \
26418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26419 $(HOST_EXPORTS) \
26420 (cd $(HOST_SUBDIR)/prms && \
26421 $(MAKE) $(FLAGS_TO_PASS) check)
26423 @endif prms
26425 .PHONY: install-prms maybe-install-prms
26426 maybe-install-prms:
26427 @if prms
26428 maybe-install-prms: install-prms
26430 install-prms: installdirs
26431 @: $(MAKE); $(unstage)
26432 @r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 $(HOST_EXPORTS) \
26435 (cd $(HOST_SUBDIR)/prms && \
26436 $(MAKE) $(FLAGS_TO_PASS) install)
26438 @endif prms
26440 # Other targets (info, dvi, pdf, etc.)
26442 .PHONY: maybe-info-prms info-prms
26443 maybe-info-prms:
26444 @if prms
26445 maybe-info-prms: info-prms
26447 info-prms: \
26448 configure-prms
26449 @: $(MAKE); $(unstage)
26450 @[ -f ./prms/Makefile ] || exit 0; \
26451 r=`${PWD_COMMAND}`; export r; \
26452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26453 $(HOST_EXPORTS) \
26454 for flag in $(EXTRA_HOST_FLAGS) ; do \
26455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26456 done; \
26457 echo "Doing info in prms" ; \
26458 (cd $(HOST_SUBDIR)/prms && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26461 "RANLIB=$${RANLIB}" \
26462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26463 info) \
26464 || exit 1
26466 @endif prms
26468 .PHONY: maybe-dvi-prms dvi-prms
26469 maybe-dvi-prms:
26470 @if prms
26471 maybe-dvi-prms: dvi-prms
26473 dvi-prms: \
26474 configure-prms
26475 @: $(MAKE); $(unstage)
26476 @[ -f ./prms/Makefile ] || exit 0; \
26477 r=`${PWD_COMMAND}`; export r; \
26478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26479 $(HOST_EXPORTS) \
26480 for flag in $(EXTRA_HOST_FLAGS) ; do \
26481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26482 done; \
26483 echo "Doing dvi in prms" ; \
26484 (cd $(HOST_SUBDIR)/prms && \
26485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26487 "RANLIB=$${RANLIB}" \
26488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26489 dvi) \
26490 || exit 1
26492 @endif prms
26494 .PHONY: maybe-pdf-prms pdf-prms
26495 maybe-pdf-prms:
26496 @if prms
26497 maybe-pdf-prms: pdf-prms
26499 pdf-prms: \
26500 configure-prms
26501 @: $(MAKE); $(unstage)
26502 @[ -f ./prms/Makefile ] || exit 0; \
26503 r=`${PWD_COMMAND}`; export r; \
26504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26505 $(HOST_EXPORTS) \
26506 for flag in $(EXTRA_HOST_FLAGS) ; do \
26507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26508 done; \
26509 echo "Doing pdf in prms" ; \
26510 (cd $(HOST_SUBDIR)/prms && \
26511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26513 "RANLIB=$${RANLIB}" \
26514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26515 pdf) \
26516 || exit 1
26518 @endif prms
26520 .PHONY: maybe-html-prms html-prms
26521 maybe-html-prms:
26522 @if prms
26523 maybe-html-prms: html-prms
26525 html-prms: \
26526 configure-prms
26527 @: $(MAKE); $(unstage)
26528 @[ -f ./prms/Makefile ] || exit 0; \
26529 r=`${PWD_COMMAND}`; export r; \
26530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26531 $(HOST_EXPORTS) \
26532 for flag in $(EXTRA_HOST_FLAGS) ; do \
26533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26534 done; \
26535 echo "Doing html in prms" ; \
26536 (cd $(HOST_SUBDIR)/prms && \
26537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26539 "RANLIB=$${RANLIB}" \
26540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26541 html) \
26542 || exit 1
26544 @endif prms
26546 .PHONY: maybe-TAGS-prms TAGS-prms
26547 maybe-TAGS-prms:
26548 @if prms
26549 maybe-TAGS-prms: TAGS-prms
26551 TAGS-prms: \
26552 configure-prms
26553 @: $(MAKE); $(unstage)
26554 @[ -f ./prms/Makefile ] || exit 0; \
26555 r=`${PWD_COMMAND}`; export r; \
26556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26557 $(HOST_EXPORTS) \
26558 for flag in $(EXTRA_HOST_FLAGS) ; do \
26559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26560 done; \
26561 echo "Doing TAGS in prms" ; \
26562 (cd $(HOST_SUBDIR)/prms && \
26563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26565 "RANLIB=$${RANLIB}" \
26566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26567 TAGS) \
26568 || exit 1
26570 @endif prms
26572 .PHONY: maybe-install-info-prms install-info-prms
26573 maybe-install-info-prms:
26574 @if prms
26575 maybe-install-info-prms: install-info-prms
26577 install-info-prms: \
26578 configure-prms \
26579 info-prms
26580 @: $(MAKE); $(unstage)
26581 @[ -f ./prms/Makefile ] || exit 0; \
26582 r=`${PWD_COMMAND}`; export r; \
26583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26584 $(HOST_EXPORTS) \
26585 for flag in $(EXTRA_HOST_FLAGS) ; do \
26586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26587 done; \
26588 echo "Doing install-info in prms" ; \
26589 (cd $(HOST_SUBDIR)/prms && \
26590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26592 "RANLIB=$${RANLIB}" \
26593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26594 install-info) \
26595 || exit 1
26597 @endif prms
26599 .PHONY: maybe-install-pdf-prms install-pdf-prms
26600 maybe-install-pdf-prms:
26601 @if prms
26602 maybe-install-pdf-prms: install-pdf-prms
26604 install-pdf-prms: \
26605 configure-prms \
26606 pdf-prms
26607 @: $(MAKE); $(unstage)
26608 @[ -f ./prms/Makefile ] || exit 0; \
26609 r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 $(HOST_EXPORTS) \
26612 for flag in $(EXTRA_HOST_FLAGS) ; do \
26613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26614 done; \
26615 echo "Doing install-pdf in prms" ; \
26616 (cd $(HOST_SUBDIR)/prms && \
26617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26619 "RANLIB=$${RANLIB}" \
26620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26621 install-pdf) \
26622 || exit 1
26624 @endif prms
26626 .PHONY: maybe-install-html-prms install-html-prms
26627 maybe-install-html-prms:
26628 @if prms
26629 maybe-install-html-prms: install-html-prms
26631 install-html-prms: \
26632 configure-prms \
26633 html-prms
26634 @: $(MAKE); $(unstage)
26635 @[ -f ./prms/Makefile ] || exit 0; \
26636 r=`${PWD_COMMAND}`; export r; \
26637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26638 $(HOST_EXPORTS) \
26639 for flag in $(EXTRA_HOST_FLAGS) ; do \
26640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26641 done; \
26642 echo "Doing install-html in prms" ; \
26643 (cd $(HOST_SUBDIR)/prms && \
26644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26646 "RANLIB=$${RANLIB}" \
26647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26648 install-html) \
26649 || exit 1
26651 @endif prms
26653 .PHONY: maybe-installcheck-prms installcheck-prms
26654 maybe-installcheck-prms:
26655 @if prms
26656 maybe-installcheck-prms: installcheck-prms
26658 installcheck-prms: \
26659 configure-prms
26660 @: $(MAKE); $(unstage)
26661 @[ -f ./prms/Makefile ] || exit 0; \
26662 r=`${PWD_COMMAND}`; export r; \
26663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26664 $(HOST_EXPORTS) \
26665 for flag in $(EXTRA_HOST_FLAGS) ; do \
26666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26667 done; \
26668 echo "Doing installcheck in prms" ; \
26669 (cd $(HOST_SUBDIR)/prms && \
26670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26672 "RANLIB=$${RANLIB}" \
26673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26674 installcheck) \
26675 || exit 1
26677 @endif prms
26679 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
26680 maybe-mostlyclean-prms:
26681 @if prms
26682 maybe-mostlyclean-prms: mostlyclean-prms
26684 mostlyclean-prms:
26685 @: $(MAKE); $(unstage)
26686 @[ -f ./prms/Makefile ] || exit 0; \
26687 r=`${PWD_COMMAND}`; export r; \
26688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26689 $(HOST_EXPORTS) \
26690 for flag in $(EXTRA_HOST_FLAGS) ; do \
26691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26692 done; \
26693 echo "Doing mostlyclean in prms" ; \
26694 (cd $(HOST_SUBDIR)/prms && \
26695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26697 "RANLIB=$${RANLIB}" \
26698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26699 mostlyclean) \
26700 || exit 1
26702 @endif prms
26704 .PHONY: maybe-clean-prms clean-prms
26705 maybe-clean-prms:
26706 @if prms
26707 maybe-clean-prms: clean-prms
26709 clean-prms:
26710 @: $(MAKE); $(unstage)
26711 @[ -f ./prms/Makefile ] || exit 0; \
26712 r=`${PWD_COMMAND}`; export r; \
26713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26714 $(HOST_EXPORTS) \
26715 for flag in $(EXTRA_HOST_FLAGS) ; do \
26716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26717 done; \
26718 echo "Doing clean in prms" ; \
26719 (cd $(HOST_SUBDIR)/prms && \
26720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26722 "RANLIB=$${RANLIB}" \
26723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26724 clean) \
26725 || exit 1
26727 @endif prms
26729 .PHONY: maybe-distclean-prms distclean-prms
26730 maybe-distclean-prms:
26731 @if prms
26732 maybe-distclean-prms: distclean-prms
26734 distclean-prms:
26735 @: $(MAKE); $(unstage)
26736 @[ -f ./prms/Makefile ] || exit 0; \
26737 r=`${PWD_COMMAND}`; export r; \
26738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26739 $(HOST_EXPORTS) \
26740 for flag in $(EXTRA_HOST_FLAGS) ; do \
26741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26742 done; \
26743 echo "Doing distclean in prms" ; \
26744 (cd $(HOST_SUBDIR)/prms && \
26745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26747 "RANLIB=$${RANLIB}" \
26748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26749 distclean) \
26750 || exit 1
26752 @endif prms
26754 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
26755 maybe-maintainer-clean-prms:
26756 @if prms
26757 maybe-maintainer-clean-prms: maintainer-clean-prms
26759 maintainer-clean-prms:
26760 @: $(MAKE); $(unstage)
26761 @[ -f ./prms/Makefile ] || exit 0; \
26762 r=`${PWD_COMMAND}`; export r; \
26763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26764 $(HOST_EXPORTS) \
26765 for flag in $(EXTRA_HOST_FLAGS) ; do \
26766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26767 done; \
26768 echo "Doing maintainer-clean in prms" ; \
26769 (cd $(HOST_SUBDIR)/prms && \
26770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26772 "RANLIB=$${RANLIB}" \
26773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26774 maintainer-clean) \
26775 || exit 1
26777 @endif prms
26781 .PHONY: configure-rcs maybe-configure-rcs
26782 maybe-configure-rcs:
26783 @if gcc-bootstrap
26784 configure-rcs: stage_current
26785 @endif gcc-bootstrap
26786 @if rcs
26787 maybe-configure-rcs: configure-rcs
26788 configure-rcs:
26789 @: $(MAKE); $(unstage)
26790 @r=`${PWD_COMMAND}`; export r; \
26791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26792 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
26793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
26794 $(HOST_EXPORTS) \
26795 echo Configuring in $(HOST_SUBDIR)/rcs; \
26796 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
26797 case $(srcdir) in \
26798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26799 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
26800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26801 esac; \
26802 srcdiroption="--srcdir=$${topdir}/rcs"; \
26803 libsrcdir="$$s/rcs"; \
26804 $(SHELL) $${libsrcdir}/configure \
26805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26806 --target=${target_alias} $${srcdiroption} \
26807 || exit 1
26808 @endif rcs
26814 .PHONY: all-rcs maybe-all-rcs
26815 maybe-all-rcs:
26816 @if gcc-bootstrap
26817 all-rcs: stage_current
26818 @endif gcc-bootstrap
26819 @if rcs
26820 TARGET-rcs=all
26821 maybe-all-rcs: all-rcs
26822 all-rcs: configure-rcs
26823 @: $(MAKE); $(unstage)
26824 @r=`${PWD_COMMAND}`; export r; \
26825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26826 $(HOST_EXPORTS) \
26827 (cd $(HOST_SUBDIR)/rcs && \
26828 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
26829 @endif rcs
26834 .PHONY: check-rcs maybe-check-rcs
26835 maybe-check-rcs:
26836 @if rcs
26837 maybe-check-rcs: check-rcs
26839 check-rcs:
26840 @: $(MAKE); $(unstage)
26841 @r=`${PWD_COMMAND}`; export r; \
26842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26843 $(HOST_EXPORTS) \
26844 (cd $(HOST_SUBDIR)/rcs && \
26845 $(MAKE) $(FLAGS_TO_PASS) check)
26847 @endif rcs
26849 .PHONY: install-rcs maybe-install-rcs
26850 maybe-install-rcs:
26851 @if rcs
26852 maybe-install-rcs: install-rcs
26854 install-rcs: installdirs
26855 @: $(MAKE); $(unstage)
26856 @r=`${PWD_COMMAND}`; export r; \
26857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26858 $(HOST_EXPORTS) \
26859 (cd $(HOST_SUBDIR)/rcs && \
26860 $(MAKE) $(FLAGS_TO_PASS) install)
26862 @endif rcs
26864 # Other targets (info, dvi, pdf, etc.)
26866 .PHONY: maybe-info-rcs info-rcs
26867 maybe-info-rcs:
26868 @if rcs
26869 maybe-info-rcs: info-rcs
26871 info-rcs: \
26872 configure-rcs
26873 @: $(MAKE); $(unstage)
26874 @[ -f ./rcs/Makefile ] || exit 0; \
26875 r=`${PWD_COMMAND}`; export r; \
26876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26877 $(HOST_EXPORTS) \
26878 for flag in $(EXTRA_HOST_FLAGS) ; do \
26879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26880 done; \
26881 echo "Doing info in rcs" ; \
26882 (cd $(HOST_SUBDIR)/rcs && \
26883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26885 "RANLIB=$${RANLIB}" \
26886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26887 info) \
26888 || exit 1
26890 @endif rcs
26892 .PHONY: maybe-dvi-rcs dvi-rcs
26893 maybe-dvi-rcs:
26894 @if rcs
26895 maybe-dvi-rcs: dvi-rcs
26897 dvi-rcs: \
26898 configure-rcs
26899 @: $(MAKE); $(unstage)
26900 @[ -f ./rcs/Makefile ] || exit 0; \
26901 r=`${PWD_COMMAND}`; export r; \
26902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26903 $(HOST_EXPORTS) \
26904 for flag in $(EXTRA_HOST_FLAGS) ; do \
26905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26906 done; \
26907 echo "Doing dvi in rcs" ; \
26908 (cd $(HOST_SUBDIR)/rcs && \
26909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26911 "RANLIB=$${RANLIB}" \
26912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26913 dvi) \
26914 || exit 1
26916 @endif rcs
26918 .PHONY: maybe-pdf-rcs pdf-rcs
26919 maybe-pdf-rcs:
26920 @if rcs
26921 maybe-pdf-rcs: pdf-rcs
26923 pdf-rcs: \
26924 configure-rcs
26925 @: $(MAKE); $(unstage)
26926 @[ -f ./rcs/Makefile ] || exit 0; \
26927 r=`${PWD_COMMAND}`; export r; \
26928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26929 $(HOST_EXPORTS) \
26930 for flag in $(EXTRA_HOST_FLAGS) ; do \
26931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26932 done; \
26933 echo "Doing pdf in rcs" ; \
26934 (cd $(HOST_SUBDIR)/rcs && \
26935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26937 "RANLIB=$${RANLIB}" \
26938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26939 pdf) \
26940 || exit 1
26942 @endif rcs
26944 .PHONY: maybe-html-rcs html-rcs
26945 maybe-html-rcs:
26946 @if rcs
26947 maybe-html-rcs: html-rcs
26949 html-rcs: \
26950 configure-rcs
26951 @: $(MAKE); $(unstage)
26952 @[ -f ./rcs/Makefile ] || exit 0; \
26953 r=`${PWD_COMMAND}`; export r; \
26954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26955 $(HOST_EXPORTS) \
26956 for flag in $(EXTRA_HOST_FLAGS) ; do \
26957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26958 done; \
26959 echo "Doing html in rcs" ; \
26960 (cd $(HOST_SUBDIR)/rcs && \
26961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26963 "RANLIB=$${RANLIB}" \
26964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26965 html) \
26966 || exit 1
26968 @endif rcs
26970 .PHONY: maybe-TAGS-rcs TAGS-rcs
26971 maybe-TAGS-rcs:
26972 @if rcs
26973 maybe-TAGS-rcs: TAGS-rcs
26975 TAGS-rcs: \
26976 configure-rcs
26977 @: $(MAKE); $(unstage)
26978 @[ -f ./rcs/Makefile ] || exit 0; \
26979 r=`${PWD_COMMAND}`; export r; \
26980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26981 $(HOST_EXPORTS) \
26982 for flag in $(EXTRA_HOST_FLAGS) ; do \
26983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26984 done; \
26985 echo "Doing TAGS in rcs" ; \
26986 (cd $(HOST_SUBDIR)/rcs && \
26987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26989 "RANLIB=$${RANLIB}" \
26990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26991 TAGS) \
26992 || exit 1
26994 @endif rcs
26996 .PHONY: maybe-install-info-rcs install-info-rcs
26997 maybe-install-info-rcs:
26998 @if rcs
26999 maybe-install-info-rcs: install-info-rcs
27001 install-info-rcs: \
27002 configure-rcs \
27003 info-rcs
27004 @: $(MAKE); $(unstage)
27005 @[ -f ./rcs/Makefile ] || exit 0; \
27006 r=`${PWD_COMMAND}`; export r; \
27007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27008 $(HOST_EXPORTS) \
27009 for flag in $(EXTRA_HOST_FLAGS) ; do \
27010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27011 done; \
27012 echo "Doing install-info in rcs" ; \
27013 (cd $(HOST_SUBDIR)/rcs && \
27014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27016 "RANLIB=$${RANLIB}" \
27017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27018 install-info) \
27019 || exit 1
27021 @endif rcs
27023 .PHONY: maybe-install-pdf-rcs install-pdf-rcs
27024 maybe-install-pdf-rcs:
27025 @if rcs
27026 maybe-install-pdf-rcs: install-pdf-rcs
27028 install-pdf-rcs: \
27029 configure-rcs \
27030 pdf-rcs
27031 @: $(MAKE); $(unstage)
27032 @[ -f ./rcs/Makefile ] || exit 0; \
27033 r=`${PWD_COMMAND}`; export r; \
27034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27035 $(HOST_EXPORTS) \
27036 for flag in $(EXTRA_HOST_FLAGS) ; do \
27037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27038 done; \
27039 echo "Doing install-pdf in rcs" ; \
27040 (cd $(HOST_SUBDIR)/rcs && \
27041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27043 "RANLIB=$${RANLIB}" \
27044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27045 install-pdf) \
27046 || exit 1
27048 @endif rcs
27050 .PHONY: maybe-install-html-rcs install-html-rcs
27051 maybe-install-html-rcs:
27052 @if rcs
27053 maybe-install-html-rcs: install-html-rcs
27055 install-html-rcs: \
27056 configure-rcs \
27057 html-rcs
27058 @: $(MAKE); $(unstage)
27059 @[ -f ./rcs/Makefile ] || exit 0; \
27060 r=`${PWD_COMMAND}`; export r; \
27061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27062 $(HOST_EXPORTS) \
27063 for flag in $(EXTRA_HOST_FLAGS) ; do \
27064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27065 done; \
27066 echo "Doing install-html in rcs" ; \
27067 (cd $(HOST_SUBDIR)/rcs && \
27068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27070 "RANLIB=$${RANLIB}" \
27071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27072 install-html) \
27073 || exit 1
27075 @endif rcs
27077 .PHONY: maybe-installcheck-rcs installcheck-rcs
27078 maybe-installcheck-rcs:
27079 @if rcs
27080 maybe-installcheck-rcs: installcheck-rcs
27082 installcheck-rcs: \
27083 configure-rcs
27084 @: $(MAKE); $(unstage)
27085 @[ -f ./rcs/Makefile ] || exit 0; \
27086 r=`${PWD_COMMAND}`; export r; \
27087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27088 $(HOST_EXPORTS) \
27089 for flag in $(EXTRA_HOST_FLAGS) ; do \
27090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27091 done; \
27092 echo "Doing installcheck in rcs" ; \
27093 (cd $(HOST_SUBDIR)/rcs && \
27094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27096 "RANLIB=$${RANLIB}" \
27097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27098 installcheck) \
27099 || exit 1
27101 @endif rcs
27103 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
27104 maybe-mostlyclean-rcs:
27105 @if rcs
27106 maybe-mostlyclean-rcs: mostlyclean-rcs
27108 mostlyclean-rcs:
27109 @: $(MAKE); $(unstage)
27110 @[ -f ./rcs/Makefile ] || exit 0; \
27111 r=`${PWD_COMMAND}`; export r; \
27112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27113 $(HOST_EXPORTS) \
27114 for flag in $(EXTRA_HOST_FLAGS) ; do \
27115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27116 done; \
27117 echo "Doing mostlyclean in rcs" ; \
27118 (cd $(HOST_SUBDIR)/rcs && \
27119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27121 "RANLIB=$${RANLIB}" \
27122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27123 mostlyclean) \
27124 || exit 1
27126 @endif rcs
27128 .PHONY: maybe-clean-rcs clean-rcs
27129 maybe-clean-rcs:
27130 @if rcs
27131 maybe-clean-rcs: clean-rcs
27133 clean-rcs:
27134 @: $(MAKE); $(unstage)
27135 @[ -f ./rcs/Makefile ] || exit 0; \
27136 r=`${PWD_COMMAND}`; export r; \
27137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27138 $(HOST_EXPORTS) \
27139 for flag in $(EXTRA_HOST_FLAGS) ; do \
27140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27141 done; \
27142 echo "Doing clean in rcs" ; \
27143 (cd $(HOST_SUBDIR)/rcs && \
27144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27146 "RANLIB=$${RANLIB}" \
27147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27148 clean) \
27149 || exit 1
27151 @endif rcs
27153 .PHONY: maybe-distclean-rcs distclean-rcs
27154 maybe-distclean-rcs:
27155 @if rcs
27156 maybe-distclean-rcs: distclean-rcs
27158 distclean-rcs:
27159 @: $(MAKE); $(unstage)
27160 @[ -f ./rcs/Makefile ] || exit 0; \
27161 r=`${PWD_COMMAND}`; export r; \
27162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27163 $(HOST_EXPORTS) \
27164 for flag in $(EXTRA_HOST_FLAGS) ; do \
27165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27166 done; \
27167 echo "Doing distclean in rcs" ; \
27168 (cd $(HOST_SUBDIR)/rcs && \
27169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27171 "RANLIB=$${RANLIB}" \
27172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27173 distclean) \
27174 || exit 1
27176 @endif rcs
27178 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
27179 maybe-maintainer-clean-rcs:
27180 @if rcs
27181 maybe-maintainer-clean-rcs: maintainer-clean-rcs
27183 maintainer-clean-rcs:
27184 @: $(MAKE); $(unstage)
27185 @[ -f ./rcs/Makefile ] || exit 0; \
27186 r=`${PWD_COMMAND}`; export r; \
27187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27188 $(HOST_EXPORTS) \
27189 for flag in $(EXTRA_HOST_FLAGS) ; do \
27190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27191 done; \
27192 echo "Doing maintainer-clean in rcs" ; \
27193 (cd $(HOST_SUBDIR)/rcs && \
27194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27196 "RANLIB=$${RANLIB}" \
27197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27198 maintainer-clean) \
27199 || exit 1
27201 @endif rcs
27205 .PHONY: configure-readline maybe-configure-readline
27206 maybe-configure-readline:
27207 @if gcc-bootstrap
27208 configure-readline: stage_current
27209 @endif gcc-bootstrap
27210 @if readline
27211 maybe-configure-readline: configure-readline
27212 configure-readline:
27213 @: $(MAKE); $(unstage)
27214 @r=`${PWD_COMMAND}`; export r; \
27215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27216 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
27217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
27218 $(HOST_EXPORTS) \
27219 echo Configuring in $(HOST_SUBDIR)/readline; \
27220 cd "$(HOST_SUBDIR)/readline" || exit 1; \
27221 case $(srcdir) in \
27222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27223 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
27224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27225 esac; \
27226 srcdiroption="--srcdir=$${topdir}/readline"; \
27227 libsrcdir="$$s/readline"; \
27228 $(SHELL) $${libsrcdir}/configure \
27229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27230 --target=${target_alias} $${srcdiroption} \
27231 || exit 1
27232 @endif readline
27238 .PHONY: all-readline maybe-all-readline
27239 maybe-all-readline:
27240 @if gcc-bootstrap
27241 all-readline: stage_current
27242 @endif gcc-bootstrap
27243 @if readline
27244 TARGET-readline=all
27245 maybe-all-readline: all-readline
27246 all-readline: configure-readline
27247 @: $(MAKE); $(unstage)
27248 @r=`${PWD_COMMAND}`; export r; \
27249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27250 $(HOST_EXPORTS) \
27251 (cd $(HOST_SUBDIR)/readline && \
27252 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
27253 @endif readline
27258 .PHONY: check-readline maybe-check-readline
27259 maybe-check-readline:
27260 @if readline
27261 maybe-check-readline: check-readline
27263 check-readline:
27264 @: $(MAKE); $(unstage)
27265 @r=`${PWD_COMMAND}`; export r; \
27266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27267 $(HOST_EXPORTS) \
27268 (cd $(HOST_SUBDIR)/readline && \
27269 $(MAKE) $(FLAGS_TO_PASS) check)
27271 @endif readline
27273 .PHONY: install-readline maybe-install-readline
27274 maybe-install-readline:
27275 @if readline
27276 maybe-install-readline: install-readline
27278 install-readline: installdirs
27279 @: $(MAKE); $(unstage)
27280 @r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(HOST_EXPORTS) \
27283 (cd $(HOST_SUBDIR)/readline && \
27284 $(MAKE) $(FLAGS_TO_PASS) install)
27286 @endif readline
27288 # Other targets (info, dvi, pdf, etc.)
27290 .PHONY: maybe-info-readline info-readline
27291 maybe-info-readline:
27292 @if readline
27293 maybe-info-readline: info-readline
27295 info-readline: \
27296 configure-readline
27297 @: $(MAKE); $(unstage)
27298 @[ -f ./readline/Makefile ] || exit 0; \
27299 r=`${PWD_COMMAND}`; export r; \
27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27301 $(HOST_EXPORTS) \
27302 for flag in $(EXTRA_HOST_FLAGS) ; do \
27303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27304 done; \
27305 echo "Doing info in readline" ; \
27306 (cd $(HOST_SUBDIR)/readline && \
27307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27309 "RANLIB=$${RANLIB}" \
27310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27311 info) \
27312 || exit 1
27314 @endif readline
27316 .PHONY: maybe-dvi-readline dvi-readline
27317 maybe-dvi-readline:
27318 @if readline
27319 maybe-dvi-readline: dvi-readline
27321 dvi-readline: \
27322 configure-readline
27323 @: $(MAKE); $(unstage)
27324 @[ -f ./readline/Makefile ] || exit 0; \
27325 r=`${PWD_COMMAND}`; export r; \
27326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27327 $(HOST_EXPORTS) \
27328 for flag in $(EXTRA_HOST_FLAGS) ; do \
27329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27330 done; \
27331 echo "Doing dvi in readline" ; \
27332 (cd $(HOST_SUBDIR)/readline && \
27333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27335 "RANLIB=$${RANLIB}" \
27336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27337 dvi) \
27338 || exit 1
27340 @endif readline
27342 .PHONY: maybe-pdf-readline pdf-readline
27343 maybe-pdf-readline:
27344 @if readline
27345 maybe-pdf-readline: pdf-readline
27347 pdf-readline: \
27348 configure-readline
27349 @: $(MAKE); $(unstage)
27350 @[ -f ./readline/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 pdf in readline" ; \
27358 (cd $(HOST_SUBDIR)/readline && \
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}" \
27363 pdf) \
27364 || exit 1
27366 @endif readline
27368 .PHONY: maybe-html-readline html-readline
27369 maybe-html-readline:
27370 @if readline
27371 maybe-html-readline: html-readline
27373 html-readline: \
27374 configure-readline
27375 @: $(MAKE); $(unstage)
27376 @[ -f ./readline/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 html in readline" ; \
27384 (cd $(HOST_SUBDIR)/readline && \
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}" \
27389 html) \
27390 || exit 1
27392 @endif readline
27394 .PHONY: maybe-TAGS-readline TAGS-readline
27395 maybe-TAGS-readline:
27396 @if readline
27397 maybe-TAGS-readline: TAGS-readline
27399 TAGS-readline: \
27400 configure-readline
27401 @: $(MAKE); $(unstage)
27402 @[ -f ./readline/Makefile ] || exit 0; \
27403 r=`${PWD_COMMAND}`; export r; \
27404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27405 $(HOST_EXPORTS) \
27406 for flag in $(EXTRA_HOST_FLAGS) ; do \
27407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27408 done; \
27409 echo "Doing TAGS in readline" ; \
27410 (cd $(HOST_SUBDIR)/readline && \
27411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27413 "RANLIB=$${RANLIB}" \
27414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27415 TAGS) \
27416 || exit 1
27418 @endif readline
27420 .PHONY: maybe-install-info-readline install-info-readline
27421 maybe-install-info-readline:
27422 @if readline
27423 maybe-install-info-readline: install-info-readline
27425 install-info-readline: \
27426 configure-readline \
27427 info-readline
27428 @: $(MAKE); $(unstage)
27429 @[ -f ./readline/Makefile ] || exit 0; \
27430 r=`${PWD_COMMAND}`; export r; \
27431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 $(HOST_EXPORTS) \
27433 for flag in $(EXTRA_HOST_FLAGS) ; do \
27434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27435 done; \
27436 echo "Doing install-info in readline" ; \
27437 (cd $(HOST_SUBDIR)/readline && \
27438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27440 "RANLIB=$${RANLIB}" \
27441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27442 install-info) \
27443 || exit 1
27445 @endif readline
27447 .PHONY: maybe-install-pdf-readline install-pdf-readline
27448 maybe-install-pdf-readline:
27449 @if readline
27450 maybe-install-pdf-readline: install-pdf-readline
27452 install-pdf-readline: \
27453 configure-readline \
27454 pdf-readline
27455 @: $(MAKE); $(unstage)
27456 @[ -f ./readline/Makefile ] || exit 0; \
27457 r=`${PWD_COMMAND}`; export r; \
27458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27459 $(HOST_EXPORTS) \
27460 for flag in $(EXTRA_HOST_FLAGS) ; do \
27461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27462 done; \
27463 echo "Doing install-pdf in readline" ; \
27464 (cd $(HOST_SUBDIR)/readline && \
27465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27467 "RANLIB=$${RANLIB}" \
27468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27469 install-pdf) \
27470 || exit 1
27472 @endif readline
27474 .PHONY: maybe-install-html-readline install-html-readline
27475 maybe-install-html-readline:
27476 @if readline
27477 maybe-install-html-readline: install-html-readline
27479 install-html-readline: \
27480 configure-readline \
27481 html-readline
27482 @: $(MAKE); $(unstage)
27483 @[ -f ./readline/Makefile ] || exit 0; \
27484 r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27486 $(HOST_EXPORTS) \
27487 for flag in $(EXTRA_HOST_FLAGS) ; do \
27488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27489 done; \
27490 echo "Doing install-html in readline" ; \
27491 (cd $(HOST_SUBDIR)/readline && \
27492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27494 "RANLIB=$${RANLIB}" \
27495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27496 install-html) \
27497 || exit 1
27499 @endif readline
27501 .PHONY: maybe-installcheck-readline installcheck-readline
27502 maybe-installcheck-readline:
27503 @if readline
27504 maybe-installcheck-readline: installcheck-readline
27506 installcheck-readline: \
27507 configure-readline
27508 @: $(MAKE); $(unstage)
27509 @[ -f ./readline/Makefile ] || exit 0; \
27510 r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(HOST_EXPORTS) \
27513 for flag in $(EXTRA_HOST_FLAGS) ; do \
27514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27515 done; \
27516 echo "Doing installcheck in readline" ; \
27517 (cd $(HOST_SUBDIR)/readline && \
27518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27520 "RANLIB=$${RANLIB}" \
27521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27522 installcheck) \
27523 || exit 1
27525 @endif readline
27527 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
27528 maybe-mostlyclean-readline:
27529 @if readline
27530 maybe-mostlyclean-readline: mostlyclean-readline
27532 mostlyclean-readline:
27533 @: $(MAKE); $(unstage)
27534 @[ -f ./readline/Makefile ] || exit 0; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 for flag in $(EXTRA_HOST_FLAGS) ; do \
27539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27540 done; \
27541 echo "Doing mostlyclean in readline" ; \
27542 (cd $(HOST_SUBDIR)/readline && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27547 mostlyclean) \
27548 || exit 1
27550 @endif readline
27552 .PHONY: maybe-clean-readline clean-readline
27553 maybe-clean-readline:
27554 @if readline
27555 maybe-clean-readline: clean-readline
27557 clean-readline:
27558 @: $(MAKE); $(unstage)
27559 @[ -f ./readline/Makefile ] || exit 0; \
27560 r=`${PWD_COMMAND}`; export r; \
27561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27562 $(HOST_EXPORTS) \
27563 for flag in $(EXTRA_HOST_FLAGS) ; do \
27564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27565 done; \
27566 echo "Doing clean in readline" ; \
27567 (cd $(HOST_SUBDIR)/readline && \
27568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27570 "RANLIB=$${RANLIB}" \
27571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27572 clean) \
27573 || exit 1
27575 @endif readline
27577 .PHONY: maybe-distclean-readline distclean-readline
27578 maybe-distclean-readline:
27579 @if readline
27580 maybe-distclean-readline: distclean-readline
27582 distclean-readline:
27583 @: $(MAKE); $(unstage)
27584 @[ -f ./readline/Makefile ] || exit 0; \
27585 r=`${PWD_COMMAND}`; export r; \
27586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27587 $(HOST_EXPORTS) \
27588 for flag in $(EXTRA_HOST_FLAGS) ; do \
27589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27590 done; \
27591 echo "Doing distclean in readline" ; \
27592 (cd $(HOST_SUBDIR)/readline && \
27593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27595 "RANLIB=$${RANLIB}" \
27596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27597 distclean) \
27598 || exit 1
27600 @endif readline
27602 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
27603 maybe-maintainer-clean-readline:
27604 @if readline
27605 maybe-maintainer-clean-readline: maintainer-clean-readline
27607 maintainer-clean-readline:
27608 @: $(MAKE); $(unstage)
27609 @[ -f ./readline/Makefile ] || exit 0; \
27610 r=`${PWD_COMMAND}`; export r; \
27611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27612 $(HOST_EXPORTS) \
27613 for flag in $(EXTRA_HOST_FLAGS) ; do \
27614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27615 done; \
27616 echo "Doing maintainer-clean in readline" ; \
27617 (cd $(HOST_SUBDIR)/readline && \
27618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27620 "RANLIB=$${RANLIB}" \
27621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27622 maintainer-clean) \
27623 || exit 1
27625 @endif readline
27629 .PHONY: configure-release maybe-configure-release
27630 maybe-configure-release:
27631 @if gcc-bootstrap
27632 configure-release: stage_current
27633 @endif gcc-bootstrap
27634 @if release
27635 maybe-configure-release: configure-release
27636 configure-release:
27637 @: $(MAKE); $(unstage)
27638 @r=`${PWD_COMMAND}`; export r; \
27639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27640 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
27641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
27642 $(HOST_EXPORTS) \
27643 echo Configuring in $(HOST_SUBDIR)/release; \
27644 cd "$(HOST_SUBDIR)/release" || exit 1; \
27645 case $(srcdir) in \
27646 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27647 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
27648 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27649 esac; \
27650 srcdiroption="--srcdir=$${topdir}/release"; \
27651 libsrcdir="$$s/release"; \
27652 $(SHELL) $${libsrcdir}/configure \
27653 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27654 --target=${target_alias} $${srcdiroption} \
27655 || exit 1
27656 @endif release
27662 .PHONY: all-release maybe-all-release
27663 maybe-all-release:
27664 @if gcc-bootstrap
27665 all-release: stage_current
27666 @endif gcc-bootstrap
27667 @if release
27668 TARGET-release=all
27669 maybe-all-release: all-release
27670 all-release: configure-release
27671 @: $(MAKE); $(unstage)
27672 @r=`${PWD_COMMAND}`; export r; \
27673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27674 $(HOST_EXPORTS) \
27675 (cd $(HOST_SUBDIR)/release && \
27676 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
27677 @endif release
27682 .PHONY: check-release maybe-check-release
27683 maybe-check-release:
27684 @if release
27685 maybe-check-release: check-release
27687 check-release:
27689 @endif release
27691 .PHONY: install-release maybe-install-release
27692 maybe-install-release:
27693 @if release
27694 maybe-install-release: install-release
27696 install-release:
27698 @endif release
27700 # Other targets (info, dvi, pdf, etc.)
27702 .PHONY: maybe-info-release info-release
27703 maybe-info-release:
27704 @if release
27705 maybe-info-release: info-release
27707 info-release: \
27708 configure-release
27709 @: $(MAKE); $(unstage)
27710 @[ -f ./release/Makefile ] || exit 0; \
27711 r=`${PWD_COMMAND}`; export r; \
27712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27713 $(HOST_EXPORTS) \
27714 for flag in $(EXTRA_HOST_FLAGS) ; do \
27715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27716 done; \
27717 echo "Doing info in release" ; \
27718 (cd $(HOST_SUBDIR)/release && \
27719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27721 "RANLIB=$${RANLIB}" \
27722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27723 info) \
27724 || exit 1
27726 @endif release
27728 .PHONY: maybe-dvi-release dvi-release
27729 maybe-dvi-release:
27730 @if release
27731 maybe-dvi-release: dvi-release
27733 dvi-release: \
27734 configure-release
27735 @: $(MAKE); $(unstage)
27736 @[ -f ./release/Makefile ] || exit 0; \
27737 r=`${PWD_COMMAND}`; export r; \
27738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27739 $(HOST_EXPORTS) \
27740 for flag in $(EXTRA_HOST_FLAGS) ; do \
27741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27742 done; \
27743 echo "Doing dvi in release" ; \
27744 (cd $(HOST_SUBDIR)/release && \
27745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27747 "RANLIB=$${RANLIB}" \
27748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27749 dvi) \
27750 || exit 1
27752 @endif release
27754 .PHONY: maybe-pdf-release pdf-release
27755 maybe-pdf-release:
27756 @if release
27757 maybe-pdf-release: pdf-release
27759 pdf-release: \
27760 configure-release
27761 @: $(MAKE); $(unstage)
27762 @[ -f ./release/Makefile ] || exit 0; \
27763 r=`${PWD_COMMAND}`; export r; \
27764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27765 $(HOST_EXPORTS) \
27766 for flag in $(EXTRA_HOST_FLAGS) ; do \
27767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27768 done; \
27769 echo "Doing pdf in release" ; \
27770 (cd $(HOST_SUBDIR)/release && \
27771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27773 "RANLIB=$${RANLIB}" \
27774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27775 pdf) \
27776 || exit 1
27778 @endif release
27780 .PHONY: maybe-html-release html-release
27781 maybe-html-release:
27782 @if release
27783 maybe-html-release: html-release
27785 html-release: \
27786 configure-release
27787 @: $(MAKE); $(unstage)
27788 @[ -f ./release/Makefile ] || exit 0; \
27789 r=`${PWD_COMMAND}`; export r; \
27790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27791 $(HOST_EXPORTS) \
27792 for flag in $(EXTRA_HOST_FLAGS) ; do \
27793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27794 done; \
27795 echo "Doing html in release" ; \
27796 (cd $(HOST_SUBDIR)/release && \
27797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27799 "RANLIB=$${RANLIB}" \
27800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27801 html) \
27802 || exit 1
27804 @endif release
27806 .PHONY: maybe-TAGS-release TAGS-release
27807 maybe-TAGS-release:
27808 @if release
27809 maybe-TAGS-release: TAGS-release
27811 TAGS-release: \
27812 configure-release
27813 @: $(MAKE); $(unstage)
27814 @[ -f ./release/Makefile ] || exit 0; \
27815 r=`${PWD_COMMAND}`; export r; \
27816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27817 $(HOST_EXPORTS) \
27818 for flag in $(EXTRA_HOST_FLAGS) ; do \
27819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27820 done; \
27821 echo "Doing TAGS in release" ; \
27822 (cd $(HOST_SUBDIR)/release && \
27823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27825 "RANLIB=$${RANLIB}" \
27826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27827 TAGS) \
27828 || exit 1
27830 @endif release
27832 .PHONY: maybe-install-info-release install-info-release
27833 maybe-install-info-release:
27834 @if release
27835 maybe-install-info-release: install-info-release
27837 install-info-release: \
27838 configure-release \
27839 info-release
27840 @: $(MAKE); $(unstage)
27841 @[ -f ./release/Makefile ] || exit 0; \
27842 r=`${PWD_COMMAND}`; export r; \
27843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27844 $(HOST_EXPORTS) \
27845 for flag in $(EXTRA_HOST_FLAGS) ; do \
27846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27847 done; \
27848 echo "Doing install-info in release" ; \
27849 (cd $(HOST_SUBDIR)/release && \
27850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27852 "RANLIB=$${RANLIB}" \
27853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27854 install-info) \
27855 || exit 1
27857 @endif release
27859 .PHONY: maybe-install-pdf-release install-pdf-release
27860 maybe-install-pdf-release:
27861 @if release
27862 maybe-install-pdf-release: install-pdf-release
27864 install-pdf-release: \
27865 configure-release \
27866 pdf-release
27867 @: $(MAKE); $(unstage)
27868 @[ -f ./release/Makefile ] || exit 0; \
27869 r=`${PWD_COMMAND}`; export r; \
27870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27871 $(HOST_EXPORTS) \
27872 for flag in $(EXTRA_HOST_FLAGS) ; do \
27873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27874 done; \
27875 echo "Doing install-pdf in release" ; \
27876 (cd $(HOST_SUBDIR)/release && \
27877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27879 "RANLIB=$${RANLIB}" \
27880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27881 install-pdf) \
27882 || exit 1
27884 @endif release
27886 .PHONY: maybe-install-html-release install-html-release
27887 maybe-install-html-release:
27888 @if release
27889 maybe-install-html-release: install-html-release
27891 install-html-release: \
27892 configure-release \
27893 html-release
27894 @: $(MAKE); $(unstage)
27895 @[ -f ./release/Makefile ] || exit 0; \
27896 r=`${PWD_COMMAND}`; export r; \
27897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27898 $(HOST_EXPORTS) \
27899 for flag in $(EXTRA_HOST_FLAGS) ; do \
27900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27901 done; \
27902 echo "Doing install-html in release" ; \
27903 (cd $(HOST_SUBDIR)/release && \
27904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27906 "RANLIB=$${RANLIB}" \
27907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27908 install-html) \
27909 || exit 1
27911 @endif release
27913 .PHONY: maybe-installcheck-release installcheck-release
27914 maybe-installcheck-release:
27915 @if release
27916 maybe-installcheck-release: installcheck-release
27918 installcheck-release: \
27919 configure-release
27920 @: $(MAKE); $(unstage)
27921 @[ -f ./release/Makefile ] || exit 0; \
27922 r=`${PWD_COMMAND}`; export r; \
27923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27924 $(HOST_EXPORTS) \
27925 for flag in $(EXTRA_HOST_FLAGS) ; do \
27926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27927 done; \
27928 echo "Doing installcheck in release" ; \
27929 (cd $(HOST_SUBDIR)/release && \
27930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27932 "RANLIB=$${RANLIB}" \
27933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27934 installcheck) \
27935 || exit 1
27937 @endif release
27939 .PHONY: maybe-mostlyclean-release mostlyclean-release
27940 maybe-mostlyclean-release:
27941 @if release
27942 maybe-mostlyclean-release: mostlyclean-release
27944 mostlyclean-release:
27945 @: $(MAKE); $(unstage)
27946 @[ -f ./release/Makefile ] || exit 0; \
27947 r=`${PWD_COMMAND}`; export r; \
27948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27949 $(HOST_EXPORTS) \
27950 for flag in $(EXTRA_HOST_FLAGS) ; do \
27951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27952 done; \
27953 echo "Doing mostlyclean in release" ; \
27954 (cd $(HOST_SUBDIR)/release && \
27955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27957 "RANLIB=$${RANLIB}" \
27958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27959 mostlyclean) \
27960 || exit 1
27962 @endif release
27964 .PHONY: maybe-clean-release clean-release
27965 maybe-clean-release:
27966 @if release
27967 maybe-clean-release: clean-release
27969 clean-release:
27970 @: $(MAKE); $(unstage)
27971 @[ -f ./release/Makefile ] || exit 0; \
27972 r=`${PWD_COMMAND}`; export r; \
27973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27974 $(HOST_EXPORTS) \
27975 for flag in $(EXTRA_HOST_FLAGS) ; do \
27976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27977 done; \
27978 echo "Doing clean in release" ; \
27979 (cd $(HOST_SUBDIR)/release && \
27980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27982 "RANLIB=$${RANLIB}" \
27983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27984 clean) \
27985 || exit 1
27987 @endif release
27989 .PHONY: maybe-distclean-release distclean-release
27990 maybe-distclean-release:
27991 @if release
27992 maybe-distclean-release: distclean-release
27994 distclean-release:
27995 @: $(MAKE); $(unstage)
27996 @[ -f ./release/Makefile ] || exit 0; \
27997 r=`${PWD_COMMAND}`; export r; \
27998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27999 $(HOST_EXPORTS) \
28000 for flag in $(EXTRA_HOST_FLAGS) ; do \
28001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28002 done; \
28003 echo "Doing distclean in release" ; \
28004 (cd $(HOST_SUBDIR)/release && \
28005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28007 "RANLIB=$${RANLIB}" \
28008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28009 distclean) \
28010 || exit 1
28012 @endif release
28014 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
28015 maybe-maintainer-clean-release:
28016 @if release
28017 maybe-maintainer-clean-release: maintainer-clean-release
28019 maintainer-clean-release:
28020 @: $(MAKE); $(unstage)
28021 @[ -f ./release/Makefile ] || exit 0; \
28022 r=`${PWD_COMMAND}`; export r; \
28023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024 $(HOST_EXPORTS) \
28025 for flag in $(EXTRA_HOST_FLAGS) ; do \
28026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28027 done; \
28028 echo "Doing maintainer-clean in release" ; \
28029 (cd $(HOST_SUBDIR)/release && \
28030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28032 "RANLIB=$${RANLIB}" \
28033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28034 maintainer-clean) \
28035 || exit 1
28037 @endif release
28041 .PHONY: configure-recode maybe-configure-recode
28042 maybe-configure-recode:
28043 @if gcc-bootstrap
28044 configure-recode: stage_current
28045 @endif gcc-bootstrap
28046 @if recode
28047 maybe-configure-recode: configure-recode
28048 configure-recode:
28049 @: $(MAKE); $(unstage)
28050 @r=`${PWD_COMMAND}`; export r; \
28051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28052 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
28053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
28054 $(HOST_EXPORTS) \
28055 echo Configuring in $(HOST_SUBDIR)/recode; \
28056 cd "$(HOST_SUBDIR)/recode" || exit 1; \
28057 case $(srcdir) in \
28058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28059 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
28060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28061 esac; \
28062 srcdiroption="--srcdir=$${topdir}/recode"; \
28063 libsrcdir="$$s/recode"; \
28064 $(SHELL) $${libsrcdir}/configure \
28065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28066 --target=${target_alias} $${srcdiroption} \
28067 || exit 1
28068 @endif recode
28074 .PHONY: all-recode maybe-all-recode
28075 maybe-all-recode:
28076 @if gcc-bootstrap
28077 all-recode: stage_current
28078 @endif gcc-bootstrap
28079 @if recode
28080 TARGET-recode=all
28081 maybe-all-recode: all-recode
28082 all-recode: configure-recode
28083 @: $(MAKE); $(unstage)
28084 @r=`${PWD_COMMAND}`; export r; \
28085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 $(HOST_EXPORTS) \
28087 (cd $(HOST_SUBDIR)/recode && \
28088 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
28089 @endif recode
28094 .PHONY: check-recode maybe-check-recode
28095 maybe-check-recode:
28096 @if recode
28097 maybe-check-recode: check-recode
28099 check-recode:
28100 @: $(MAKE); $(unstage)
28101 @r=`${PWD_COMMAND}`; export r; \
28102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28103 $(HOST_EXPORTS) \
28104 (cd $(HOST_SUBDIR)/recode && \
28105 $(MAKE) $(FLAGS_TO_PASS) check)
28107 @endif recode
28109 .PHONY: install-recode maybe-install-recode
28110 maybe-install-recode:
28111 @if recode
28112 maybe-install-recode: install-recode
28114 install-recode: installdirs
28115 @: $(MAKE); $(unstage)
28116 @r=`${PWD_COMMAND}`; export r; \
28117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28118 $(HOST_EXPORTS) \
28119 (cd $(HOST_SUBDIR)/recode && \
28120 $(MAKE) $(FLAGS_TO_PASS) install)
28122 @endif recode
28124 # Other targets (info, dvi, pdf, etc.)
28126 .PHONY: maybe-info-recode info-recode
28127 maybe-info-recode:
28128 @if recode
28129 maybe-info-recode: info-recode
28131 info-recode: \
28132 configure-recode
28133 @: $(MAKE); $(unstage)
28134 @[ -f ./recode/Makefile ] || exit 0; \
28135 r=`${PWD_COMMAND}`; export r; \
28136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 $(HOST_EXPORTS) \
28138 for flag in $(EXTRA_HOST_FLAGS) ; do \
28139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28140 done; \
28141 echo "Doing info in recode" ; \
28142 (cd $(HOST_SUBDIR)/recode && \
28143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28145 "RANLIB=$${RANLIB}" \
28146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28147 info) \
28148 || exit 1
28150 @endif recode
28152 .PHONY: maybe-dvi-recode dvi-recode
28153 maybe-dvi-recode:
28154 @if recode
28155 maybe-dvi-recode: dvi-recode
28157 dvi-recode: \
28158 configure-recode
28159 @: $(MAKE); $(unstage)
28160 @[ -f ./recode/Makefile ] || exit 0; \
28161 r=`${PWD_COMMAND}`; export r; \
28162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28163 $(HOST_EXPORTS) \
28164 for flag in $(EXTRA_HOST_FLAGS) ; do \
28165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28166 done; \
28167 echo "Doing dvi in recode" ; \
28168 (cd $(HOST_SUBDIR)/recode && \
28169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28171 "RANLIB=$${RANLIB}" \
28172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28173 dvi) \
28174 || exit 1
28176 @endif recode
28178 .PHONY: maybe-pdf-recode pdf-recode
28179 maybe-pdf-recode:
28180 @if recode
28181 maybe-pdf-recode: pdf-recode
28183 pdf-recode: \
28184 configure-recode
28185 @: $(MAKE); $(unstage)
28186 @[ -f ./recode/Makefile ] || exit 0; \
28187 r=`${PWD_COMMAND}`; export r; \
28188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28189 $(HOST_EXPORTS) \
28190 for flag in $(EXTRA_HOST_FLAGS) ; do \
28191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28192 done; \
28193 echo "Doing pdf in recode" ; \
28194 (cd $(HOST_SUBDIR)/recode && \
28195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28197 "RANLIB=$${RANLIB}" \
28198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28199 pdf) \
28200 || exit 1
28202 @endif recode
28204 .PHONY: maybe-html-recode html-recode
28205 maybe-html-recode:
28206 @if recode
28207 maybe-html-recode: html-recode
28209 html-recode: \
28210 configure-recode
28211 @: $(MAKE); $(unstage)
28212 @[ -f ./recode/Makefile ] || exit 0; \
28213 r=`${PWD_COMMAND}`; export r; \
28214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28215 $(HOST_EXPORTS) \
28216 for flag in $(EXTRA_HOST_FLAGS) ; do \
28217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28218 done; \
28219 echo "Doing html in recode" ; \
28220 (cd $(HOST_SUBDIR)/recode && \
28221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28223 "RANLIB=$${RANLIB}" \
28224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28225 html) \
28226 || exit 1
28228 @endif recode
28230 .PHONY: maybe-TAGS-recode TAGS-recode
28231 maybe-TAGS-recode:
28232 @if recode
28233 maybe-TAGS-recode: TAGS-recode
28235 TAGS-recode: \
28236 configure-recode
28237 @: $(MAKE); $(unstage)
28238 @[ -f ./recode/Makefile ] || exit 0; \
28239 r=`${PWD_COMMAND}`; export r; \
28240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28241 $(HOST_EXPORTS) \
28242 for flag in $(EXTRA_HOST_FLAGS) ; do \
28243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28244 done; \
28245 echo "Doing TAGS in recode" ; \
28246 (cd $(HOST_SUBDIR)/recode && \
28247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28249 "RANLIB=$${RANLIB}" \
28250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28251 TAGS) \
28252 || exit 1
28254 @endif recode
28256 .PHONY: maybe-install-info-recode install-info-recode
28257 maybe-install-info-recode:
28258 @if recode
28259 maybe-install-info-recode: install-info-recode
28261 install-info-recode: \
28262 configure-recode \
28263 info-recode
28264 @: $(MAKE); $(unstage)
28265 @[ -f ./recode/Makefile ] || exit 0; \
28266 r=`${PWD_COMMAND}`; export r; \
28267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28268 $(HOST_EXPORTS) \
28269 for flag in $(EXTRA_HOST_FLAGS) ; do \
28270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28271 done; \
28272 echo "Doing install-info in recode" ; \
28273 (cd $(HOST_SUBDIR)/recode && \
28274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28276 "RANLIB=$${RANLIB}" \
28277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28278 install-info) \
28279 || exit 1
28281 @endif recode
28283 .PHONY: maybe-install-pdf-recode install-pdf-recode
28284 maybe-install-pdf-recode:
28285 @if recode
28286 maybe-install-pdf-recode: install-pdf-recode
28288 install-pdf-recode: \
28289 configure-recode \
28290 pdf-recode
28291 @: $(MAKE); $(unstage)
28292 @[ -f ./recode/Makefile ] || exit 0; \
28293 r=`${PWD_COMMAND}`; export r; \
28294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28295 $(HOST_EXPORTS) \
28296 for flag in $(EXTRA_HOST_FLAGS) ; do \
28297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28298 done; \
28299 echo "Doing install-pdf in recode" ; \
28300 (cd $(HOST_SUBDIR)/recode && \
28301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28303 "RANLIB=$${RANLIB}" \
28304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28305 install-pdf) \
28306 || exit 1
28308 @endif recode
28310 .PHONY: maybe-install-html-recode install-html-recode
28311 maybe-install-html-recode:
28312 @if recode
28313 maybe-install-html-recode: install-html-recode
28315 install-html-recode: \
28316 configure-recode \
28317 html-recode
28318 @: $(MAKE); $(unstage)
28319 @[ -f ./recode/Makefile ] || exit 0; \
28320 r=`${PWD_COMMAND}`; export r; \
28321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28322 $(HOST_EXPORTS) \
28323 for flag in $(EXTRA_HOST_FLAGS) ; do \
28324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28325 done; \
28326 echo "Doing install-html in recode" ; \
28327 (cd $(HOST_SUBDIR)/recode && \
28328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28330 "RANLIB=$${RANLIB}" \
28331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28332 install-html) \
28333 || exit 1
28335 @endif recode
28337 .PHONY: maybe-installcheck-recode installcheck-recode
28338 maybe-installcheck-recode:
28339 @if recode
28340 maybe-installcheck-recode: installcheck-recode
28342 installcheck-recode: \
28343 configure-recode
28344 @: $(MAKE); $(unstage)
28345 @[ -f ./recode/Makefile ] || exit 0; \
28346 r=`${PWD_COMMAND}`; export r; \
28347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28348 $(HOST_EXPORTS) \
28349 for flag in $(EXTRA_HOST_FLAGS) ; do \
28350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28351 done; \
28352 echo "Doing installcheck in recode" ; \
28353 (cd $(HOST_SUBDIR)/recode && \
28354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28356 "RANLIB=$${RANLIB}" \
28357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28358 installcheck) \
28359 || exit 1
28361 @endif recode
28363 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
28364 maybe-mostlyclean-recode:
28365 @if recode
28366 maybe-mostlyclean-recode: mostlyclean-recode
28368 mostlyclean-recode:
28369 @: $(MAKE); $(unstage)
28370 @[ -f ./recode/Makefile ] || exit 0; \
28371 r=`${PWD_COMMAND}`; export r; \
28372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28373 $(HOST_EXPORTS) \
28374 for flag in $(EXTRA_HOST_FLAGS) ; do \
28375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28376 done; \
28377 echo "Doing mostlyclean in recode" ; \
28378 (cd $(HOST_SUBDIR)/recode && \
28379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28381 "RANLIB=$${RANLIB}" \
28382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28383 mostlyclean) \
28384 || exit 1
28386 @endif recode
28388 .PHONY: maybe-clean-recode clean-recode
28389 maybe-clean-recode:
28390 @if recode
28391 maybe-clean-recode: clean-recode
28393 clean-recode:
28394 @: $(MAKE); $(unstage)
28395 @[ -f ./recode/Makefile ] || exit 0; \
28396 r=`${PWD_COMMAND}`; export r; \
28397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28398 $(HOST_EXPORTS) \
28399 for flag in $(EXTRA_HOST_FLAGS) ; do \
28400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28401 done; \
28402 echo "Doing clean in recode" ; \
28403 (cd $(HOST_SUBDIR)/recode && \
28404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28406 "RANLIB=$${RANLIB}" \
28407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28408 clean) \
28409 || exit 1
28411 @endif recode
28413 .PHONY: maybe-distclean-recode distclean-recode
28414 maybe-distclean-recode:
28415 @if recode
28416 maybe-distclean-recode: distclean-recode
28418 distclean-recode:
28419 @: $(MAKE); $(unstage)
28420 @[ -f ./recode/Makefile ] || exit 0; \
28421 r=`${PWD_COMMAND}`; export r; \
28422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28423 $(HOST_EXPORTS) \
28424 for flag in $(EXTRA_HOST_FLAGS) ; do \
28425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28426 done; \
28427 echo "Doing distclean in recode" ; \
28428 (cd $(HOST_SUBDIR)/recode && \
28429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28431 "RANLIB=$${RANLIB}" \
28432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28433 distclean) \
28434 || exit 1
28436 @endif recode
28438 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
28439 maybe-maintainer-clean-recode:
28440 @if recode
28441 maybe-maintainer-clean-recode: maintainer-clean-recode
28443 maintainer-clean-recode:
28444 @: $(MAKE); $(unstage)
28445 @[ -f ./recode/Makefile ] || exit 0; \
28446 r=`${PWD_COMMAND}`; export r; \
28447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28448 $(HOST_EXPORTS) \
28449 for flag in $(EXTRA_HOST_FLAGS) ; do \
28450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28451 done; \
28452 echo "Doing maintainer-clean in recode" ; \
28453 (cd $(HOST_SUBDIR)/recode && \
28454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28456 "RANLIB=$${RANLIB}" \
28457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28458 maintainer-clean) \
28459 || exit 1
28461 @endif recode
28465 .PHONY: configure-sed maybe-configure-sed
28466 maybe-configure-sed:
28467 @if gcc-bootstrap
28468 configure-sed: stage_current
28469 @endif gcc-bootstrap
28470 @if sed
28471 maybe-configure-sed: configure-sed
28472 configure-sed:
28473 @: $(MAKE); $(unstage)
28474 @r=`${PWD_COMMAND}`; export r; \
28475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28476 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
28477 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
28478 $(HOST_EXPORTS) \
28479 echo Configuring in $(HOST_SUBDIR)/sed; \
28480 cd "$(HOST_SUBDIR)/sed" || exit 1; \
28481 case $(srcdir) in \
28482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28483 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
28484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28485 esac; \
28486 srcdiroption="--srcdir=$${topdir}/sed"; \
28487 libsrcdir="$$s/sed"; \
28488 $(SHELL) $${libsrcdir}/configure \
28489 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28490 --target=${target_alias} $${srcdiroption} \
28491 || exit 1
28492 @endif sed
28498 .PHONY: all-sed maybe-all-sed
28499 maybe-all-sed:
28500 @if gcc-bootstrap
28501 all-sed: stage_current
28502 @endif gcc-bootstrap
28503 @if sed
28504 TARGET-sed=all
28505 maybe-all-sed: all-sed
28506 all-sed: configure-sed
28507 @: $(MAKE); $(unstage)
28508 @r=`${PWD_COMMAND}`; export r; \
28509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28510 $(HOST_EXPORTS) \
28511 (cd $(HOST_SUBDIR)/sed && \
28512 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
28513 @endif sed
28518 .PHONY: check-sed maybe-check-sed
28519 maybe-check-sed:
28520 @if sed
28521 maybe-check-sed: check-sed
28523 check-sed:
28524 @: $(MAKE); $(unstage)
28525 @r=`${PWD_COMMAND}`; export r; \
28526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28527 $(HOST_EXPORTS) \
28528 (cd $(HOST_SUBDIR)/sed && \
28529 $(MAKE) $(FLAGS_TO_PASS) check)
28531 @endif sed
28533 .PHONY: install-sed maybe-install-sed
28534 maybe-install-sed:
28535 @if sed
28536 maybe-install-sed: install-sed
28538 install-sed: installdirs
28539 @: $(MAKE); $(unstage)
28540 @r=`${PWD_COMMAND}`; export r; \
28541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28542 $(HOST_EXPORTS) \
28543 (cd $(HOST_SUBDIR)/sed && \
28544 $(MAKE) $(FLAGS_TO_PASS) install)
28546 @endif sed
28548 # Other targets (info, dvi, pdf, etc.)
28550 .PHONY: maybe-info-sed info-sed
28551 maybe-info-sed:
28552 @if sed
28553 maybe-info-sed: info-sed
28555 info-sed: \
28556 configure-sed
28557 @: $(MAKE); $(unstage)
28558 @[ -f ./sed/Makefile ] || exit 0; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(HOST_EXPORTS) \
28562 for flag in $(EXTRA_HOST_FLAGS) ; do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28564 done; \
28565 echo "Doing info in sed" ; \
28566 (cd $(HOST_SUBDIR)/sed && \
28567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28569 "RANLIB=$${RANLIB}" \
28570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28571 info) \
28572 || exit 1
28574 @endif sed
28576 .PHONY: maybe-dvi-sed dvi-sed
28577 maybe-dvi-sed:
28578 @if sed
28579 maybe-dvi-sed: dvi-sed
28581 dvi-sed: \
28582 configure-sed
28583 @: $(MAKE); $(unstage)
28584 @[ -f ./sed/Makefile ] || exit 0; \
28585 r=`${PWD_COMMAND}`; export r; \
28586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28587 $(HOST_EXPORTS) \
28588 for flag in $(EXTRA_HOST_FLAGS) ; do \
28589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28590 done; \
28591 echo "Doing dvi in sed" ; \
28592 (cd $(HOST_SUBDIR)/sed && \
28593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28595 "RANLIB=$${RANLIB}" \
28596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28597 dvi) \
28598 || exit 1
28600 @endif sed
28602 .PHONY: maybe-pdf-sed pdf-sed
28603 maybe-pdf-sed:
28604 @if sed
28605 maybe-pdf-sed: pdf-sed
28607 pdf-sed: \
28608 configure-sed
28609 @: $(MAKE); $(unstage)
28610 @[ -f ./sed/Makefile ] || exit 0; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(HOST_EXPORTS) \
28614 for flag in $(EXTRA_HOST_FLAGS) ; do \
28615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28616 done; \
28617 echo "Doing pdf in sed" ; \
28618 (cd $(HOST_SUBDIR)/sed && \
28619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28621 "RANLIB=$${RANLIB}" \
28622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28623 pdf) \
28624 || exit 1
28626 @endif sed
28628 .PHONY: maybe-html-sed html-sed
28629 maybe-html-sed:
28630 @if sed
28631 maybe-html-sed: html-sed
28633 html-sed: \
28634 configure-sed
28635 @: $(MAKE); $(unstage)
28636 @[ -f ./sed/Makefile ] || exit 0; \
28637 r=`${PWD_COMMAND}`; export r; \
28638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28639 $(HOST_EXPORTS) \
28640 for flag in $(EXTRA_HOST_FLAGS) ; do \
28641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28642 done; \
28643 echo "Doing html in sed" ; \
28644 (cd $(HOST_SUBDIR)/sed && \
28645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28647 "RANLIB=$${RANLIB}" \
28648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28649 html) \
28650 || exit 1
28652 @endif sed
28654 .PHONY: maybe-TAGS-sed TAGS-sed
28655 maybe-TAGS-sed:
28656 @if sed
28657 maybe-TAGS-sed: TAGS-sed
28659 TAGS-sed: \
28660 configure-sed
28661 @: $(MAKE); $(unstage)
28662 @[ -f ./sed/Makefile ] || exit 0; \
28663 r=`${PWD_COMMAND}`; export r; \
28664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28665 $(HOST_EXPORTS) \
28666 for flag in $(EXTRA_HOST_FLAGS) ; do \
28667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28668 done; \
28669 echo "Doing TAGS in sed" ; \
28670 (cd $(HOST_SUBDIR)/sed && \
28671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28673 "RANLIB=$${RANLIB}" \
28674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28675 TAGS) \
28676 || exit 1
28678 @endif sed
28680 .PHONY: maybe-install-info-sed install-info-sed
28681 maybe-install-info-sed:
28682 @if sed
28683 maybe-install-info-sed: install-info-sed
28685 install-info-sed: \
28686 configure-sed \
28687 info-sed
28688 @: $(MAKE); $(unstage)
28689 @[ -f ./sed/Makefile ] || exit 0; \
28690 r=`${PWD_COMMAND}`; export r; \
28691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28692 $(HOST_EXPORTS) \
28693 for flag in $(EXTRA_HOST_FLAGS) ; do \
28694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28695 done; \
28696 echo "Doing install-info in sed" ; \
28697 (cd $(HOST_SUBDIR)/sed && \
28698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28700 "RANLIB=$${RANLIB}" \
28701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28702 install-info) \
28703 || exit 1
28705 @endif sed
28707 .PHONY: maybe-install-pdf-sed install-pdf-sed
28708 maybe-install-pdf-sed:
28709 @if sed
28710 maybe-install-pdf-sed: install-pdf-sed
28712 install-pdf-sed: \
28713 configure-sed \
28714 pdf-sed
28715 @: $(MAKE); $(unstage)
28716 @[ -f ./sed/Makefile ] || exit 0; \
28717 r=`${PWD_COMMAND}`; export r; \
28718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28719 $(HOST_EXPORTS) \
28720 for flag in $(EXTRA_HOST_FLAGS) ; do \
28721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28722 done; \
28723 echo "Doing install-pdf in sed" ; \
28724 (cd $(HOST_SUBDIR)/sed && \
28725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28727 "RANLIB=$${RANLIB}" \
28728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28729 install-pdf) \
28730 || exit 1
28732 @endif sed
28734 .PHONY: maybe-install-html-sed install-html-sed
28735 maybe-install-html-sed:
28736 @if sed
28737 maybe-install-html-sed: install-html-sed
28739 install-html-sed: \
28740 configure-sed \
28741 html-sed
28742 @: $(MAKE); $(unstage)
28743 @[ -f ./sed/Makefile ] || exit 0; \
28744 r=`${PWD_COMMAND}`; export r; \
28745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28746 $(HOST_EXPORTS) \
28747 for flag in $(EXTRA_HOST_FLAGS) ; do \
28748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28749 done; \
28750 echo "Doing install-html in sed" ; \
28751 (cd $(HOST_SUBDIR)/sed && \
28752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28754 "RANLIB=$${RANLIB}" \
28755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28756 install-html) \
28757 || exit 1
28759 @endif sed
28761 .PHONY: maybe-installcheck-sed installcheck-sed
28762 maybe-installcheck-sed:
28763 @if sed
28764 maybe-installcheck-sed: installcheck-sed
28766 installcheck-sed: \
28767 configure-sed
28768 @: $(MAKE); $(unstage)
28769 @[ -f ./sed/Makefile ] || exit 0; \
28770 r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(HOST_EXPORTS) \
28773 for flag in $(EXTRA_HOST_FLAGS) ; do \
28774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28775 done; \
28776 echo "Doing installcheck in sed" ; \
28777 (cd $(HOST_SUBDIR)/sed && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28782 installcheck) \
28783 || exit 1
28785 @endif sed
28787 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
28788 maybe-mostlyclean-sed:
28789 @if sed
28790 maybe-mostlyclean-sed: mostlyclean-sed
28792 mostlyclean-sed:
28793 @: $(MAKE); $(unstage)
28794 @[ -f ./sed/Makefile ] || exit 0; \
28795 r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28797 $(HOST_EXPORTS) \
28798 for flag in $(EXTRA_HOST_FLAGS) ; do \
28799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28800 done; \
28801 echo "Doing mostlyclean in sed" ; \
28802 (cd $(HOST_SUBDIR)/sed && \
28803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28805 "RANLIB=$${RANLIB}" \
28806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28807 mostlyclean) \
28808 || exit 1
28810 @endif sed
28812 .PHONY: maybe-clean-sed clean-sed
28813 maybe-clean-sed:
28814 @if sed
28815 maybe-clean-sed: clean-sed
28817 clean-sed:
28818 @: $(MAKE); $(unstage)
28819 @[ -f ./sed/Makefile ] || exit 0; \
28820 r=`${PWD_COMMAND}`; export r; \
28821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28822 $(HOST_EXPORTS) \
28823 for flag in $(EXTRA_HOST_FLAGS) ; do \
28824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28825 done; \
28826 echo "Doing clean in sed" ; \
28827 (cd $(HOST_SUBDIR)/sed && \
28828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28830 "RANLIB=$${RANLIB}" \
28831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28832 clean) \
28833 || exit 1
28835 @endif sed
28837 .PHONY: maybe-distclean-sed distclean-sed
28838 maybe-distclean-sed:
28839 @if sed
28840 maybe-distclean-sed: distclean-sed
28842 distclean-sed:
28843 @: $(MAKE); $(unstage)
28844 @[ -f ./sed/Makefile ] || exit 0; \
28845 r=`${PWD_COMMAND}`; export r; \
28846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28847 $(HOST_EXPORTS) \
28848 for flag in $(EXTRA_HOST_FLAGS) ; do \
28849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28850 done; \
28851 echo "Doing distclean in sed" ; \
28852 (cd $(HOST_SUBDIR)/sed && \
28853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28855 "RANLIB=$${RANLIB}" \
28856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28857 distclean) \
28858 || exit 1
28860 @endif sed
28862 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
28863 maybe-maintainer-clean-sed:
28864 @if sed
28865 maybe-maintainer-clean-sed: maintainer-clean-sed
28867 maintainer-clean-sed:
28868 @: $(MAKE); $(unstage)
28869 @[ -f ./sed/Makefile ] || exit 0; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(HOST_EXPORTS) \
28873 for flag in $(EXTRA_HOST_FLAGS) ; do \
28874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28875 done; \
28876 echo "Doing maintainer-clean in sed" ; \
28877 (cd $(HOST_SUBDIR)/sed && \
28878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28880 "RANLIB=$${RANLIB}" \
28881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28882 maintainer-clean) \
28883 || exit 1
28885 @endif sed
28889 .PHONY: configure-send-pr maybe-configure-send-pr
28890 maybe-configure-send-pr:
28891 @if gcc-bootstrap
28892 configure-send-pr: stage_current
28893 @endif gcc-bootstrap
28894 @if send-pr
28895 maybe-configure-send-pr: configure-send-pr
28896 configure-send-pr:
28897 @: $(MAKE); $(unstage)
28898 @r=`${PWD_COMMAND}`; export r; \
28899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28900 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
28901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
28902 $(HOST_EXPORTS) \
28903 echo Configuring in $(HOST_SUBDIR)/send-pr; \
28904 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
28905 case $(srcdir) in \
28906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28907 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
28908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28909 esac; \
28910 srcdiroption="--srcdir=$${topdir}/send-pr"; \
28911 libsrcdir="$$s/send-pr"; \
28912 $(SHELL) $${libsrcdir}/configure \
28913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28914 --target=${target_alias} $${srcdiroption} \
28915 || exit 1
28916 @endif send-pr
28922 .PHONY: all-send-pr maybe-all-send-pr
28923 maybe-all-send-pr:
28924 @if gcc-bootstrap
28925 all-send-pr: stage_current
28926 @endif gcc-bootstrap
28927 @if send-pr
28928 TARGET-send-pr=all
28929 maybe-all-send-pr: all-send-pr
28930 all-send-pr: configure-send-pr
28931 @: $(MAKE); $(unstage)
28932 @r=`${PWD_COMMAND}`; export r; \
28933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28934 $(HOST_EXPORTS) \
28935 (cd $(HOST_SUBDIR)/send-pr && \
28936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
28937 @endif send-pr
28942 .PHONY: check-send-pr maybe-check-send-pr
28943 maybe-check-send-pr:
28944 @if send-pr
28945 maybe-check-send-pr: check-send-pr
28947 check-send-pr:
28948 @: $(MAKE); $(unstage)
28949 @r=`${PWD_COMMAND}`; export r; \
28950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28951 $(HOST_EXPORTS) \
28952 (cd $(HOST_SUBDIR)/send-pr && \
28953 $(MAKE) $(FLAGS_TO_PASS) check)
28955 @endif send-pr
28957 .PHONY: install-send-pr maybe-install-send-pr
28958 maybe-install-send-pr:
28959 @if send-pr
28960 maybe-install-send-pr: install-send-pr
28962 install-send-pr: installdirs
28963 @: $(MAKE); $(unstage)
28964 @r=`${PWD_COMMAND}`; export r; \
28965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28966 $(HOST_EXPORTS) \
28967 (cd $(HOST_SUBDIR)/send-pr && \
28968 $(MAKE) $(FLAGS_TO_PASS) install)
28970 @endif send-pr
28972 # Other targets (info, dvi, pdf, etc.)
28974 .PHONY: maybe-info-send-pr info-send-pr
28975 maybe-info-send-pr:
28976 @if send-pr
28977 maybe-info-send-pr: info-send-pr
28979 info-send-pr: \
28980 configure-send-pr
28981 @: $(MAKE); $(unstage)
28982 @[ -f ./send-pr/Makefile ] || exit 0; \
28983 r=`${PWD_COMMAND}`; export r; \
28984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28985 $(HOST_EXPORTS) \
28986 for flag in $(EXTRA_HOST_FLAGS) ; do \
28987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28988 done; \
28989 echo "Doing info in send-pr" ; \
28990 (cd $(HOST_SUBDIR)/send-pr && \
28991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28993 "RANLIB=$${RANLIB}" \
28994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28995 info) \
28996 || exit 1
28998 @endif send-pr
29000 .PHONY: maybe-dvi-send-pr dvi-send-pr
29001 maybe-dvi-send-pr:
29002 @if send-pr
29003 maybe-dvi-send-pr: dvi-send-pr
29005 dvi-send-pr: \
29006 configure-send-pr
29007 @: $(MAKE); $(unstage)
29008 @[ -f ./send-pr/Makefile ] || exit 0; \
29009 r=`${PWD_COMMAND}`; export r; \
29010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29011 $(HOST_EXPORTS) \
29012 for flag in $(EXTRA_HOST_FLAGS) ; do \
29013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29014 done; \
29015 echo "Doing dvi in send-pr" ; \
29016 (cd $(HOST_SUBDIR)/send-pr && \
29017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29019 "RANLIB=$${RANLIB}" \
29020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29021 dvi) \
29022 || exit 1
29024 @endif send-pr
29026 .PHONY: maybe-pdf-send-pr pdf-send-pr
29027 maybe-pdf-send-pr:
29028 @if send-pr
29029 maybe-pdf-send-pr: pdf-send-pr
29031 pdf-send-pr: \
29032 configure-send-pr
29033 @: $(MAKE); $(unstage)
29034 @[ -f ./send-pr/Makefile ] || exit 0; \
29035 r=`${PWD_COMMAND}`; export r; \
29036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29037 $(HOST_EXPORTS) \
29038 for flag in $(EXTRA_HOST_FLAGS) ; do \
29039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29040 done; \
29041 echo "Doing pdf in send-pr" ; \
29042 (cd $(HOST_SUBDIR)/send-pr && \
29043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29045 "RANLIB=$${RANLIB}" \
29046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29047 pdf) \
29048 || exit 1
29050 @endif send-pr
29052 .PHONY: maybe-html-send-pr html-send-pr
29053 maybe-html-send-pr:
29054 @if send-pr
29055 maybe-html-send-pr: html-send-pr
29057 html-send-pr: \
29058 configure-send-pr
29059 @: $(MAKE); $(unstage)
29060 @[ -f ./send-pr/Makefile ] || exit 0; \
29061 r=`${PWD_COMMAND}`; export r; \
29062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29063 $(HOST_EXPORTS) \
29064 for flag in $(EXTRA_HOST_FLAGS) ; do \
29065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29066 done; \
29067 echo "Doing html in send-pr" ; \
29068 (cd $(HOST_SUBDIR)/send-pr && \
29069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29071 "RANLIB=$${RANLIB}" \
29072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29073 html) \
29074 || exit 1
29076 @endif send-pr
29078 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
29079 maybe-TAGS-send-pr:
29080 @if send-pr
29081 maybe-TAGS-send-pr: TAGS-send-pr
29083 TAGS-send-pr: \
29084 configure-send-pr
29085 @: $(MAKE); $(unstage)
29086 @[ -f ./send-pr/Makefile ] || exit 0; \
29087 r=`${PWD_COMMAND}`; export r; \
29088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29089 $(HOST_EXPORTS) \
29090 for flag in $(EXTRA_HOST_FLAGS) ; do \
29091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29092 done; \
29093 echo "Doing TAGS in send-pr" ; \
29094 (cd $(HOST_SUBDIR)/send-pr && \
29095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29097 "RANLIB=$${RANLIB}" \
29098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29099 TAGS) \
29100 || exit 1
29102 @endif send-pr
29104 .PHONY: maybe-install-info-send-pr install-info-send-pr
29105 maybe-install-info-send-pr:
29106 @if send-pr
29107 maybe-install-info-send-pr: install-info-send-pr
29109 install-info-send-pr: \
29110 configure-send-pr \
29111 info-send-pr
29112 @: $(MAKE); $(unstage)
29113 @[ -f ./send-pr/Makefile ] || exit 0; \
29114 r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 $(HOST_EXPORTS) \
29117 for flag in $(EXTRA_HOST_FLAGS) ; do \
29118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29119 done; \
29120 echo "Doing install-info in send-pr" ; \
29121 (cd $(HOST_SUBDIR)/send-pr && \
29122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29124 "RANLIB=$${RANLIB}" \
29125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29126 install-info) \
29127 || exit 1
29129 @endif send-pr
29131 .PHONY: maybe-install-pdf-send-pr install-pdf-send-pr
29132 maybe-install-pdf-send-pr:
29133 @if send-pr
29134 maybe-install-pdf-send-pr: install-pdf-send-pr
29136 install-pdf-send-pr: \
29137 configure-send-pr \
29138 pdf-send-pr
29139 @: $(MAKE); $(unstage)
29140 @[ -f ./send-pr/Makefile ] || exit 0; \
29141 r=`${PWD_COMMAND}`; export r; \
29142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29143 $(HOST_EXPORTS) \
29144 for flag in $(EXTRA_HOST_FLAGS) ; do \
29145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29146 done; \
29147 echo "Doing install-pdf in send-pr" ; \
29148 (cd $(HOST_SUBDIR)/send-pr && \
29149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29151 "RANLIB=$${RANLIB}" \
29152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29153 install-pdf) \
29154 || exit 1
29156 @endif send-pr
29158 .PHONY: maybe-install-html-send-pr install-html-send-pr
29159 maybe-install-html-send-pr:
29160 @if send-pr
29161 maybe-install-html-send-pr: install-html-send-pr
29163 install-html-send-pr: \
29164 configure-send-pr \
29165 html-send-pr
29166 @: $(MAKE); $(unstage)
29167 @[ -f ./send-pr/Makefile ] || exit 0; \
29168 r=`${PWD_COMMAND}`; export r; \
29169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29170 $(HOST_EXPORTS) \
29171 for flag in $(EXTRA_HOST_FLAGS) ; do \
29172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29173 done; \
29174 echo "Doing install-html in send-pr" ; \
29175 (cd $(HOST_SUBDIR)/send-pr && \
29176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29178 "RANLIB=$${RANLIB}" \
29179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29180 install-html) \
29181 || exit 1
29183 @endif send-pr
29185 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
29186 maybe-installcheck-send-pr:
29187 @if send-pr
29188 maybe-installcheck-send-pr: installcheck-send-pr
29190 installcheck-send-pr: \
29191 configure-send-pr
29192 @: $(MAKE); $(unstage)
29193 @[ -f ./send-pr/Makefile ] || exit 0; \
29194 r=`${PWD_COMMAND}`; export r; \
29195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29196 $(HOST_EXPORTS) \
29197 for flag in $(EXTRA_HOST_FLAGS) ; do \
29198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29199 done; \
29200 echo "Doing installcheck in send-pr" ; \
29201 (cd $(HOST_SUBDIR)/send-pr && \
29202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29204 "RANLIB=$${RANLIB}" \
29205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29206 installcheck) \
29207 || exit 1
29209 @endif send-pr
29211 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
29212 maybe-mostlyclean-send-pr:
29213 @if send-pr
29214 maybe-mostlyclean-send-pr: mostlyclean-send-pr
29216 mostlyclean-send-pr:
29217 @: $(MAKE); $(unstage)
29218 @[ -f ./send-pr/Makefile ] || exit 0; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(HOST_EXPORTS) \
29222 for flag in $(EXTRA_HOST_FLAGS) ; do \
29223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29224 done; \
29225 echo "Doing mostlyclean in send-pr" ; \
29226 (cd $(HOST_SUBDIR)/send-pr && \
29227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29229 "RANLIB=$${RANLIB}" \
29230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29231 mostlyclean) \
29232 || exit 1
29234 @endif send-pr
29236 .PHONY: maybe-clean-send-pr clean-send-pr
29237 maybe-clean-send-pr:
29238 @if send-pr
29239 maybe-clean-send-pr: clean-send-pr
29241 clean-send-pr:
29242 @: $(MAKE); $(unstage)
29243 @[ -f ./send-pr/Makefile ] || exit 0; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(HOST_EXPORTS) \
29247 for flag in $(EXTRA_HOST_FLAGS) ; do \
29248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29249 done; \
29250 echo "Doing clean in send-pr" ; \
29251 (cd $(HOST_SUBDIR)/send-pr && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29256 clean) \
29257 || exit 1
29259 @endif send-pr
29261 .PHONY: maybe-distclean-send-pr distclean-send-pr
29262 maybe-distclean-send-pr:
29263 @if send-pr
29264 maybe-distclean-send-pr: distclean-send-pr
29266 distclean-send-pr:
29267 @: $(MAKE); $(unstage)
29268 @[ -f ./send-pr/Makefile ] || exit 0; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(HOST_EXPORTS) \
29272 for flag in $(EXTRA_HOST_FLAGS) ; do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 echo "Doing distclean in send-pr" ; \
29276 (cd $(HOST_SUBDIR)/send-pr && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29281 distclean) \
29282 || exit 1
29284 @endif send-pr
29286 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
29287 maybe-maintainer-clean-send-pr:
29288 @if send-pr
29289 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
29291 maintainer-clean-send-pr:
29292 @: $(MAKE); $(unstage)
29293 @[ -f ./send-pr/Makefile ] || exit 0; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(HOST_EXPORTS) \
29297 for flag in $(EXTRA_HOST_FLAGS) ; do \
29298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29299 done; \
29300 echo "Doing maintainer-clean in send-pr" ; \
29301 (cd $(HOST_SUBDIR)/send-pr && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29304 "RANLIB=$${RANLIB}" \
29305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29306 maintainer-clean) \
29307 || exit 1
29309 @endif send-pr
29313 .PHONY: configure-shellutils maybe-configure-shellutils
29314 maybe-configure-shellutils:
29315 @if gcc-bootstrap
29316 configure-shellutils: stage_current
29317 @endif gcc-bootstrap
29318 @if shellutils
29319 maybe-configure-shellutils: configure-shellutils
29320 configure-shellutils:
29321 @: $(MAKE); $(unstage)
29322 @r=`${PWD_COMMAND}`; export r; \
29323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
29325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
29326 $(HOST_EXPORTS) \
29327 echo Configuring in $(HOST_SUBDIR)/shellutils; \
29328 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
29329 case $(srcdir) in \
29330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29331 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
29332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29333 esac; \
29334 srcdiroption="--srcdir=$${topdir}/shellutils"; \
29335 libsrcdir="$$s/shellutils"; \
29336 $(SHELL) $${libsrcdir}/configure \
29337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29338 --target=${target_alias} $${srcdiroption} \
29339 || exit 1
29340 @endif shellutils
29346 .PHONY: all-shellutils maybe-all-shellutils
29347 maybe-all-shellutils:
29348 @if gcc-bootstrap
29349 all-shellutils: stage_current
29350 @endif gcc-bootstrap
29351 @if shellutils
29352 TARGET-shellutils=all
29353 maybe-all-shellutils: all-shellutils
29354 all-shellutils: configure-shellutils
29355 @: $(MAKE); $(unstage)
29356 @r=`${PWD_COMMAND}`; export r; \
29357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29358 $(HOST_EXPORTS) \
29359 (cd $(HOST_SUBDIR)/shellutils && \
29360 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
29361 @endif shellutils
29366 .PHONY: check-shellutils maybe-check-shellutils
29367 maybe-check-shellutils:
29368 @if shellutils
29369 maybe-check-shellutils: check-shellutils
29371 check-shellutils:
29372 @: $(MAKE); $(unstage)
29373 @r=`${PWD_COMMAND}`; export r; \
29374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29375 $(HOST_EXPORTS) \
29376 (cd $(HOST_SUBDIR)/shellutils && \
29377 $(MAKE) $(FLAGS_TO_PASS) check)
29379 @endif shellutils
29381 .PHONY: install-shellutils maybe-install-shellutils
29382 maybe-install-shellutils:
29383 @if shellutils
29384 maybe-install-shellutils: install-shellutils
29386 install-shellutils: installdirs
29387 @: $(MAKE); $(unstage)
29388 @r=`${PWD_COMMAND}`; export r; \
29389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29390 $(HOST_EXPORTS) \
29391 (cd $(HOST_SUBDIR)/shellutils && \
29392 $(MAKE) $(FLAGS_TO_PASS) install)
29394 @endif shellutils
29396 # Other targets (info, dvi, pdf, etc.)
29398 .PHONY: maybe-info-shellutils info-shellutils
29399 maybe-info-shellutils:
29400 @if shellutils
29401 maybe-info-shellutils: info-shellutils
29403 info-shellutils: \
29404 configure-shellutils
29405 @: $(MAKE); $(unstage)
29406 @[ -f ./shellutils/Makefile ] || exit 0; \
29407 r=`${PWD_COMMAND}`; export r; \
29408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29409 $(HOST_EXPORTS) \
29410 for flag in $(EXTRA_HOST_FLAGS) ; do \
29411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29412 done; \
29413 echo "Doing info in shellutils" ; \
29414 (cd $(HOST_SUBDIR)/shellutils && \
29415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29417 "RANLIB=$${RANLIB}" \
29418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29419 info) \
29420 || exit 1
29422 @endif shellutils
29424 .PHONY: maybe-dvi-shellutils dvi-shellutils
29425 maybe-dvi-shellutils:
29426 @if shellutils
29427 maybe-dvi-shellutils: dvi-shellutils
29429 dvi-shellutils: \
29430 configure-shellutils
29431 @: $(MAKE); $(unstage)
29432 @[ -f ./shellutils/Makefile ] || exit 0; \
29433 r=`${PWD_COMMAND}`; export r; \
29434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29435 $(HOST_EXPORTS) \
29436 for flag in $(EXTRA_HOST_FLAGS) ; do \
29437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29438 done; \
29439 echo "Doing dvi in shellutils" ; \
29440 (cd $(HOST_SUBDIR)/shellutils && \
29441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29443 "RANLIB=$${RANLIB}" \
29444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29445 dvi) \
29446 || exit 1
29448 @endif shellutils
29450 .PHONY: maybe-pdf-shellutils pdf-shellutils
29451 maybe-pdf-shellutils:
29452 @if shellutils
29453 maybe-pdf-shellutils: pdf-shellutils
29455 pdf-shellutils: \
29456 configure-shellutils
29457 @: $(MAKE); $(unstage)
29458 @[ -f ./shellutils/Makefile ] || exit 0; \
29459 r=`${PWD_COMMAND}`; export r; \
29460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29461 $(HOST_EXPORTS) \
29462 for flag in $(EXTRA_HOST_FLAGS) ; do \
29463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29464 done; \
29465 echo "Doing pdf in shellutils" ; \
29466 (cd $(HOST_SUBDIR)/shellutils && \
29467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29469 "RANLIB=$${RANLIB}" \
29470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29471 pdf) \
29472 || exit 1
29474 @endif shellutils
29476 .PHONY: maybe-html-shellutils html-shellutils
29477 maybe-html-shellutils:
29478 @if shellutils
29479 maybe-html-shellutils: html-shellutils
29481 html-shellutils: \
29482 configure-shellutils
29483 @: $(MAKE); $(unstage)
29484 @[ -f ./shellutils/Makefile ] || exit 0; \
29485 r=`${PWD_COMMAND}`; export r; \
29486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29487 $(HOST_EXPORTS) \
29488 for flag in $(EXTRA_HOST_FLAGS) ; do \
29489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29490 done; \
29491 echo "Doing html in shellutils" ; \
29492 (cd $(HOST_SUBDIR)/shellutils && \
29493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29495 "RANLIB=$${RANLIB}" \
29496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29497 html) \
29498 || exit 1
29500 @endif shellutils
29502 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
29503 maybe-TAGS-shellutils:
29504 @if shellutils
29505 maybe-TAGS-shellutils: TAGS-shellutils
29507 TAGS-shellutils: \
29508 configure-shellutils
29509 @: $(MAKE); $(unstage)
29510 @[ -f ./shellutils/Makefile ] || exit 0; \
29511 r=`${PWD_COMMAND}`; export r; \
29512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29513 $(HOST_EXPORTS) \
29514 for flag in $(EXTRA_HOST_FLAGS) ; do \
29515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29516 done; \
29517 echo "Doing TAGS in shellutils" ; \
29518 (cd $(HOST_SUBDIR)/shellutils && \
29519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29521 "RANLIB=$${RANLIB}" \
29522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29523 TAGS) \
29524 || exit 1
29526 @endif shellutils
29528 .PHONY: maybe-install-info-shellutils install-info-shellutils
29529 maybe-install-info-shellutils:
29530 @if shellutils
29531 maybe-install-info-shellutils: install-info-shellutils
29533 install-info-shellutils: \
29534 configure-shellutils \
29535 info-shellutils
29536 @: $(MAKE); $(unstage)
29537 @[ -f ./shellutils/Makefile ] || exit 0; \
29538 r=`${PWD_COMMAND}`; export r; \
29539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29540 $(HOST_EXPORTS) \
29541 for flag in $(EXTRA_HOST_FLAGS) ; do \
29542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29543 done; \
29544 echo "Doing install-info in shellutils" ; \
29545 (cd $(HOST_SUBDIR)/shellutils && \
29546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29548 "RANLIB=$${RANLIB}" \
29549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29550 install-info) \
29551 || exit 1
29553 @endif shellutils
29555 .PHONY: maybe-install-pdf-shellutils install-pdf-shellutils
29556 maybe-install-pdf-shellutils:
29557 @if shellutils
29558 maybe-install-pdf-shellutils: install-pdf-shellutils
29560 install-pdf-shellutils: \
29561 configure-shellutils \
29562 pdf-shellutils
29563 @: $(MAKE); $(unstage)
29564 @[ -f ./shellutils/Makefile ] || exit 0; \
29565 r=`${PWD_COMMAND}`; export r; \
29566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29567 $(HOST_EXPORTS) \
29568 for flag in $(EXTRA_HOST_FLAGS) ; do \
29569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29570 done; \
29571 echo "Doing install-pdf in shellutils" ; \
29572 (cd $(HOST_SUBDIR)/shellutils && \
29573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29575 "RANLIB=$${RANLIB}" \
29576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29577 install-pdf) \
29578 || exit 1
29580 @endif shellutils
29582 .PHONY: maybe-install-html-shellutils install-html-shellutils
29583 maybe-install-html-shellutils:
29584 @if shellutils
29585 maybe-install-html-shellutils: install-html-shellutils
29587 install-html-shellutils: \
29588 configure-shellutils \
29589 html-shellutils
29590 @: $(MAKE); $(unstage)
29591 @[ -f ./shellutils/Makefile ] || exit 0; \
29592 r=`${PWD_COMMAND}`; export r; \
29593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29594 $(HOST_EXPORTS) \
29595 for flag in $(EXTRA_HOST_FLAGS) ; do \
29596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29597 done; \
29598 echo "Doing install-html in shellutils" ; \
29599 (cd $(HOST_SUBDIR)/shellutils && \
29600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29602 "RANLIB=$${RANLIB}" \
29603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29604 install-html) \
29605 || exit 1
29607 @endif shellutils
29609 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
29610 maybe-installcheck-shellutils:
29611 @if shellutils
29612 maybe-installcheck-shellutils: installcheck-shellutils
29614 installcheck-shellutils: \
29615 configure-shellutils
29616 @: $(MAKE); $(unstage)
29617 @[ -f ./shellutils/Makefile ] || exit 0; \
29618 r=`${PWD_COMMAND}`; export r; \
29619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29620 $(HOST_EXPORTS) \
29621 for flag in $(EXTRA_HOST_FLAGS) ; do \
29622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29623 done; \
29624 echo "Doing installcheck in shellutils" ; \
29625 (cd $(HOST_SUBDIR)/shellutils && \
29626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29628 "RANLIB=$${RANLIB}" \
29629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29630 installcheck) \
29631 || exit 1
29633 @endif shellutils
29635 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
29636 maybe-mostlyclean-shellutils:
29637 @if shellutils
29638 maybe-mostlyclean-shellutils: mostlyclean-shellutils
29640 mostlyclean-shellutils:
29641 @: $(MAKE); $(unstage)
29642 @[ -f ./shellutils/Makefile ] || exit 0; \
29643 r=`${PWD_COMMAND}`; export r; \
29644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29645 $(HOST_EXPORTS) \
29646 for flag in $(EXTRA_HOST_FLAGS) ; do \
29647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29648 done; \
29649 echo "Doing mostlyclean in shellutils" ; \
29650 (cd $(HOST_SUBDIR)/shellutils && \
29651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29653 "RANLIB=$${RANLIB}" \
29654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29655 mostlyclean) \
29656 || exit 1
29658 @endif shellutils
29660 .PHONY: maybe-clean-shellutils clean-shellutils
29661 maybe-clean-shellutils:
29662 @if shellutils
29663 maybe-clean-shellutils: clean-shellutils
29665 clean-shellutils:
29666 @: $(MAKE); $(unstage)
29667 @[ -f ./shellutils/Makefile ] || exit 0; \
29668 r=`${PWD_COMMAND}`; export r; \
29669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29670 $(HOST_EXPORTS) \
29671 for flag in $(EXTRA_HOST_FLAGS) ; do \
29672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29673 done; \
29674 echo "Doing clean in shellutils" ; \
29675 (cd $(HOST_SUBDIR)/shellutils && \
29676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29678 "RANLIB=$${RANLIB}" \
29679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29680 clean) \
29681 || exit 1
29683 @endif shellutils
29685 .PHONY: maybe-distclean-shellutils distclean-shellutils
29686 maybe-distclean-shellutils:
29687 @if shellutils
29688 maybe-distclean-shellutils: distclean-shellutils
29690 distclean-shellutils:
29691 @: $(MAKE); $(unstage)
29692 @[ -f ./shellutils/Makefile ] || exit 0; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29695 $(HOST_EXPORTS) \
29696 for flag in $(EXTRA_HOST_FLAGS) ; do \
29697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29698 done; \
29699 echo "Doing distclean in shellutils" ; \
29700 (cd $(HOST_SUBDIR)/shellutils && \
29701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29703 "RANLIB=$${RANLIB}" \
29704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29705 distclean) \
29706 || exit 1
29708 @endif shellutils
29710 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
29711 maybe-maintainer-clean-shellutils:
29712 @if shellutils
29713 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
29715 maintainer-clean-shellutils:
29716 @: $(MAKE); $(unstage)
29717 @[ -f ./shellutils/Makefile ] || exit 0; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(HOST_EXPORTS) \
29721 for flag in $(EXTRA_HOST_FLAGS) ; do \
29722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29723 done; \
29724 echo "Doing maintainer-clean in shellutils" ; \
29725 (cd $(HOST_SUBDIR)/shellutils && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29730 maintainer-clean) \
29731 || exit 1
29733 @endif shellutils
29737 .PHONY: configure-sid maybe-configure-sid
29738 maybe-configure-sid:
29739 @if gcc-bootstrap
29740 configure-sid: stage_current
29741 @endif gcc-bootstrap
29742 @if sid
29743 maybe-configure-sid: configure-sid
29744 configure-sid:
29745 @: $(MAKE); $(unstage)
29746 @r=`${PWD_COMMAND}`; export r; \
29747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29748 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
29749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
29750 $(HOST_EXPORTS) \
29751 echo Configuring in $(HOST_SUBDIR)/sid; \
29752 cd "$(HOST_SUBDIR)/sid" || exit 1; \
29753 case $(srcdir) in \
29754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29755 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
29756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29757 esac; \
29758 srcdiroption="--srcdir=$${topdir}/sid"; \
29759 libsrcdir="$$s/sid"; \
29760 $(SHELL) $${libsrcdir}/configure \
29761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29762 --target=${target_alias} $${srcdiroption} \
29763 || exit 1
29764 @endif sid
29770 .PHONY: all-sid maybe-all-sid
29771 maybe-all-sid:
29772 @if gcc-bootstrap
29773 all-sid: stage_current
29774 @endif gcc-bootstrap
29775 @if sid
29776 TARGET-sid=all
29777 maybe-all-sid: all-sid
29778 all-sid: configure-sid
29779 @: $(MAKE); $(unstage)
29780 @r=`${PWD_COMMAND}`; export r; \
29781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29782 $(HOST_EXPORTS) \
29783 (cd $(HOST_SUBDIR)/sid && \
29784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
29785 @endif sid
29790 .PHONY: check-sid maybe-check-sid
29791 maybe-check-sid:
29792 @if sid
29793 maybe-check-sid: check-sid
29795 check-sid:
29796 @: $(MAKE); $(unstage)
29797 @r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(HOST_EXPORTS) \
29800 (cd $(HOST_SUBDIR)/sid && \
29801 $(MAKE) $(FLAGS_TO_PASS) check)
29803 @endif sid
29805 .PHONY: install-sid maybe-install-sid
29806 maybe-install-sid:
29807 @if sid
29808 maybe-install-sid: install-sid
29810 install-sid: installdirs
29811 @: $(MAKE); $(unstage)
29812 @r=`${PWD_COMMAND}`; export r; \
29813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29814 $(HOST_EXPORTS) \
29815 (cd $(HOST_SUBDIR)/sid && \
29816 $(MAKE) $(FLAGS_TO_PASS) install)
29818 @endif sid
29820 # Other targets (info, dvi, pdf, etc.)
29822 .PHONY: maybe-info-sid info-sid
29823 maybe-info-sid:
29824 @if sid
29825 maybe-info-sid: info-sid
29827 info-sid: \
29828 configure-sid
29829 @: $(MAKE); $(unstage)
29830 @[ -f ./sid/Makefile ] || exit 0; \
29831 r=`${PWD_COMMAND}`; export r; \
29832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29833 $(HOST_EXPORTS) \
29834 for flag in $(EXTRA_HOST_FLAGS) ; do \
29835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29836 done; \
29837 echo "Doing info in sid" ; \
29838 (cd $(HOST_SUBDIR)/sid && \
29839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29841 "RANLIB=$${RANLIB}" \
29842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29843 info) \
29844 || exit 1
29846 @endif sid
29848 .PHONY: maybe-dvi-sid dvi-sid
29849 maybe-dvi-sid:
29850 @if sid
29851 maybe-dvi-sid: dvi-sid
29853 dvi-sid: \
29854 configure-sid
29855 @: $(MAKE); $(unstage)
29856 @[ -f ./sid/Makefile ] || exit 0; \
29857 r=`${PWD_COMMAND}`; export r; \
29858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29859 $(HOST_EXPORTS) \
29860 for flag in $(EXTRA_HOST_FLAGS) ; do \
29861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29862 done; \
29863 echo "Doing dvi in sid" ; \
29864 (cd $(HOST_SUBDIR)/sid && \
29865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29867 "RANLIB=$${RANLIB}" \
29868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29869 dvi) \
29870 || exit 1
29872 @endif sid
29874 .PHONY: maybe-pdf-sid pdf-sid
29875 maybe-pdf-sid:
29876 @if sid
29877 maybe-pdf-sid: pdf-sid
29879 pdf-sid: \
29880 configure-sid
29881 @: $(MAKE); $(unstage)
29882 @[ -f ./sid/Makefile ] || exit 0; \
29883 r=`${PWD_COMMAND}`; export r; \
29884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29885 $(HOST_EXPORTS) \
29886 for flag in $(EXTRA_HOST_FLAGS) ; do \
29887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29888 done; \
29889 echo "Doing pdf in sid" ; \
29890 (cd $(HOST_SUBDIR)/sid && \
29891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29893 "RANLIB=$${RANLIB}" \
29894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29895 pdf) \
29896 || exit 1
29898 @endif sid
29900 .PHONY: maybe-html-sid html-sid
29901 maybe-html-sid:
29902 @if sid
29903 maybe-html-sid: html-sid
29905 html-sid: \
29906 configure-sid
29907 @: $(MAKE); $(unstage)
29908 @[ -f ./sid/Makefile ] || exit 0; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29911 $(HOST_EXPORTS) \
29912 for flag in $(EXTRA_HOST_FLAGS) ; do \
29913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29914 done; \
29915 echo "Doing html in sid" ; \
29916 (cd $(HOST_SUBDIR)/sid && \
29917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29919 "RANLIB=$${RANLIB}" \
29920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29921 html) \
29922 || exit 1
29924 @endif sid
29926 .PHONY: maybe-TAGS-sid TAGS-sid
29927 maybe-TAGS-sid:
29928 @if sid
29929 maybe-TAGS-sid: TAGS-sid
29931 TAGS-sid: \
29932 configure-sid
29933 @: $(MAKE); $(unstage)
29934 @[ -f ./sid/Makefile ] || exit 0; \
29935 r=`${PWD_COMMAND}`; export r; \
29936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29937 $(HOST_EXPORTS) \
29938 for flag in $(EXTRA_HOST_FLAGS) ; do \
29939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29940 done; \
29941 echo "Doing TAGS in sid" ; \
29942 (cd $(HOST_SUBDIR)/sid && \
29943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29945 "RANLIB=$${RANLIB}" \
29946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29947 TAGS) \
29948 || exit 1
29950 @endif sid
29952 .PHONY: maybe-install-info-sid install-info-sid
29953 maybe-install-info-sid:
29954 @if sid
29955 maybe-install-info-sid: install-info-sid
29957 install-info-sid: \
29958 configure-sid \
29959 info-sid
29960 @: $(MAKE); $(unstage)
29961 @[ -f ./sid/Makefile ] || exit 0; \
29962 r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(HOST_EXPORTS) \
29965 for flag in $(EXTRA_HOST_FLAGS) ; do \
29966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29967 done; \
29968 echo "Doing install-info in sid" ; \
29969 (cd $(HOST_SUBDIR)/sid && \
29970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29972 "RANLIB=$${RANLIB}" \
29973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29974 install-info) \
29975 || exit 1
29977 @endif sid
29979 .PHONY: maybe-install-pdf-sid install-pdf-sid
29980 maybe-install-pdf-sid:
29981 @if sid
29982 maybe-install-pdf-sid: install-pdf-sid
29984 install-pdf-sid: \
29985 configure-sid \
29986 pdf-sid
29987 @: $(MAKE); $(unstage)
29988 @[ -f ./sid/Makefile ] || exit 0; \
29989 r=`${PWD_COMMAND}`; export r; \
29990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29991 $(HOST_EXPORTS) \
29992 for flag in $(EXTRA_HOST_FLAGS) ; do \
29993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29994 done; \
29995 echo "Doing install-pdf in sid" ; \
29996 (cd $(HOST_SUBDIR)/sid && \
29997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29999 "RANLIB=$${RANLIB}" \
30000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30001 install-pdf) \
30002 || exit 1
30004 @endif sid
30006 .PHONY: maybe-install-html-sid install-html-sid
30007 maybe-install-html-sid:
30008 @if sid
30009 maybe-install-html-sid: install-html-sid
30011 install-html-sid: \
30012 configure-sid \
30013 html-sid
30014 @: $(MAKE); $(unstage)
30015 @[ -f ./sid/Makefile ] || exit 0; \
30016 r=`${PWD_COMMAND}`; export r; \
30017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30018 $(HOST_EXPORTS) \
30019 for flag in $(EXTRA_HOST_FLAGS) ; do \
30020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30021 done; \
30022 echo "Doing install-html in sid" ; \
30023 (cd $(HOST_SUBDIR)/sid && \
30024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30026 "RANLIB=$${RANLIB}" \
30027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30028 install-html) \
30029 || exit 1
30031 @endif sid
30033 .PHONY: maybe-installcheck-sid installcheck-sid
30034 maybe-installcheck-sid:
30035 @if sid
30036 maybe-installcheck-sid: installcheck-sid
30038 installcheck-sid: \
30039 configure-sid
30040 @: $(MAKE); $(unstage)
30041 @[ -f ./sid/Makefile ] || exit 0; \
30042 r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30044 $(HOST_EXPORTS) \
30045 for flag in $(EXTRA_HOST_FLAGS) ; do \
30046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30047 done; \
30048 echo "Doing installcheck in sid" ; \
30049 (cd $(HOST_SUBDIR)/sid && \
30050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30052 "RANLIB=$${RANLIB}" \
30053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30054 installcheck) \
30055 || exit 1
30057 @endif sid
30059 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
30060 maybe-mostlyclean-sid:
30061 @if sid
30062 maybe-mostlyclean-sid: mostlyclean-sid
30064 mostlyclean-sid:
30065 @: $(MAKE); $(unstage)
30066 @[ -f ./sid/Makefile ] || exit 0; \
30067 r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(HOST_EXPORTS) \
30070 for flag in $(EXTRA_HOST_FLAGS) ; do \
30071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30072 done; \
30073 echo "Doing mostlyclean in sid" ; \
30074 (cd $(HOST_SUBDIR)/sid && \
30075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30077 "RANLIB=$${RANLIB}" \
30078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30079 mostlyclean) \
30080 || exit 1
30082 @endif sid
30084 .PHONY: maybe-clean-sid clean-sid
30085 maybe-clean-sid:
30086 @if sid
30087 maybe-clean-sid: clean-sid
30089 clean-sid:
30090 @: $(MAKE); $(unstage)
30091 @[ -f ./sid/Makefile ] || exit 0; \
30092 r=`${PWD_COMMAND}`; export r; \
30093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30094 $(HOST_EXPORTS) \
30095 for flag in $(EXTRA_HOST_FLAGS) ; do \
30096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30097 done; \
30098 echo "Doing clean in sid" ; \
30099 (cd $(HOST_SUBDIR)/sid && \
30100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30102 "RANLIB=$${RANLIB}" \
30103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30104 clean) \
30105 || exit 1
30107 @endif sid
30109 .PHONY: maybe-distclean-sid distclean-sid
30110 maybe-distclean-sid:
30111 @if sid
30112 maybe-distclean-sid: distclean-sid
30114 distclean-sid:
30115 @: $(MAKE); $(unstage)
30116 @[ -f ./sid/Makefile ] || exit 0; \
30117 r=`${PWD_COMMAND}`; export r; \
30118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30119 $(HOST_EXPORTS) \
30120 for flag in $(EXTRA_HOST_FLAGS) ; do \
30121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30122 done; \
30123 echo "Doing distclean in sid" ; \
30124 (cd $(HOST_SUBDIR)/sid && \
30125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30127 "RANLIB=$${RANLIB}" \
30128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30129 distclean) \
30130 || exit 1
30132 @endif sid
30134 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
30135 maybe-maintainer-clean-sid:
30136 @if sid
30137 maybe-maintainer-clean-sid: maintainer-clean-sid
30139 maintainer-clean-sid:
30140 @: $(MAKE); $(unstage)
30141 @[ -f ./sid/Makefile ] || exit 0; \
30142 r=`${PWD_COMMAND}`; export r; \
30143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30144 $(HOST_EXPORTS) \
30145 for flag in $(EXTRA_HOST_FLAGS) ; do \
30146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30147 done; \
30148 echo "Doing maintainer-clean in sid" ; \
30149 (cd $(HOST_SUBDIR)/sid && \
30150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30152 "RANLIB=$${RANLIB}" \
30153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30154 maintainer-clean) \
30155 || exit 1
30157 @endif sid
30161 .PHONY: configure-sim maybe-configure-sim
30162 maybe-configure-sim:
30163 @if gcc-bootstrap
30164 configure-sim: stage_current
30165 @endif gcc-bootstrap
30166 @if sim
30167 maybe-configure-sim: configure-sim
30168 configure-sim:
30169 @: $(MAKE); $(unstage)
30170 @r=`${PWD_COMMAND}`; export r; \
30171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30172 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
30173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
30174 $(HOST_EXPORTS) \
30175 echo Configuring in $(HOST_SUBDIR)/sim; \
30176 cd "$(HOST_SUBDIR)/sim" || exit 1; \
30177 case $(srcdir) in \
30178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30179 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
30180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30181 esac; \
30182 srcdiroption="--srcdir=$${topdir}/sim"; \
30183 libsrcdir="$$s/sim"; \
30184 $(SHELL) $${libsrcdir}/configure \
30185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30186 --target=${target_alias} $${srcdiroption} \
30187 || exit 1
30188 @endif sim
30194 .PHONY: all-sim maybe-all-sim
30195 maybe-all-sim:
30196 @if gcc-bootstrap
30197 all-sim: stage_current
30198 @endif gcc-bootstrap
30199 @if sim
30200 TARGET-sim=all
30201 maybe-all-sim: all-sim
30202 all-sim: configure-sim
30203 @: $(MAKE); $(unstage)
30204 @r=`${PWD_COMMAND}`; export r; \
30205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30206 $(HOST_EXPORTS) \
30207 (cd $(HOST_SUBDIR)/sim && \
30208 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
30209 @endif sim
30214 .PHONY: check-sim maybe-check-sim
30215 maybe-check-sim:
30216 @if sim
30217 maybe-check-sim: check-sim
30219 check-sim:
30220 @: $(MAKE); $(unstage)
30221 @r=`${PWD_COMMAND}`; export r; \
30222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30223 $(HOST_EXPORTS) \
30224 (cd $(HOST_SUBDIR)/sim && \
30225 $(MAKE) $(FLAGS_TO_PASS) check)
30227 @endif sim
30229 .PHONY: install-sim maybe-install-sim
30230 maybe-install-sim:
30231 @if sim
30232 maybe-install-sim: install-sim
30234 install-sim: installdirs
30235 @: $(MAKE); $(unstage)
30236 @r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(HOST_EXPORTS) \
30239 (cd $(HOST_SUBDIR)/sim && \
30240 $(MAKE) $(FLAGS_TO_PASS) install)
30242 @endif sim
30244 # Other targets (info, dvi, pdf, etc.)
30246 .PHONY: maybe-info-sim info-sim
30247 maybe-info-sim:
30248 @if sim
30249 maybe-info-sim: info-sim
30251 info-sim: \
30252 configure-sim
30253 @: $(MAKE); $(unstage)
30254 @[ -f ./sim/Makefile ] || exit 0; \
30255 r=`${PWD_COMMAND}`; export r; \
30256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30257 $(HOST_EXPORTS) \
30258 for flag in $(EXTRA_HOST_FLAGS) ; do \
30259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30260 done; \
30261 echo "Doing info in sim" ; \
30262 (cd $(HOST_SUBDIR)/sim && \
30263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30265 "RANLIB=$${RANLIB}" \
30266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30267 info) \
30268 || exit 1
30270 @endif sim
30272 .PHONY: maybe-dvi-sim dvi-sim
30273 maybe-dvi-sim:
30274 @if sim
30275 maybe-dvi-sim: dvi-sim
30277 dvi-sim: \
30278 configure-sim
30279 @: $(MAKE); $(unstage)
30280 @[ -f ./sim/Makefile ] || exit 0; \
30281 r=`${PWD_COMMAND}`; export r; \
30282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30283 $(HOST_EXPORTS) \
30284 for flag in $(EXTRA_HOST_FLAGS) ; do \
30285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30286 done; \
30287 echo "Doing dvi in sim" ; \
30288 (cd $(HOST_SUBDIR)/sim && \
30289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30291 "RANLIB=$${RANLIB}" \
30292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30293 dvi) \
30294 || exit 1
30296 @endif sim
30298 .PHONY: maybe-pdf-sim pdf-sim
30299 maybe-pdf-sim:
30300 @if sim
30301 maybe-pdf-sim: pdf-sim
30303 pdf-sim: \
30304 configure-sim
30305 @: $(MAKE); $(unstage)
30306 @[ -f ./sim/Makefile ] || exit 0; \
30307 r=`${PWD_COMMAND}`; export r; \
30308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30309 $(HOST_EXPORTS) \
30310 for flag in $(EXTRA_HOST_FLAGS) ; do \
30311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30312 done; \
30313 echo "Doing pdf in sim" ; \
30314 (cd $(HOST_SUBDIR)/sim && \
30315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30317 "RANLIB=$${RANLIB}" \
30318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30319 pdf) \
30320 || exit 1
30322 @endif sim
30324 .PHONY: maybe-html-sim html-sim
30325 maybe-html-sim:
30326 @if sim
30327 maybe-html-sim: html-sim
30329 html-sim: \
30330 configure-sim
30331 @: $(MAKE); $(unstage)
30332 @[ -f ./sim/Makefile ] || exit 0; \
30333 r=`${PWD_COMMAND}`; export r; \
30334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30335 $(HOST_EXPORTS) \
30336 for flag in $(EXTRA_HOST_FLAGS) ; do \
30337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30338 done; \
30339 echo "Doing html in sim" ; \
30340 (cd $(HOST_SUBDIR)/sim && \
30341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30343 "RANLIB=$${RANLIB}" \
30344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30345 html) \
30346 || exit 1
30348 @endif sim
30350 .PHONY: maybe-TAGS-sim TAGS-sim
30351 maybe-TAGS-sim:
30352 @if sim
30353 maybe-TAGS-sim: TAGS-sim
30355 TAGS-sim: \
30356 configure-sim
30357 @: $(MAKE); $(unstage)
30358 @[ -f ./sim/Makefile ] || exit 0; \
30359 r=`${PWD_COMMAND}`; export r; \
30360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30361 $(HOST_EXPORTS) \
30362 for flag in $(EXTRA_HOST_FLAGS) ; do \
30363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30364 done; \
30365 echo "Doing TAGS in sim" ; \
30366 (cd $(HOST_SUBDIR)/sim && \
30367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30369 "RANLIB=$${RANLIB}" \
30370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30371 TAGS) \
30372 || exit 1
30374 @endif sim
30376 .PHONY: maybe-install-info-sim install-info-sim
30377 maybe-install-info-sim:
30378 @if sim
30379 maybe-install-info-sim: install-info-sim
30381 install-info-sim: \
30382 configure-sim \
30383 info-sim
30384 @: $(MAKE); $(unstage)
30385 @[ -f ./sim/Makefile ] || exit 0; \
30386 r=`${PWD_COMMAND}`; export r; \
30387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30388 $(HOST_EXPORTS) \
30389 for flag in $(EXTRA_HOST_FLAGS) ; do \
30390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30391 done; \
30392 echo "Doing install-info in sim" ; \
30393 (cd $(HOST_SUBDIR)/sim && \
30394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30396 "RANLIB=$${RANLIB}" \
30397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30398 install-info) \
30399 || exit 1
30401 @endif sim
30403 .PHONY: maybe-install-pdf-sim install-pdf-sim
30404 maybe-install-pdf-sim:
30405 @if sim
30406 maybe-install-pdf-sim: install-pdf-sim
30408 install-pdf-sim: \
30409 configure-sim \
30410 pdf-sim
30411 @: $(MAKE); $(unstage)
30412 @[ -f ./sim/Makefile ] || exit 0; \
30413 r=`${PWD_COMMAND}`; export r; \
30414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30415 $(HOST_EXPORTS) \
30416 for flag in $(EXTRA_HOST_FLAGS) ; do \
30417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30418 done; \
30419 echo "Doing install-pdf in sim" ; \
30420 (cd $(HOST_SUBDIR)/sim && \
30421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30423 "RANLIB=$${RANLIB}" \
30424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30425 install-pdf) \
30426 || exit 1
30428 @endif sim
30430 .PHONY: maybe-install-html-sim install-html-sim
30431 maybe-install-html-sim:
30432 @if sim
30433 maybe-install-html-sim: install-html-sim
30435 install-html-sim: \
30436 configure-sim \
30437 html-sim
30438 @: $(MAKE); $(unstage)
30439 @[ -f ./sim/Makefile ] || exit 0; \
30440 r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(HOST_EXPORTS) \
30443 for flag in $(EXTRA_HOST_FLAGS) ; do \
30444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30445 done; \
30446 echo "Doing install-html in sim" ; \
30447 (cd $(HOST_SUBDIR)/sim && \
30448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30450 "RANLIB=$${RANLIB}" \
30451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30452 install-html) \
30453 || exit 1
30455 @endif sim
30457 .PHONY: maybe-installcheck-sim installcheck-sim
30458 maybe-installcheck-sim:
30459 @if sim
30460 maybe-installcheck-sim: installcheck-sim
30462 installcheck-sim: \
30463 configure-sim
30464 @: $(MAKE); $(unstage)
30465 @[ -f ./sim/Makefile ] || exit 0; \
30466 r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(HOST_EXPORTS) \
30469 for flag in $(EXTRA_HOST_FLAGS) ; do \
30470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30471 done; \
30472 echo "Doing installcheck in sim" ; \
30473 (cd $(HOST_SUBDIR)/sim && \
30474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30476 "RANLIB=$${RANLIB}" \
30477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30478 installcheck) \
30479 || exit 1
30481 @endif sim
30483 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
30484 maybe-mostlyclean-sim:
30485 @if sim
30486 maybe-mostlyclean-sim: mostlyclean-sim
30488 mostlyclean-sim:
30489 @: $(MAKE); $(unstage)
30490 @[ -f ./sim/Makefile ] || exit 0; \
30491 r=`${PWD_COMMAND}`; export r; \
30492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30493 $(HOST_EXPORTS) \
30494 for flag in $(EXTRA_HOST_FLAGS) ; do \
30495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30496 done; \
30497 echo "Doing mostlyclean in sim" ; \
30498 (cd $(HOST_SUBDIR)/sim && \
30499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30501 "RANLIB=$${RANLIB}" \
30502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30503 mostlyclean) \
30504 || exit 1
30506 @endif sim
30508 .PHONY: maybe-clean-sim clean-sim
30509 maybe-clean-sim:
30510 @if sim
30511 maybe-clean-sim: clean-sim
30513 clean-sim:
30514 @: $(MAKE); $(unstage)
30515 @[ -f ./sim/Makefile ] || exit 0; \
30516 r=`${PWD_COMMAND}`; export r; \
30517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30518 $(HOST_EXPORTS) \
30519 for flag in $(EXTRA_HOST_FLAGS) ; do \
30520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30521 done; \
30522 echo "Doing clean in sim" ; \
30523 (cd $(HOST_SUBDIR)/sim && \
30524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30526 "RANLIB=$${RANLIB}" \
30527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30528 clean) \
30529 || exit 1
30531 @endif sim
30533 .PHONY: maybe-distclean-sim distclean-sim
30534 maybe-distclean-sim:
30535 @if sim
30536 maybe-distclean-sim: distclean-sim
30538 distclean-sim:
30539 @: $(MAKE); $(unstage)
30540 @[ -f ./sim/Makefile ] || exit 0; \
30541 r=`${PWD_COMMAND}`; export r; \
30542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30543 $(HOST_EXPORTS) \
30544 for flag in $(EXTRA_HOST_FLAGS) ; do \
30545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30546 done; \
30547 echo "Doing distclean in sim" ; \
30548 (cd $(HOST_SUBDIR)/sim && \
30549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30551 "RANLIB=$${RANLIB}" \
30552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30553 distclean) \
30554 || exit 1
30556 @endif sim
30558 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
30559 maybe-maintainer-clean-sim:
30560 @if sim
30561 maybe-maintainer-clean-sim: maintainer-clean-sim
30563 maintainer-clean-sim:
30564 @: $(MAKE); $(unstage)
30565 @[ -f ./sim/Makefile ] || exit 0; \
30566 r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 $(HOST_EXPORTS) \
30569 for flag in $(EXTRA_HOST_FLAGS) ; do \
30570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30571 done; \
30572 echo "Doing maintainer-clean in sim" ; \
30573 (cd $(HOST_SUBDIR)/sim && \
30574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30576 "RANLIB=$${RANLIB}" \
30577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30578 maintainer-clean) \
30579 || exit 1
30581 @endif sim
30585 .PHONY: configure-tar maybe-configure-tar
30586 maybe-configure-tar:
30587 @if gcc-bootstrap
30588 configure-tar: stage_current
30589 @endif gcc-bootstrap
30590 @if tar
30591 maybe-configure-tar: configure-tar
30592 configure-tar:
30593 @: $(MAKE); $(unstage)
30594 @r=`${PWD_COMMAND}`; export r; \
30595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30596 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
30597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
30598 $(HOST_EXPORTS) \
30599 echo Configuring in $(HOST_SUBDIR)/tar; \
30600 cd "$(HOST_SUBDIR)/tar" || exit 1; \
30601 case $(srcdir) in \
30602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30603 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
30604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30605 esac; \
30606 srcdiroption="--srcdir=$${topdir}/tar"; \
30607 libsrcdir="$$s/tar"; \
30608 $(SHELL) $${libsrcdir}/configure \
30609 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30610 --target=${target_alias} $${srcdiroption} \
30611 || exit 1
30612 @endif tar
30618 .PHONY: all-tar maybe-all-tar
30619 maybe-all-tar:
30620 @if gcc-bootstrap
30621 all-tar: stage_current
30622 @endif gcc-bootstrap
30623 @if tar
30624 TARGET-tar=all
30625 maybe-all-tar: all-tar
30626 all-tar: configure-tar
30627 @: $(MAKE); $(unstage)
30628 @r=`${PWD_COMMAND}`; export r; \
30629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30630 $(HOST_EXPORTS) \
30631 (cd $(HOST_SUBDIR)/tar && \
30632 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
30633 @endif tar
30638 .PHONY: check-tar maybe-check-tar
30639 maybe-check-tar:
30640 @if tar
30641 maybe-check-tar: check-tar
30643 check-tar:
30644 @: $(MAKE); $(unstage)
30645 @r=`${PWD_COMMAND}`; export r; \
30646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30647 $(HOST_EXPORTS) \
30648 (cd $(HOST_SUBDIR)/tar && \
30649 $(MAKE) $(FLAGS_TO_PASS) check)
30651 @endif tar
30653 .PHONY: install-tar maybe-install-tar
30654 maybe-install-tar:
30655 @if tar
30656 maybe-install-tar: install-tar
30658 install-tar: installdirs
30659 @: $(MAKE); $(unstage)
30660 @r=`${PWD_COMMAND}`; export r; \
30661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30662 $(HOST_EXPORTS) \
30663 (cd $(HOST_SUBDIR)/tar && \
30664 $(MAKE) $(FLAGS_TO_PASS) install)
30666 @endif tar
30668 # Other targets (info, dvi, pdf, etc.)
30670 .PHONY: maybe-info-tar info-tar
30671 maybe-info-tar:
30672 @if tar
30673 maybe-info-tar: info-tar
30675 info-tar: \
30676 configure-tar
30677 @: $(MAKE); $(unstage)
30678 @[ -f ./tar/Makefile ] || exit 0; \
30679 r=`${PWD_COMMAND}`; export r; \
30680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30681 $(HOST_EXPORTS) \
30682 for flag in $(EXTRA_HOST_FLAGS) ; do \
30683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30684 done; \
30685 echo "Doing info in tar" ; \
30686 (cd $(HOST_SUBDIR)/tar && \
30687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30689 "RANLIB=$${RANLIB}" \
30690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30691 info) \
30692 || exit 1
30694 @endif tar
30696 .PHONY: maybe-dvi-tar dvi-tar
30697 maybe-dvi-tar:
30698 @if tar
30699 maybe-dvi-tar: dvi-tar
30701 dvi-tar: \
30702 configure-tar
30703 @: $(MAKE); $(unstage)
30704 @[ -f ./tar/Makefile ] || exit 0; \
30705 r=`${PWD_COMMAND}`; export r; \
30706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30707 $(HOST_EXPORTS) \
30708 for flag in $(EXTRA_HOST_FLAGS) ; do \
30709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30710 done; \
30711 echo "Doing dvi in tar" ; \
30712 (cd $(HOST_SUBDIR)/tar && \
30713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30715 "RANLIB=$${RANLIB}" \
30716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30717 dvi) \
30718 || exit 1
30720 @endif tar
30722 .PHONY: maybe-pdf-tar pdf-tar
30723 maybe-pdf-tar:
30724 @if tar
30725 maybe-pdf-tar: pdf-tar
30727 pdf-tar: \
30728 configure-tar
30729 @: $(MAKE); $(unstage)
30730 @[ -f ./tar/Makefile ] || exit 0; \
30731 r=`${PWD_COMMAND}`; export r; \
30732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30733 $(HOST_EXPORTS) \
30734 for flag in $(EXTRA_HOST_FLAGS) ; do \
30735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30736 done; \
30737 echo "Doing pdf in tar" ; \
30738 (cd $(HOST_SUBDIR)/tar && \
30739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30741 "RANLIB=$${RANLIB}" \
30742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30743 pdf) \
30744 || exit 1
30746 @endif tar
30748 .PHONY: maybe-html-tar html-tar
30749 maybe-html-tar:
30750 @if tar
30751 maybe-html-tar: html-tar
30753 html-tar: \
30754 configure-tar
30755 @: $(MAKE); $(unstage)
30756 @[ -f ./tar/Makefile ] || exit 0; \
30757 r=`${PWD_COMMAND}`; export r; \
30758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30759 $(HOST_EXPORTS) \
30760 for flag in $(EXTRA_HOST_FLAGS) ; do \
30761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30762 done; \
30763 echo "Doing html in tar" ; \
30764 (cd $(HOST_SUBDIR)/tar && \
30765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30767 "RANLIB=$${RANLIB}" \
30768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30769 html) \
30770 || exit 1
30772 @endif tar
30774 .PHONY: maybe-TAGS-tar TAGS-tar
30775 maybe-TAGS-tar:
30776 @if tar
30777 maybe-TAGS-tar: TAGS-tar
30779 TAGS-tar: \
30780 configure-tar
30781 @: $(MAKE); $(unstage)
30782 @[ -f ./tar/Makefile ] || exit 0; \
30783 r=`${PWD_COMMAND}`; export r; \
30784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30785 $(HOST_EXPORTS) \
30786 for flag in $(EXTRA_HOST_FLAGS) ; do \
30787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30788 done; \
30789 echo "Doing TAGS in tar" ; \
30790 (cd $(HOST_SUBDIR)/tar && \
30791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30793 "RANLIB=$${RANLIB}" \
30794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30795 TAGS) \
30796 || exit 1
30798 @endif tar
30800 .PHONY: maybe-install-info-tar install-info-tar
30801 maybe-install-info-tar:
30802 @if tar
30803 maybe-install-info-tar: install-info-tar
30805 install-info-tar: \
30806 configure-tar \
30807 info-tar
30808 @: $(MAKE); $(unstage)
30809 @[ -f ./tar/Makefile ] || exit 0; \
30810 r=`${PWD_COMMAND}`; export r; \
30811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30812 $(HOST_EXPORTS) \
30813 for flag in $(EXTRA_HOST_FLAGS) ; do \
30814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30815 done; \
30816 echo "Doing install-info in tar" ; \
30817 (cd $(HOST_SUBDIR)/tar && \
30818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30820 "RANLIB=$${RANLIB}" \
30821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30822 install-info) \
30823 || exit 1
30825 @endif tar
30827 .PHONY: maybe-install-pdf-tar install-pdf-tar
30828 maybe-install-pdf-tar:
30829 @if tar
30830 maybe-install-pdf-tar: install-pdf-tar
30832 install-pdf-tar: \
30833 configure-tar \
30834 pdf-tar
30835 @: $(MAKE); $(unstage)
30836 @[ -f ./tar/Makefile ] || exit 0; \
30837 r=`${PWD_COMMAND}`; export r; \
30838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30839 $(HOST_EXPORTS) \
30840 for flag in $(EXTRA_HOST_FLAGS) ; do \
30841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30842 done; \
30843 echo "Doing install-pdf in tar" ; \
30844 (cd $(HOST_SUBDIR)/tar && \
30845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30847 "RANLIB=$${RANLIB}" \
30848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30849 install-pdf) \
30850 || exit 1
30852 @endif tar
30854 .PHONY: maybe-install-html-tar install-html-tar
30855 maybe-install-html-tar:
30856 @if tar
30857 maybe-install-html-tar: install-html-tar
30859 install-html-tar: \
30860 configure-tar \
30861 html-tar
30862 @: $(MAKE); $(unstage)
30863 @[ -f ./tar/Makefile ] || exit 0; \
30864 r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(HOST_EXPORTS) \
30867 for flag in $(EXTRA_HOST_FLAGS) ; do \
30868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30869 done; \
30870 echo "Doing install-html in tar" ; \
30871 (cd $(HOST_SUBDIR)/tar && \
30872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30874 "RANLIB=$${RANLIB}" \
30875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30876 install-html) \
30877 || exit 1
30879 @endif tar
30881 .PHONY: maybe-installcheck-tar installcheck-tar
30882 maybe-installcheck-tar:
30883 @if tar
30884 maybe-installcheck-tar: installcheck-tar
30886 installcheck-tar: \
30887 configure-tar
30888 @: $(MAKE); $(unstage)
30889 @[ -f ./tar/Makefile ] || exit 0; \
30890 r=`${PWD_COMMAND}`; export r; \
30891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30892 $(HOST_EXPORTS) \
30893 for flag in $(EXTRA_HOST_FLAGS) ; do \
30894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30895 done; \
30896 echo "Doing installcheck in tar" ; \
30897 (cd $(HOST_SUBDIR)/tar && \
30898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30900 "RANLIB=$${RANLIB}" \
30901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30902 installcheck) \
30903 || exit 1
30905 @endif tar
30907 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
30908 maybe-mostlyclean-tar:
30909 @if tar
30910 maybe-mostlyclean-tar: mostlyclean-tar
30912 mostlyclean-tar:
30913 @: $(MAKE); $(unstage)
30914 @[ -f ./tar/Makefile ] || exit 0; \
30915 r=`${PWD_COMMAND}`; export r; \
30916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30917 $(HOST_EXPORTS) \
30918 for flag in $(EXTRA_HOST_FLAGS) ; do \
30919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30920 done; \
30921 echo "Doing mostlyclean in tar" ; \
30922 (cd $(HOST_SUBDIR)/tar && \
30923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30925 "RANLIB=$${RANLIB}" \
30926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30927 mostlyclean) \
30928 || exit 1
30930 @endif tar
30932 .PHONY: maybe-clean-tar clean-tar
30933 maybe-clean-tar:
30934 @if tar
30935 maybe-clean-tar: clean-tar
30937 clean-tar:
30938 @: $(MAKE); $(unstage)
30939 @[ -f ./tar/Makefile ] || exit 0; \
30940 r=`${PWD_COMMAND}`; export r; \
30941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30942 $(HOST_EXPORTS) \
30943 for flag in $(EXTRA_HOST_FLAGS) ; do \
30944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30945 done; \
30946 echo "Doing clean in tar" ; \
30947 (cd $(HOST_SUBDIR)/tar && \
30948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30950 "RANLIB=$${RANLIB}" \
30951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30952 clean) \
30953 || exit 1
30955 @endif tar
30957 .PHONY: maybe-distclean-tar distclean-tar
30958 maybe-distclean-tar:
30959 @if tar
30960 maybe-distclean-tar: distclean-tar
30962 distclean-tar:
30963 @: $(MAKE); $(unstage)
30964 @[ -f ./tar/Makefile ] || exit 0; \
30965 r=`${PWD_COMMAND}`; export r; \
30966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30967 $(HOST_EXPORTS) \
30968 for flag in $(EXTRA_HOST_FLAGS) ; do \
30969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30970 done; \
30971 echo "Doing distclean in tar" ; \
30972 (cd $(HOST_SUBDIR)/tar && \
30973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30975 "RANLIB=$${RANLIB}" \
30976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30977 distclean) \
30978 || exit 1
30980 @endif tar
30982 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
30983 maybe-maintainer-clean-tar:
30984 @if tar
30985 maybe-maintainer-clean-tar: maintainer-clean-tar
30987 maintainer-clean-tar:
30988 @: $(MAKE); $(unstage)
30989 @[ -f ./tar/Makefile ] || exit 0; \
30990 r=`${PWD_COMMAND}`; export r; \
30991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30992 $(HOST_EXPORTS) \
30993 for flag in $(EXTRA_HOST_FLAGS) ; do \
30994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30995 done; \
30996 echo "Doing maintainer-clean in tar" ; \
30997 (cd $(HOST_SUBDIR)/tar && \
30998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31000 "RANLIB=$${RANLIB}" \
31001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31002 maintainer-clean) \
31003 || exit 1
31005 @endif tar
31009 .PHONY: configure-texinfo maybe-configure-texinfo
31010 maybe-configure-texinfo:
31011 @if gcc-bootstrap
31012 configure-texinfo: stage_current
31013 @endif gcc-bootstrap
31014 @if texinfo
31015 maybe-configure-texinfo: configure-texinfo
31016 configure-texinfo:
31017 @: $(MAKE); $(unstage)
31018 @r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
31021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
31022 $(HOST_EXPORTS) \
31023 echo Configuring in $(HOST_SUBDIR)/texinfo; \
31024 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
31025 case $(srcdir) in \
31026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31027 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
31028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31029 esac; \
31030 srcdiroption="--srcdir=$${topdir}/texinfo"; \
31031 libsrcdir="$$s/texinfo"; \
31032 $(SHELL) $${libsrcdir}/configure \
31033 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31034 --target=${target_alias} $${srcdiroption} \
31035 || exit 1
31036 @endif texinfo
31042 .PHONY: all-texinfo maybe-all-texinfo
31043 maybe-all-texinfo:
31044 @if gcc-bootstrap
31045 all-texinfo: stage_current
31046 @endif gcc-bootstrap
31047 @if texinfo
31048 TARGET-texinfo=all
31049 maybe-all-texinfo: all-texinfo
31050 all-texinfo: configure-texinfo
31051 @: $(MAKE); $(unstage)
31052 @r=`${PWD_COMMAND}`; export r; \
31053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31054 $(HOST_EXPORTS) \
31055 (cd $(HOST_SUBDIR)/texinfo && \
31056 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
31057 @endif texinfo
31062 .PHONY: check-texinfo maybe-check-texinfo
31063 maybe-check-texinfo:
31064 @if texinfo
31065 maybe-check-texinfo: check-texinfo
31067 check-texinfo:
31068 @: $(MAKE); $(unstage)
31069 @r=`${PWD_COMMAND}`; export r; \
31070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31071 $(HOST_EXPORTS) \
31072 (cd $(HOST_SUBDIR)/texinfo && \
31073 $(MAKE) $(FLAGS_TO_PASS) check)
31075 @endif texinfo
31077 .PHONY: install-texinfo maybe-install-texinfo
31078 maybe-install-texinfo:
31079 @if texinfo
31080 maybe-install-texinfo: install-texinfo
31082 install-texinfo:
31084 @endif texinfo
31086 # Other targets (info, dvi, pdf, etc.)
31088 .PHONY: maybe-info-texinfo info-texinfo
31089 maybe-info-texinfo:
31090 @if texinfo
31091 maybe-info-texinfo: info-texinfo
31093 info-texinfo: \
31094 configure-texinfo
31095 @: $(MAKE); $(unstage)
31096 @[ -f ./texinfo/Makefile ] || exit 0; \
31097 r=`${PWD_COMMAND}`; export r; \
31098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31099 $(HOST_EXPORTS) \
31100 for flag in $(EXTRA_HOST_FLAGS) ; do \
31101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31102 done; \
31103 echo "Doing info in texinfo" ; \
31104 (cd $(HOST_SUBDIR)/texinfo && \
31105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31107 "RANLIB=$${RANLIB}" \
31108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31109 info) \
31110 || exit 1
31112 @endif texinfo
31114 .PHONY: maybe-dvi-texinfo dvi-texinfo
31115 maybe-dvi-texinfo:
31116 @if texinfo
31117 maybe-dvi-texinfo: dvi-texinfo
31119 dvi-texinfo: \
31120 configure-texinfo
31121 @: $(MAKE); $(unstage)
31122 @[ -f ./texinfo/Makefile ] || exit 0; \
31123 r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(HOST_EXPORTS) \
31126 for flag in $(EXTRA_HOST_FLAGS) ; do \
31127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31128 done; \
31129 echo "Doing dvi in texinfo" ; \
31130 (cd $(HOST_SUBDIR)/texinfo && \
31131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31133 "RANLIB=$${RANLIB}" \
31134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31135 dvi) \
31136 || exit 1
31138 @endif texinfo
31140 .PHONY: maybe-pdf-texinfo pdf-texinfo
31141 maybe-pdf-texinfo:
31142 @if texinfo
31143 maybe-pdf-texinfo: pdf-texinfo
31145 pdf-texinfo: \
31146 configure-texinfo
31147 @: $(MAKE); $(unstage)
31148 @[ -f ./texinfo/Makefile ] || exit 0; \
31149 r=`${PWD_COMMAND}`; export r; \
31150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31151 $(HOST_EXPORTS) \
31152 for flag in $(EXTRA_HOST_FLAGS) ; do \
31153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31154 done; \
31155 echo "Doing pdf in texinfo" ; \
31156 (cd $(HOST_SUBDIR)/texinfo && \
31157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31159 "RANLIB=$${RANLIB}" \
31160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31161 pdf) \
31162 || exit 1
31164 @endif texinfo
31166 .PHONY: maybe-html-texinfo html-texinfo
31167 maybe-html-texinfo:
31168 @if texinfo
31169 maybe-html-texinfo: html-texinfo
31171 html-texinfo: \
31172 configure-texinfo
31173 @: $(MAKE); $(unstage)
31174 @[ -f ./texinfo/Makefile ] || exit 0; \
31175 r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 $(HOST_EXPORTS) \
31178 for flag in $(EXTRA_HOST_FLAGS) ; do \
31179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31180 done; \
31181 echo "Doing html in texinfo" ; \
31182 (cd $(HOST_SUBDIR)/texinfo && \
31183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31185 "RANLIB=$${RANLIB}" \
31186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31187 html) \
31188 || exit 1
31190 @endif texinfo
31192 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
31193 maybe-TAGS-texinfo:
31194 @if texinfo
31195 maybe-TAGS-texinfo: TAGS-texinfo
31197 TAGS-texinfo: \
31198 configure-texinfo
31199 @: $(MAKE); $(unstage)
31200 @[ -f ./texinfo/Makefile ] || exit 0; \
31201 r=`${PWD_COMMAND}`; export r; \
31202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31203 $(HOST_EXPORTS) \
31204 for flag in $(EXTRA_HOST_FLAGS) ; do \
31205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31206 done; \
31207 echo "Doing TAGS in texinfo" ; \
31208 (cd $(HOST_SUBDIR)/texinfo && \
31209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31211 "RANLIB=$${RANLIB}" \
31212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31213 TAGS) \
31214 || exit 1
31216 @endif texinfo
31218 .PHONY: maybe-install-info-texinfo install-info-texinfo
31219 maybe-install-info-texinfo:
31220 @if texinfo
31221 maybe-install-info-texinfo: install-info-texinfo
31223 install-info-texinfo: \
31224 configure-texinfo \
31225 info-texinfo
31226 @: $(MAKE); $(unstage)
31227 @[ -f ./texinfo/Makefile ] || exit 0; \
31228 r=`${PWD_COMMAND}`; export r; \
31229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31230 $(HOST_EXPORTS) \
31231 for flag in $(EXTRA_HOST_FLAGS) ; do \
31232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31233 done; \
31234 echo "Doing install-info in texinfo" ; \
31235 (cd $(HOST_SUBDIR)/texinfo && \
31236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31238 "RANLIB=$${RANLIB}" \
31239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31240 install-info) \
31241 || exit 1
31243 @endif texinfo
31245 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
31246 maybe-install-pdf-texinfo:
31247 @if texinfo
31248 maybe-install-pdf-texinfo: install-pdf-texinfo
31250 install-pdf-texinfo: \
31251 configure-texinfo \
31252 pdf-texinfo
31253 @: $(MAKE); $(unstage)
31254 @[ -f ./texinfo/Makefile ] || exit 0; \
31255 r=`${PWD_COMMAND}`; export r; \
31256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31257 $(HOST_EXPORTS) \
31258 for flag in $(EXTRA_HOST_FLAGS) ; do \
31259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31260 done; \
31261 echo "Doing install-pdf in texinfo" ; \
31262 (cd $(HOST_SUBDIR)/texinfo && \
31263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31265 "RANLIB=$${RANLIB}" \
31266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31267 install-pdf) \
31268 || exit 1
31270 @endif texinfo
31272 .PHONY: maybe-install-html-texinfo install-html-texinfo
31273 maybe-install-html-texinfo:
31274 @if texinfo
31275 maybe-install-html-texinfo: install-html-texinfo
31277 install-html-texinfo: \
31278 configure-texinfo \
31279 html-texinfo
31280 @: $(MAKE); $(unstage)
31281 @[ -f ./texinfo/Makefile ] || exit 0; \
31282 r=`${PWD_COMMAND}`; export r; \
31283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31284 $(HOST_EXPORTS) \
31285 for flag in $(EXTRA_HOST_FLAGS) ; do \
31286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31287 done; \
31288 echo "Doing install-html in texinfo" ; \
31289 (cd $(HOST_SUBDIR)/texinfo && \
31290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31292 "RANLIB=$${RANLIB}" \
31293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31294 install-html) \
31295 || exit 1
31297 @endif texinfo
31299 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
31300 maybe-installcheck-texinfo:
31301 @if texinfo
31302 maybe-installcheck-texinfo: installcheck-texinfo
31304 installcheck-texinfo: \
31305 configure-texinfo
31306 @: $(MAKE); $(unstage)
31307 @[ -f ./texinfo/Makefile ] || exit 0; \
31308 r=`${PWD_COMMAND}`; export r; \
31309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31310 $(HOST_EXPORTS) \
31311 for flag in $(EXTRA_HOST_FLAGS) ; do \
31312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31313 done; \
31314 echo "Doing installcheck in texinfo" ; \
31315 (cd $(HOST_SUBDIR)/texinfo && \
31316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31318 "RANLIB=$${RANLIB}" \
31319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31320 installcheck) \
31321 || exit 1
31323 @endif texinfo
31325 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
31326 maybe-mostlyclean-texinfo:
31327 @if texinfo
31328 maybe-mostlyclean-texinfo: mostlyclean-texinfo
31330 mostlyclean-texinfo:
31331 @: $(MAKE); $(unstage)
31332 @[ -f ./texinfo/Makefile ] || exit 0; \
31333 r=`${PWD_COMMAND}`; export r; \
31334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31335 $(HOST_EXPORTS) \
31336 for flag in $(EXTRA_HOST_FLAGS) ; do \
31337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31338 done; \
31339 echo "Doing mostlyclean in texinfo" ; \
31340 (cd $(HOST_SUBDIR)/texinfo && \
31341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31343 "RANLIB=$${RANLIB}" \
31344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31345 mostlyclean) \
31346 || exit 1
31348 @endif texinfo
31350 .PHONY: maybe-clean-texinfo clean-texinfo
31351 maybe-clean-texinfo:
31352 @if texinfo
31353 maybe-clean-texinfo: clean-texinfo
31355 clean-texinfo:
31356 @: $(MAKE); $(unstage)
31357 @[ -f ./texinfo/Makefile ] || exit 0; \
31358 r=`${PWD_COMMAND}`; export r; \
31359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31360 $(HOST_EXPORTS) \
31361 for flag in $(EXTRA_HOST_FLAGS) ; do \
31362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31363 done; \
31364 echo "Doing clean in texinfo" ; \
31365 (cd $(HOST_SUBDIR)/texinfo && \
31366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31368 "RANLIB=$${RANLIB}" \
31369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31370 clean) \
31371 || exit 1
31373 @endif texinfo
31375 .PHONY: maybe-distclean-texinfo distclean-texinfo
31376 maybe-distclean-texinfo:
31377 @if texinfo
31378 maybe-distclean-texinfo: distclean-texinfo
31380 distclean-texinfo:
31381 @: $(MAKE); $(unstage)
31382 @[ -f ./texinfo/Makefile ] || exit 0; \
31383 r=`${PWD_COMMAND}`; export r; \
31384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31385 $(HOST_EXPORTS) \
31386 for flag in $(EXTRA_HOST_FLAGS) ; do \
31387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31388 done; \
31389 echo "Doing distclean in texinfo" ; \
31390 (cd $(HOST_SUBDIR)/texinfo && \
31391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31393 "RANLIB=$${RANLIB}" \
31394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31395 distclean) \
31396 || exit 1
31398 @endif texinfo
31400 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
31401 maybe-maintainer-clean-texinfo:
31402 @if texinfo
31403 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
31405 maintainer-clean-texinfo:
31406 @: $(MAKE); $(unstage)
31407 @[ -f ./texinfo/Makefile ] || exit 0; \
31408 r=`${PWD_COMMAND}`; export r; \
31409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31410 $(HOST_EXPORTS) \
31411 for flag in $(EXTRA_HOST_FLAGS) ; do \
31412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31413 done; \
31414 echo "Doing maintainer-clean in texinfo" ; \
31415 (cd $(HOST_SUBDIR)/texinfo && \
31416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31418 "RANLIB=$${RANLIB}" \
31419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31420 maintainer-clean) \
31421 || exit 1
31423 @endif texinfo
31427 .PHONY: configure-textutils maybe-configure-textutils
31428 maybe-configure-textutils:
31429 @if gcc-bootstrap
31430 configure-textutils: stage_current
31431 @endif gcc-bootstrap
31432 @if textutils
31433 maybe-configure-textutils: configure-textutils
31434 configure-textutils:
31435 @: $(MAKE); $(unstage)
31436 @r=`${PWD_COMMAND}`; export r; \
31437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31438 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
31439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
31440 $(HOST_EXPORTS) \
31441 echo Configuring in $(HOST_SUBDIR)/textutils; \
31442 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
31443 case $(srcdir) in \
31444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31445 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
31446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31447 esac; \
31448 srcdiroption="--srcdir=$${topdir}/textutils"; \
31449 libsrcdir="$$s/textutils"; \
31450 $(SHELL) $${libsrcdir}/configure \
31451 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31452 --target=${target_alias} $${srcdiroption} \
31453 || exit 1
31454 @endif textutils
31460 .PHONY: all-textutils maybe-all-textutils
31461 maybe-all-textutils:
31462 @if gcc-bootstrap
31463 all-textutils: stage_current
31464 @endif gcc-bootstrap
31465 @if textutils
31466 TARGET-textutils=all
31467 maybe-all-textutils: all-textutils
31468 all-textutils: configure-textutils
31469 @: $(MAKE); $(unstage)
31470 @r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(HOST_EXPORTS) \
31473 (cd $(HOST_SUBDIR)/textutils && \
31474 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
31475 @endif textutils
31480 .PHONY: check-textutils maybe-check-textutils
31481 maybe-check-textutils:
31482 @if textutils
31483 maybe-check-textutils: check-textutils
31485 check-textutils:
31486 @: $(MAKE); $(unstage)
31487 @r=`${PWD_COMMAND}`; export r; \
31488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31489 $(HOST_EXPORTS) \
31490 (cd $(HOST_SUBDIR)/textutils && \
31491 $(MAKE) $(FLAGS_TO_PASS) check)
31493 @endif textutils
31495 .PHONY: install-textutils maybe-install-textutils
31496 maybe-install-textutils:
31497 @if textutils
31498 maybe-install-textutils: install-textutils
31500 install-textutils: installdirs
31501 @: $(MAKE); $(unstage)
31502 @r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(HOST_EXPORTS) \
31505 (cd $(HOST_SUBDIR)/textutils && \
31506 $(MAKE) $(FLAGS_TO_PASS) install)
31508 @endif textutils
31510 # Other targets (info, dvi, pdf, etc.)
31512 .PHONY: maybe-info-textutils info-textutils
31513 maybe-info-textutils:
31514 @if textutils
31515 maybe-info-textutils: info-textutils
31517 info-textutils: \
31518 configure-textutils
31519 @: $(MAKE); $(unstage)
31520 @[ -f ./textutils/Makefile ] || exit 0; \
31521 r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(HOST_EXPORTS) \
31524 for flag in $(EXTRA_HOST_FLAGS) ; do \
31525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31526 done; \
31527 echo "Doing info in textutils" ; \
31528 (cd $(HOST_SUBDIR)/textutils && \
31529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31531 "RANLIB=$${RANLIB}" \
31532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31533 info) \
31534 || exit 1
31536 @endif textutils
31538 .PHONY: maybe-dvi-textutils dvi-textutils
31539 maybe-dvi-textutils:
31540 @if textutils
31541 maybe-dvi-textutils: dvi-textutils
31543 dvi-textutils: \
31544 configure-textutils
31545 @: $(MAKE); $(unstage)
31546 @[ -f ./textutils/Makefile ] || exit 0; \
31547 r=`${PWD_COMMAND}`; export r; \
31548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31549 $(HOST_EXPORTS) \
31550 for flag in $(EXTRA_HOST_FLAGS) ; do \
31551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31552 done; \
31553 echo "Doing dvi in textutils" ; \
31554 (cd $(HOST_SUBDIR)/textutils && \
31555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31557 "RANLIB=$${RANLIB}" \
31558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31559 dvi) \
31560 || exit 1
31562 @endif textutils
31564 .PHONY: maybe-pdf-textutils pdf-textutils
31565 maybe-pdf-textutils:
31566 @if textutils
31567 maybe-pdf-textutils: pdf-textutils
31569 pdf-textutils: \
31570 configure-textutils
31571 @: $(MAKE); $(unstage)
31572 @[ -f ./textutils/Makefile ] || exit 0; \
31573 r=`${PWD_COMMAND}`; export r; \
31574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31575 $(HOST_EXPORTS) \
31576 for flag in $(EXTRA_HOST_FLAGS) ; do \
31577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31578 done; \
31579 echo "Doing pdf in textutils" ; \
31580 (cd $(HOST_SUBDIR)/textutils && \
31581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31583 "RANLIB=$${RANLIB}" \
31584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31585 pdf) \
31586 || exit 1
31588 @endif textutils
31590 .PHONY: maybe-html-textutils html-textutils
31591 maybe-html-textutils:
31592 @if textutils
31593 maybe-html-textutils: html-textutils
31595 html-textutils: \
31596 configure-textutils
31597 @: $(MAKE); $(unstage)
31598 @[ -f ./textutils/Makefile ] || exit 0; \
31599 r=`${PWD_COMMAND}`; export r; \
31600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31601 $(HOST_EXPORTS) \
31602 for flag in $(EXTRA_HOST_FLAGS) ; do \
31603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31604 done; \
31605 echo "Doing html in textutils" ; \
31606 (cd $(HOST_SUBDIR)/textutils && \
31607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31609 "RANLIB=$${RANLIB}" \
31610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31611 html) \
31612 || exit 1
31614 @endif textutils
31616 .PHONY: maybe-TAGS-textutils TAGS-textutils
31617 maybe-TAGS-textutils:
31618 @if textutils
31619 maybe-TAGS-textutils: TAGS-textutils
31621 TAGS-textutils: \
31622 configure-textutils
31623 @: $(MAKE); $(unstage)
31624 @[ -f ./textutils/Makefile ] || exit 0; \
31625 r=`${PWD_COMMAND}`; export r; \
31626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31627 $(HOST_EXPORTS) \
31628 for flag in $(EXTRA_HOST_FLAGS) ; do \
31629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31630 done; \
31631 echo "Doing TAGS in textutils" ; \
31632 (cd $(HOST_SUBDIR)/textutils && \
31633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31635 "RANLIB=$${RANLIB}" \
31636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31637 TAGS) \
31638 || exit 1
31640 @endif textutils
31642 .PHONY: maybe-install-info-textutils install-info-textutils
31643 maybe-install-info-textutils:
31644 @if textutils
31645 maybe-install-info-textutils: install-info-textutils
31647 install-info-textutils: \
31648 configure-textutils \
31649 info-textutils
31650 @: $(MAKE); $(unstage)
31651 @[ -f ./textutils/Makefile ] || exit 0; \
31652 r=`${PWD_COMMAND}`; export r; \
31653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31654 $(HOST_EXPORTS) \
31655 for flag in $(EXTRA_HOST_FLAGS) ; do \
31656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31657 done; \
31658 echo "Doing install-info in textutils" ; \
31659 (cd $(HOST_SUBDIR)/textutils && \
31660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31662 "RANLIB=$${RANLIB}" \
31663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31664 install-info) \
31665 || exit 1
31667 @endif textutils
31669 .PHONY: maybe-install-pdf-textutils install-pdf-textutils
31670 maybe-install-pdf-textutils:
31671 @if textutils
31672 maybe-install-pdf-textutils: install-pdf-textutils
31674 install-pdf-textutils: \
31675 configure-textutils \
31676 pdf-textutils
31677 @: $(MAKE); $(unstage)
31678 @[ -f ./textutils/Makefile ] || exit 0; \
31679 r=`${PWD_COMMAND}`; export r; \
31680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31681 $(HOST_EXPORTS) \
31682 for flag in $(EXTRA_HOST_FLAGS) ; do \
31683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31684 done; \
31685 echo "Doing install-pdf in textutils" ; \
31686 (cd $(HOST_SUBDIR)/textutils && \
31687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31689 "RANLIB=$${RANLIB}" \
31690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31691 install-pdf) \
31692 || exit 1
31694 @endif textutils
31696 .PHONY: maybe-install-html-textutils install-html-textutils
31697 maybe-install-html-textutils:
31698 @if textutils
31699 maybe-install-html-textutils: install-html-textutils
31701 install-html-textutils: \
31702 configure-textutils \
31703 html-textutils
31704 @: $(MAKE); $(unstage)
31705 @[ -f ./textutils/Makefile ] || exit 0; \
31706 r=`${PWD_COMMAND}`; export r; \
31707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31708 $(HOST_EXPORTS) \
31709 for flag in $(EXTRA_HOST_FLAGS) ; do \
31710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31711 done; \
31712 echo "Doing install-html in textutils" ; \
31713 (cd $(HOST_SUBDIR)/textutils && \
31714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31716 "RANLIB=$${RANLIB}" \
31717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31718 install-html) \
31719 || exit 1
31721 @endif textutils
31723 .PHONY: maybe-installcheck-textutils installcheck-textutils
31724 maybe-installcheck-textutils:
31725 @if textutils
31726 maybe-installcheck-textutils: installcheck-textutils
31728 installcheck-textutils: \
31729 configure-textutils
31730 @: $(MAKE); $(unstage)
31731 @[ -f ./textutils/Makefile ] || exit 0; \
31732 r=`${PWD_COMMAND}`; export r; \
31733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31734 $(HOST_EXPORTS) \
31735 for flag in $(EXTRA_HOST_FLAGS) ; do \
31736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31737 done; \
31738 echo "Doing installcheck in textutils" ; \
31739 (cd $(HOST_SUBDIR)/textutils && \
31740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31742 "RANLIB=$${RANLIB}" \
31743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31744 installcheck) \
31745 || exit 1
31747 @endif textutils
31749 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
31750 maybe-mostlyclean-textutils:
31751 @if textutils
31752 maybe-mostlyclean-textutils: mostlyclean-textutils
31754 mostlyclean-textutils:
31755 @: $(MAKE); $(unstage)
31756 @[ -f ./textutils/Makefile ] || exit 0; \
31757 r=`${PWD_COMMAND}`; export r; \
31758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31759 $(HOST_EXPORTS) \
31760 for flag in $(EXTRA_HOST_FLAGS) ; do \
31761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31762 done; \
31763 echo "Doing mostlyclean in textutils" ; \
31764 (cd $(HOST_SUBDIR)/textutils && \
31765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31767 "RANLIB=$${RANLIB}" \
31768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31769 mostlyclean) \
31770 || exit 1
31772 @endif textutils
31774 .PHONY: maybe-clean-textutils clean-textutils
31775 maybe-clean-textutils:
31776 @if textutils
31777 maybe-clean-textutils: clean-textutils
31779 clean-textutils:
31780 @: $(MAKE); $(unstage)
31781 @[ -f ./textutils/Makefile ] || exit 0; \
31782 r=`${PWD_COMMAND}`; export r; \
31783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31784 $(HOST_EXPORTS) \
31785 for flag in $(EXTRA_HOST_FLAGS) ; do \
31786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31787 done; \
31788 echo "Doing clean in textutils" ; \
31789 (cd $(HOST_SUBDIR)/textutils && \
31790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31792 "RANLIB=$${RANLIB}" \
31793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31794 clean) \
31795 || exit 1
31797 @endif textutils
31799 .PHONY: maybe-distclean-textutils distclean-textutils
31800 maybe-distclean-textutils:
31801 @if textutils
31802 maybe-distclean-textutils: distclean-textutils
31804 distclean-textutils:
31805 @: $(MAKE); $(unstage)
31806 @[ -f ./textutils/Makefile ] || exit 0; \
31807 r=`${PWD_COMMAND}`; export r; \
31808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31809 $(HOST_EXPORTS) \
31810 for flag in $(EXTRA_HOST_FLAGS) ; do \
31811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31812 done; \
31813 echo "Doing distclean in textutils" ; \
31814 (cd $(HOST_SUBDIR)/textutils && \
31815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31817 "RANLIB=$${RANLIB}" \
31818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31819 distclean) \
31820 || exit 1
31822 @endif textutils
31824 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
31825 maybe-maintainer-clean-textutils:
31826 @if textutils
31827 maybe-maintainer-clean-textutils: maintainer-clean-textutils
31829 maintainer-clean-textutils:
31830 @: $(MAKE); $(unstage)
31831 @[ -f ./textutils/Makefile ] || exit 0; \
31832 r=`${PWD_COMMAND}`; export r; \
31833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31834 $(HOST_EXPORTS) \
31835 for flag in $(EXTRA_HOST_FLAGS) ; do \
31836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31837 done; \
31838 echo "Doing maintainer-clean in textutils" ; \
31839 (cd $(HOST_SUBDIR)/textutils && \
31840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31842 "RANLIB=$${RANLIB}" \
31843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31844 maintainer-clean) \
31845 || exit 1
31847 @endif textutils
31851 .PHONY: configure-time maybe-configure-time
31852 maybe-configure-time:
31853 @if gcc-bootstrap
31854 configure-time: stage_current
31855 @endif gcc-bootstrap
31856 @if time
31857 maybe-configure-time: configure-time
31858 configure-time:
31859 @: $(MAKE); $(unstage)
31860 @r=`${PWD_COMMAND}`; export r; \
31861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31862 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
31863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
31864 $(HOST_EXPORTS) \
31865 echo Configuring in $(HOST_SUBDIR)/time; \
31866 cd "$(HOST_SUBDIR)/time" || exit 1; \
31867 case $(srcdir) in \
31868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31869 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
31870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31871 esac; \
31872 srcdiroption="--srcdir=$${topdir}/time"; \
31873 libsrcdir="$$s/time"; \
31874 $(SHELL) $${libsrcdir}/configure \
31875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31876 --target=${target_alias} $${srcdiroption} \
31877 || exit 1
31878 @endif time
31884 .PHONY: all-time maybe-all-time
31885 maybe-all-time:
31886 @if gcc-bootstrap
31887 all-time: stage_current
31888 @endif gcc-bootstrap
31889 @if time
31890 TARGET-time=all
31891 maybe-all-time: all-time
31892 all-time: configure-time
31893 @: $(MAKE); $(unstage)
31894 @r=`${PWD_COMMAND}`; export r; \
31895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31896 $(HOST_EXPORTS) \
31897 (cd $(HOST_SUBDIR)/time && \
31898 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
31899 @endif time
31904 .PHONY: check-time maybe-check-time
31905 maybe-check-time:
31906 @if time
31907 maybe-check-time: check-time
31909 check-time:
31910 @: $(MAKE); $(unstage)
31911 @r=`${PWD_COMMAND}`; export r; \
31912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31913 $(HOST_EXPORTS) \
31914 (cd $(HOST_SUBDIR)/time && \
31915 $(MAKE) $(FLAGS_TO_PASS) check)
31917 @endif time
31919 .PHONY: install-time maybe-install-time
31920 maybe-install-time:
31921 @if time
31922 maybe-install-time: install-time
31924 install-time: installdirs
31925 @: $(MAKE); $(unstage)
31926 @r=`${PWD_COMMAND}`; export r; \
31927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31928 $(HOST_EXPORTS) \
31929 (cd $(HOST_SUBDIR)/time && \
31930 $(MAKE) $(FLAGS_TO_PASS) install)
31932 @endif time
31934 # Other targets (info, dvi, pdf, etc.)
31936 .PHONY: maybe-info-time info-time
31937 maybe-info-time:
31938 @if time
31939 maybe-info-time: info-time
31941 info-time: \
31942 configure-time
31943 @: $(MAKE); $(unstage)
31944 @[ -f ./time/Makefile ] || exit 0; \
31945 r=`${PWD_COMMAND}`; export r; \
31946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31947 $(HOST_EXPORTS) \
31948 for flag in $(EXTRA_HOST_FLAGS) ; do \
31949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31950 done; \
31951 echo "Doing info in time" ; \
31952 (cd $(HOST_SUBDIR)/time && \
31953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31955 "RANLIB=$${RANLIB}" \
31956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31957 info) \
31958 || exit 1
31960 @endif time
31962 .PHONY: maybe-dvi-time dvi-time
31963 maybe-dvi-time:
31964 @if time
31965 maybe-dvi-time: dvi-time
31967 dvi-time: \
31968 configure-time
31969 @: $(MAKE); $(unstage)
31970 @[ -f ./time/Makefile ] || exit 0; \
31971 r=`${PWD_COMMAND}`; export r; \
31972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31973 $(HOST_EXPORTS) \
31974 for flag in $(EXTRA_HOST_FLAGS) ; do \
31975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31976 done; \
31977 echo "Doing dvi in time" ; \
31978 (cd $(HOST_SUBDIR)/time && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31981 "RANLIB=$${RANLIB}" \
31982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31983 dvi) \
31984 || exit 1
31986 @endif time
31988 .PHONY: maybe-pdf-time pdf-time
31989 maybe-pdf-time:
31990 @if time
31991 maybe-pdf-time: pdf-time
31993 pdf-time: \
31994 configure-time
31995 @: $(MAKE); $(unstage)
31996 @[ -f ./time/Makefile ] || exit 0; \
31997 r=`${PWD_COMMAND}`; export r; \
31998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31999 $(HOST_EXPORTS) \
32000 for flag in $(EXTRA_HOST_FLAGS) ; do \
32001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32002 done; \
32003 echo "Doing pdf in time" ; \
32004 (cd $(HOST_SUBDIR)/time && \
32005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32007 "RANLIB=$${RANLIB}" \
32008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32009 pdf) \
32010 || exit 1
32012 @endif time
32014 .PHONY: maybe-html-time html-time
32015 maybe-html-time:
32016 @if time
32017 maybe-html-time: html-time
32019 html-time: \
32020 configure-time
32021 @: $(MAKE); $(unstage)
32022 @[ -f ./time/Makefile ] || exit 0; \
32023 r=`${PWD_COMMAND}`; export r; \
32024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32025 $(HOST_EXPORTS) \
32026 for flag in $(EXTRA_HOST_FLAGS) ; do \
32027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32028 done; \
32029 echo "Doing html in time" ; \
32030 (cd $(HOST_SUBDIR)/time && \
32031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32033 "RANLIB=$${RANLIB}" \
32034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32035 html) \
32036 || exit 1
32038 @endif time
32040 .PHONY: maybe-TAGS-time TAGS-time
32041 maybe-TAGS-time:
32042 @if time
32043 maybe-TAGS-time: TAGS-time
32045 TAGS-time: \
32046 configure-time
32047 @: $(MAKE); $(unstage)
32048 @[ -f ./time/Makefile ] || exit 0; \
32049 r=`${PWD_COMMAND}`; export r; \
32050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32051 $(HOST_EXPORTS) \
32052 for flag in $(EXTRA_HOST_FLAGS) ; do \
32053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32054 done; \
32055 echo "Doing TAGS in time" ; \
32056 (cd $(HOST_SUBDIR)/time && \
32057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32059 "RANLIB=$${RANLIB}" \
32060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32061 TAGS) \
32062 || exit 1
32064 @endif time
32066 .PHONY: maybe-install-info-time install-info-time
32067 maybe-install-info-time:
32068 @if time
32069 maybe-install-info-time: install-info-time
32071 install-info-time: \
32072 configure-time \
32073 info-time
32074 @: $(MAKE); $(unstage)
32075 @[ -f ./time/Makefile ] || exit 0; \
32076 r=`${PWD_COMMAND}`; export r; \
32077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32078 $(HOST_EXPORTS) \
32079 for flag in $(EXTRA_HOST_FLAGS) ; do \
32080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32081 done; \
32082 echo "Doing install-info in time" ; \
32083 (cd $(HOST_SUBDIR)/time && \
32084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32086 "RANLIB=$${RANLIB}" \
32087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32088 install-info) \
32089 || exit 1
32091 @endif time
32093 .PHONY: maybe-install-pdf-time install-pdf-time
32094 maybe-install-pdf-time:
32095 @if time
32096 maybe-install-pdf-time: install-pdf-time
32098 install-pdf-time: \
32099 configure-time \
32100 pdf-time
32101 @: $(MAKE); $(unstage)
32102 @[ -f ./time/Makefile ] || exit 0; \
32103 r=`${PWD_COMMAND}`; export r; \
32104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32105 $(HOST_EXPORTS) \
32106 for flag in $(EXTRA_HOST_FLAGS) ; do \
32107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32108 done; \
32109 echo "Doing install-pdf in time" ; \
32110 (cd $(HOST_SUBDIR)/time && \
32111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32113 "RANLIB=$${RANLIB}" \
32114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32115 install-pdf) \
32116 || exit 1
32118 @endif time
32120 .PHONY: maybe-install-html-time install-html-time
32121 maybe-install-html-time:
32122 @if time
32123 maybe-install-html-time: install-html-time
32125 install-html-time: \
32126 configure-time \
32127 html-time
32128 @: $(MAKE); $(unstage)
32129 @[ -f ./time/Makefile ] || exit 0; \
32130 r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(HOST_EXPORTS) \
32133 for flag in $(EXTRA_HOST_FLAGS) ; do \
32134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32135 done; \
32136 echo "Doing install-html in time" ; \
32137 (cd $(HOST_SUBDIR)/time && \
32138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32140 "RANLIB=$${RANLIB}" \
32141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32142 install-html) \
32143 || exit 1
32145 @endif time
32147 .PHONY: maybe-installcheck-time installcheck-time
32148 maybe-installcheck-time:
32149 @if time
32150 maybe-installcheck-time: installcheck-time
32152 installcheck-time: \
32153 configure-time
32154 @: $(MAKE); $(unstage)
32155 @[ -f ./time/Makefile ] || exit 0; \
32156 r=`${PWD_COMMAND}`; export r; \
32157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32158 $(HOST_EXPORTS) \
32159 for flag in $(EXTRA_HOST_FLAGS) ; do \
32160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32161 done; \
32162 echo "Doing installcheck in time" ; \
32163 (cd $(HOST_SUBDIR)/time && \
32164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32166 "RANLIB=$${RANLIB}" \
32167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32168 installcheck) \
32169 || exit 1
32171 @endif time
32173 .PHONY: maybe-mostlyclean-time mostlyclean-time
32174 maybe-mostlyclean-time:
32175 @if time
32176 maybe-mostlyclean-time: mostlyclean-time
32178 mostlyclean-time:
32179 @: $(MAKE); $(unstage)
32180 @[ -f ./time/Makefile ] || exit 0; \
32181 r=`${PWD_COMMAND}`; export r; \
32182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32183 $(HOST_EXPORTS) \
32184 for flag in $(EXTRA_HOST_FLAGS) ; do \
32185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32186 done; \
32187 echo "Doing mostlyclean in time" ; \
32188 (cd $(HOST_SUBDIR)/time && \
32189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32191 "RANLIB=$${RANLIB}" \
32192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32193 mostlyclean) \
32194 || exit 1
32196 @endif time
32198 .PHONY: maybe-clean-time clean-time
32199 maybe-clean-time:
32200 @if time
32201 maybe-clean-time: clean-time
32203 clean-time:
32204 @: $(MAKE); $(unstage)
32205 @[ -f ./time/Makefile ] || exit 0; \
32206 r=`${PWD_COMMAND}`; export r; \
32207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32208 $(HOST_EXPORTS) \
32209 for flag in $(EXTRA_HOST_FLAGS) ; do \
32210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32211 done; \
32212 echo "Doing clean in time" ; \
32213 (cd $(HOST_SUBDIR)/time && \
32214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32216 "RANLIB=$${RANLIB}" \
32217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32218 clean) \
32219 || exit 1
32221 @endif time
32223 .PHONY: maybe-distclean-time distclean-time
32224 maybe-distclean-time:
32225 @if time
32226 maybe-distclean-time: distclean-time
32228 distclean-time:
32229 @: $(MAKE); $(unstage)
32230 @[ -f ./time/Makefile ] || exit 0; \
32231 r=`${PWD_COMMAND}`; export r; \
32232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32233 $(HOST_EXPORTS) \
32234 for flag in $(EXTRA_HOST_FLAGS) ; do \
32235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32236 done; \
32237 echo "Doing distclean in time" ; \
32238 (cd $(HOST_SUBDIR)/time && \
32239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32241 "RANLIB=$${RANLIB}" \
32242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32243 distclean) \
32244 || exit 1
32246 @endif time
32248 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
32249 maybe-maintainer-clean-time:
32250 @if time
32251 maybe-maintainer-clean-time: maintainer-clean-time
32253 maintainer-clean-time:
32254 @: $(MAKE); $(unstage)
32255 @[ -f ./time/Makefile ] || exit 0; \
32256 r=`${PWD_COMMAND}`; export r; \
32257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32258 $(HOST_EXPORTS) \
32259 for flag in $(EXTRA_HOST_FLAGS) ; do \
32260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32261 done; \
32262 echo "Doing maintainer-clean in time" ; \
32263 (cd $(HOST_SUBDIR)/time && \
32264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32266 "RANLIB=$${RANLIB}" \
32267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32268 maintainer-clean) \
32269 || exit 1
32271 @endif time
32275 .PHONY: configure-uudecode maybe-configure-uudecode
32276 maybe-configure-uudecode:
32277 @if gcc-bootstrap
32278 configure-uudecode: stage_current
32279 @endif gcc-bootstrap
32280 @if uudecode
32281 maybe-configure-uudecode: configure-uudecode
32282 configure-uudecode:
32283 @: $(MAKE); $(unstage)
32284 @r=`${PWD_COMMAND}`; export r; \
32285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32286 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
32287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
32288 $(HOST_EXPORTS) \
32289 echo Configuring in $(HOST_SUBDIR)/uudecode; \
32290 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
32291 case $(srcdir) in \
32292 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32293 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
32294 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32295 esac; \
32296 srcdiroption="--srcdir=$${topdir}/uudecode"; \
32297 libsrcdir="$$s/uudecode"; \
32298 $(SHELL) $${libsrcdir}/configure \
32299 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32300 --target=${target_alias} $${srcdiroption} \
32301 || exit 1
32302 @endif uudecode
32308 .PHONY: all-uudecode maybe-all-uudecode
32309 maybe-all-uudecode:
32310 @if gcc-bootstrap
32311 all-uudecode: stage_current
32312 @endif gcc-bootstrap
32313 @if uudecode
32314 TARGET-uudecode=all
32315 maybe-all-uudecode: all-uudecode
32316 all-uudecode: configure-uudecode
32317 @: $(MAKE); $(unstage)
32318 @r=`${PWD_COMMAND}`; export r; \
32319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32320 $(HOST_EXPORTS) \
32321 (cd $(HOST_SUBDIR)/uudecode && \
32322 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
32323 @endif uudecode
32328 .PHONY: check-uudecode maybe-check-uudecode
32329 maybe-check-uudecode:
32330 @if uudecode
32331 maybe-check-uudecode: check-uudecode
32333 check-uudecode:
32334 @: $(MAKE); $(unstage)
32335 @r=`${PWD_COMMAND}`; export r; \
32336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32337 $(HOST_EXPORTS) \
32338 (cd $(HOST_SUBDIR)/uudecode && \
32339 $(MAKE) $(FLAGS_TO_PASS) check)
32341 @endif uudecode
32343 .PHONY: install-uudecode maybe-install-uudecode
32344 maybe-install-uudecode:
32345 @if uudecode
32346 maybe-install-uudecode: install-uudecode
32348 install-uudecode: installdirs
32349 @: $(MAKE); $(unstage)
32350 @r=`${PWD_COMMAND}`; export r; \
32351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32352 $(HOST_EXPORTS) \
32353 (cd $(HOST_SUBDIR)/uudecode && \
32354 $(MAKE) $(FLAGS_TO_PASS) install)
32356 @endif uudecode
32358 # Other targets (info, dvi, pdf, etc.)
32360 .PHONY: maybe-info-uudecode info-uudecode
32361 maybe-info-uudecode:
32362 @if uudecode
32363 maybe-info-uudecode: info-uudecode
32365 info-uudecode: \
32366 configure-uudecode
32367 @: $(MAKE); $(unstage)
32368 @[ -f ./uudecode/Makefile ] || exit 0; \
32369 r=`${PWD_COMMAND}`; export r; \
32370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32371 $(HOST_EXPORTS) \
32372 for flag in $(EXTRA_HOST_FLAGS) ; do \
32373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32374 done; \
32375 echo "Doing info in uudecode" ; \
32376 (cd $(HOST_SUBDIR)/uudecode && \
32377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32379 "RANLIB=$${RANLIB}" \
32380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32381 info) \
32382 || exit 1
32384 @endif uudecode
32386 .PHONY: maybe-dvi-uudecode dvi-uudecode
32387 maybe-dvi-uudecode:
32388 @if uudecode
32389 maybe-dvi-uudecode: dvi-uudecode
32391 dvi-uudecode: \
32392 configure-uudecode
32393 @: $(MAKE); $(unstage)
32394 @[ -f ./uudecode/Makefile ] || exit 0; \
32395 r=`${PWD_COMMAND}`; export r; \
32396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32397 $(HOST_EXPORTS) \
32398 for flag in $(EXTRA_HOST_FLAGS) ; do \
32399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32400 done; \
32401 echo "Doing dvi in uudecode" ; \
32402 (cd $(HOST_SUBDIR)/uudecode && \
32403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32405 "RANLIB=$${RANLIB}" \
32406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32407 dvi) \
32408 || exit 1
32410 @endif uudecode
32412 .PHONY: maybe-pdf-uudecode pdf-uudecode
32413 maybe-pdf-uudecode:
32414 @if uudecode
32415 maybe-pdf-uudecode: pdf-uudecode
32417 pdf-uudecode: \
32418 configure-uudecode
32419 @: $(MAKE); $(unstage)
32420 @[ -f ./uudecode/Makefile ] || exit 0; \
32421 r=`${PWD_COMMAND}`; export r; \
32422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32423 $(HOST_EXPORTS) \
32424 for flag in $(EXTRA_HOST_FLAGS) ; do \
32425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32426 done; \
32427 echo "Doing pdf in uudecode" ; \
32428 (cd $(HOST_SUBDIR)/uudecode && \
32429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32431 "RANLIB=$${RANLIB}" \
32432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32433 pdf) \
32434 || exit 1
32436 @endif uudecode
32438 .PHONY: maybe-html-uudecode html-uudecode
32439 maybe-html-uudecode:
32440 @if uudecode
32441 maybe-html-uudecode: html-uudecode
32443 html-uudecode: \
32444 configure-uudecode
32445 @: $(MAKE); $(unstage)
32446 @[ -f ./uudecode/Makefile ] || exit 0; \
32447 r=`${PWD_COMMAND}`; export r; \
32448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32449 $(HOST_EXPORTS) \
32450 for flag in $(EXTRA_HOST_FLAGS) ; do \
32451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32452 done; \
32453 echo "Doing html in uudecode" ; \
32454 (cd $(HOST_SUBDIR)/uudecode && \
32455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32457 "RANLIB=$${RANLIB}" \
32458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32459 html) \
32460 || exit 1
32462 @endif uudecode
32464 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
32465 maybe-TAGS-uudecode:
32466 @if uudecode
32467 maybe-TAGS-uudecode: TAGS-uudecode
32469 TAGS-uudecode: \
32470 configure-uudecode
32471 @: $(MAKE); $(unstage)
32472 @[ -f ./uudecode/Makefile ] || exit 0; \
32473 r=`${PWD_COMMAND}`; export r; \
32474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32475 $(HOST_EXPORTS) \
32476 for flag in $(EXTRA_HOST_FLAGS) ; do \
32477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32478 done; \
32479 echo "Doing TAGS in uudecode" ; \
32480 (cd $(HOST_SUBDIR)/uudecode && \
32481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32483 "RANLIB=$${RANLIB}" \
32484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32485 TAGS) \
32486 || exit 1
32488 @endif uudecode
32490 .PHONY: maybe-install-info-uudecode install-info-uudecode
32491 maybe-install-info-uudecode:
32492 @if uudecode
32493 maybe-install-info-uudecode: install-info-uudecode
32495 install-info-uudecode: \
32496 configure-uudecode \
32497 info-uudecode
32498 @: $(MAKE); $(unstage)
32499 @[ -f ./uudecode/Makefile ] || exit 0; \
32500 r=`${PWD_COMMAND}`; export r; \
32501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32502 $(HOST_EXPORTS) \
32503 for flag in $(EXTRA_HOST_FLAGS) ; do \
32504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32505 done; \
32506 echo "Doing install-info in uudecode" ; \
32507 (cd $(HOST_SUBDIR)/uudecode && \
32508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32510 "RANLIB=$${RANLIB}" \
32511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32512 install-info) \
32513 || exit 1
32515 @endif uudecode
32517 .PHONY: maybe-install-pdf-uudecode install-pdf-uudecode
32518 maybe-install-pdf-uudecode:
32519 @if uudecode
32520 maybe-install-pdf-uudecode: install-pdf-uudecode
32522 install-pdf-uudecode: \
32523 configure-uudecode \
32524 pdf-uudecode
32525 @: $(MAKE); $(unstage)
32526 @[ -f ./uudecode/Makefile ] || exit 0; \
32527 r=`${PWD_COMMAND}`; export r; \
32528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32529 $(HOST_EXPORTS) \
32530 for flag in $(EXTRA_HOST_FLAGS) ; do \
32531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32532 done; \
32533 echo "Doing install-pdf in uudecode" ; \
32534 (cd $(HOST_SUBDIR)/uudecode && \
32535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32537 "RANLIB=$${RANLIB}" \
32538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32539 install-pdf) \
32540 || exit 1
32542 @endif uudecode
32544 .PHONY: maybe-install-html-uudecode install-html-uudecode
32545 maybe-install-html-uudecode:
32546 @if uudecode
32547 maybe-install-html-uudecode: install-html-uudecode
32549 install-html-uudecode: \
32550 configure-uudecode \
32551 html-uudecode
32552 @: $(MAKE); $(unstage)
32553 @[ -f ./uudecode/Makefile ] || exit 0; \
32554 r=`${PWD_COMMAND}`; export r; \
32555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32556 $(HOST_EXPORTS) \
32557 for flag in $(EXTRA_HOST_FLAGS) ; do \
32558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32559 done; \
32560 echo "Doing install-html in uudecode" ; \
32561 (cd $(HOST_SUBDIR)/uudecode && \
32562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32564 "RANLIB=$${RANLIB}" \
32565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32566 install-html) \
32567 || exit 1
32569 @endif uudecode
32571 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
32572 maybe-installcheck-uudecode:
32573 @if uudecode
32574 maybe-installcheck-uudecode: installcheck-uudecode
32576 installcheck-uudecode: \
32577 configure-uudecode
32578 @: $(MAKE); $(unstage)
32579 @[ -f ./uudecode/Makefile ] || exit 0; \
32580 r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(HOST_EXPORTS) \
32583 for flag in $(EXTRA_HOST_FLAGS) ; do \
32584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32585 done; \
32586 echo "Doing installcheck in uudecode" ; \
32587 (cd $(HOST_SUBDIR)/uudecode && \
32588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32590 "RANLIB=$${RANLIB}" \
32591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32592 installcheck) \
32593 || exit 1
32595 @endif uudecode
32597 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
32598 maybe-mostlyclean-uudecode:
32599 @if uudecode
32600 maybe-mostlyclean-uudecode: mostlyclean-uudecode
32602 mostlyclean-uudecode:
32603 @: $(MAKE); $(unstage)
32604 @[ -f ./uudecode/Makefile ] || exit 0; \
32605 r=`${PWD_COMMAND}`; export r; \
32606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32607 $(HOST_EXPORTS) \
32608 for flag in $(EXTRA_HOST_FLAGS) ; do \
32609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32610 done; \
32611 echo "Doing mostlyclean in uudecode" ; \
32612 (cd $(HOST_SUBDIR)/uudecode && \
32613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32615 "RANLIB=$${RANLIB}" \
32616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32617 mostlyclean) \
32618 || exit 1
32620 @endif uudecode
32622 .PHONY: maybe-clean-uudecode clean-uudecode
32623 maybe-clean-uudecode:
32624 @if uudecode
32625 maybe-clean-uudecode: clean-uudecode
32627 clean-uudecode:
32628 @: $(MAKE); $(unstage)
32629 @[ -f ./uudecode/Makefile ] || exit 0; \
32630 r=`${PWD_COMMAND}`; export r; \
32631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32632 $(HOST_EXPORTS) \
32633 for flag in $(EXTRA_HOST_FLAGS) ; do \
32634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32635 done; \
32636 echo "Doing clean in uudecode" ; \
32637 (cd $(HOST_SUBDIR)/uudecode && \
32638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32640 "RANLIB=$${RANLIB}" \
32641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32642 clean) \
32643 || exit 1
32645 @endif uudecode
32647 .PHONY: maybe-distclean-uudecode distclean-uudecode
32648 maybe-distclean-uudecode:
32649 @if uudecode
32650 maybe-distclean-uudecode: distclean-uudecode
32652 distclean-uudecode:
32653 @: $(MAKE); $(unstage)
32654 @[ -f ./uudecode/Makefile ] || exit 0; \
32655 r=`${PWD_COMMAND}`; export r; \
32656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32657 $(HOST_EXPORTS) \
32658 for flag in $(EXTRA_HOST_FLAGS) ; do \
32659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32660 done; \
32661 echo "Doing distclean in uudecode" ; \
32662 (cd $(HOST_SUBDIR)/uudecode && \
32663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32665 "RANLIB=$${RANLIB}" \
32666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32667 distclean) \
32668 || exit 1
32670 @endif uudecode
32672 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
32673 maybe-maintainer-clean-uudecode:
32674 @if uudecode
32675 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
32677 maintainer-clean-uudecode:
32678 @: $(MAKE); $(unstage)
32679 @[ -f ./uudecode/Makefile ] || exit 0; \
32680 r=`${PWD_COMMAND}`; export r; \
32681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32682 $(HOST_EXPORTS) \
32683 for flag in $(EXTRA_HOST_FLAGS) ; do \
32684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32685 done; \
32686 echo "Doing maintainer-clean in uudecode" ; \
32687 (cd $(HOST_SUBDIR)/uudecode && \
32688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32690 "RANLIB=$${RANLIB}" \
32691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32692 maintainer-clean) \
32693 || exit 1
32695 @endif uudecode
32699 .PHONY: configure-wdiff maybe-configure-wdiff
32700 maybe-configure-wdiff:
32701 @if gcc-bootstrap
32702 configure-wdiff: stage_current
32703 @endif gcc-bootstrap
32704 @if wdiff
32705 maybe-configure-wdiff: configure-wdiff
32706 configure-wdiff:
32707 @: $(MAKE); $(unstage)
32708 @r=`${PWD_COMMAND}`; export r; \
32709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32710 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
32711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
32712 $(HOST_EXPORTS) \
32713 echo Configuring in $(HOST_SUBDIR)/wdiff; \
32714 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
32715 case $(srcdir) in \
32716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32717 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
32718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32719 esac; \
32720 srcdiroption="--srcdir=$${topdir}/wdiff"; \
32721 libsrcdir="$$s/wdiff"; \
32722 $(SHELL) $${libsrcdir}/configure \
32723 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32724 --target=${target_alias} $${srcdiroption} \
32725 || exit 1
32726 @endif wdiff
32732 .PHONY: all-wdiff maybe-all-wdiff
32733 maybe-all-wdiff:
32734 @if gcc-bootstrap
32735 all-wdiff: stage_current
32736 @endif gcc-bootstrap
32737 @if wdiff
32738 TARGET-wdiff=all
32739 maybe-all-wdiff: all-wdiff
32740 all-wdiff: configure-wdiff
32741 @: $(MAKE); $(unstage)
32742 @r=`${PWD_COMMAND}`; export r; \
32743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32744 $(HOST_EXPORTS) \
32745 (cd $(HOST_SUBDIR)/wdiff && \
32746 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
32747 @endif wdiff
32752 .PHONY: check-wdiff maybe-check-wdiff
32753 maybe-check-wdiff:
32754 @if wdiff
32755 maybe-check-wdiff: check-wdiff
32757 check-wdiff:
32758 @: $(MAKE); $(unstage)
32759 @r=`${PWD_COMMAND}`; export r; \
32760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32761 $(HOST_EXPORTS) \
32762 (cd $(HOST_SUBDIR)/wdiff && \
32763 $(MAKE) $(FLAGS_TO_PASS) check)
32765 @endif wdiff
32767 .PHONY: install-wdiff maybe-install-wdiff
32768 maybe-install-wdiff:
32769 @if wdiff
32770 maybe-install-wdiff: install-wdiff
32772 install-wdiff: installdirs
32773 @: $(MAKE); $(unstage)
32774 @r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 $(HOST_EXPORTS) \
32777 (cd $(HOST_SUBDIR)/wdiff && \
32778 $(MAKE) $(FLAGS_TO_PASS) install)
32780 @endif wdiff
32782 # Other targets (info, dvi, pdf, etc.)
32784 .PHONY: maybe-info-wdiff info-wdiff
32785 maybe-info-wdiff:
32786 @if wdiff
32787 maybe-info-wdiff: info-wdiff
32789 info-wdiff: \
32790 configure-wdiff
32791 @: $(MAKE); $(unstage)
32792 @[ -f ./wdiff/Makefile ] || exit 0; \
32793 r=`${PWD_COMMAND}`; export r; \
32794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32795 $(HOST_EXPORTS) \
32796 for flag in $(EXTRA_HOST_FLAGS) ; do \
32797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32798 done; \
32799 echo "Doing info in wdiff" ; \
32800 (cd $(HOST_SUBDIR)/wdiff && \
32801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32803 "RANLIB=$${RANLIB}" \
32804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32805 info) \
32806 || exit 1
32808 @endif wdiff
32810 .PHONY: maybe-dvi-wdiff dvi-wdiff
32811 maybe-dvi-wdiff:
32812 @if wdiff
32813 maybe-dvi-wdiff: dvi-wdiff
32815 dvi-wdiff: \
32816 configure-wdiff
32817 @: $(MAKE); $(unstage)
32818 @[ -f ./wdiff/Makefile ] || exit 0; \
32819 r=`${PWD_COMMAND}`; export r; \
32820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32821 $(HOST_EXPORTS) \
32822 for flag in $(EXTRA_HOST_FLAGS) ; do \
32823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32824 done; \
32825 echo "Doing dvi in wdiff" ; \
32826 (cd $(HOST_SUBDIR)/wdiff && \
32827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32829 "RANLIB=$${RANLIB}" \
32830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32831 dvi) \
32832 || exit 1
32834 @endif wdiff
32836 .PHONY: maybe-pdf-wdiff pdf-wdiff
32837 maybe-pdf-wdiff:
32838 @if wdiff
32839 maybe-pdf-wdiff: pdf-wdiff
32841 pdf-wdiff: \
32842 configure-wdiff
32843 @: $(MAKE); $(unstage)
32844 @[ -f ./wdiff/Makefile ] || exit 0; \
32845 r=`${PWD_COMMAND}`; export r; \
32846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32847 $(HOST_EXPORTS) \
32848 for flag in $(EXTRA_HOST_FLAGS) ; do \
32849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32850 done; \
32851 echo "Doing pdf in wdiff" ; \
32852 (cd $(HOST_SUBDIR)/wdiff && \
32853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32855 "RANLIB=$${RANLIB}" \
32856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32857 pdf) \
32858 || exit 1
32860 @endif wdiff
32862 .PHONY: maybe-html-wdiff html-wdiff
32863 maybe-html-wdiff:
32864 @if wdiff
32865 maybe-html-wdiff: html-wdiff
32867 html-wdiff: \
32868 configure-wdiff
32869 @: $(MAKE); $(unstage)
32870 @[ -f ./wdiff/Makefile ] || exit 0; \
32871 r=`${PWD_COMMAND}`; export r; \
32872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32873 $(HOST_EXPORTS) \
32874 for flag in $(EXTRA_HOST_FLAGS) ; do \
32875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32876 done; \
32877 echo "Doing html in wdiff" ; \
32878 (cd $(HOST_SUBDIR)/wdiff && \
32879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32881 "RANLIB=$${RANLIB}" \
32882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32883 html) \
32884 || exit 1
32886 @endif wdiff
32888 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
32889 maybe-TAGS-wdiff:
32890 @if wdiff
32891 maybe-TAGS-wdiff: TAGS-wdiff
32893 TAGS-wdiff: \
32894 configure-wdiff
32895 @: $(MAKE); $(unstage)
32896 @[ -f ./wdiff/Makefile ] || exit 0; \
32897 r=`${PWD_COMMAND}`; export r; \
32898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32899 $(HOST_EXPORTS) \
32900 for flag in $(EXTRA_HOST_FLAGS) ; do \
32901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32902 done; \
32903 echo "Doing TAGS in wdiff" ; \
32904 (cd $(HOST_SUBDIR)/wdiff && \
32905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32907 "RANLIB=$${RANLIB}" \
32908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32909 TAGS) \
32910 || exit 1
32912 @endif wdiff
32914 .PHONY: maybe-install-info-wdiff install-info-wdiff
32915 maybe-install-info-wdiff:
32916 @if wdiff
32917 maybe-install-info-wdiff: install-info-wdiff
32919 install-info-wdiff: \
32920 configure-wdiff \
32921 info-wdiff
32922 @: $(MAKE); $(unstage)
32923 @[ -f ./wdiff/Makefile ] || exit 0; \
32924 r=`${PWD_COMMAND}`; export r; \
32925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32926 $(HOST_EXPORTS) \
32927 for flag in $(EXTRA_HOST_FLAGS) ; do \
32928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32929 done; \
32930 echo "Doing install-info in wdiff" ; \
32931 (cd $(HOST_SUBDIR)/wdiff && \
32932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32934 "RANLIB=$${RANLIB}" \
32935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32936 install-info) \
32937 || exit 1
32939 @endif wdiff
32941 .PHONY: maybe-install-pdf-wdiff install-pdf-wdiff
32942 maybe-install-pdf-wdiff:
32943 @if wdiff
32944 maybe-install-pdf-wdiff: install-pdf-wdiff
32946 install-pdf-wdiff: \
32947 configure-wdiff \
32948 pdf-wdiff
32949 @: $(MAKE); $(unstage)
32950 @[ -f ./wdiff/Makefile ] || exit 0; \
32951 r=`${PWD_COMMAND}`; export r; \
32952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32953 $(HOST_EXPORTS) \
32954 for flag in $(EXTRA_HOST_FLAGS) ; do \
32955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32956 done; \
32957 echo "Doing install-pdf in wdiff" ; \
32958 (cd $(HOST_SUBDIR)/wdiff && \
32959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32961 "RANLIB=$${RANLIB}" \
32962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32963 install-pdf) \
32964 || exit 1
32966 @endif wdiff
32968 .PHONY: maybe-install-html-wdiff install-html-wdiff
32969 maybe-install-html-wdiff:
32970 @if wdiff
32971 maybe-install-html-wdiff: install-html-wdiff
32973 install-html-wdiff: \
32974 configure-wdiff \
32975 html-wdiff
32976 @: $(MAKE); $(unstage)
32977 @[ -f ./wdiff/Makefile ] || exit 0; \
32978 r=`${PWD_COMMAND}`; export r; \
32979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32980 $(HOST_EXPORTS) \
32981 for flag in $(EXTRA_HOST_FLAGS) ; do \
32982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32983 done; \
32984 echo "Doing install-html in wdiff" ; \
32985 (cd $(HOST_SUBDIR)/wdiff && \
32986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32988 "RANLIB=$${RANLIB}" \
32989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32990 install-html) \
32991 || exit 1
32993 @endif wdiff
32995 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
32996 maybe-installcheck-wdiff:
32997 @if wdiff
32998 maybe-installcheck-wdiff: installcheck-wdiff
33000 installcheck-wdiff: \
33001 configure-wdiff
33002 @: $(MAKE); $(unstage)
33003 @[ -f ./wdiff/Makefile ] || exit 0; \
33004 r=`${PWD_COMMAND}`; export r; \
33005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33006 $(HOST_EXPORTS) \
33007 for flag in $(EXTRA_HOST_FLAGS) ; do \
33008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33009 done; \
33010 echo "Doing installcheck in wdiff" ; \
33011 (cd $(HOST_SUBDIR)/wdiff && \
33012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33014 "RANLIB=$${RANLIB}" \
33015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33016 installcheck) \
33017 || exit 1
33019 @endif wdiff
33021 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
33022 maybe-mostlyclean-wdiff:
33023 @if wdiff
33024 maybe-mostlyclean-wdiff: mostlyclean-wdiff
33026 mostlyclean-wdiff:
33027 @: $(MAKE); $(unstage)
33028 @[ -f ./wdiff/Makefile ] || exit 0; \
33029 r=`${PWD_COMMAND}`; export r; \
33030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33031 $(HOST_EXPORTS) \
33032 for flag in $(EXTRA_HOST_FLAGS) ; do \
33033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33034 done; \
33035 echo "Doing mostlyclean in wdiff" ; \
33036 (cd $(HOST_SUBDIR)/wdiff && \
33037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33039 "RANLIB=$${RANLIB}" \
33040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33041 mostlyclean) \
33042 || exit 1
33044 @endif wdiff
33046 .PHONY: maybe-clean-wdiff clean-wdiff
33047 maybe-clean-wdiff:
33048 @if wdiff
33049 maybe-clean-wdiff: clean-wdiff
33051 clean-wdiff:
33052 @: $(MAKE); $(unstage)
33053 @[ -f ./wdiff/Makefile ] || exit 0; \
33054 r=`${PWD_COMMAND}`; export r; \
33055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33056 $(HOST_EXPORTS) \
33057 for flag in $(EXTRA_HOST_FLAGS) ; do \
33058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33059 done; \
33060 echo "Doing clean in wdiff" ; \
33061 (cd $(HOST_SUBDIR)/wdiff && \
33062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33064 "RANLIB=$${RANLIB}" \
33065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33066 clean) \
33067 || exit 1
33069 @endif wdiff
33071 .PHONY: maybe-distclean-wdiff distclean-wdiff
33072 maybe-distclean-wdiff:
33073 @if wdiff
33074 maybe-distclean-wdiff: distclean-wdiff
33076 distclean-wdiff:
33077 @: $(MAKE); $(unstage)
33078 @[ -f ./wdiff/Makefile ] || exit 0; \
33079 r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(HOST_EXPORTS) \
33082 for flag in $(EXTRA_HOST_FLAGS) ; do \
33083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33084 done; \
33085 echo "Doing distclean in wdiff" ; \
33086 (cd $(HOST_SUBDIR)/wdiff && \
33087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33089 "RANLIB=$${RANLIB}" \
33090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33091 distclean) \
33092 || exit 1
33094 @endif wdiff
33096 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
33097 maybe-maintainer-clean-wdiff:
33098 @if wdiff
33099 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
33101 maintainer-clean-wdiff:
33102 @: $(MAKE); $(unstage)
33103 @[ -f ./wdiff/Makefile ] || exit 0; \
33104 r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(HOST_EXPORTS) \
33107 for flag in $(EXTRA_HOST_FLAGS) ; do \
33108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33109 done; \
33110 echo "Doing maintainer-clean in wdiff" ; \
33111 (cd $(HOST_SUBDIR)/wdiff && \
33112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33114 "RANLIB=$${RANLIB}" \
33115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33116 maintainer-clean) \
33117 || exit 1
33119 @endif wdiff
33123 .PHONY: configure-zip maybe-configure-zip
33124 maybe-configure-zip:
33125 @if gcc-bootstrap
33126 configure-zip: stage_current
33127 @endif gcc-bootstrap
33128 @if zip
33129 maybe-configure-zip: configure-zip
33130 configure-zip:
33131 @: $(MAKE); $(unstage)
33132 @r=`${PWD_COMMAND}`; export r; \
33133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33134 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
33135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
33136 $(HOST_EXPORTS) \
33137 echo Configuring in $(HOST_SUBDIR)/zip; \
33138 cd "$(HOST_SUBDIR)/zip" || exit 1; \
33139 case $(srcdir) in \
33140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33141 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
33142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33143 esac; \
33144 srcdiroption="--srcdir=$${topdir}/zip"; \
33145 libsrcdir="$$s/zip"; \
33146 $(SHELL) $${libsrcdir}/configure \
33147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33148 --target=${target_alias} $${srcdiroption} \
33149 || exit 1
33150 @endif zip
33156 .PHONY: all-zip maybe-all-zip
33157 maybe-all-zip:
33158 @if gcc-bootstrap
33159 all-zip: stage_current
33160 @endif gcc-bootstrap
33161 @if zip
33162 TARGET-zip=all
33163 maybe-all-zip: all-zip
33164 all-zip: configure-zip
33165 @: $(MAKE); $(unstage)
33166 @r=`${PWD_COMMAND}`; export r; \
33167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33168 $(HOST_EXPORTS) \
33169 (cd $(HOST_SUBDIR)/zip && \
33170 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
33171 @endif zip
33176 .PHONY: check-zip maybe-check-zip
33177 maybe-check-zip:
33178 @if zip
33179 maybe-check-zip: check-zip
33181 # This module is only tested in a native toolchain.
33182 check-zip:
33183 @: $(MAKE); $(unstage)
33184 @if [ '$(host)' = '$(target)' ] ; then \
33185 r=`${PWD_COMMAND}`; export r; \
33186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33187 $(HOST_EXPORTS) \
33188 (cd $(HOST_SUBDIR)/zip && \
33189 $(MAKE) $(FLAGS_TO_PASS) check); \
33192 @endif zip
33194 .PHONY: install-zip maybe-install-zip
33195 maybe-install-zip:
33196 @if zip
33197 maybe-install-zip: install-zip
33199 install-zip: installdirs
33200 @: $(MAKE); $(unstage)
33201 @r=`${PWD_COMMAND}`; export r; \
33202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33203 $(HOST_EXPORTS) \
33204 (cd $(HOST_SUBDIR)/zip && \
33205 $(MAKE) $(FLAGS_TO_PASS) install)
33207 @endif zip
33209 # Other targets (info, dvi, pdf, etc.)
33211 .PHONY: maybe-info-zip info-zip
33212 maybe-info-zip:
33213 @if zip
33214 maybe-info-zip: info-zip
33216 info-zip: \
33217 configure-zip
33218 @: $(MAKE); $(unstage)
33219 @[ -f ./zip/Makefile ] || exit 0; \
33220 r=`${PWD_COMMAND}`; export r; \
33221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33222 $(HOST_EXPORTS) \
33223 for flag in $(EXTRA_HOST_FLAGS) ; do \
33224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33225 done; \
33226 echo "Doing info in zip" ; \
33227 (cd $(HOST_SUBDIR)/zip && \
33228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33230 "RANLIB=$${RANLIB}" \
33231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33232 info) \
33233 || exit 1
33235 @endif zip
33237 .PHONY: maybe-dvi-zip dvi-zip
33238 maybe-dvi-zip:
33239 @if zip
33240 maybe-dvi-zip: dvi-zip
33242 dvi-zip: \
33243 configure-zip
33244 @: $(MAKE); $(unstage)
33245 @[ -f ./zip/Makefile ] || exit 0; \
33246 r=`${PWD_COMMAND}`; export r; \
33247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33248 $(HOST_EXPORTS) \
33249 for flag in $(EXTRA_HOST_FLAGS) ; do \
33250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33251 done; \
33252 echo "Doing dvi in zip" ; \
33253 (cd $(HOST_SUBDIR)/zip && \
33254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33256 "RANLIB=$${RANLIB}" \
33257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33258 dvi) \
33259 || exit 1
33261 @endif zip
33263 .PHONY: maybe-pdf-zip pdf-zip
33264 maybe-pdf-zip:
33265 @if zip
33266 maybe-pdf-zip: pdf-zip
33268 pdf-zip: \
33269 configure-zip
33270 @: $(MAKE); $(unstage)
33271 @[ -f ./zip/Makefile ] || exit 0; \
33272 r=`${PWD_COMMAND}`; export r; \
33273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33274 $(HOST_EXPORTS) \
33275 for flag in $(EXTRA_HOST_FLAGS) ; do \
33276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33277 done; \
33278 echo "Doing pdf in zip" ; \
33279 (cd $(HOST_SUBDIR)/zip && \
33280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33282 "RANLIB=$${RANLIB}" \
33283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33284 pdf) \
33285 || exit 1
33287 @endif zip
33289 .PHONY: maybe-html-zip html-zip
33290 maybe-html-zip:
33291 @if zip
33292 maybe-html-zip: html-zip
33294 html-zip: \
33295 configure-zip
33296 @: $(MAKE); $(unstage)
33297 @[ -f ./zip/Makefile ] || exit 0; \
33298 r=`${PWD_COMMAND}`; export r; \
33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33300 $(HOST_EXPORTS) \
33301 for flag in $(EXTRA_HOST_FLAGS) ; do \
33302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33303 done; \
33304 echo "Doing html in zip" ; \
33305 (cd $(HOST_SUBDIR)/zip && \
33306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33308 "RANLIB=$${RANLIB}" \
33309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33310 html) \
33311 || exit 1
33313 @endif zip
33315 .PHONY: maybe-TAGS-zip TAGS-zip
33316 maybe-TAGS-zip:
33317 @if zip
33318 maybe-TAGS-zip: TAGS-zip
33320 TAGS-zip: \
33321 configure-zip
33322 @: $(MAKE); $(unstage)
33323 @[ -f ./zip/Makefile ] || exit 0; \
33324 r=`${PWD_COMMAND}`; export r; \
33325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33326 $(HOST_EXPORTS) \
33327 for flag in $(EXTRA_HOST_FLAGS) ; do \
33328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33329 done; \
33330 echo "Doing TAGS in zip" ; \
33331 (cd $(HOST_SUBDIR)/zip && \
33332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33334 "RANLIB=$${RANLIB}" \
33335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33336 TAGS) \
33337 || exit 1
33339 @endif zip
33341 .PHONY: maybe-install-info-zip install-info-zip
33342 maybe-install-info-zip:
33343 @if zip
33344 maybe-install-info-zip: install-info-zip
33346 install-info-zip: \
33347 configure-zip \
33348 info-zip
33349 @: $(MAKE); $(unstage)
33350 @[ -f ./zip/Makefile ] || exit 0; \
33351 r=`${PWD_COMMAND}`; export r; \
33352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33353 $(HOST_EXPORTS) \
33354 for flag in $(EXTRA_HOST_FLAGS) ; do \
33355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33356 done; \
33357 echo "Doing install-info in zip" ; \
33358 (cd $(HOST_SUBDIR)/zip && \
33359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33361 "RANLIB=$${RANLIB}" \
33362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33363 install-info) \
33364 || exit 1
33366 @endif zip
33368 .PHONY: maybe-install-pdf-zip install-pdf-zip
33369 maybe-install-pdf-zip:
33370 @if zip
33371 maybe-install-pdf-zip: install-pdf-zip
33373 install-pdf-zip: \
33374 configure-zip \
33375 pdf-zip
33376 @: $(MAKE); $(unstage)
33377 @[ -f ./zip/Makefile ] || exit 0; \
33378 r=`${PWD_COMMAND}`; export r; \
33379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33380 $(HOST_EXPORTS) \
33381 for flag in $(EXTRA_HOST_FLAGS) ; do \
33382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33383 done; \
33384 echo "Doing install-pdf in zip" ; \
33385 (cd $(HOST_SUBDIR)/zip && \
33386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33388 "RANLIB=$${RANLIB}" \
33389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33390 install-pdf) \
33391 || exit 1
33393 @endif zip
33395 .PHONY: maybe-install-html-zip install-html-zip
33396 maybe-install-html-zip:
33397 @if zip
33398 maybe-install-html-zip: install-html-zip
33400 install-html-zip: \
33401 configure-zip \
33402 html-zip
33403 @: $(MAKE); $(unstage)
33404 @[ -f ./zip/Makefile ] || exit 0; \
33405 r=`${PWD_COMMAND}`; export r; \
33406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33407 $(HOST_EXPORTS) \
33408 for flag in $(EXTRA_HOST_FLAGS) ; do \
33409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33410 done; \
33411 echo "Doing install-html in zip" ; \
33412 (cd $(HOST_SUBDIR)/zip && \
33413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33415 "RANLIB=$${RANLIB}" \
33416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33417 install-html) \
33418 || exit 1
33420 @endif zip
33422 .PHONY: maybe-installcheck-zip installcheck-zip
33423 maybe-installcheck-zip:
33424 @if zip
33425 maybe-installcheck-zip: installcheck-zip
33427 installcheck-zip: \
33428 configure-zip
33429 @: $(MAKE); $(unstage)
33430 @[ -f ./zip/Makefile ] || exit 0; \
33431 r=`${PWD_COMMAND}`; export r; \
33432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33433 $(HOST_EXPORTS) \
33434 for flag in $(EXTRA_HOST_FLAGS) ; do \
33435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33436 done; \
33437 echo "Doing installcheck in zip" ; \
33438 (cd $(HOST_SUBDIR)/zip && \
33439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33441 "RANLIB=$${RANLIB}" \
33442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33443 installcheck) \
33444 || exit 1
33446 @endif zip
33448 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
33449 maybe-mostlyclean-zip:
33450 @if zip
33451 maybe-mostlyclean-zip: mostlyclean-zip
33453 mostlyclean-zip:
33454 @: $(MAKE); $(unstage)
33455 @[ -f ./zip/Makefile ] || exit 0; \
33456 r=`${PWD_COMMAND}`; export r; \
33457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33458 $(HOST_EXPORTS) \
33459 for flag in $(EXTRA_HOST_FLAGS) ; do \
33460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33461 done; \
33462 echo "Doing mostlyclean in zip" ; \
33463 (cd $(HOST_SUBDIR)/zip && \
33464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33466 "RANLIB=$${RANLIB}" \
33467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33468 mostlyclean) \
33469 || exit 1
33471 @endif zip
33473 .PHONY: maybe-clean-zip clean-zip
33474 maybe-clean-zip:
33475 @if zip
33476 maybe-clean-zip: clean-zip
33478 clean-zip:
33479 @: $(MAKE); $(unstage)
33480 @[ -f ./zip/Makefile ] || exit 0; \
33481 r=`${PWD_COMMAND}`; export r; \
33482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33483 $(HOST_EXPORTS) \
33484 for flag in $(EXTRA_HOST_FLAGS) ; do \
33485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33486 done; \
33487 echo "Doing clean in zip" ; \
33488 (cd $(HOST_SUBDIR)/zip && \
33489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33491 "RANLIB=$${RANLIB}" \
33492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33493 clean) \
33494 || exit 1
33496 @endif zip
33498 .PHONY: maybe-distclean-zip distclean-zip
33499 maybe-distclean-zip:
33500 @if zip
33501 maybe-distclean-zip: distclean-zip
33503 distclean-zip:
33504 @: $(MAKE); $(unstage)
33505 @[ -f ./zip/Makefile ] || exit 0; \
33506 r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 $(HOST_EXPORTS) \
33509 for flag in $(EXTRA_HOST_FLAGS) ; do \
33510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33511 done; \
33512 echo "Doing distclean in zip" ; \
33513 (cd $(HOST_SUBDIR)/zip && \
33514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33516 "RANLIB=$${RANLIB}" \
33517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33518 distclean) \
33519 || exit 1
33521 @endif zip
33523 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
33524 maybe-maintainer-clean-zip:
33525 @if zip
33526 maybe-maintainer-clean-zip: maintainer-clean-zip
33528 maintainer-clean-zip:
33529 @: $(MAKE); $(unstage)
33530 @[ -f ./zip/Makefile ] || exit 0; \
33531 r=`${PWD_COMMAND}`; export r; \
33532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33533 $(HOST_EXPORTS) \
33534 for flag in $(EXTRA_HOST_FLAGS) ; do \
33535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33536 done; \
33537 echo "Doing maintainer-clean in zip" ; \
33538 (cd $(HOST_SUBDIR)/zip && \
33539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33541 "RANLIB=$${RANLIB}" \
33542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33543 maintainer-clean) \
33544 || exit 1
33546 @endif zip
33550 .PHONY: configure-zlib maybe-configure-zlib
33551 maybe-configure-zlib:
33552 @if gcc-bootstrap
33553 configure-zlib: stage_current
33554 @endif gcc-bootstrap
33555 @if zlib
33556 maybe-configure-zlib: configure-zlib
33557 configure-zlib:
33558 @r=`${PWD_COMMAND}`; export r; \
33559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33560 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33561 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33562 $(HOST_EXPORTS) \
33563 echo Configuring in $(HOST_SUBDIR)/zlib; \
33564 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
33565 case $(srcdir) in \
33566 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33567 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33568 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33569 esac; \
33570 srcdiroption="--srcdir=$${topdir}/zlib"; \
33571 libsrcdir="$$s/zlib"; \
33572 $(SHELL) $${libsrcdir}/configure \
33573 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33574 --target=${target_alias} $${srcdiroption} \
33575 || exit 1
33576 @endif zlib
33580 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
33581 maybe-configure-stage1-zlib:
33582 @if zlib-bootstrap
33583 maybe-configure-stage1-zlib: configure-stage1-zlib
33584 configure-stage1-zlib:
33585 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33587 @r=`${PWD_COMMAND}`; export r; \
33588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33589 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33590 $(HOST_EXPORTS) \
33591 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
33592 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33593 cd $(HOST_SUBDIR)/zlib || exit 1; \
33594 case $(srcdir) in \
33595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33596 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33598 esac; \
33599 srcdiroption="--srcdir=$${topdir}/zlib"; \
33600 libsrcdir="$$s/zlib"; \
33601 $(SHELL) $${libsrcdir}/configure \
33602 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33603 --target=${target_alias} $${srcdiroption} \
33605 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
33606 @endif zlib-bootstrap
33608 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
33609 maybe-configure-stage2-zlib:
33610 @if zlib-bootstrap
33611 maybe-configure-stage2-zlib: configure-stage2-zlib
33612 configure-stage2-zlib:
33613 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33614 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33615 @r=`${PWD_COMMAND}`; export r; \
33616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33617 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33618 $(HOST_EXPORTS) \
33619 $(POSTSTAGE1_HOST_EXPORTS) \
33620 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
33621 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33622 cd $(HOST_SUBDIR)/zlib || exit 1; \
33623 case $(srcdir) in \
33624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33625 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33627 esac; \
33628 srcdiroption="--srcdir=$${topdir}/zlib"; \
33629 libsrcdir="$$s/zlib"; \
33630 $(SHELL) $${libsrcdir}/configure \
33631 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33632 --target=${target_alias} $${srcdiroption} \
33633 --with-build-libsubdir=$(HOST_SUBDIR) \
33634 @stage2_werror_flag@
33635 @endif zlib-bootstrap
33637 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
33638 maybe-configure-stage3-zlib:
33639 @if zlib-bootstrap
33640 maybe-configure-stage3-zlib: configure-stage3-zlib
33641 configure-stage3-zlib:
33642 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33644 @r=`${PWD_COMMAND}`; export r; \
33645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33646 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33647 $(HOST_EXPORTS) \
33648 $(POSTSTAGE1_HOST_EXPORTS) \
33649 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
33650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33651 cd $(HOST_SUBDIR)/zlib || exit 1; \
33652 case $(srcdir) in \
33653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33654 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33656 esac; \
33657 srcdiroption="--srcdir=$${topdir}/zlib"; \
33658 libsrcdir="$$s/zlib"; \
33659 $(SHELL) $${libsrcdir}/configure \
33660 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33661 --target=${target_alias} $${srcdiroption} \
33662 --with-build-libsubdir=$(HOST_SUBDIR) \
33663 @stage2_werror_flag@
33664 @endif zlib-bootstrap
33666 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33667 maybe-configure-stage4-zlib:
33668 @if zlib-bootstrap
33669 maybe-configure-stage4-zlib: configure-stage4-zlib
33670 configure-stage4-zlib:
33671 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33673 @r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33676 $(HOST_EXPORTS) \
33677 $(POSTSTAGE1_HOST_EXPORTS) \
33678 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
33679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33680 cd $(HOST_SUBDIR)/zlib || exit 1; \
33681 case $(srcdir) in \
33682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33683 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33685 esac; \
33686 srcdiroption="--srcdir=$${topdir}/zlib"; \
33687 libsrcdir="$$s/zlib"; \
33688 $(SHELL) $${libsrcdir}/configure \
33689 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33690 --target=${target_alias} $${srcdiroption} \
33691 --with-build-libsubdir=$(HOST_SUBDIR) \
33692 @stage2_werror_flag@
33693 @endif zlib-bootstrap
33695 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
33696 maybe-configure-stageprofile-zlib:
33697 @if zlib-bootstrap
33698 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
33699 configure-stageprofile-zlib:
33700 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33701 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33702 @r=`${PWD_COMMAND}`; export r; \
33703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33704 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33705 $(HOST_EXPORTS) \
33706 $(POSTSTAGE1_HOST_EXPORTS) \
33707 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
33708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33709 cd $(HOST_SUBDIR)/zlib || exit 1; \
33710 case $(srcdir) in \
33711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33712 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33714 esac; \
33715 srcdiroption="--srcdir=$${topdir}/zlib"; \
33716 libsrcdir="$$s/zlib"; \
33717 $(SHELL) $${libsrcdir}/configure \
33718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33719 --target=${target_alias} $${srcdiroption} \
33720 --with-build-libsubdir=$(HOST_SUBDIR) \
33721 @stage2_werror_flag@
33722 @endif zlib-bootstrap
33724 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
33725 maybe-configure-stagefeedback-zlib:
33726 @if zlib-bootstrap
33727 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
33728 configure-stagefeedback-zlib:
33729 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
33731 @r=`${PWD_COMMAND}`; export r; \
33732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33733 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
33734 $(HOST_EXPORTS) \
33735 $(POSTSTAGE1_HOST_EXPORTS) \
33736 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
33737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
33738 cd $(HOST_SUBDIR)/zlib || exit 1; \
33739 case $(srcdir) in \
33740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33741 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33743 esac; \
33744 srcdiroption="--srcdir=$${topdir}/zlib"; \
33745 libsrcdir="$$s/zlib"; \
33746 $(SHELL) $${libsrcdir}/configure \
33747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33748 --target=${target_alias} $${srcdiroption} \
33749 --with-build-libsubdir=$(HOST_SUBDIR) \
33750 @stage2_werror_flag@
33751 @endif zlib-bootstrap
33757 .PHONY: all-zlib maybe-all-zlib
33758 maybe-all-zlib:
33759 @if gcc-bootstrap
33760 all-zlib: stage_current
33761 @endif gcc-bootstrap
33762 @if zlib
33763 TARGET-zlib=all
33764 maybe-all-zlib: all-zlib
33765 all-zlib: configure-zlib
33766 @r=`${PWD_COMMAND}`; export r; \
33767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33768 $(HOST_EXPORTS) \
33769 (cd $(HOST_SUBDIR)/zlib && \
33770 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
33771 @endif zlib
33775 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
33776 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
33777 maybe-all-stage1-zlib:
33778 maybe-clean-stage1-zlib:
33779 @if zlib-bootstrap
33780 maybe-all-stage1-zlib: all-stage1-zlib
33781 all-stage1: all-stage1-zlib
33782 TARGET-stage1-zlib = $(TARGET-zlib)
33783 all-stage1-zlib: configure-stage1-zlib
33784 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33785 @r=`${PWD_COMMAND}`; export r; \
33786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33787 $(HOST_EXPORTS) \
33788 cd $(HOST_SUBDIR)/zlib && \
33789 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
33790 $(TARGET-stage1-zlib)
33792 maybe-clean-stage1-zlib: clean-stage1-zlib
33793 clean-stage1: clean-stage1-zlib
33794 clean-stage1-zlib:
33795 @if [ $(current_stage) = stage1 ]; then \
33796 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33797 else \
33798 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
33799 $(MAKE) stage1-start; \
33800 fi; \
33801 cd $(HOST_SUBDIR)/zlib && \
33802 $(MAKE) $(FLAGS_TO_PASS) \
33803 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
33804 @endif zlib-bootstrap
33807 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
33808 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
33809 maybe-all-stage2-zlib:
33810 maybe-clean-stage2-zlib:
33811 @if zlib-bootstrap
33812 maybe-all-stage2-zlib: all-stage2-zlib
33813 all-stage2: all-stage2-zlib
33814 TARGET-stage2-zlib = $(TARGET-zlib)
33815 all-stage2-zlib: configure-stage2-zlib
33816 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33817 @r=`${PWD_COMMAND}`; export r; \
33818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33819 $(HOST_EXPORTS) \
33820 $(POSTSTAGE1_HOST_EXPORTS) \
33821 cd $(HOST_SUBDIR)/zlib && \
33822 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33823 $(TARGET-stage2-zlib)
33825 maybe-clean-stage2-zlib: clean-stage2-zlib
33826 clean-stage2: clean-stage2-zlib
33827 clean-stage2-zlib:
33828 @if [ $(current_stage) = stage2 ]; then \
33829 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33830 else \
33831 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
33832 $(MAKE) stage2-start; \
33833 fi; \
33834 cd $(HOST_SUBDIR)/zlib && \
33835 $(MAKE) $(FLAGS_TO_PASS) \
33836 $(POSTSTAGE1_FLAGS_TO_PASS) \
33837 clean
33838 @endif zlib-bootstrap
33841 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
33842 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
33843 maybe-all-stage3-zlib:
33844 maybe-clean-stage3-zlib:
33845 @if zlib-bootstrap
33846 maybe-all-stage3-zlib: all-stage3-zlib
33847 all-stage3: all-stage3-zlib
33848 TARGET-stage3-zlib = $(TARGET-zlib)
33849 all-stage3-zlib: configure-stage3-zlib
33850 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33851 @r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(HOST_EXPORTS) \
33854 $(POSTSTAGE1_HOST_EXPORTS) \
33855 cd $(HOST_SUBDIR)/zlib && \
33856 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33857 $(TARGET-stage3-zlib)
33859 maybe-clean-stage3-zlib: clean-stage3-zlib
33860 clean-stage3: clean-stage3-zlib
33861 clean-stage3-zlib:
33862 @if [ $(current_stage) = stage3 ]; then \
33863 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33864 else \
33865 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
33866 $(MAKE) stage3-start; \
33867 fi; \
33868 cd $(HOST_SUBDIR)/zlib && \
33869 $(MAKE) $(FLAGS_TO_PASS) \
33870 $(POSTSTAGE1_FLAGS_TO_PASS) \
33871 clean
33872 @endif zlib-bootstrap
33875 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33876 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33877 maybe-all-stage4-zlib:
33878 maybe-clean-stage4-zlib:
33879 @if zlib-bootstrap
33880 maybe-all-stage4-zlib: all-stage4-zlib
33881 all-stage4: all-stage4-zlib
33882 TARGET-stage4-zlib = $(TARGET-zlib)
33883 all-stage4-zlib: configure-stage4-zlib
33884 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33885 @r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 $(HOST_EXPORTS) \
33888 $(POSTSTAGE1_HOST_EXPORTS) \
33889 cd $(HOST_SUBDIR)/zlib && \
33890 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
33891 $(TARGET-stage4-zlib)
33893 maybe-clean-stage4-zlib: clean-stage4-zlib
33894 clean-stage4: clean-stage4-zlib
33895 clean-stage4-zlib:
33896 @if [ $(current_stage) = stage4 ]; then \
33897 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33898 else \
33899 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
33900 $(MAKE) stage4-start; \
33901 fi; \
33902 cd $(HOST_SUBDIR)/zlib && \
33903 $(MAKE) $(FLAGS_TO_PASS) \
33904 $(POSTSTAGE1_FLAGS_TO_PASS) \
33905 clean
33906 @endif zlib-bootstrap
33909 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
33910 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
33911 maybe-all-stageprofile-zlib:
33912 maybe-clean-stageprofile-zlib:
33913 @if zlib-bootstrap
33914 maybe-all-stageprofile-zlib: all-stageprofile-zlib
33915 all-stageprofile: all-stageprofile-zlib
33916 TARGET-stageprofile-zlib = $(TARGET-zlib)
33917 all-stageprofile-zlib: configure-stageprofile-zlib
33918 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33919 @r=`${PWD_COMMAND}`; export r; \
33920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33921 $(HOST_EXPORTS) \
33922 $(POSTSTAGE1_HOST_EXPORTS) \
33923 cd $(HOST_SUBDIR)/zlib && \
33924 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
33925 $(TARGET-stageprofile-zlib)
33927 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
33928 clean-stageprofile: clean-stageprofile-zlib
33929 clean-stageprofile-zlib:
33930 @if [ $(current_stage) = stageprofile ]; then \
33931 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33932 else \
33933 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
33934 $(MAKE) stageprofile-start; \
33935 fi; \
33936 cd $(HOST_SUBDIR)/zlib && \
33937 $(MAKE) $(FLAGS_TO_PASS) \
33938 $(POSTSTAGE1_FLAGS_TO_PASS) \
33939 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33940 @endif zlib-bootstrap
33943 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
33944 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
33945 maybe-all-stagefeedback-zlib:
33946 maybe-clean-stagefeedback-zlib:
33947 @if zlib-bootstrap
33948 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
33949 all-stagefeedback: all-stagefeedback-zlib
33950 TARGET-stagefeedback-zlib = $(TARGET-zlib)
33951 all-stagefeedback-zlib: configure-stagefeedback-zlib
33952 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33953 @r=`${PWD_COMMAND}`; export r; \
33954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33955 $(HOST_EXPORTS) \
33956 $(POSTSTAGE1_HOST_EXPORTS) \
33957 cd $(HOST_SUBDIR)/zlib && \
33958 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
33959 $(TARGET-stagefeedback-zlib)
33961 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
33962 clean-stagefeedback: clean-stagefeedback-zlib
33963 clean-stagefeedback-zlib:
33964 @if [ $(current_stage) = stagefeedback ]; then \
33965 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
33966 else \
33967 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
33968 $(MAKE) stagefeedback-start; \
33969 fi; \
33970 cd $(HOST_SUBDIR)/zlib && \
33971 $(MAKE) $(FLAGS_TO_PASS) \
33972 $(POSTSTAGE1_FLAGS_TO_PASS) \
33973 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
33974 @endif zlib-bootstrap
33980 .PHONY: check-zlib maybe-check-zlib
33981 maybe-check-zlib:
33982 @if zlib
33983 maybe-check-zlib: check-zlib
33985 check-zlib:
33987 @endif zlib
33989 .PHONY: install-zlib maybe-install-zlib
33990 maybe-install-zlib:
33991 @if zlib
33992 maybe-install-zlib: install-zlib
33994 install-zlib:
33996 @endif zlib
33998 # Other targets (info, dvi, pdf, etc.)
34000 .PHONY: maybe-info-zlib info-zlib
34001 maybe-info-zlib:
34002 @if zlib
34003 maybe-info-zlib: info-zlib
34005 info-zlib: \
34006 configure-zlib
34007 @[ -f ./zlib/Makefile ] || exit 0; \
34008 r=`${PWD_COMMAND}`; export r; \
34009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34010 $(HOST_EXPORTS) \
34011 for flag in $(EXTRA_HOST_FLAGS) ; do \
34012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34013 done; \
34014 echo "Doing info in zlib" ; \
34015 (cd $(HOST_SUBDIR)/zlib && \
34016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34018 "RANLIB=$${RANLIB}" \
34019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34020 info) \
34021 || exit 1
34023 @endif zlib
34025 .PHONY: maybe-dvi-zlib dvi-zlib
34026 maybe-dvi-zlib:
34027 @if zlib
34028 maybe-dvi-zlib: dvi-zlib
34030 dvi-zlib: \
34031 configure-zlib
34032 @[ -f ./zlib/Makefile ] || exit 0; \
34033 r=`${PWD_COMMAND}`; export r; \
34034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34035 $(HOST_EXPORTS) \
34036 for flag in $(EXTRA_HOST_FLAGS) ; do \
34037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34038 done; \
34039 echo "Doing dvi in zlib" ; \
34040 (cd $(HOST_SUBDIR)/zlib && \
34041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34043 "RANLIB=$${RANLIB}" \
34044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34045 dvi) \
34046 || exit 1
34048 @endif zlib
34050 .PHONY: maybe-pdf-zlib pdf-zlib
34051 maybe-pdf-zlib:
34052 @if zlib
34053 maybe-pdf-zlib: pdf-zlib
34055 pdf-zlib: \
34056 configure-zlib
34057 @[ -f ./zlib/Makefile ] || exit 0; \
34058 r=`${PWD_COMMAND}`; export r; \
34059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34060 $(HOST_EXPORTS) \
34061 for flag in $(EXTRA_HOST_FLAGS) ; do \
34062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34063 done; \
34064 echo "Doing pdf in zlib" ; \
34065 (cd $(HOST_SUBDIR)/zlib && \
34066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34068 "RANLIB=$${RANLIB}" \
34069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34070 pdf) \
34071 || exit 1
34073 @endif zlib
34075 .PHONY: maybe-html-zlib html-zlib
34076 maybe-html-zlib:
34077 @if zlib
34078 maybe-html-zlib: html-zlib
34080 html-zlib: \
34081 configure-zlib
34082 @[ -f ./zlib/Makefile ] || exit 0; \
34083 r=`${PWD_COMMAND}`; export r; \
34084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34085 $(HOST_EXPORTS) \
34086 for flag in $(EXTRA_HOST_FLAGS) ; do \
34087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34088 done; \
34089 echo "Doing html in zlib" ; \
34090 (cd $(HOST_SUBDIR)/zlib && \
34091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34093 "RANLIB=$${RANLIB}" \
34094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34095 html) \
34096 || exit 1
34098 @endif zlib
34100 .PHONY: maybe-TAGS-zlib TAGS-zlib
34101 maybe-TAGS-zlib:
34102 @if zlib
34103 maybe-TAGS-zlib: TAGS-zlib
34105 TAGS-zlib: \
34106 configure-zlib
34107 @[ -f ./zlib/Makefile ] || exit 0; \
34108 r=`${PWD_COMMAND}`; export r; \
34109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34110 $(HOST_EXPORTS) \
34111 for flag in $(EXTRA_HOST_FLAGS) ; do \
34112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34113 done; \
34114 echo "Doing TAGS in zlib" ; \
34115 (cd $(HOST_SUBDIR)/zlib && \
34116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34118 "RANLIB=$${RANLIB}" \
34119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34120 TAGS) \
34121 || exit 1
34123 @endif zlib
34125 .PHONY: maybe-install-info-zlib install-info-zlib
34126 maybe-install-info-zlib:
34127 @if zlib
34128 maybe-install-info-zlib: install-info-zlib
34130 install-info-zlib: \
34131 configure-zlib \
34132 info-zlib
34133 @[ -f ./zlib/Makefile ] || exit 0; \
34134 r=`${PWD_COMMAND}`; export r; \
34135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34136 $(HOST_EXPORTS) \
34137 for flag in $(EXTRA_HOST_FLAGS) ; do \
34138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34139 done; \
34140 echo "Doing install-info in zlib" ; \
34141 (cd $(HOST_SUBDIR)/zlib && \
34142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34144 "RANLIB=$${RANLIB}" \
34145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34146 install-info) \
34147 || exit 1
34149 @endif zlib
34151 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
34152 maybe-install-pdf-zlib:
34153 @if zlib
34154 maybe-install-pdf-zlib: install-pdf-zlib
34156 install-pdf-zlib: \
34157 configure-zlib \
34158 pdf-zlib
34159 @[ -f ./zlib/Makefile ] || exit 0; \
34160 r=`${PWD_COMMAND}`; export r; \
34161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34162 $(HOST_EXPORTS) \
34163 for flag in $(EXTRA_HOST_FLAGS) ; do \
34164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34165 done; \
34166 echo "Doing install-pdf in zlib" ; \
34167 (cd $(HOST_SUBDIR)/zlib && \
34168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34170 "RANLIB=$${RANLIB}" \
34171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34172 install-pdf) \
34173 || exit 1
34175 @endif zlib
34177 .PHONY: maybe-install-html-zlib install-html-zlib
34178 maybe-install-html-zlib:
34179 @if zlib
34180 maybe-install-html-zlib: install-html-zlib
34182 install-html-zlib: \
34183 configure-zlib \
34184 html-zlib
34185 @[ -f ./zlib/Makefile ] || exit 0; \
34186 r=`${PWD_COMMAND}`; export r; \
34187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34188 $(HOST_EXPORTS) \
34189 for flag in $(EXTRA_HOST_FLAGS) ; do \
34190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34191 done; \
34192 echo "Doing install-html in zlib" ; \
34193 (cd $(HOST_SUBDIR)/zlib && \
34194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34196 "RANLIB=$${RANLIB}" \
34197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34198 install-html) \
34199 || exit 1
34201 @endif zlib
34203 .PHONY: maybe-installcheck-zlib installcheck-zlib
34204 maybe-installcheck-zlib:
34205 @if zlib
34206 maybe-installcheck-zlib: installcheck-zlib
34208 installcheck-zlib: \
34209 configure-zlib
34210 @[ -f ./zlib/Makefile ] || exit 0; \
34211 r=`${PWD_COMMAND}`; export r; \
34212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34213 $(HOST_EXPORTS) \
34214 for flag in $(EXTRA_HOST_FLAGS) ; do \
34215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34216 done; \
34217 echo "Doing installcheck in zlib" ; \
34218 (cd $(HOST_SUBDIR)/zlib && \
34219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34221 "RANLIB=$${RANLIB}" \
34222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34223 installcheck) \
34224 || exit 1
34226 @endif zlib
34228 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
34229 maybe-mostlyclean-zlib:
34230 @if zlib
34231 maybe-mostlyclean-zlib: mostlyclean-zlib
34233 mostlyclean-zlib:
34234 @[ -f ./zlib/Makefile ] || exit 0; \
34235 r=`${PWD_COMMAND}`; export r; \
34236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34237 $(HOST_EXPORTS) \
34238 for flag in $(EXTRA_HOST_FLAGS) ; do \
34239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34240 done; \
34241 echo "Doing mostlyclean in zlib" ; \
34242 (cd $(HOST_SUBDIR)/zlib && \
34243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34245 "RANLIB=$${RANLIB}" \
34246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34247 mostlyclean) \
34248 || exit 1
34250 @endif zlib
34252 .PHONY: maybe-clean-zlib clean-zlib
34253 maybe-clean-zlib:
34254 @if zlib
34255 maybe-clean-zlib: clean-zlib
34257 clean-zlib:
34258 @[ -f ./zlib/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 clean in zlib" ; \
34266 (cd $(HOST_SUBDIR)/zlib && \
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}" \
34271 clean) \
34272 || exit 1
34274 @endif zlib
34276 .PHONY: maybe-distclean-zlib distclean-zlib
34277 maybe-distclean-zlib:
34278 @if zlib
34279 maybe-distclean-zlib: distclean-zlib
34281 distclean-zlib:
34282 @[ -f ./zlib/Makefile ] || exit 0; \
34283 r=`${PWD_COMMAND}`; export r; \
34284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34285 $(HOST_EXPORTS) \
34286 for flag in $(EXTRA_HOST_FLAGS) ; do \
34287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34288 done; \
34289 echo "Doing distclean in zlib" ; \
34290 (cd $(HOST_SUBDIR)/zlib && \
34291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34293 "RANLIB=$${RANLIB}" \
34294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34295 distclean) \
34296 || exit 1
34298 @endif zlib
34300 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
34301 maybe-maintainer-clean-zlib:
34302 @if zlib
34303 maybe-maintainer-clean-zlib: maintainer-clean-zlib
34305 maintainer-clean-zlib:
34306 @[ -f ./zlib/Makefile ] || exit 0; \
34307 r=`${PWD_COMMAND}`; export r; \
34308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34309 $(HOST_EXPORTS) \
34310 for flag in $(EXTRA_HOST_FLAGS) ; do \
34311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34312 done; \
34313 echo "Doing maintainer-clean in zlib" ; \
34314 (cd $(HOST_SUBDIR)/zlib && \
34315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34317 "RANLIB=$${RANLIB}" \
34318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34319 maintainer-clean) \
34320 || exit 1
34322 @endif zlib
34326 .PHONY: configure-gdb maybe-configure-gdb
34327 maybe-configure-gdb:
34328 @if gcc-bootstrap
34329 configure-gdb: stage_current
34330 @endif gcc-bootstrap
34331 @if gdb
34332 maybe-configure-gdb: configure-gdb
34333 configure-gdb:
34334 @: $(MAKE); $(unstage)
34335 @r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
34338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
34339 $(HOST_EXPORTS) \
34340 echo Configuring in $(HOST_SUBDIR)/gdb; \
34341 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
34342 case $(srcdir) in \
34343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34344 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
34345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34346 esac; \
34347 srcdiroption="--srcdir=$${topdir}/gdb"; \
34348 libsrcdir="$$s/gdb"; \
34349 $(SHELL) $${libsrcdir}/configure \
34350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34351 --target=${target_alias} $${srcdiroption} \
34352 || exit 1
34353 @endif gdb
34359 .PHONY: all-gdb maybe-all-gdb
34360 maybe-all-gdb:
34361 @if gcc-bootstrap
34362 all-gdb: stage_current
34363 @endif gcc-bootstrap
34364 @if gdb
34365 TARGET-gdb=all
34366 maybe-all-gdb: all-gdb
34367 all-gdb: configure-gdb
34368 @: $(MAKE); $(unstage)
34369 @r=`${PWD_COMMAND}`; export r; \
34370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34371 $(HOST_EXPORTS) \
34372 (cd $(HOST_SUBDIR)/gdb && \
34373 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
34374 @endif gdb
34379 .PHONY: check-gdb maybe-check-gdb
34380 maybe-check-gdb:
34381 @if gdb
34382 maybe-check-gdb: check-gdb
34384 check-gdb:
34385 @: $(MAKE); $(unstage)
34386 @r=`${PWD_COMMAND}`; export r; \
34387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34388 $(HOST_EXPORTS) \
34389 (cd $(HOST_SUBDIR)/gdb && \
34390 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
34392 @endif gdb
34394 .PHONY: install-gdb maybe-install-gdb
34395 maybe-install-gdb:
34396 @if gdb
34397 maybe-install-gdb: install-gdb
34399 install-gdb: installdirs
34400 @: $(MAKE); $(unstage)
34401 @r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(HOST_EXPORTS) \
34404 (cd $(HOST_SUBDIR)/gdb && \
34405 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
34407 @endif gdb
34409 # Other targets (info, dvi, pdf, etc.)
34411 .PHONY: maybe-info-gdb info-gdb
34412 maybe-info-gdb:
34413 @if gdb
34414 maybe-info-gdb: info-gdb
34416 info-gdb: \
34417 configure-gdb
34418 @: $(MAKE); $(unstage)
34419 @[ -f ./gdb/Makefile ] || exit 0; \
34420 r=`${PWD_COMMAND}`; export r; \
34421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34422 $(HOST_EXPORTS) \
34423 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34425 done; \
34426 echo "Doing info in gdb" ; \
34427 (cd $(HOST_SUBDIR)/gdb && \
34428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34430 "RANLIB=$${RANLIB}" \
34431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34432 info) \
34433 || exit 1
34435 @endif gdb
34437 .PHONY: maybe-dvi-gdb dvi-gdb
34438 maybe-dvi-gdb:
34439 @if gdb
34440 maybe-dvi-gdb: dvi-gdb
34442 dvi-gdb: \
34443 configure-gdb
34444 @: $(MAKE); $(unstage)
34445 @[ -f ./gdb/Makefile ] || exit 0; \
34446 r=`${PWD_COMMAND}`; export r; \
34447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34448 $(HOST_EXPORTS) \
34449 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34451 done; \
34452 echo "Doing dvi in gdb" ; \
34453 (cd $(HOST_SUBDIR)/gdb && \
34454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34456 "RANLIB=$${RANLIB}" \
34457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34458 dvi) \
34459 || exit 1
34461 @endif gdb
34463 .PHONY: maybe-pdf-gdb pdf-gdb
34464 maybe-pdf-gdb:
34465 @if gdb
34466 maybe-pdf-gdb: pdf-gdb
34468 pdf-gdb: \
34469 configure-gdb
34470 @: $(MAKE); $(unstage)
34471 @[ -f ./gdb/Makefile ] || exit 0; \
34472 r=`${PWD_COMMAND}`; export r; \
34473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34474 $(HOST_EXPORTS) \
34475 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34477 done; \
34478 echo "Doing pdf in gdb" ; \
34479 (cd $(HOST_SUBDIR)/gdb && \
34480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34482 "RANLIB=$${RANLIB}" \
34483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34484 pdf) \
34485 || exit 1
34487 @endif gdb
34489 .PHONY: maybe-html-gdb html-gdb
34490 maybe-html-gdb:
34491 @if gdb
34492 maybe-html-gdb: html-gdb
34494 html-gdb: \
34495 configure-gdb
34496 @: $(MAKE); $(unstage)
34497 @[ -f ./gdb/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) $(X11_FLAGS_TO_PASS); do \
34502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34503 done; \
34504 echo "Doing html in gdb" ; \
34505 (cd $(HOST_SUBDIR)/gdb && \
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}" \
34510 html) \
34511 || exit 1
34513 @endif gdb
34515 .PHONY: maybe-TAGS-gdb TAGS-gdb
34516 maybe-TAGS-gdb:
34517 @if gdb
34518 maybe-TAGS-gdb: TAGS-gdb
34520 TAGS-gdb: \
34521 configure-gdb
34522 @: $(MAKE); $(unstage)
34523 @[ -f ./gdb/Makefile ] || exit 0; \
34524 r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 $(HOST_EXPORTS) \
34527 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34529 done; \
34530 echo "Doing TAGS in gdb" ; \
34531 (cd $(HOST_SUBDIR)/gdb && \
34532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34534 "RANLIB=$${RANLIB}" \
34535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34536 TAGS) \
34537 || exit 1
34539 @endif gdb
34541 .PHONY: maybe-install-info-gdb install-info-gdb
34542 maybe-install-info-gdb:
34543 @if gdb
34544 maybe-install-info-gdb: install-info-gdb
34546 install-info-gdb: \
34547 configure-gdb \
34548 info-gdb
34549 @: $(MAKE); $(unstage)
34550 @[ -f ./gdb/Makefile ] || exit 0; \
34551 r=`${PWD_COMMAND}`; export r; \
34552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34553 $(HOST_EXPORTS) \
34554 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 echo "Doing install-info in gdb" ; \
34558 (cd $(HOST_SUBDIR)/gdb && \
34559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34561 "RANLIB=$${RANLIB}" \
34562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34563 install-info) \
34564 || exit 1
34566 @endif gdb
34568 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
34569 maybe-install-pdf-gdb:
34570 @if gdb
34571 maybe-install-pdf-gdb: install-pdf-gdb
34573 install-pdf-gdb: \
34574 configure-gdb \
34575 pdf-gdb
34576 @: $(MAKE); $(unstage)
34577 @[ -f ./gdb/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) $(X11_FLAGS_TO_PASS); do \
34582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34583 done; \
34584 echo "Doing install-pdf in gdb" ; \
34585 (cd $(HOST_SUBDIR)/gdb && \
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}" \
34590 install-pdf) \
34591 || exit 1
34593 @endif gdb
34595 .PHONY: maybe-install-html-gdb install-html-gdb
34596 maybe-install-html-gdb:
34597 @if gdb
34598 maybe-install-html-gdb: install-html-gdb
34600 install-html-gdb: \
34601 configure-gdb \
34602 html-gdb
34603 @: $(MAKE); $(unstage)
34604 @[ -f ./gdb/Makefile ] || exit 0; \
34605 r=`${PWD_COMMAND}`; export r; \
34606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34607 $(HOST_EXPORTS) \
34608 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34610 done; \
34611 echo "Doing install-html in gdb" ; \
34612 (cd $(HOST_SUBDIR)/gdb && \
34613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34615 "RANLIB=$${RANLIB}" \
34616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34617 install-html) \
34618 || exit 1
34620 @endif gdb
34622 .PHONY: maybe-installcheck-gdb installcheck-gdb
34623 maybe-installcheck-gdb:
34624 @if gdb
34625 maybe-installcheck-gdb: installcheck-gdb
34627 installcheck-gdb: \
34628 configure-gdb
34629 @: $(MAKE); $(unstage)
34630 @[ -f ./gdb/Makefile ] || exit 0; \
34631 r=`${PWD_COMMAND}`; export r; \
34632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34633 $(HOST_EXPORTS) \
34634 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34636 done; \
34637 echo "Doing installcheck in gdb" ; \
34638 (cd $(HOST_SUBDIR)/gdb && \
34639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34641 "RANLIB=$${RANLIB}" \
34642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34643 installcheck) \
34644 || exit 1
34646 @endif gdb
34648 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
34649 maybe-mostlyclean-gdb:
34650 @if gdb
34651 maybe-mostlyclean-gdb: mostlyclean-gdb
34653 mostlyclean-gdb:
34654 @: $(MAKE); $(unstage)
34655 @[ -f ./gdb/Makefile ] || exit 0; \
34656 r=`${PWD_COMMAND}`; export r; \
34657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34658 $(HOST_EXPORTS) \
34659 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34661 done; \
34662 echo "Doing mostlyclean in gdb" ; \
34663 (cd $(HOST_SUBDIR)/gdb && \
34664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34666 "RANLIB=$${RANLIB}" \
34667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34668 mostlyclean) \
34669 || exit 1
34671 @endif gdb
34673 .PHONY: maybe-clean-gdb clean-gdb
34674 maybe-clean-gdb:
34675 @if gdb
34676 maybe-clean-gdb: clean-gdb
34678 clean-gdb:
34679 @: $(MAKE); $(unstage)
34680 @[ -f ./gdb/Makefile ] || exit 0; \
34681 r=`${PWD_COMMAND}`; export r; \
34682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34683 $(HOST_EXPORTS) \
34684 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34686 done; \
34687 echo "Doing clean in gdb" ; \
34688 (cd $(HOST_SUBDIR)/gdb && \
34689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34691 "RANLIB=$${RANLIB}" \
34692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34693 clean) \
34694 || exit 1
34696 @endif gdb
34698 .PHONY: maybe-distclean-gdb distclean-gdb
34699 maybe-distclean-gdb:
34700 @if gdb
34701 maybe-distclean-gdb: distclean-gdb
34703 distclean-gdb:
34704 @: $(MAKE); $(unstage)
34705 @[ -f ./gdb/Makefile ] || exit 0; \
34706 r=`${PWD_COMMAND}`; export r; \
34707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34708 $(HOST_EXPORTS) \
34709 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34711 done; \
34712 echo "Doing distclean in gdb" ; \
34713 (cd $(HOST_SUBDIR)/gdb && \
34714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34716 "RANLIB=$${RANLIB}" \
34717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34718 distclean) \
34719 || exit 1
34721 @endif gdb
34723 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
34724 maybe-maintainer-clean-gdb:
34725 @if gdb
34726 maybe-maintainer-clean-gdb: maintainer-clean-gdb
34728 maintainer-clean-gdb:
34729 @: $(MAKE); $(unstage)
34730 @[ -f ./gdb/Makefile ] || exit 0; \
34731 r=`${PWD_COMMAND}`; export r; \
34732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34733 $(HOST_EXPORTS) \
34734 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34736 done; \
34737 echo "Doing maintainer-clean in gdb" ; \
34738 (cd $(HOST_SUBDIR)/gdb && \
34739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34741 "RANLIB=$${RANLIB}" \
34742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34743 maintainer-clean) \
34744 || exit 1
34746 @endif gdb
34750 .PHONY: configure-expect maybe-configure-expect
34751 maybe-configure-expect:
34752 @if gcc-bootstrap
34753 configure-expect: stage_current
34754 @endif gcc-bootstrap
34755 @if expect
34756 maybe-configure-expect: configure-expect
34757 configure-expect:
34758 @: $(MAKE); $(unstage)
34759 @r=`${PWD_COMMAND}`; export r; \
34760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34761 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
34762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
34763 $(HOST_EXPORTS) \
34764 echo Configuring in $(HOST_SUBDIR)/expect; \
34765 cd "$(HOST_SUBDIR)/expect" || exit 1; \
34766 case $(srcdir) in \
34767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34768 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
34769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34770 esac; \
34771 srcdiroption="--srcdir=$${topdir}/expect"; \
34772 libsrcdir="$$s/expect"; \
34773 $(SHELL) $${libsrcdir}/configure \
34774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34775 --target=${target_alias} $${srcdiroption} \
34776 || exit 1
34777 @endif expect
34783 .PHONY: all-expect maybe-all-expect
34784 maybe-all-expect:
34785 @if gcc-bootstrap
34786 all-expect: stage_current
34787 @endif gcc-bootstrap
34788 @if expect
34789 TARGET-expect=all
34790 maybe-all-expect: all-expect
34791 all-expect: configure-expect
34792 @: $(MAKE); $(unstage)
34793 @r=`${PWD_COMMAND}`; export r; \
34794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34795 $(HOST_EXPORTS) \
34796 (cd $(HOST_SUBDIR)/expect && \
34797 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
34798 @endif expect
34803 .PHONY: check-expect maybe-check-expect
34804 maybe-check-expect:
34805 @if expect
34806 maybe-check-expect: check-expect
34808 check-expect:
34809 @: $(MAKE); $(unstage)
34810 @r=`${PWD_COMMAND}`; export r; \
34811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34812 $(HOST_EXPORTS) \
34813 (cd $(HOST_SUBDIR)/expect && \
34814 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
34816 @endif expect
34818 .PHONY: install-expect maybe-install-expect
34819 maybe-install-expect:
34820 @if expect
34821 maybe-install-expect: install-expect
34823 install-expect: installdirs
34824 @: $(MAKE); $(unstage)
34825 @r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(HOST_EXPORTS) \
34828 (cd $(HOST_SUBDIR)/expect && \
34829 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
34831 @endif expect
34833 # Other targets (info, dvi, pdf, etc.)
34835 .PHONY: maybe-info-expect info-expect
34836 maybe-info-expect:
34837 @if expect
34838 maybe-info-expect: info-expect
34840 info-expect: \
34841 configure-expect
34842 @: $(MAKE); $(unstage)
34843 @[ -f ./expect/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) $(X11_FLAGS_TO_PASS); do \
34848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34849 done; \
34850 echo "Doing info in expect" ; \
34851 (cd $(HOST_SUBDIR)/expect && \
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}" \
34856 info) \
34857 || exit 1
34859 @endif expect
34861 .PHONY: maybe-dvi-expect dvi-expect
34862 maybe-dvi-expect:
34863 @if expect
34864 maybe-dvi-expect: dvi-expect
34866 dvi-expect: \
34867 configure-expect
34868 @: $(MAKE); $(unstage)
34869 @[ -f ./expect/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) $(X11_FLAGS_TO_PASS); do \
34874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34875 done; \
34876 echo "Doing dvi in expect" ; \
34877 (cd $(HOST_SUBDIR)/expect && \
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}" \
34882 dvi) \
34883 || exit 1
34885 @endif expect
34887 .PHONY: maybe-pdf-expect pdf-expect
34888 maybe-pdf-expect:
34889 @if expect
34890 maybe-pdf-expect: pdf-expect
34892 pdf-expect: \
34893 configure-expect
34894 @: $(MAKE); $(unstage)
34895 @[ -f ./expect/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) $(X11_FLAGS_TO_PASS); do \
34900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34901 done; \
34902 echo "Doing pdf in expect" ; \
34903 (cd $(HOST_SUBDIR)/expect && \
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}" \
34908 pdf) \
34909 || exit 1
34911 @endif expect
34913 .PHONY: maybe-html-expect html-expect
34914 maybe-html-expect:
34915 @if expect
34916 maybe-html-expect: html-expect
34918 html-expect: \
34919 configure-expect
34920 @: $(MAKE); $(unstage)
34921 @[ -f ./expect/Makefile ] || exit 0; \
34922 r=`${PWD_COMMAND}`; export r; \
34923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34924 $(HOST_EXPORTS) \
34925 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34927 done; \
34928 echo "Doing html in expect" ; \
34929 (cd $(HOST_SUBDIR)/expect && \
34930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34932 "RANLIB=$${RANLIB}" \
34933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34934 html) \
34935 || exit 1
34937 @endif expect
34939 .PHONY: maybe-TAGS-expect TAGS-expect
34940 maybe-TAGS-expect:
34941 @if expect
34942 maybe-TAGS-expect: TAGS-expect
34944 TAGS-expect: \
34945 configure-expect
34946 @: $(MAKE); $(unstage)
34947 @[ -f ./expect/Makefile ] || exit 0; \
34948 r=`${PWD_COMMAND}`; export r; \
34949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34950 $(HOST_EXPORTS) \
34951 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34953 done; \
34954 echo "Doing TAGS in expect" ; \
34955 (cd $(HOST_SUBDIR)/expect && \
34956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34958 "RANLIB=$${RANLIB}" \
34959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34960 TAGS) \
34961 || exit 1
34963 @endif expect
34965 .PHONY: maybe-install-info-expect install-info-expect
34966 maybe-install-info-expect:
34967 @if expect
34968 maybe-install-info-expect: install-info-expect
34970 install-info-expect: \
34971 configure-expect \
34972 info-expect
34973 @: $(MAKE); $(unstage)
34974 @[ -f ./expect/Makefile ] || exit 0; \
34975 r=`${PWD_COMMAND}`; export r; \
34976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34977 $(HOST_EXPORTS) \
34978 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
34979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34980 done; \
34981 echo "Doing install-info in expect" ; \
34982 (cd $(HOST_SUBDIR)/expect && \
34983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34985 "RANLIB=$${RANLIB}" \
34986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34987 install-info) \
34988 || exit 1
34990 @endif expect
34992 .PHONY: maybe-install-pdf-expect install-pdf-expect
34993 maybe-install-pdf-expect:
34994 @if expect
34995 maybe-install-pdf-expect: install-pdf-expect
34997 install-pdf-expect: \
34998 configure-expect \
34999 pdf-expect
35000 @: $(MAKE); $(unstage)
35001 @[ -f ./expect/Makefile ] || exit 0; \
35002 r=`${PWD_COMMAND}`; export r; \
35003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35004 $(HOST_EXPORTS) \
35005 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35007 done; \
35008 echo "Doing install-pdf in expect" ; \
35009 (cd $(HOST_SUBDIR)/expect && \
35010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35012 "RANLIB=$${RANLIB}" \
35013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35014 install-pdf) \
35015 || exit 1
35017 @endif expect
35019 .PHONY: maybe-install-html-expect install-html-expect
35020 maybe-install-html-expect:
35021 @if expect
35022 maybe-install-html-expect: install-html-expect
35024 install-html-expect: \
35025 configure-expect \
35026 html-expect
35027 @: $(MAKE); $(unstage)
35028 @[ -f ./expect/Makefile ] || exit 0; \
35029 r=`${PWD_COMMAND}`; export r; \
35030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35031 $(HOST_EXPORTS) \
35032 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35034 done; \
35035 echo "Doing install-html in expect" ; \
35036 (cd $(HOST_SUBDIR)/expect && \
35037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35039 "RANLIB=$${RANLIB}" \
35040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35041 install-html) \
35042 || exit 1
35044 @endif expect
35046 .PHONY: maybe-installcheck-expect installcheck-expect
35047 maybe-installcheck-expect:
35048 @if expect
35049 maybe-installcheck-expect: installcheck-expect
35051 installcheck-expect: \
35052 configure-expect
35053 @: $(MAKE); $(unstage)
35054 @[ -f ./expect/Makefile ] || exit 0; \
35055 r=`${PWD_COMMAND}`; export r; \
35056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35057 $(HOST_EXPORTS) \
35058 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35060 done; \
35061 echo "Doing installcheck in expect" ; \
35062 (cd $(HOST_SUBDIR)/expect && \
35063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35065 "RANLIB=$${RANLIB}" \
35066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35067 installcheck) \
35068 || exit 1
35070 @endif expect
35072 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
35073 maybe-mostlyclean-expect:
35074 @if expect
35075 maybe-mostlyclean-expect: mostlyclean-expect
35077 mostlyclean-expect:
35078 @: $(MAKE); $(unstage)
35079 @[ -f ./expect/Makefile ] || exit 0; \
35080 r=`${PWD_COMMAND}`; export r; \
35081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35082 $(HOST_EXPORTS) \
35083 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35085 done; \
35086 echo "Doing mostlyclean in expect" ; \
35087 (cd $(HOST_SUBDIR)/expect && \
35088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35090 "RANLIB=$${RANLIB}" \
35091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35092 mostlyclean) \
35093 || exit 1
35095 @endif expect
35097 .PHONY: maybe-clean-expect clean-expect
35098 maybe-clean-expect:
35099 @if expect
35100 maybe-clean-expect: clean-expect
35102 clean-expect:
35103 @: $(MAKE); $(unstage)
35104 @[ -f ./expect/Makefile ] || exit 0; \
35105 r=`${PWD_COMMAND}`; export r; \
35106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35107 $(HOST_EXPORTS) \
35108 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35110 done; \
35111 echo "Doing clean in expect" ; \
35112 (cd $(HOST_SUBDIR)/expect && \
35113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35115 "RANLIB=$${RANLIB}" \
35116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35117 clean) \
35118 || exit 1
35120 @endif expect
35122 .PHONY: maybe-distclean-expect distclean-expect
35123 maybe-distclean-expect:
35124 @if expect
35125 maybe-distclean-expect: distclean-expect
35127 distclean-expect:
35128 @: $(MAKE); $(unstage)
35129 @[ -f ./expect/Makefile ] || exit 0; \
35130 r=`${PWD_COMMAND}`; export r; \
35131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35132 $(HOST_EXPORTS) \
35133 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35135 done; \
35136 echo "Doing distclean in expect" ; \
35137 (cd $(HOST_SUBDIR)/expect && \
35138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35140 "RANLIB=$${RANLIB}" \
35141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35142 distclean) \
35143 || exit 1
35145 @endif expect
35147 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
35148 maybe-maintainer-clean-expect:
35149 @if expect
35150 maybe-maintainer-clean-expect: maintainer-clean-expect
35152 maintainer-clean-expect:
35153 @: $(MAKE); $(unstage)
35154 @[ -f ./expect/Makefile ] || exit 0; \
35155 r=`${PWD_COMMAND}`; export r; \
35156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35157 $(HOST_EXPORTS) \
35158 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35160 done; \
35161 echo "Doing maintainer-clean in expect" ; \
35162 (cd $(HOST_SUBDIR)/expect && \
35163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35165 "RANLIB=$${RANLIB}" \
35166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35167 maintainer-clean) \
35168 || exit 1
35170 @endif expect
35174 .PHONY: configure-guile maybe-configure-guile
35175 maybe-configure-guile:
35176 @if gcc-bootstrap
35177 configure-guile: stage_current
35178 @endif gcc-bootstrap
35179 @if guile
35180 maybe-configure-guile: configure-guile
35181 configure-guile:
35182 @: $(MAKE); $(unstage)
35183 @r=`${PWD_COMMAND}`; export r; \
35184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35185 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
35186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
35187 $(HOST_EXPORTS) \
35188 echo Configuring in $(HOST_SUBDIR)/guile; \
35189 cd "$(HOST_SUBDIR)/guile" || exit 1; \
35190 case $(srcdir) in \
35191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35192 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
35193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35194 esac; \
35195 srcdiroption="--srcdir=$${topdir}/guile"; \
35196 libsrcdir="$$s/guile"; \
35197 $(SHELL) $${libsrcdir}/configure \
35198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35199 --target=${target_alias} $${srcdiroption} \
35200 || exit 1
35201 @endif guile
35207 .PHONY: all-guile maybe-all-guile
35208 maybe-all-guile:
35209 @if gcc-bootstrap
35210 all-guile: stage_current
35211 @endif gcc-bootstrap
35212 @if guile
35213 TARGET-guile=all
35214 maybe-all-guile: all-guile
35215 all-guile: configure-guile
35216 @: $(MAKE); $(unstage)
35217 @r=`${PWD_COMMAND}`; export r; \
35218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35219 $(HOST_EXPORTS) \
35220 (cd $(HOST_SUBDIR)/guile && \
35221 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
35222 @endif guile
35227 .PHONY: check-guile maybe-check-guile
35228 maybe-check-guile:
35229 @if guile
35230 maybe-check-guile: check-guile
35232 check-guile:
35233 @: $(MAKE); $(unstage)
35234 @r=`${PWD_COMMAND}`; export r; \
35235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35236 $(HOST_EXPORTS) \
35237 (cd $(HOST_SUBDIR)/guile && \
35238 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
35240 @endif guile
35242 .PHONY: install-guile maybe-install-guile
35243 maybe-install-guile:
35244 @if guile
35245 maybe-install-guile: install-guile
35247 install-guile: installdirs
35248 @: $(MAKE); $(unstage)
35249 @r=`${PWD_COMMAND}`; export r; \
35250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35251 $(HOST_EXPORTS) \
35252 (cd $(HOST_SUBDIR)/guile && \
35253 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
35255 @endif guile
35257 # Other targets (info, dvi, pdf, etc.)
35259 .PHONY: maybe-info-guile info-guile
35260 maybe-info-guile:
35261 @if guile
35262 maybe-info-guile: info-guile
35264 info-guile: \
35265 configure-guile
35266 @: $(MAKE); $(unstage)
35267 @[ -f ./guile/Makefile ] || exit 0; \
35268 r=`${PWD_COMMAND}`; export r; \
35269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35270 $(HOST_EXPORTS) \
35271 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35273 done; \
35274 echo "Doing info in guile" ; \
35275 (cd $(HOST_SUBDIR)/guile && \
35276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35278 "RANLIB=$${RANLIB}" \
35279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35280 info) \
35281 || exit 1
35283 @endif guile
35285 .PHONY: maybe-dvi-guile dvi-guile
35286 maybe-dvi-guile:
35287 @if guile
35288 maybe-dvi-guile: dvi-guile
35290 dvi-guile: \
35291 configure-guile
35292 @: $(MAKE); $(unstage)
35293 @[ -f ./guile/Makefile ] || exit 0; \
35294 r=`${PWD_COMMAND}`; export r; \
35295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35296 $(HOST_EXPORTS) \
35297 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35299 done; \
35300 echo "Doing dvi in guile" ; \
35301 (cd $(HOST_SUBDIR)/guile && \
35302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35304 "RANLIB=$${RANLIB}" \
35305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35306 dvi) \
35307 || exit 1
35309 @endif guile
35311 .PHONY: maybe-pdf-guile pdf-guile
35312 maybe-pdf-guile:
35313 @if guile
35314 maybe-pdf-guile: pdf-guile
35316 pdf-guile: \
35317 configure-guile
35318 @: $(MAKE); $(unstage)
35319 @[ -f ./guile/Makefile ] || exit 0; \
35320 r=`${PWD_COMMAND}`; export r; \
35321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35322 $(HOST_EXPORTS) \
35323 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35325 done; \
35326 echo "Doing pdf in guile" ; \
35327 (cd $(HOST_SUBDIR)/guile && \
35328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35330 "RANLIB=$${RANLIB}" \
35331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35332 pdf) \
35333 || exit 1
35335 @endif guile
35337 .PHONY: maybe-html-guile html-guile
35338 maybe-html-guile:
35339 @if guile
35340 maybe-html-guile: html-guile
35342 html-guile: \
35343 configure-guile
35344 @: $(MAKE); $(unstage)
35345 @[ -f ./guile/Makefile ] || exit 0; \
35346 r=`${PWD_COMMAND}`; export r; \
35347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35348 $(HOST_EXPORTS) \
35349 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35351 done; \
35352 echo "Doing html in guile" ; \
35353 (cd $(HOST_SUBDIR)/guile && \
35354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35356 "RANLIB=$${RANLIB}" \
35357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35358 html) \
35359 || exit 1
35361 @endif guile
35363 .PHONY: maybe-TAGS-guile TAGS-guile
35364 maybe-TAGS-guile:
35365 @if guile
35366 maybe-TAGS-guile: TAGS-guile
35368 TAGS-guile: \
35369 configure-guile
35370 @: $(MAKE); $(unstage)
35371 @[ -f ./guile/Makefile ] || exit 0; \
35372 r=`${PWD_COMMAND}`; export r; \
35373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35374 $(HOST_EXPORTS) \
35375 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35377 done; \
35378 echo "Doing TAGS in guile" ; \
35379 (cd $(HOST_SUBDIR)/guile && \
35380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35382 "RANLIB=$${RANLIB}" \
35383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35384 TAGS) \
35385 || exit 1
35387 @endif guile
35389 .PHONY: maybe-install-info-guile install-info-guile
35390 maybe-install-info-guile:
35391 @if guile
35392 maybe-install-info-guile: install-info-guile
35394 install-info-guile: \
35395 configure-guile \
35396 info-guile
35397 @: $(MAKE); $(unstage)
35398 @[ -f ./guile/Makefile ] || exit 0; \
35399 r=`${PWD_COMMAND}`; export r; \
35400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35401 $(HOST_EXPORTS) \
35402 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35404 done; \
35405 echo "Doing install-info in guile" ; \
35406 (cd $(HOST_SUBDIR)/guile && \
35407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35409 "RANLIB=$${RANLIB}" \
35410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35411 install-info) \
35412 || exit 1
35414 @endif guile
35416 .PHONY: maybe-install-pdf-guile install-pdf-guile
35417 maybe-install-pdf-guile:
35418 @if guile
35419 maybe-install-pdf-guile: install-pdf-guile
35421 install-pdf-guile: \
35422 configure-guile \
35423 pdf-guile
35424 @: $(MAKE); $(unstage)
35425 @[ -f ./guile/Makefile ] || exit 0; \
35426 r=`${PWD_COMMAND}`; export r; \
35427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35428 $(HOST_EXPORTS) \
35429 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35431 done; \
35432 echo "Doing install-pdf in guile" ; \
35433 (cd $(HOST_SUBDIR)/guile && \
35434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35436 "RANLIB=$${RANLIB}" \
35437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35438 install-pdf) \
35439 || exit 1
35441 @endif guile
35443 .PHONY: maybe-install-html-guile install-html-guile
35444 maybe-install-html-guile:
35445 @if guile
35446 maybe-install-html-guile: install-html-guile
35448 install-html-guile: \
35449 configure-guile \
35450 html-guile
35451 @: $(MAKE); $(unstage)
35452 @[ -f ./guile/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) $(X11_FLAGS_TO_PASS); do \
35457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35458 done; \
35459 echo "Doing install-html in guile" ; \
35460 (cd $(HOST_SUBDIR)/guile && \
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}" \
35465 install-html) \
35466 || exit 1
35468 @endif guile
35470 .PHONY: maybe-installcheck-guile installcheck-guile
35471 maybe-installcheck-guile:
35472 @if guile
35473 maybe-installcheck-guile: installcheck-guile
35475 installcheck-guile: \
35476 configure-guile
35477 @: $(MAKE); $(unstage)
35478 @[ -f ./guile/Makefile ] || exit 0; \
35479 r=`${PWD_COMMAND}`; export r; \
35480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35481 $(HOST_EXPORTS) \
35482 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35484 done; \
35485 echo "Doing installcheck in guile" ; \
35486 (cd $(HOST_SUBDIR)/guile && \
35487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35489 "RANLIB=$${RANLIB}" \
35490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35491 installcheck) \
35492 || exit 1
35494 @endif guile
35496 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
35497 maybe-mostlyclean-guile:
35498 @if guile
35499 maybe-mostlyclean-guile: mostlyclean-guile
35501 mostlyclean-guile:
35502 @: $(MAKE); $(unstage)
35503 @[ -f ./guile/Makefile ] || exit 0; \
35504 r=`${PWD_COMMAND}`; export r; \
35505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35506 $(HOST_EXPORTS) \
35507 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35509 done; \
35510 echo "Doing mostlyclean in guile" ; \
35511 (cd $(HOST_SUBDIR)/guile && \
35512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35514 "RANLIB=$${RANLIB}" \
35515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35516 mostlyclean) \
35517 || exit 1
35519 @endif guile
35521 .PHONY: maybe-clean-guile clean-guile
35522 maybe-clean-guile:
35523 @if guile
35524 maybe-clean-guile: clean-guile
35526 clean-guile:
35527 @: $(MAKE); $(unstage)
35528 @[ -f ./guile/Makefile ] || exit 0; \
35529 r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 $(HOST_EXPORTS) \
35532 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35534 done; \
35535 echo "Doing clean in guile" ; \
35536 (cd $(HOST_SUBDIR)/guile && \
35537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35539 "RANLIB=$${RANLIB}" \
35540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35541 clean) \
35542 || exit 1
35544 @endif guile
35546 .PHONY: maybe-distclean-guile distclean-guile
35547 maybe-distclean-guile:
35548 @if guile
35549 maybe-distclean-guile: distclean-guile
35551 distclean-guile:
35552 @: $(MAKE); $(unstage)
35553 @[ -f ./guile/Makefile ] || exit 0; \
35554 r=`${PWD_COMMAND}`; export r; \
35555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35556 $(HOST_EXPORTS) \
35557 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35559 done; \
35560 echo "Doing distclean in guile" ; \
35561 (cd $(HOST_SUBDIR)/guile && \
35562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35564 "RANLIB=$${RANLIB}" \
35565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35566 distclean) \
35567 || exit 1
35569 @endif guile
35571 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
35572 maybe-maintainer-clean-guile:
35573 @if guile
35574 maybe-maintainer-clean-guile: maintainer-clean-guile
35576 maintainer-clean-guile:
35577 @: $(MAKE); $(unstage)
35578 @[ -f ./guile/Makefile ] || exit 0; \
35579 r=`${PWD_COMMAND}`; export r; \
35580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35581 $(HOST_EXPORTS) \
35582 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35584 done; \
35585 echo "Doing maintainer-clean in guile" ; \
35586 (cd $(HOST_SUBDIR)/guile && \
35587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35589 "RANLIB=$${RANLIB}" \
35590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35591 maintainer-clean) \
35592 || exit 1
35594 @endif guile
35598 .PHONY: configure-tk maybe-configure-tk
35599 maybe-configure-tk:
35600 @if gcc-bootstrap
35601 configure-tk: stage_current
35602 @endif gcc-bootstrap
35603 @if tk
35604 maybe-configure-tk: configure-tk
35605 configure-tk:
35606 @: $(MAKE); $(unstage)
35607 @r=`${PWD_COMMAND}`; export r; \
35608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35609 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
35610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
35611 $(HOST_EXPORTS) \
35612 echo Configuring in $(HOST_SUBDIR)/tk; \
35613 cd "$(HOST_SUBDIR)/tk" || exit 1; \
35614 case $(srcdir) in \
35615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35616 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
35617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35618 esac; \
35619 srcdiroption="--srcdir=$${topdir}/tk"; \
35620 libsrcdir="$$s/tk"; \
35621 $(SHELL) $${libsrcdir}/configure \
35622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
35623 --target=${target_alias} $${srcdiroption} \
35624 || exit 1
35625 @endif tk
35631 .PHONY: all-tk maybe-all-tk
35632 maybe-all-tk:
35633 @if gcc-bootstrap
35634 all-tk: stage_current
35635 @endif gcc-bootstrap
35636 @if tk
35637 TARGET-tk=all
35638 maybe-all-tk: all-tk
35639 all-tk: configure-tk
35640 @: $(MAKE); $(unstage)
35641 @r=`${PWD_COMMAND}`; export r; \
35642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35643 $(HOST_EXPORTS) \
35644 (cd $(HOST_SUBDIR)/tk && \
35645 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
35646 @endif tk
35651 .PHONY: check-tk maybe-check-tk
35652 maybe-check-tk:
35653 @if tk
35654 maybe-check-tk: check-tk
35656 check-tk:
35657 @: $(MAKE); $(unstage)
35658 @r=`${PWD_COMMAND}`; export r; \
35659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35660 $(HOST_EXPORTS) \
35661 (cd $(HOST_SUBDIR)/tk && \
35662 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
35664 @endif tk
35666 .PHONY: install-tk maybe-install-tk
35667 maybe-install-tk:
35668 @if tk
35669 maybe-install-tk: install-tk
35671 install-tk: installdirs
35672 @: $(MAKE); $(unstage)
35673 @r=`${PWD_COMMAND}`; export r; \
35674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35675 $(HOST_EXPORTS) \
35676 (cd $(HOST_SUBDIR)/tk && \
35677 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
35679 @endif tk
35681 # Other targets (info, dvi, pdf, etc.)
35683 .PHONY: maybe-info-tk info-tk
35684 maybe-info-tk:
35685 @if tk
35686 maybe-info-tk: info-tk
35688 info-tk: \
35689 configure-tk
35690 @: $(MAKE); $(unstage)
35691 @[ -f ./tk/Makefile ] || exit 0; \
35692 r=`${PWD_COMMAND}`; export r; \
35693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35694 $(HOST_EXPORTS) \
35695 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35697 done; \
35698 echo "Doing info in tk" ; \
35699 (cd $(HOST_SUBDIR)/tk && \
35700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35702 "RANLIB=$${RANLIB}" \
35703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35704 info) \
35705 || exit 1
35707 @endif tk
35709 .PHONY: maybe-dvi-tk dvi-tk
35710 maybe-dvi-tk:
35711 @if tk
35712 maybe-dvi-tk: dvi-tk
35714 dvi-tk: \
35715 configure-tk
35716 @: $(MAKE); $(unstage)
35717 @[ -f ./tk/Makefile ] || exit 0; \
35718 r=`${PWD_COMMAND}`; export r; \
35719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35720 $(HOST_EXPORTS) \
35721 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35723 done; \
35724 echo "Doing dvi in tk" ; \
35725 (cd $(HOST_SUBDIR)/tk && \
35726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35728 "RANLIB=$${RANLIB}" \
35729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35730 dvi) \
35731 || exit 1
35733 @endif tk
35735 .PHONY: maybe-pdf-tk pdf-tk
35736 maybe-pdf-tk:
35737 @if tk
35738 maybe-pdf-tk: pdf-tk
35740 pdf-tk: \
35741 configure-tk
35742 @: $(MAKE); $(unstage)
35743 @[ -f ./tk/Makefile ] || exit 0; \
35744 r=`${PWD_COMMAND}`; export r; \
35745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35746 $(HOST_EXPORTS) \
35747 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35749 done; \
35750 echo "Doing pdf in tk" ; \
35751 (cd $(HOST_SUBDIR)/tk && \
35752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35754 "RANLIB=$${RANLIB}" \
35755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35756 pdf) \
35757 || exit 1
35759 @endif tk
35761 .PHONY: maybe-html-tk html-tk
35762 maybe-html-tk:
35763 @if tk
35764 maybe-html-tk: html-tk
35766 html-tk: \
35767 configure-tk
35768 @: $(MAKE); $(unstage)
35769 @[ -f ./tk/Makefile ] || exit 0; \
35770 r=`${PWD_COMMAND}`; export r; \
35771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35772 $(HOST_EXPORTS) \
35773 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35775 done; \
35776 echo "Doing html in tk" ; \
35777 (cd $(HOST_SUBDIR)/tk && \
35778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35780 "RANLIB=$${RANLIB}" \
35781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35782 html) \
35783 || exit 1
35785 @endif tk
35787 .PHONY: maybe-TAGS-tk TAGS-tk
35788 maybe-TAGS-tk:
35789 @if tk
35790 maybe-TAGS-tk: TAGS-tk
35792 TAGS-tk: \
35793 configure-tk
35794 @: $(MAKE); $(unstage)
35795 @[ -f ./tk/Makefile ] || exit 0; \
35796 r=`${PWD_COMMAND}`; export r; \
35797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35798 $(HOST_EXPORTS) \
35799 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35801 done; \
35802 echo "Doing TAGS in tk" ; \
35803 (cd $(HOST_SUBDIR)/tk && \
35804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35806 "RANLIB=$${RANLIB}" \
35807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35808 TAGS) \
35809 || exit 1
35811 @endif tk
35813 .PHONY: maybe-install-info-tk install-info-tk
35814 maybe-install-info-tk:
35815 @if tk
35816 maybe-install-info-tk: install-info-tk
35818 install-info-tk: \
35819 configure-tk \
35820 info-tk
35821 @: $(MAKE); $(unstage)
35822 @[ -f ./tk/Makefile ] || exit 0; \
35823 r=`${PWD_COMMAND}`; export r; \
35824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35825 $(HOST_EXPORTS) \
35826 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35828 done; \
35829 echo "Doing install-info in tk" ; \
35830 (cd $(HOST_SUBDIR)/tk && \
35831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35833 "RANLIB=$${RANLIB}" \
35834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35835 install-info) \
35836 || exit 1
35838 @endif tk
35840 .PHONY: maybe-install-pdf-tk install-pdf-tk
35841 maybe-install-pdf-tk:
35842 @if tk
35843 maybe-install-pdf-tk: install-pdf-tk
35845 install-pdf-tk: \
35846 configure-tk \
35847 pdf-tk
35848 @: $(MAKE); $(unstage)
35849 @[ -f ./tk/Makefile ] || exit 0; \
35850 r=`${PWD_COMMAND}`; export r; \
35851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35852 $(HOST_EXPORTS) \
35853 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35855 done; \
35856 echo "Doing install-pdf in tk" ; \
35857 (cd $(HOST_SUBDIR)/tk && \
35858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35860 "RANLIB=$${RANLIB}" \
35861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35862 install-pdf) \
35863 || exit 1
35865 @endif tk
35867 .PHONY: maybe-install-html-tk install-html-tk
35868 maybe-install-html-tk:
35869 @if tk
35870 maybe-install-html-tk: install-html-tk
35872 install-html-tk: \
35873 configure-tk \
35874 html-tk
35875 @: $(MAKE); $(unstage)
35876 @[ -f ./tk/Makefile ] || exit 0; \
35877 r=`${PWD_COMMAND}`; export r; \
35878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35879 $(HOST_EXPORTS) \
35880 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35882 done; \
35883 echo "Doing install-html in tk" ; \
35884 (cd $(HOST_SUBDIR)/tk && \
35885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35887 "RANLIB=$${RANLIB}" \
35888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35889 install-html) \
35890 || exit 1
35892 @endif tk
35894 .PHONY: maybe-installcheck-tk installcheck-tk
35895 maybe-installcheck-tk:
35896 @if tk
35897 maybe-installcheck-tk: installcheck-tk
35899 installcheck-tk: \
35900 configure-tk
35901 @: $(MAKE); $(unstage)
35902 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
35907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35908 done; \
35909 echo "Doing installcheck in tk" ; \
35910 (cd $(HOST_SUBDIR)/tk && \
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}" \
35915 installcheck) \
35916 || exit 1
35918 @endif tk
35920 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
35921 maybe-mostlyclean-tk:
35922 @if tk
35923 maybe-mostlyclean-tk: mostlyclean-tk
35925 mostlyclean-tk:
35926 @: $(MAKE); $(unstage)
35927 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
35932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35933 done; \
35934 echo "Doing mostlyclean in tk" ; \
35935 (cd $(HOST_SUBDIR)/tk && \
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}" \
35940 mostlyclean) \
35941 || exit 1
35943 @endif tk
35945 .PHONY: maybe-clean-tk clean-tk
35946 maybe-clean-tk:
35947 @if tk
35948 maybe-clean-tk: clean-tk
35950 clean-tk:
35951 @: $(MAKE); $(unstage)
35952 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
35957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35958 done; \
35959 echo "Doing clean in tk" ; \
35960 (cd $(HOST_SUBDIR)/tk && \
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}" \
35965 clean) \
35966 || exit 1
35968 @endif tk
35970 .PHONY: maybe-distclean-tk distclean-tk
35971 maybe-distclean-tk:
35972 @if tk
35973 maybe-distclean-tk: distclean-tk
35975 distclean-tk:
35976 @: $(MAKE); $(unstage)
35977 @[ -f ./tk/Makefile ] || exit 0; \
35978 r=`${PWD_COMMAND}`; export r; \
35979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35980 $(HOST_EXPORTS) \
35981 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
35982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35983 done; \
35984 echo "Doing distclean in tk" ; \
35985 (cd $(HOST_SUBDIR)/tk && \
35986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35988 "RANLIB=$${RANLIB}" \
35989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35990 distclean) \
35991 || exit 1
35993 @endif tk
35995 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
35996 maybe-maintainer-clean-tk:
35997 @if tk
35998 maybe-maintainer-clean-tk: maintainer-clean-tk
36000 maintainer-clean-tk:
36001 @: $(MAKE); $(unstage)
36002 @[ -f ./tk/Makefile ] || exit 0; \
36003 r=`${PWD_COMMAND}`; export r; \
36004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36005 $(HOST_EXPORTS) \
36006 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
36007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36008 done; \
36009 echo "Doing maintainer-clean in tk" ; \
36010 (cd $(HOST_SUBDIR)/tk && \
36011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36013 "RANLIB=$${RANLIB}" \
36014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36015 maintainer-clean) \
36016 || exit 1
36018 @endif tk
36022 .PHONY: configure-libtermcap maybe-configure-libtermcap
36023 maybe-configure-libtermcap:
36024 @if gcc-bootstrap
36025 configure-libtermcap: stage_current
36026 @endif gcc-bootstrap
36027 @if libtermcap
36028 maybe-configure-libtermcap: configure-libtermcap
36029 configure-libtermcap:
36030 @: $(MAKE); $(unstage)
36031 @r=`${PWD_COMMAND}`; export r; \
36032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36033 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
36034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
36035 $(HOST_EXPORTS) \
36036 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
36037 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
36038 case $(srcdir) in \
36039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36040 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
36041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36042 esac; \
36043 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
36044 libsrcdir="$$s/libtermcap"; \
36045 $(SHELL) $${libsrcdir}/configure \
36046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36047 --target=${target_alias} $${srcdiroption} \
36048 || exit 1
36049 @endif libtermcap
36055 .PHONY: all-libtermcap maybe-all-libtermcap
36056 maybe-all-libtermcap:
36057 @if gcc-bootstrap
36058 all-libtermcap: stage_current
36059 @endif gcc-bootstrap
36060 @if libtermcap
36061 TARGET-libtermcap=all
36062 maybe-all-libtermcap: all-libtermcap
36063 all-libtermcap: configure-libtermcap
36064 @: $(MAKE); $(unstage)
36065 @r=`${PWD_COMMAND}`; export r; \
36066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36067 $(HOST_EXPORTS) \
36068 (cd $(HOST_SUBDIR)/libtermcap && \
36069 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
36070 @endif libtermcap
36075 .PHONY: check-libtermcap maybe-check-libtermcap
36076 maybe-check-libtermcap:
36077 @if libtermcap
36078 maybe-check-libtermcap: check-libtermcap
36080 check-libtermcap:
36082 @endif libtermcap
36084 .PHONY: install-libtermcap maybe-install-libtermcap
36085 maybe-install-libtermcap:
36086 @if libtermcap
36087 maybe-install-libtermcap: install-libtermcap
36089 install-libtermcap: installdirs
36090 @: $(MAKE); $(unstage)
36091 @r=`${PWD_COMMAND}`; export r; \
36092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36093 $(HOST_EXPORTS) \
36094 (cd $(HOST_SUBDIR)/libtermcap && \
36095 $(MAKE) $(FLAGS_TO_PASS) install)
36097 @endif libtermcap
36099 # Other targets (info, dvi, pdf, etc.)
36101 .PHONY: maybe-info-libtermcap info-libtermcap
36102 maybe-info-libtermcap:
36103 @if libtermcap
36104 maybe-info-libtermcap: info-libtermcap
36106 info-libtermcap: \
36107 configure-libtermcap
36108 @: $(MAKE); $(unstage)
36109 @[ -f ./libtermcap/Makefile ] || exit 0; \
36110 r=`${PWD_COMMAND}`; export r; \
36111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36112 $(HOST_EXPORTS) \
36113 for flag in $(EXTRA_HOST_FLAGS) ; do \
36114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36115 done; \
36116 echo "Doing info in libtermcap" ; \
36117 (cd $(HOST_SUBDIR)/libtermcap && \
36118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36120 "RANLIB=$${RANLIB}" \
36121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36122 info) \
36123 || exit 1
36125 @endif libtermcap
36127 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
36128 maybe-dvi-libtermcap:
36129 @if libtermcap
36130 maybe-dvi-libtermcap: dvi-libtermcap
36132 dvi-libtermcap: \
36133 configure-libtermcap
36134 @: $(MAKE); $(unstage)
36135 @[ -f ./libtermcap/Makefile ] || exit 0; \
36136 r=`${PWD_COMMAND}`; export r; \
36137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36138 $(HOST_EXPORTS) \
36139 for flag in $(EXTRA_HOST_FLAGS) ; do \
36140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36141 done; \
36142 echo "Doing dvi in libtermcap" ; \
36143 (cd $(HOST_SUBDIR)/libtermcap && \
36144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36146 "RANLIB=$${RANLIB}" \
36147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36148 dvi) \
36149 || exit 1
36151 @endif libtermcap
36153 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
36154 maybe-pdf-libtermcap:
36155 @if libtermcap
36156 maybe-pdf-libtermcap: pdf-libtermcap
36158 pdf-libtermcap: \
36159 configure-libtermcap
36160 @: $(MAKE); $(unstage)
36161 @[ -f ./libtermcap/Makefile ] || exit 0; \
36162 r=`${PWD_COMMAND}`; export r; \
36163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36164 $(HOST_EXPORTS) \
36165 for flag in $(EXTRA_HOST_FLAGS) ; do \
36166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36167 done; \
36168 echo "Doing pdf in libtermcap" ; \
36169 (cd $(HOST_SUBDIR)/libtermcap && \
36170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36172 "RANLIB=$${RANLIB}" \
36173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36174 pdf) \
36175 || exit 1
36177 @endif libtermcap
36179 .PHONY: maybe-html-libtermcap html-libtermcap
36180 maybe-html-libtermcap:
36181 @if libtermcap
36182 maybe-html-libtermcap: html-libtermcap
36184 html-libtermcap: \
36185 configure-libtermcap
36186 @: $(MAKE); $(unstage)
36187 @[ -f ./libtermcap/Makefile ] || exit 0; \
36188 r=`${PWD_COMMAND}`; export r; \
36189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36190 $(HOST_EXPORTS) \
36191 for flag in $(EXTRA_HOST_FLAGS) ; do \
36192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36193 done; \
36194 echo "Doing html in libtermcap" ; \
36195 (cd $(HOST_SUBDIR)/libtermcap && \
36196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36198 "RANLIB=$${RANLIB}" \
36199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36200 html) \
36201 || exit 1
36203 @endif libtermcap
36205 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
36206 maybe-TAGS-libtermcap:
36207 @if libtermcap
36208 maybe-TAGS-libtermcap: TAGS-libtermcap
36210 TAGS-libtermcap: \
36211 configure-libtermcap
36212 @: $(MAKE); $(unstage)
36213 @[ -f ./libtermcap/Makefile ] || exit 0; \
36214 r=`${PWD_COMMAND}`; export r; \
36215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36216 $(HOST_EXPORTS) \
36217 for flag in $(EXTRA_HOST_FLAGS) ; do \
36218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36219 done; \
36220 echo "Doing TAGS in libtermcap" ; \
36221 (cd $(HOST_SUBDIR)/libtermcap && \
36222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36224 "RANLIB=$${RANLIB}" \
36225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36226 TAGS) \
36227 || exit 1
36229 @endif libtermcap
36231 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
36232 maybe-install-info-libtermcap:
36233 @if libtermcap
36234 maybe-install-info-libtermcap: install-info-libtermcap
36236 install-info-libtermcap: \
36237 configure-libtermcap \
36238 info-libtermcap
36239 @: $(MAKE); $(unstage)
36240 @[ -f ./libtermcap/Makefile ] || exit 0; \
36241 r=`${PWD_COMMAND}`; export r; \
36242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36243 $(HOST_EXPORTS) \
36244 for flag in $(EXTRA_HOST_FLAGS) ; do \
36245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36246 done; \
36247 echo "Doing install-info in libtermcap" ; \
36248 (cd $(HOST_SUBDIR)/libtermcap && \
36249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36251 "RANLIB=$${RANLIB}" \
36252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36253 install-info) \
36254 || exit 1
36256 @endif libtermcap
36258 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
36259 maybe-install-pdf-libtermcap:
36260 @if libtermcap
36261 maybe-install-pdf-libtermcap: install-pdf-libtermcap
36263 install-pdf-libtermcap: \
36264 configure-libtermcap \
36265 pdf-libtermcap
36266 @: $(MAKE); $(unstage)
36267 @[ -f ./libtermcap/Makefile ] || exit 0; \
36268 r=`${PWD_COMMAND}`; export r; \
36269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36270 $(HOST_EXPORTS) \
36271 for flag in $(EXTRA_HOST_FLAGS) ; do \
36272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36273 done; \
36274 echo "Doing install-pdf in libtermcap" ; \
36275 (cd $(HOST_SUBDIR)/libtermcap && \
36276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36278 "RANLIB=$${RANLIB}" \
36279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36280 install-pdf) \
36281 || exit 1
36283 @endif libtermcap
36285 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
36286 maybe-install-html-libtermcap:
36287 @if libtermcap
36288 maybe-install-html-libtermcap: install-html-libtermcap
36290 install-html-libtermcap: \
36291 configure-libtermcap \
36292 html-libtermcap
36293 @: $(MAKE); $(unstage)
36294 @[ -f ./libtermcap/Makefile ] || exit 0; \
36295 r=`${PWD_COMMAND}`; export r; \
36296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36297 $(HOST_EXPORTS) \
36298 for flag in $(EXTRA_HOST_FLAGS) ; do \
36299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36300 done; \
36301 echo "Doing install-html in libtermcap" ; \
36302 (cd $(HOST_SUBDIR)/libtermcap && \
36303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36305 "RANLIB=$${RANLIB}" \
36306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36307 install-html) \
36308 || exit 1
36310 @endif libtermcap
36312 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
36313 maybe-installcheck-libtermcap:
36314 @if libtermcap
36315 maybe-installcheck-libtermcap: installcheck-libtermcap
36317 installcheck-libtermcap: \
36318 configure-libtermcap
36319 @: $(MAKE); $(unstage)
36320 @[ -f ./libtermcap/Makefile ] || exit 0; \
36321 r=`${PWD_COMMAND}`; export r; \
36322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36323 $(HOST_EXPORTS) \
36324 for flag in $(EXTRA_HOST_FLAGS) ; do \
36325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36326 done; \
36327 echo "Doing installcheck in libtermcap" ; \
36328 (cd $(HOST_SUBDIR)/libtermcap && \
36329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36331 "RANLIB=$${RANLIB}" \
36332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36333 installcheck) \
36334 || exit 1
36336 @endif libtermcap
36338 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
36339 maybe-mostlyclean-libtermcap:
36340 @if libtermcap
36341 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
36343 # libtermcap doesn't support mostlyclean.
36344 mostlyclean-libtermcap:
36346 @endif libtermcap
36348 .PHONY: maybe-clean-libtermcap clean-libtermcap
36349 maybe-clean-libtermcap:
36350 @if libtermcap
36351 maybe-clean-libtermcap: clean-libtermcap
36353 # libtermcap doesn't support clean.
36354 clean-libtermcap:
36356 @endif libtermcap
36358 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
36359 maybe-distclean-libtermcap:
36360 @if libtermcap
36361 maybe-distclean-libtermcap: distclean-libtermcap
36363 # libtermcap doesn't support distclean.
36364 distclean-libtermcap:
36366 @endif libtermcap
36368 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
36369 maybe-maintainer-clean-libtermcap:
36370 @if libtermcap
36371 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
36373 # libtermcap doesn't support maintainer-clean.
36374 maintainer-clean-libtermcap:
36376 @endif libtermcap
36380 .PHONY: configure-utils maybe-configure-utils
36381 maybe-configure-utils:
36382 @if gcc-bootstrap
36383 configure-utils: stage_current
36384 @endif gcc-bootstrap
36385 @if utils
36386 maybe-configure-utils: configure-utils
36387 configure-utils:
36388 @: $(MAKE); $(unstage)
36389 @r=`${PWD_COMMAND}`; export r; \
36390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36391 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
36392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
36393 $(HOST_EXPORTS) \
36394 echo Configuring in $(HOST_SUBDIR)/utils; \
36395 cd "$(HOST_SUBDIR)/utils" || exit 1; \
36396 case $(srcdir) in \
36397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36398 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
36399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36400 esac; \
36401 srcdiroption="--srcdir=$${topdir}/utils"; \
36402 libsrcdir="$$s/utils"; \
36403 $(SHELL) $${libsrcdir}/configure \
36404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36405 --target=${target_alias} $${srcdiroption} \
36406 || exit 1
36407 @endif utils
36413 .PHONY: all-utils maybe-all-utils
36414 maybe-all-utils:
36415 @if gcc-bootstrap
36416 all-utils: stage_current
36417 @endif gcc-bootstrap
36418 @if utils
36419 TARGET-utils=all
36420 maybe-all-utils: all-utils
36421 all-utils: configure-utils
36422 @: $(MAKE); $(unstage)
36423 @r=`${PWD_COMMAND}`; export r; \
36424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36425 $(HOST_EXPORTS) \
36426 (cd $(HOST_SUBDIR)/utils && \
36427 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
36428 @endif utils
36433 .PHONY: check-utils maybe-check-utils
36434 maybe-check-utils:
36435 @if utils
36436 maybe-check-utils: check-utils
36438 check-utils:
36440 @endif utils
36442 .PHONY: install-utils maybe-install-utils
36443 maybe-install-utils:
36444 @if utils
36445 maybe-install-utils: install-utils
36447 install-utils: installdirs
36448 @: $(MAKE); $(unstage)
36449 @r=`${PWD_COMMAND}`; export r; \
36450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36451 $(HOST_EXPORTS) \
36452 (cd $(HOST_SUBDIR)/utils && \
36453 $(MAKE) $(FLAGS_TO_PASS) install)
36455 @endif utils
36457 # Other targets (info, dvi, pdf, etc.)
36459 .PHONY: maybe-info-utils info-utils
36460 maybe-info-utils:
36461 @if utils
36462 maybe-info-utils: info-utils
36464 info-utils: \
36465 configure-utils
36466 @: $(MAKE); $(unstage)
36467 @[ -f ./utils/Makefile ] || exit 0; \
36468 r=`${PWD_COMMAND}`; export r; \
36469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36470 $(HOST_EXPORTS) \
36471 for flag in $(EXTRA_HOST_FLAGS) ; do \
36472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36473 done; \
36474 echo "Doing info in utils" ; \
36475 (cd $(HOST_SUBDIR)/utils && \
36476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36478 "RANLIB=$${RANLIB}" \
36479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36480 info) \
36481 || exit 1
36483 @endif utils
36485 .PHONY: maybe-dvi-utils dvi-utils
36486 maybe-dvi-utils:
36487 @if utils
36488 maybe-dvi-utils: dvi-utils
36490 dvi-utils: \
36491 configure-utils
36492 @: $(MAKE); $(unstage)
36493 @[ -f ./utils/Makefile ] || exit 0; \
36494 r=`${PWD_COMMAND}`; export r; \
36495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36496 $(HOST_EXPORTS) \
36497 for flag in $(EXTRA_HOST_FLAGS) ; do \
36498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36499 done; \
36500 echo "Doing dvi in utils" ; \
36501 (cd $(HOST_SUBDIR)/utils && \
36502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36504 "RANLIB=$${RANLIB}" \
36505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36506 dvi) \
36507 || exit 1
36509 @endif utils
36511 .PHONY: maybe-pdf-utils pdf-utils
36512 maybe-pdf-utils:
36513 @if utils
36514 maybe-pdf-utils: pdf-utils
36516 pdf-utils: \
36517 configure-utils
36518 @: $(MAKE); $(unstage)
36519 @[ -f ./utils/Makefile ] || exit 0; \
36520 r=`${PWD_COMMAND}`; export r; \
36521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36522 $(HOST_EXPORTS) \
36523 for flag in $(EXTRA_HOST_FLAGS) ; do \
36524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36525 done; \
36526 echo "Doing pdf in utils" ; \
36527 (cd $(HOST_SUBDIR)/utils && \
36528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36530 "RANLIB=$${RANLIB}" \
36531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36532 pdf) \
36533 || exit 1
36535 @endif utils
36537 .PHONY: maybe-html-utils html-utils
36538 maybe-html-utils:
36539 @if utils
36540 maybe-html-utils: html-utils
36542 html-utils: \
36543 configure-utils
36544 @: $(MAKE); $(unstage)
36545 @[ -f ./utils/Makefile ] || exit 0; \
36546 r=`${PWD_COMMAND}`; export r; \
36547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36548 $(HOST_EXPORTS) \
36549 for flag in $(EXTRA_HOST_FLAGS) ; do \
36550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36551 done; \
36552 echo "Doing html in utils" ; \
36553 (cd $(HOST_SUBDIR)/utils && \
36554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36556 "RANLIB=$${RANLIB}" \
36557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36558 html) \
36559 || exit 1
36561 @endif utils
36563 .PHONY: maybe-TAGS-utils TAGS-utils
36564 maybe-TAGS-utils:
36565 @if utils
36566 maybe-TAGS-utils: TAGS-utils
36568 TAGS-utils: \
36569 configure-utils
36570 @: $(MAKE); $(unstage)
36571 @[ -f ./utils/Makefile ] || exit 0; \
36572 r=`${PWD_COMMAND}`; export r; \
36573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36574 $(HOST_EXPORTS) \
36575 for flag in $(EXTRA_HOST_FLAGS) ; do \
36576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36577 done; \
36578 echo "Doing TAGS in utils" ; \
36579 (cd $(HOST_SUBDIR)/utils && \
36580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36582 "RANLIB=$${RANLIB}" \
36583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36584 TAGS) \
36585 || exit 1
36587 @endif utils
36589 .PHONY: maybe-install-info-utils install-info-utils
36590 maybe-install-info-utils:
36591 @if utils
36592 maybe-install-info-utils: install-info-utils
36594 install-info-utils: \
36595 configure-utils \
36596 info-utils
36597 @: $(MAKE); $(unstage)
36598 @[ -f ./utils/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 install-info in utils" ; \
36606 (cd $(HOST_SUBDIR)/utils && \
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}" \
36611 install-info) \
36612 || exit 1
36614 @endif utils
36616 .PHONY: maybe-install-pdf-utils install-pdf-utils
36617 maybe-install-pdf-utils:
36618 @if utils
36619 maybe-install-pdf-utils: install-pdf-utils
36621 install-pdf-utils: \
36622 configure-utils \
36623 pdf-utils
36624 @: $(MAKE); $(unstage)
36625 @[ -f ./utils/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-pdf in utils" ; \
36633 (cd $(HOST_SUBDIR)/utils && \
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}" \
36638 install-pdf) \
36639 || exit 1
36641 @endif utils
36643 .PHONY: maybe-install-html-utils install-html-utils
36644 maybe-install-html-utils:
36645 @if utils
36646 maybe-install-html-utils: install-html-utils
36648 install-html-utils: \
36649 configure-utils \
36650 html-utils
36651 @: $(MAKE); $(unstage)
36652 @[ -f ./utils/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-html in utils" ; \
36660 (cd $(HOST_SUBDIR)/utils && \
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}" \
36665 install-html) \
36666 || exit 1
36668 @endif utils
36670 .PHONY: maybe-installcheck-utils installcheck-utils
36671 maybe-installcheck-utils:
36672 @if utils
36673 maybe-installcheck-utils: installcheck-utils
36675 installcheck-utils: \
36676 configure-utils
36677 @: $(MAKE); $(unstage)
36678 @[ -f ./utils/Makefile ] || exit 0; \
36679 r=`${PWD_COMMAND}`; export r; \
36680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36681 $(HOST_EXPORTS) \
36682 for flag in $(EXTRA_HOST_FLAGS) ; do \
36683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36684 done; \
36685 echo "Doing installcheck in utils" ; \
36686 (cd $(HOST_SUBDIR)/utils && \
36687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36689 "RANLIB=$${RANLIB}" \
36690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36691 installcheck) \
36692 || exit 1
36694 @endif utils
36696 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
36697 maybe-mostlyclean-utils:
36698 @if utils
36699 maybe-mostlyclean-utils: mostlyclean-utils
36701 mostlyclean-utils:
36702 @: $(MAKE); $(unstage)
36703 @[ -f ./utils/Makefile ] || exit 0; \
36704 r=`${PWD_COMMAND}`; export r; \
36705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36706 $(HOST_EXPORTS) \
36707 for flag in $(EXTRA_HOST_FLAGS) ; do \
36708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36709 done; \
36710 echo "Doing mostlyclean in utils" ; \
36711 (cd $(HOST_SUBDIR)/utils && \
36712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36714 "RANLIB=$${RANLIB}" \
36715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36716 mostlyclean) \
36717 || exit 1
36719 @endif utils
36721 .PHONY: maybe-clean-utils clean-utils
36722 maybe-clean-utils:
36723 @if utils
36724 maybe-clean-utils: clean-utils
36726 clean-utils:
36727 @: $(MAKE); $(unstage)
36728 @[ -f ./utils/Makefile ] || exit 0; \
36729 r=`${PWD_COMMAND}`; export r; \
36730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36731 $(HOST_EXPORTS) \
36732 for flag in $(EXTRA_HOST_FLAGS) ; do \
36733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36734 done; \
36735 echo "Doing clean in utils" ; \
36736 (cd $(HOST_SUBDIR)/utils && \
36737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36739 "RANLIB=$${RANLIB}" \
36740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36741 clean) \
36742 || exit 1
36744 @endif utils
36746 .PHONY: maybe-distclean-utils distclean-utils
36747 maybe-distclean-utils:
36748 @if utils
36749 maybe-distclean-utils: distclean-utils
36751 distclean-utils:
36752 @: $(MAKE); $(unstage)
36753 @[ -f ./utils/Makefile ] || exit 0; \
36754 r=`${PWD_COMMAND}`; export r; \
36755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36756 $(HOST_EXPORTS) \
36757 for flag in $(EXTRA_HOST_FLAGS) ; do \
36758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36759 done; \
36760 echo "Doing distclean in utils" ; \
36761 (cd $(HOST_SUBDIR)/utils && \
36762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36764 "RANLIB=$${RANLIB}" \
36765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36766 distclean) \
36767 || exit 1
36769 @endif utils
36771 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
36772 maybe-maintainer-clean-utils:
36773 @if utils
36774 maybe-maintainer-clean-utils: maintainer-clean-utils
36776 maintainer-clean-utils:
36777 @: $(MAKE); $(unstage)
36778 @[ -f ./utils/Makefile ] || exit 0; \
36779 r=`${PWD_COMMAND}`; export r; \
36780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36781 $(HOST_EXPORTS) \
36782 for flag in $(EXTRA_HOST_FLAGS) ; do \
36783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36784 done; \
36785 echo "Doing maintainer-clean in utils" ; \
36786 (cd $(HOST_SUBDIR)/utils && \
36787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36789 "RANLIB=$${RANLIB}" \
36790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36791 maintainer-clean) \
36792 || exit 1
36794 @endif utils
36798 .PHONY: configure-gnattools maybe-configure-gnattools
36799 maybe-configure-gnattools:
36800 @if gcc-bootstrap
36801 configure-gnattools: stage_current
36802 @endif gcc-bootstrap
36803 @if gnattools
36804 maybe-configure-gnattools: configure-gnattools
36805 configure-gnattools:
36806 @: $(MAKE); $(unstage)
36807 @r=`${PWD_COMMAND}`; export r; \
36808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36809 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
36810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
36811 $(HOST_EXPORTS) \
36812 echo Configuring in $(HOST_SUBDIR)/gnattools; \
36813 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
36814 case $(srcdir) in \
36815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36816 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
36817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36818 esac; \
36819 srcdiroption="--srcdir=$${topdir}/gnattools"; \
36820 libsrcdir="$$s/gnattools"; \
36821 $(SHELL) $${libsrcdir}/configure \
36822 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
36823 --target=${target_alias} $${srcdiroption} \
36824 || exit 1
36825 @endif gnattools
36831 .PHONY: all-gnattools maybe-all-gnattools
36832 maybe-all-gnattools:
36833 @if gcc-bootstrap
36834 all-gnattools: stage_current
36835 @endif gcc-bootstrap
36836 @if gnattools
36837 TARGET-gnattools=all
36838 maybe-all-gnattools: all-gnattools
36839 all-gnattools: configure-gnattools
36840 @: $(MAKE); $(unstage)
36841 @r=`${PWD_COMMAND}`; export r; \
36842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36843 $(HOST_EXPORTS) \
36844 (cd $(HOST_SUBDIR)/gnattools && \
36845 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
36846 @endif gnattools
36851 .PHONY: check-gnattools maybe-check-gnattools
36852 maybe-check-gnattools:
36853 @if gnattools
36854 maybe-check-gnattools: check-gnattools
36856 check-gnattools:
36857 @: $(MAKE); $(unstage)
36858 @r=`${PWD_COMMAND}`; export r; \
36859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36860 $(HOST_EXPORTS) \
36861 (cd $(HOST_SUBDIR)/gnattools && \
36862 $(MAKE) $(FLAGS_TO_PASS) check)
36864 @endif gnattools
36866 .PHONY: install-gnattools maybe-install-gnattools
36867 maybe-install-gnattools:
36868 @if gnattools
36869 maybe-install-gnattools: install-gnattools
36871 install-gnattools: installdirs
36872 @: $(MAKE); $(unstage)
36873 @r=`${PWD_COMMAND}`; export r; \
36874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36875 $(HOST_EXPORTS) \
36876 (cd $(HOST_SUBDIR)/gnattools && \
36877 $(MAKE) $(FLAGS_TO_PASS) install)
36879 @endif gnattools
36881 # Other targets (info, dvi, pdf, etc.)
36883 .PHONY: maybe-info-gnattools info-gnattools
36884 maybe-info-gnattools:
36885 @if gnattools
36886 maybe-info-gnattools: info-gnattools
36888 info-gnattools: \
36889 configure-gnattools
36890 @: $(MAKE); $(unstage)
36891 @[ -f ./gnattools/Makefile ] || exit 0; \
36892 r=`${PWD_COMMAND}`; export r; \
36893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36894 $(HOST_EXPORTS) \
36895 for flag in $(EXTRA_HOST_FLAGS) ; do \
36896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36897 done; \
36898 echo "Doing info in gnattools" ; \
36899 (cd $(HOST_SUBDIR)/gnattools && \
36900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36902 "RANLIB=$${RANLIB}" \
36903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36904 info) \
36905 || exit 1
36907 @endif gnattools
36909 .PHONY: maybe-dvi-gnattools dvi-gnattools
36910 maybe-dvi-gnattools:
36911 @if gnattools
36912 maybe-dvi-gnattools: dvi-gnattools
36914 dvi-gnattools: \
36915 configure-gnattools
36916 @: $(MAKE); $(unstage)
36917 @[ -f ./gnattools/Makefile ] || exit 0; \
36918 r=`${PWD_COMMAND}`; export r; \
36919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36920 $(HOST_EXPORTS) \
36921 for flag in $(EXTRA_HOST_FLAGS) ; do \
36922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36923 done; \
36924 echo "Doing dvi in gnattools" ; \
36925 (cd $(HOST_SUBDIR)/gnattools && \
36926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36928 "RANLIB=$${RANLIB}" \
36929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36930 dvi) \
36931 || exit 1
36933 @endif gnattools
36935 .PHONY: maybe-pdf-gnattools pdf-gnattools
36936 maybe-pdf-gnattools:
36937 @if gnattools
36938 maybe-pdf-gnattools: pdf-gnattools
36940 pdf-gnattools: \
36941 configure-gnattools
36942 @: $(MAKE); $(unstage)
36943 @[ -f ./gnattools/Makefile ] || exit 0; \
36944 r=`${PWD_COMMAND}`; export r; \
36945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36946 $(HOST_EXPORTS) \
36947 for flag in $(EXTRA_HOST_FLAGS) ; do \
36948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36949 done; \
36950 echo "Doing pdf in gnattools" ; \
36951 (cd $(HOST_SUBDIR)/gnattools && \
36952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36954 "RANLIB=$${RANLIB}" \
36955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36956 pdf) \
36957 || exit 1
36959 @endif gnattools
36961 .PHONY: maybe-html-gnattools html-gnattools
36962 maybe-html-gnattools:
36963 @if gnattools
36964 maybe-html-gnattools: html-gnattools
36966 html-gnattools: \
36967 configure-gnattools
36968 @: $(MAKE); $(unstage)
36969 @[ -f ./gnattools/Makefile ] || exit 0; \
36970 r=`${PWD_COMMAND}`; export r; \
36971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36972 $(HOST_EXPORTS) \
36973 for flag in $(EXTRA_HOST_FLAGS) ; do \
36974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36975 done; \
36976 echo "Doing html in gnattools" ; \
36977 (cd $(HOST_SUBDIR)/gnattools && \
36978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36980 "RANLIB=$${RANLIB}" \
36981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36982 html) \
36983 || exit 1
36985 @endif gnattools
36987 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
36988 maybe-TAGS-gnattools:
36989 @if gnattools
36990 maybe-TAGS-gnattools: TAGS-gnattools
36992 TAGS-gnattools: \
36993 configure-gnattools
36994 @: $(MAKE); $(unstage)
36995 @[ -f ./gnattools/Makefile ] || exit 0; \
36996 r=`${PWD_COMMAND}`; export r; \
36997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36998 $(HOST_EXPORTS) \
36999 for flag in $(EXTRA_HOST_FLAGS) ; do \
37000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37001 done; \
37002 echo "Doing TAGS in gnattools" ; \
37003 (cd $(HOST_SUBDIR)/gnattools && \
37004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37006 "RANLIB=$${RANLIB}" \
37007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37008 TAGS) \
37009 || exit 1
37011 @endif gnattools
37013 .PHONY: maybe-install-info-gnattools install-info-gnattools
37014 maybe-install-info-gnattools:
37015 @if gnattools
37016 maybe-install-info-gnattools: install-info-gnattools
37018 install-info-gnattools: \
37019 configure-gnattools \
37020 info-gnattools
37021 @: $(MAKE); $(unstage)
37022 @[ -f ./gnattools/Makefile ] || exit 0; \
37023 r=`${PWD_COMMAND}`; export r; \
37024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37025 $(HOST_EXPORTS) \
37026 for flag in $(EXTRA_HOST_FLAGS) ; do \
37027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37028 done; \
37029 echo "Doing install-info in gnattools" ; \
37030 (cd $(HOST_SUBDIR)/gnattools && \
37031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37033 "RANLIB=$${RANLIB}" \
37034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37035 install-info) \
37036 || exit 1
37038 @endif gnattools
37040 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
37041 maybe-install-pdf-gnattools:
37042 @if gnattools
37043 maybe-install-pdf-gnattools: install-pdf-gnattools
37045 install-pdf-gnattools: \
37046 configure-gnattools \
37047 pdf-gnattools
37048 @: $(MAKE); $(unstage)
37049 @[ -f ./gnattools/Makefile ] || exit 0; \
37050 r=`${PWD_COMMAND}`; export r; \
37051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37052 $(HOST_EXPORTS) \
37053 for flag in $(EXTRA_HOST_FLAGS) ; do \
37054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37055 done; \
37056 echo "Doing install-pdf in gnattools" ; \
37057 (cd $(HOST_SUBDIR)/gnattools && \
37058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37060 "RANLIB=$${RANLIB}" \
37061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37062 install-pdf) \
37063 || exit 1
37065 @endif gnattools
37067 .PHONY: maybe-install-html-gnattools install-html-gnattools
37068 maybe-install-html-gnattools:
37069 @if gnattools
37070 maybe-install-html-gnattools: install-html-gnattools
37072 install-html-gnattools: \
37073 configure-gnattools \
37074 html-gnattools
37075 @: $(MAKE); $(unstage)
37076 @[ -f ./gnattools/Makefile ] || exit 0; \
37077 r=`${PWD_COMMAND}`; export r; \
37078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37079 $(HOST_EXPORTS) \
37080 for flag in $(EXTRA_HOST_FLAGS) ; do \
37081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37082 done; \
37083 echo "Doing install-html in gnattools" ; \
37084 (cd $(HOST_SUBDIR)/gnattools && \
37085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37087 "RANLIB=$${RANLIB}" \
37088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37089 install-html) \
37090 || exit 1
37092 @endif gnattools
37094 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
37095 maybe-installcheck-gnattools:
37096 @if gnattools
37097 maybe-installcheck-gnattools: installcheck-gnattools
37099 installcheck-gnattools: \
37100 configure-gnattools
37101 @: $(MAKE); $(unstage)
37102 @[ -f ./gnattools/Makefile ] || exit 0; \
37103 r=`${PWD_COMMAND}`; export r; \
37104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37105 $(HOST_EXPORTS) \
37106 for flag in $(EXTRA_HOST_FLAGS) ; do \
37107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37108 done; \
37109 echo "Doing installcheck in gnattools" ; \
37110 (cd $(HOST_SUBDIR)/gnattools && \
37111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37113 "RANLIB=$${RANLIB}" \
37114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37115 installcheck) \
37116 || exit 1
37118 @endif gnattools
37120 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
37121 maybe-mostlyclean-gnattools:
37122 @if gnattools
37123 maybe-mostlyclean-gnattools: mostlyclean-gnattools
37125 mostlyclean-gnattools:
37126 @: $(MAKE); $(unstage)
37127 @[ -f ./gnattools/Makefile ] || exit 0; \
37128 r=`${PWD_COMMAND}`; export r; \
37129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37130 $(HOST_EXPORTS) \
37131 for flag in $(EXTRA_HOST_FLAGS) ; do \
37132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37133 done; \
37134 echo "Doing mostlyclean in gnattools" ; \
37135 (cd $(HOST_SUBDIR)/gnattools && \
37136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37138 "RANLIB=$${RANLIB}" \
37139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37140 mostlyclean) \
37141 || exit 1
37143 @endif gnattools
37145 .PHONY: maybe-clean-gnattools clean-gnattools
37146 maybe-clean-gnattools:
37147 @if gnattools
37148 maybe-clean-gnattools: clean-gnattools
37150 clean-gnattools:
37151 @: $(MAKE); $(unstage)
37152 @[ -f ./gnattools/Makefile ] || exit 0; \
37153 r=`${PWD_COMMAND}`; export r; \
37154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37155 $(HOST_EXPORTS) \
37156 for flag in $(EXTRA_HOST_FLAGS) ; do \
37157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37158 done; \
37159 echo "Doing clean in gnattools" ; \
37160 (cd $(HOST_SUBDIR)/gnattools && \
37161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37163 "RANLIB=$${RANLIB}" \
37164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37165 clean) \
37166 || exit 1
37168 @endif gnattools
37170 .PHONY: maybe-distclean-gnattools distclean-gnattools
37171 maybe-distclean-gnattools:
37172 @if gnattools
37173 maybe-distclean-gnattools: distclean-gnattools
37175 distclean-gnattools:
37176 @: $(MAKE); $(unstage)
37177 @[ -f ./gnattools/Makefile ] || exit 0; \
37178 r=`${PWD_COMMAND}`; export r; \
37179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37180 $(HOST_EXPORTS) \
37181 for flag in $(EXTRA_HOST_FLAGS) ; do \
37182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37183 done; \
37184 echo "Doing distclean in gnattools" ; \
37185 (cd $(HOST_SUBDIR)/gnattools && \
37186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37188 "RANLIB=$${RANLIB}" \
37189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37190 distclean) \
37191 || exit 1
37193 @endif gnattools
37195 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
37196 maybe-maintainer-clean-gnattools:
37197 @if gnattools
37198 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
37200 maintainer-clean-gnattools:
37201 @: $(MAKE); $(unstage)
37202 @[ -f ./gnattools/Makefile ] || exit 0; \
37203 r=`${PWD_COMMAND}`; export r; \
37204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37205 $(HOST_EXPORTS) \
37206 for flag in $(EXTRA_HOST_FLAGS) ; do \
37207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37208 done; \
37209 echo "Doing maintainer-clean in gnattools" ; \
37210 (cd $(HOST_SUBDIR)/gnattools && \
37211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37213 "RANLIB=$${RANLIB}" \
37214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37215 maintainer-clean) \
37216 || exit 1
37218 @endif gnattools
37222 # ---------------------------------------
37223 # Modules which run on the target machine
37224 # ---------------------------------------
37229 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
37230 maybe-configure-target-libstdc++-v3:
37231 @if gcc-bootstrap
37232 configure-target-libstdc++-v3: stage_current
37233 @endif gcc-bootstrap
37234 @if target-libstdc++-v3
37235 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
37236 configure-target-libstdc++-v3:
37237 @: $(MAKE); $(unstage)
37238 @r=`${PWD_COMMAND}`; export r; \
37239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37240 echo "Checking multilib configuration for libstdc++-v3..."; \
37241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
37242 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
37243 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37244 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
37245 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
37246 else \
37247 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
37248 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37249 fi; \
37250 else \
37251 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
37252 fi; \
37253 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
37254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
37255 $(RAW_CXX_TARGET_EXPORTS) \
37256 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
37257 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
37258 case $(srcdir) in \
37259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37260 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
37261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37262 esac; \
37263 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
37264 libsrcdir="$$s/libstdc++-v3"; \
37265 rm -f no-such-file || : ; \
37266 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37267 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37268 --target=${target_alias} $${srcdiroption} \
37269 || exit 1
37270 @endif target-libstdc++-v3
37276 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
37277 maybe-all-target-libstdc++-v3:
37278 @if gcc-bootstrap
37279 all-target-libstdc++-v3: stage_current
37280 @endif gcc-bootstrap
37281 @if target-libstdc++-v3
37282 TARGET-target-libstdc++-v3=all
37283 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
37284 all-target-libstdc++-v3: configure-target-libstdc++-v3
37285 @: $(MAKE); $(unstage)
37286 @r=`${PWD_COMMAND}`; export r; \
37287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37288 $(RAW_CXX_TARGET_EXPORTS) \
37289 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37290 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
37291 @endif target-libstdc++-v3
37297 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
37298 maybe-check-target-libstdc++-v3:
37299 @if target-libstdc++-v3
37300 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
37302 check-target-libstdc++-v3:
37303 @: $(MAKE); $(unstage)
37304 @r=`${PWD_COMMAND}`; export r; \
37305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37306 $(RAW_CXX_TARGET_EXPORTS) \
37307 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37308 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
37310 @endif target-libstdc++-v3
37312 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
37313 maybe-install-target-libstdc++-v3:
37314 @if target-libstdc++-v3
37315 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
37317 install-target-libstdc++-v3: installdirs
37318 @: $(MAKE); $(unstage)
37319 @r=`${PWD_COMMAND}`; export r; \
37320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37321 $(RAW_CXX_TARGET_EXPORTS) \
37322 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37323 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37325 @endif target-libstdc++-v3
37327 # Other targets (info, dvi, pdf, etc.)
37329 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
37330 maybe-info-target-libstdc++-v3:
37331 @if target-libstdc++-v3
37332 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
37334 info-target-libstdc++-v3: \
37335 configure-target-libstdc++-v3
37336 @: $(MAKE); $(unstage)
37337 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37338 r=`${PWD_COMMAND}`; export r; \
37339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37340 $(RAW_CXX_TARGET_EXPORTS) \
37341 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37342 for flag in $(EXTRA_TARGET_FLAGS); do \
37343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37344 done; \
37345 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37348 "RANLIB=$${RANLIB}" \
37349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37350 info) \
37351 || exit 1
37353 @endif target-libstdc++-v3
37355 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
37356 maybe-dvi-target-libstdc++-v3:
37357 @if target-libstdc++-v3
37358 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
37360 dvi-target-libstdc++-v3: \
37361 configure-target-libstdc++-v3
37362 @: $(MAKE); $(unstage)
37363 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37364 r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 $(RAW_CXX_TARGET_EXPORTS) \
37367 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37368 for flag in $(EXTRA_TARGET_FLAGS); do \
37369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37370 done; \
37371 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37374 "RANLIB=$${RANLIB}" \
37375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37376 dvi) \
37377 || exit 1
37379 @endif target-libstdc++-v3
37381 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
37382 maybe-pdf-target-libstdc++-v3:
37383 @if target-libstdc++-v3
37384 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
37386 pdf-target-libstdc++-v3: \
37387 configure-target-libstdc++-v3
37388 @: $(MAKE); $(unstage)
37389 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37390 r=`${PWD_COMMAND}`; export r; \
37391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37392 $(RAW_CXX_TARGET_EXPORTS) \
37393 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37394 for flag in $(EXTRA_TARGET_FLAGS); do \
37395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37396 done; \
37397 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37400 "RANLIB=$${RANLIB}" \
37401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37402 pdf) \
37403 || exit 1
37405 @endif target-libstdc++-v3
37407 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
37408 maybe-html-target-libstdc++-v3:
37409 @if target-libstdc++-v3
37410 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
37412 html-target-libstdc++-v3: \
37413 configure-target-libstdc++-v3
37414 @: $(MAKE); $(unstage)
37415 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37416 r=`${PWD_COMMAND}`; export r; \
37417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37418 $(RAW_CXX_TARGET_EXPORTS) \
37419 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37420 for flag in $(EXTRA_TARGET_FLAGS); do \
37421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37422 done; \
37423 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37426 "RANLIB=$${RANLIB}" \
37427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37428 html) \
37429 || exit 1
37431 @endif target-libstdc++-v3
37433 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
37434 maybe-TAGS-target-libstdc++-v3:
37435 @if target-libstdc++-v3
37436 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
37438 TAGS-target-libstdc++-v3: \
37439 configure-target-libstdc++-v3
37440 @: $(MAKE); $(unstage)
37441 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37442 r=`${PWD_COMMAND}`; export r; \
37443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37444 $(RAW_CXX_TARGET_EXPORTS) \
37445 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37446 for flag in $(EXTRA_TARGET_FLAGS); do \
37447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37448 done; \
37449 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37452 "RANLIB=$${RANLIB}" \
37453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37454 TAGS) \
37455 || exit 1
37457 @endif target-libstdc++-v3
37459 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
37460 maybe-install-info-target-libstdc++-v3:
37461 @if target-libstdc++-v3
37462 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
37464 install-info-target-libstdc++-v3: \
37465 configure-target-libstdc++-v3 \
37466 info-target-libstdc++-v3
37467 @: $(MAKE); $(unstage)
37468 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37469 r=`${PWD_COMMAND}`; export r; \
37470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37471 $(RAW_CXX_TARGET_EXPORTS) \
37472 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37473 for flag in $(EXTRA_TARGET_FLAGS); do \
37474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37475 done; \
37476 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37479 "RANLIB=$${RANLIB}" \
37480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37481 install-info) \
37482 || exit 1
37484 @endif target-libstdc++-v3
37486 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
37487 maybe-install-pdf-target-libstdc++-v3:
37488 @if target-libstdc++-v3
37489 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
37491 install-pdf-target-libstdc++-v3: \
37492 configure-target-libstdc++-v3 \
37493 pdf-target-libstdc++-v3
37494 @: $(MAKE); $(unstage)
37495 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37496 r=`${PWD_COMMAND}`; export r; \
37497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37498 $(RAW_CXX_TARGET_EXPORTS) \
37499 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37500 for flag in $(EXTRA_TARGET_FLAGS); do \
37501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37502 done; \
37503 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37506 "RANLIB=$${RANLIB}" \
37507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37508 install-pdf) \
37509 || exit 1
37511 @endif target-libstdc++-v3
37513 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
37514 maybe-install-html-target-libstdc++-v3:
37515 @if target-libstdc++-v3
37516 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
37518 install-html-target-libstdc++-v3: \
37519 configure-target-libstdc++-v3 \
37520 html-target-libstdc++-v3
37521 @: $(MAKE); $(unstage)
37522 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37523 r=`${PWD_COMMAND}`; export r; \
37524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37525 $(RAW_CXX_TARGET_EXPORTS) \
37526 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37527 for flag in $(EXTRA_TARGET_FLAGS); do \
37528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37529 done; \
37530 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37533 "RANLIB=$${RANLIB}" \
37534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37535 install-html) \
37536 || exit 1
37538 @endif target-libstdc++-v3
37540 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
37541 maybe-installcheck-target-libstdc++-v3:
37542 @if target-libstdc++-v3
37543 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
37545 installcheck-target-libstdc++-v3: \
37546 configure-target-libstdc++-v3
37547 @: $(MAKE); $(unstage)
37548 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37549 r=`${PWD_COMMAND}`; export r; \
37550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37551 $(RAW_CXX_TARGET_EXPORTS) \
37552 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37553 for flag in $(EXTRA_TARGET_FLAGS); do \
37554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37555 done; \
37556 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37559 "RANLIB=$${RANLIB}" \
37560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37561 installcheck) \
37562 || exit 1
37564 @endif target-libstdc++-v3
37566 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
37567 maybe-mostlyclean-target-libstdc++-v3:
37568 @if target-libstdc++-v3
37569 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
37571 mostlyclean-target-libstdc++-v3:
37572 @: $(MAKE); $(unstage)
37573 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37574 r=`${PWD_COMMAND}`; export r; \
37575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37576 $(RAW_CXX_TARGET_EXPORTS) \
37577 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37578 for flag in $(EXTRA_TARGET_FLAGS); do \
37579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37580 done; \
37581 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37584 "RANLIB=$${RANLIB}" \
37585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37586 mostlyclean) \
37587 || exit 1
37589 @endif target-libstdc++-v3
37591 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
37592 maybe-clean-target-libstdc++-v3:
37593 @if target-libstdc++-v3
37594 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
37596 clean-target-libstdc++-v3:
37597 @: $(MAKE); $(unstage)
37598 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37599 r=`${PWD_COMMAND}`; export r; \
37600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37601 $(RAW_CXX_TARGET_EXPORTS) \
37602 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37603 for flag in $(EXTRA_TARGET_FLAGS); do \
37604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37605 done; \
37606 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37609 "RANLIB=$${RANLIB}" \
37610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37611 clean) \
37612 || exit 1
37614 @endif target-libstdc++-v3
37616 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
37617 maybe-distclean-target-libstdc++-v3:
37618 @if target-libstdc++-v3
37619 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
37621 distclean-target-libstdc++-v3:
37622 @: $(MAKE); $(unstage)
37623 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37624 r=`${PWD_COMMAND}`; export r; \
37625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37626 $(RAW_CXX_TARGET_EXPORTS) \
37627 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37628 for flag in $(EXTRA_TARGET_FLAGS); do \
37629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37630 done; \
37631 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37634 "RANLIB=$${RANLIB}" \
37635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37636 distclean) \
37637 || exit 1
37639 @endif target-libstdc++-v3
37641 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
37642 maybe-maintainer-clean-target-libstdc++-v3:
37643 @if target-libstdc++-v3
37644 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
37646 maintainer-clean-target-libstdc++-v3:
37647 @: $(MAKE); $(unstage)
37648 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
37649 r=`${PWD_COMMAND}`; export r; \
37650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37651 $(RAW_CXX_TARGET_EXPORTS) \
37652 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
37653 for flag in $(EXTRA_TARGET_FLAGS); do \
37654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37655 done; \
37656 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
37657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37659 "RANLIB=$${RANLIB}" \
37660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37661 maintainer-clean) \
37662 || exit 1
37664 @endif target-libstdc++-v3
37670 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
37671 maybe-configure-target-libmudflap:
37672 @if gcc-bootstrap
37673 configure-target-libmudflap: stage_current
37674 @endif gcc-bootstrap
37675 @if target-libmudflap
37676 maybe-configure-target-libmudflap: configure-target-libmudflap
37677 configure-target-libmudflap:
37678 @: $(MAKE); $(unstage)
37679 @r=`${PWD_COMMAND}`; export r; \
37680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37681 echo "Checking multilib configuration for libmudflap..."; \
37682 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
37683 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
37684 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
37685 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
37686 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
37687 else \
37688 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
37689 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
37690 fi; \
37691 else \
37692 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
37693 fi; \
37694 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
37695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
37696 $(NORMAL_TARGET_EXPORTS) \
37697 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
37698 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
37699 case $(srcdir) in \
37700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37701 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
37702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37703 esac; \
37704 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
37705 libsrcdir="$$s/libmudflap"; \
37706 rm -f no-such-file || : ; \
37707 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37708 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37709 --target=${target_alias} $${srcdiroption} \
37710 || exit 1
37711 @endif target-libmudflap
37717 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
37718 maybe-all-target-libmudflap:
37719 @if gcc-bootstrap
37720 all-target-libmudflap: stage_current
37721 @endif gcc-bootstrap
37722 @if target-libmudflap
37723 TARGET-target-libmudflap=all
37724 maybe-all-target-libmudflap: all-target-libmudflap
37725 all-target-libmudflap: configure-target-libmudflap
37726 @: $(MAKE); $(unstage)
37727 @r=`${PWD_COMMAND}`; export r; \
37728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37729 $(NORMAL_TARGET_EXPORTS) \
37730 (cd $(TARGET_SUBDIR)/libmudflap && \
37731 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
37732 @endif target-libmudflap
37738 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
37739 maybe-check-target-libmudflap:
37740 @if target-libmudflap
37741 maybe-check-target-libmudflap: check-target-libmudflap
37743 check-target-libmudflap:
37744 @: $(MAKE); $(unstage)
37745 @r=`${PWD_COMMAND}`; export r; \
37746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37747 $(NORMAL_TARGET_EXPORTS) \
37748 (cd $(TARGET_SUBDIR)/libmudflap && \
37749 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37751 @endif target-libmudflap
37753 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
37754 maybe-install-target-libmudflap:
37755 @if target-libmudflap
37756 maybe-install-target-libmudflap: install-target-libmudflap
37758 install-target-libmudflap: installdirs
37759 @: $(MAKE); $(unstage)
37760 @r=`${PWD_COMMAND}`; export r; \
37761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37762 $(NORMAL_TARGET_EXPORTS) \
37763 (cd $(TARGET_SUBDIR)/libmudflap && \
37764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37766 @endif target-libmudflap
37768 # Other targets (info, dvi, pdf, etc.)
37770 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
37771 maybe-info-target-libmudflap:
37772 @if target-libmudflap
37773 maybe-info-target-libmudflap: info-target-libmudflap
37775 info-target-libmudflap: \
37776 configure-target-libmudflap
37777 @: $(MAKE); $(unstage)
37778 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37779 r=`${PWD_COMMAND}`; export r; \
37780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37781 $(NORMAL_TARGET_EXPORTS) \
37782 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
37783 for flag in $(EXTRA_TARGET_FLAGS); do \
37784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37785 done; \
37786 (cd $(TARGET_SUBDIR)/libmudflap && \
37787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37789 "RANLIB=$${RANLIB}" \
37790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37791 info) \
37792 || exit 1
37794 @endif target-libmudflap
37796 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
37797 maybe-dvi-target-libmudflap:
37798 @if target-libmudflap
37799 maybe-dvi-target-libmudflap: dvi-target-libmudflap
37801 dvi-target-libmudflap: \
37802 configure-target-libmudflap
37803 @: $(MAKE); $(unstage)
37804 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37805 r=`${PWD_COMMAND}`; export r; \
37806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37807 $(NORMAL_TARGET_EXPORTS) \
37808 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
37809 for flag in $(EXTRA_TARGET_FLAGS); do \
37810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37811 done; \
37812 (cd $(TARGET_SUBDIR)/libmudflap && \
37813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37815 "RANLIB=$${RANLIB}" \
37816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37817 dvi) \
37818 || exit 1
37820 @endif target-libmudflap
37822 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
37823 maybe-pdf-target-libmudflap:
37824 @if target-libmudflap
37825 maybe-pdf-target-libmudflap: pdf-target-libmudflap
37827 pdf-target-libmudflap: \
37828 configure-target-libmudflap
37829 @: $(MAKE); $(unstage)
37830 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37831 r=`${PWD_COMMAND}`; export r; \
37832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37833 $(NORMAL_TARGET_EXPORTS) \
37834 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
37835 for flag in $(EXTRA_TARGET_FLAGS); do \
37836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37837 done; \
37838 (cd $(TARGET_SUBDIR)/libmudflap && \
37839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37841 "RANLIB=$${RANLIB}" \
37842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37843 pdf) \
37844 || exit 1
37846 @endif target-libmudflap
37848 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
37849 maybe-html-target-libmudflap:
37850 @if target-libmudflap
37851 maybe-html-target-libmudflap: html-target-libmudflap
37853 html-target-libmudflap: \
37854 configure-target-libmudflap
37855 @: $(MAKE); $(unstage)
37856 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37857 r=`${PWD_COMMAND}`; export r; \
37858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37859 $(NORMAL_TARGET_EXPORTS) \
37860 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
37861 for flag in $(EXTRA_TARGET_FLAGS); do \
37862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37863 done; \
37864 (cd $(TARGET_SUBDIR)/libmudflap && \
37865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37867 "RANLIB=$${RANLIB}" \
37868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37869 html) \
37870 || exit 1
37872 @endif target-libmudflap
37874 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
37875 maybe-TAGS-target-libmudflap:
37876 @if target-libmudflap
37877 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
37879 TAGS-target-libmudflap: \
37880 configure-target-libmudflap
37881 @: $(MAKE); $(unstage)
37882 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37883 r=`${PWD_COMMAND}`; export r; \
37884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37885 $(NORMAL_TARGET_EXPORTS) \
37886 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
37887 for flag in $(EXTRA_TARGET_FLAGS); do \
37888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37889 done; \
37890 (cd $(TARGET_SUBDIR)/libmudflap && \
37891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37893 "RANLIB=$${RANLIB}" \
37894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37895 TAGS) \
37896 || exit 1
37898 @endif target-libmudflap
37900 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
37901 maybe-install-info-target-libmudflap:
37902 @if target-libmudflap
37903 maybe-install-info-target-libmudflap: install-info-target-libmudflap
37905 install-info-target-libmudflap: \
37906 configure-target-libmudflap \
37907 info-target-libmudflap
37908 @: $(MAKE); $(unstage)
37909 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37910 r=`${PWD_COMMAND}`; export r; \
37911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37912 $(NORMAL_TARGET_EXPORTS) \
37913 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
37914 for flag in $(EXTRA_TARGET_FLAGS); do \
37915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37916 done; \
37917 (cd $(TARGET_SUBDIR)/libmudflap && \
37918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37920 "RANLIB=$${RANLIB}" \
37921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37922 install-info) \
37923 || exit 1
37925 @endif target-libmudflap
37927 .PHONY: maybe-install-pdf-target-libmudflap install-pdf-target-libmudflap
37928 maybe-install-pdf-target-libmudflap:
37929 @if target-libmudflap
37930 maybe-install-pdf-target-libmudflap: install-pdf-target-libmudflap
37932 install-pdf-target-libmudflap: \
37933 configure-target-libmudflap \
37934 pdf-target-libmudflap
37935 @: $(MAKE); $(unstage)
37936 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37937 r=`${PWD_COMMAND}`; export r; \
37938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37939 $(NORMAL_TARGET_EXPORTS) \
37940 echo "Doing install-pdf in $(TARGET_SUBDIR)/libmudflap" ; \
37941 for flag in $(EXTRA_TARGET_FLAGS); do \
37942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37943 done; \
37944 (cd $(TARGET_SUBDIR)/libmudflap && \
37945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37947 "RANLIB=$${RANLIB}" \
37948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37949 install-pdf) \
37950 || exit 1
37952 @endif target-libmudflap
37954 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
37955 maybe-install-html-target-libmudflap:
37956 @if target-libmudflap
37957 maybe-install-html-target-libmudflap: install-html-target-libmudflap
37959 install-html-target-libmudflap: \
37960 configure-target-libmudflap \
37961 html-target-libmudflap
37962 @: $(MAKE); $(unstage)
37963 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37964 r=`${PWD_COMMAND}`; export r; \
37965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37966 $(NORMAL_TARGET_EXPORTS) \
37967 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
37968 for flag in $(EXTRA_TARGET_FLAGS); do \
37969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37970 done; \
37971 (cd $(TARGET_SUBDIR)/libmudflap && \
37972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37974 "RANLIB=$${RANLIB}" \
37975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37976 install-html) \
37977 || exit 1
37979 @endif target-libmudflap
37981 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
37982 maybe-installcheck-target-libmudflap:
37983 @if target-libmudflap
37984 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
37986 installcheck-target-libmudflap: \
37987 configure-target-libmudflap
37988 @: $(MAKE); $(unstage)
37989 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
37990 r=`${PWD_COMMAND}`; export r; \
37991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37992 $(NORMAL_TARGET_EXPORTS) \
37993 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
37994 for flag in $(EXTRA_TARGET_FLAGS); do \
37995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37996 done; \
37997 (cd $(TARGET_SUBDIR)/libmudflap && \
37998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38000 "RANLIB=$${RANLIB}" \
38001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38002 installcheck) \
38003 || exit 1
38005 @endif target-libmudflap
38007 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
38008 maybe-mostlyclean-target-libmudflap:
38009 @if target-libmudflap
38010 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
38012 mostlyclean-target-libmudflap:
38013 @: $(MAKE); $(unstage)
38014 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
38015 r=`${PWD_COMMAND}`; export r; \
38016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38017 $(NORMAL_TARGET_EXPORTS) \
38018 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
38019 for flag in $(EXTRA_TARGET_FLAGS); do \
38020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38021 done; \
38022 (cd $(TARGET_SUBDIR)/libmudflap && \
38023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38025 "RANLIB=$${RANLIB}" \
38026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38027 mostlyclean) \
38028 || exit 1
38030 @endif target-libmudflap
38032 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
38033 maybe-clean-target-libmudflap:
38034 @if target-libmudflap
38035 maybe-clean-target-libmudflap: clean-target-libmudflap
38037 clean-target-libmudflap:
38038 @: $(MAKE); $(unstage)
38039 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
38040 r=`${PWD_COMMAND}`; export r; \
38041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38042 $(NORMAL_TARGET_EXPORTS) \
38043 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
38044 for flag in $(EXTRA_TARGET_FLAGS); do \
38045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38046 done; \
38047 (cd $(TARGET_SUBDIR)/libmudflap && \
38048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38050 "RANLIB=$${RANLIB}" \
38051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38052 clean) \
38053 || exit 1
38055 @endif target-libmudflap
38057 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
38058 maybe-distclean-target-libmudflap:
38059 @if target-libmudflap
38060 maybe-distclean-target-libmudflap: distclean-target-libmudflap
38062 distclean-target-libmudflap:
38063 @: $(MAKE); $(unstage)
38064 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
38065 r=`${PWD_COMMAND}`; export r; \
38066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38067 $(NORMAL_TARGET_EXPORTS) \
38068 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
38069 for flag in $(EXTRA_TARGET_FLAGS); do \
38070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38071 done; \
38072 (cd $(TARGET_SUBDIR)/libmudflap && \
38073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38075 "RANLIB=$${RANLIB}" \
38076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38077 distclean) \
38078 || exit 1
38080 @endif target-libmudflap
38082 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
38083 maybe-maintainer-clean-target-libmudflap:
38084 @if target-libmudflap
38085 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
38087 maintainer-clean-target-libmudflap:
38088 @: $(MAKE); $(unstage)
38089 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
38090 r=`${PWD_COMMAND}`; export r; \
38091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38092 $(NORMAL_TARGET_EXPORTS) \
38093 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
38094 for flag in $(EXTRA_TARGET_FLAGS); do \
38095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38096 done; \
38097 (cd $(TARGET_SUBDIR)/libmudflap && \
38098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38100 "RANLIB=$${RANLIB}" \
38101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38102 maintainer-clean) \
38103 || exit 1
38105 @endif target-libmudflap
38111 .PHONY: configure-target-libssp maybe-configure-target-libssp
38112 maybe-configure-target-libssp:
38113 @if gcc-bootstrap
38114 configure-target-libssp: stage_current
38115 @endif gcc-bootstrap
38116 @if target-libssp
38117 maybe-configure-target-libssp: configure-target-libssp
38118 configure-target-libssp:
38119 @: $(MAKE); $(unstage)
38120 @r=`${PWD_COMMAND}`; export r; \
38121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38122 echo "Checking multilib configuration for libssp..."; \
38123 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
38124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
38125 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
38126 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
38127 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
38128 else \
38129 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
38130 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
38131 fi; \
38132 else \
38133 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
38134 fi; \
38135 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
38136 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
38137 $(NORMAL_TARGET_EXPORTS) \
38138 echo Configuring in $(TARGET_SUBDIR)/libssp; \
38139 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
38140 case $(srcdir) in \
38141 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38142 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
38143 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38144 esac; \
38145 srcdiroption="--srcdir=$${topdir}/libssp"; \
38146 libsrcdir="$$s/libssp"; \
38147 rm -f no-such-file || : ; \
38148 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38149 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38150 --target=${target_alias} $${srcdiroption} \
38151 || exit 1
38152 @endif target-libssp
38158 .PHONY: all-target-libssp maybe-all-target-libssp
38159 maybe-all-target-libssp:
38160 @if gcc-bootstrap
38161 all-target-libssp: stage_current
38162 @endif gcc-bootstrap
38163 @if target-libssp
38164 TARGET-target-libssp=all
38165 maybe-all-target-libssp: all-target-libssp
38166 all-target-libssp: configure-target-libssp
38167 @: $(MAKE); $(unstage)
38168 @r=`${PWD_COMMAND}`; export r; \
38169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38170 $(NORMAL_TARGET_EXPORTS) \
38171 (cd $(TARGET_SUBDIR)/libssp && \
38172 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
38173 @endif target-libssp
38179 .PHONY: check-target-libssp maybe-check-target-libssp
38180 maybe-check-target-libssp:
38181 @if target-libssp
38182 maybe-check-target-libssp: check-target-libssp
38184 check-target-libssp:
38185 @: $(MAKE); $(unstage)
38186 @r=`${PWD_COMMAND}`; export r; \
38187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38188 $(NORMAL_TARGET_EXPORTS) \
38189 (cd $(TARGET_SUBDIR)/libssp && \
38190 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38192 @endif target-libssp
38194 .PHONY: install-target-libssp maybe-install-target-libssp
38195 maybe-install-target-libssp:
38196 @if target-libssp
38197 maybe-install-target-libssp: install-target-libssp
38199 install-target-libssp: installdirs
38200 @: $(MAKE); $(unstage)
38201 @r=`${PWD_COMMAND}`; export r; \
38202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38203 $(NORMAL_TARGET_EXPORTS) \
38204 (cd $(TARGET_SUBDIR)/libssp && \
38205 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38207 @endif target-libssp
38209 # Other targets (info, dvi, pdf, etc.)
38211 .PHONY: maybe-info-target-libssp info-target-libssp
38212 maybe-info-target-libssp:
38213 @if target-libssp
38214 maybe-info-target-libssp: info-target-libssp
38216 info-target-libssp: \
38217 configure-target-libssp
38218 @: $(MAKE); $(unstage)
38219 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38220 r=`${PWD_COMMAND}`; export r; \
38221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38222 $(NORMAL_TARGET_EXPORTS) \
38223 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
38224 for flag in $(EXTRA_TARGET_FLAGS); do \
38225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38226 done; \
38227 (cd $(TARGET_SUBDIR)/libssp && \
38228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38230 "RANLIB=$${RANLIB}" \
38231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38232 info) \
38233 || exit 1
38235 @endif target-libssp
38237 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
38238 maybe-dvi-target-libssp:
38239 @if target-libssp
38240 maybe-dvi-target-libssp: dvi-target-libssp
38242 dvi-target-libssp: \
38243 configure-target-libssp
38244 @: $(MAKE); $(unstage)
38245 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38246 r=`${PWD_COMMAND}`; export r; \
38247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38248 $(NORMAL_TARGET_EXPORTS) \
38249 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
38250 for flag in $(EXTRA_TARGET_FLAGS); do \
38251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38252 done; \
38253 (cd $(TARGET_SUBDIR)/libssp && \
38254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38256 "RANLIB=$${RANLIB}" \
38257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38258 dvi) \
38259 || exit 1
38261 @endif target-libssp
38263 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
38264 maybe-pdf-target-libssp:
38265 @if target-libssp
38266 maybe-pdf-target-libssp: pdf-target-libssp
38268 pdf-target-libssp: \
38269 configure-target-libssp
38270 @: $(MAKE); $(unstage)
38271 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38272 r=`${PWD_COMMAND}`; export r; \
38273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38274 $(NORMAL_TARGET_EXPORTS) \
38275 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
38276 for flag in $(EXTRA_TARGET_FLAGS); do \
38277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38278 done; \
38279 (cd $(TARGET_SUBDIR)/libssp && \
38280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38282 "RANLIB=$${RANLIB}" \
38283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38284 pdf) \
38285 || exit 1
38287 @endif target-libssp
38289 .PHONY: maybe-html-target-libssp html-target-libssp
38290 maybe-html-target-libssp:
38291 @if target-libssp
38292 maybe-html-target-libssp: html-target-libssp
38294 html-target-libssp: \
38295 configure-target-libssp
38296 @: $(MAKE); $(unstage)
38297 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38298 r=`${PWD_COMMAND}`; export r; \
38299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38300 $(NORMAL_TARGET_EXPORTS) \
38301 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
38302 for flag in $(EXTRA_TARGET_FLAGS); do \
38303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38304 done; \
38305 (cd $(TARGET_SUBDIR)/libssp && \
38306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38308 "RANLIB=$${RANLIB}" \
38309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38310 html) \
38311 || exit 1
38313 @endif target-libssp
38315 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
38316 maybe-TAGS-target-libssp:
38317 @if target-libssp
38318 maybe-TAGS-target-libssp: TAGS-target-libssp
38320 TAGS-target-libssp: \
38321 configure-target-libssp
38322 @: $(MAKE); $(unstage)
38323 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38324 r=`${PWD_COMMAND}`; export r; \
38325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38326 $(NORMAL_TARGET_EXPORTS) \
38327 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
38328 for flag in $(EXTRA_TARGET_FLAGS); do \
38329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38330 done; \
38331 (cd $(TARGET_SUBDIR)/libssp && \
38332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38334 "RANLIB=$${RANLIB}" \
38335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38336 TAGS) \
38337 || exit 1
38339 @endif target-libssp
38341 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
38342 maybe-install-info-target-libssp:
38343 @if target-libssp
38344 maybe-install-info-target-libssp: install-info-target-libssp
38346 install-info-target-libssp: \
38347 configure-target-libssp \
38348 info-target-libssp
38349 @: $(MAKE); $(unstage)
38350 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38351 r=`${PWD_COMMAND}`; export r; \
38352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38353 $(NORMAL_TARGET_EXPORTS) \
38354 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
38355 for flag in $(EXTRA_TARGET_FLAGS); do \
38356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38357 done; \
38358 (cd $(TARGET_SUBDIR)/libssp && \
38359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38361 "RANLIB=$${RANLIB}" \
38362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38363 install-info) \
38364 || exit 1
38366 @endif target-libssp
38368 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
38369 maybe-install-pdf-target-libssp:
38370 @if target-libssp
38371 maybe-install-pdf-target-libssp: install-pdf-target-libssp
38373 install-pdf-target-libssp: \
38374 configure-target-libssp \
38375 pdf-target-libssp
38376 @: $(MAKE); $(unstage)
38377 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38378 r=`${PWD_COMMAND}`; export r; \
38379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38380 $(NORMAL_TARGET_EXPORTS) \
38381 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
38382 for flag in $(EXTRA_TARGET_FLAGS); do \
38383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38384 done; \
38385 (cd $(TARGET_SUBDIR)/libssp && \
38386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38388 "RANLIB=$${RANLIB}" \
38389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38390 install-pdf) \
38391 || exit 1
38393 @endif target-libssp
38395 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
38396 maybe-install-html-target-libssp:
38397 @if target-libssp
38398 maybe-install-html-target-libssp: install-html-target-libssp
38400 install-html-target-libssp: \
38401 configure-target-libssp \
38402 html-target-libssp
38403 @: $(MAKE); $(unstage)
38404 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38405 r=`${PWD_COMMAND}`; export r; \
38406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38407 $(NORMAL_TARGET_EXPORTS) \
38408 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
38409 for flag in $(EXTRA_TARGET_FLAGS); do \
38410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38411 done; \
38412 (cd $(TARGET_SUBDIR)/libssp && \
38413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38415 "RANLIB=$${RANLIB}" \
38416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38417 install-html) \
38418 || exit 1
38420 @endif target-libssp
38422 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
38423 maybe-installcheck-target-libssp:
38424 @if target-libssp
38425 maybe-installcheck-target-libssp: installcheck-target-libssp
38427 installcheck-target-libssp: \
38428 configure-target-libssp
38429 @: $(MAKE); $(unstage)
38430 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38431 r=`${PWD_COMMAND}`; export r; \
38432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38433 $(NORMAL_TARGET_EXPORTS) \
38434 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
38435 for flag in $(EXTRA_TARGET_FLAGS); do \
38436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38437 done; \
38438 (cd $(TARGET_SUBDIR)/libssp && \
38439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38441 "RANLIB=$${RANLIB}" \
38442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38443 installcheck) \
38444 || exit 1
38446 @endif target-libssp
38448 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
38449 maybe-mostlyclean-target-libssp:
38450 @if target-libssp
38451 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
38453 mostlyclean-target-libssp:
38454 @: $(MAKE); $(unstage)
38455 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38456 r=`${PWD_COMMAND}`; export r; \
38457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38458 $(NORMAL_TARGET_EXPORTS) \
38459 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
38460 for flag in $(EXTRA_TARGET_FLAGS); do \
38461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38462 done; \
38463 (cd $(TARGET_SUBDIR)/libssp && \
38464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38466 "RANLIB=$${RANLIB}" \
38467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38468 mostlyclean) \
38469 || exit 1
38471 @endif target-libssp
38473 .PHONY: maybe-clean-target-libssp clean-target-libssp
38474 maybe-clean-target-libssp:
38475 @if target-libssp
38476 maybe-clean-target-libssp: clean-target-libssp
38478 clean-target-libssp:
38479 @: $(MAKE); $(unstage)
38480 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38481 r=`${PWD_COMMAND}`; export r; \
38482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38483 $(NORMAL_TARGET_EXPORTS) \
38484 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
38485 for flag in $(EXTRA_TARGET_FLAGS); do \
38486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38487 done; \
38488 (cd $(TARGET_SUBDIR)/libssp && \
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}" \
38493 clean) \
38494 || exit 1
38496 @endif target-libssp
38498 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
38499 maybe-distclean-target-libssp:
38500 @if target-libssp
38501 maybe-distclean-target-libssp: distclean-target-libssp
38503 distclean-target-libssp:
38504 @: $(MAKE); $(unstage)
38505 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38506 r=`${PWD_COMMAND}`; export r; \
38507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38508 $(NORMAL_TARGET_EXPORTS) \
38509 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
38510 for flag in $(EXTRA_TARGET_FLAGS); do \
38511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38512 done; \
38513 (cd $(TARGET_SUBDIR)/libssp && \
38514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38516 "RANLIB=$${RANLIB}" \
38517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38518 distclean) \
38519 || exit 1
38521 @endif target-libssp
38523 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
38524 maybe-maintainer-clean-target-libssp:
38525 @if target-libssp
38526 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
38528 maintainer-clean-target-libssp:
38529 @: $(MAKE); $(unstage)
38530 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
38531 r=`${PWD_COMMAND}`; export r; \
38532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38533 $(NORMAL_TARGET_EXPORTS) \
38534 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
38535 for flag in $(EXTRA_TARGET_FLAGS); do \
38536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38537 done; \
38538 (cd $(TARGET_SUBDIR)/libssp && \
38539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38541 "RANLIB=$${RANLIB}" \
38542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38543 maintainer-clean) \
38544 || exit 1
38546 @endif target-libssp
38552 .PHONY: configure-target-newlib maybe-configure-target-newlib
38553 maybe-configure-target-newlib:
38554 @if gcc-bootstrap
38555 configure-target-newlib: stage_current
38556 @endif gcc-bootstrap
38557 @if target-newlib
38558 maybe-configure-target-newlib: configure-target-newlib
38559 configure-target-newlib:
38560 @: $(MAKE); $(unstage)
38561 @r=`${PWD_COMMAND}`; export r; \
38562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38563 echo "Checking multilib configuration for newlib..."; \
38564 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
38565 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
38566 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
38567 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
38568 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
38569 else \
38570 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
38571 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
38572 fi; \
38573 else \
38574 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
38575 fi; \
38576 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
38577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
38578 $(NORMAL_TARGET_EXPORTS) \
38579 echo Configuring in $(TARGET_SUBDIR)/newlib; \
38580 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
38581 case $(srcdir) in \
38582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38583 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
38584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38585 esac; \
38586 srcdiroption="--srcdir=$${topdir}/newlib"; \
38587 libsrcdir="$$s/newlib"; \
38588 rm -f no-such-file || : ; \
38589 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38590 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38591 --target=${target_alias} $${srcdiroption} \
38592 || exit 1
38593 @endif target-newlib
38599 .PHONY: all-target-newlib maybe-all-target-newlib
38600 maybe-all-target-newlib:
38601 @if gcc-bootstrap
38602 all-target-newlib: stage_current
38603 @endif gcc-bootstrap
38604 @if target-newlib
38605 TARGET-target-newlib=all
38606 maybe-all-target-newlib: all-target-newlib
38607 all-target-newlib: configure-target-newlib
38608 @: $(MAKE); $(unstage)
38609 @r=`${PWD_COMMAND}`; export r; \
38610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38611 $(NORMAL_TARGET_EXPORTS) \
38612 (cd $(TARGET_SUBDIR)/newlib && \
38613 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
38614 @endif target-newlib
38620 .PHONY: check-target-newlib maybe-check-target-newlib
38621 maybe-check-target-newlib:
38622 @if target-newlib
38623 maybe-check-target-newlib: check-target-newlib
38625 check-target-newlib:
38626 @: $(MAKE); $(unstage)
38627 @r=`${PWD_COMMAND}`; export r; \
38628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38629 $(NORMAL_TARGET_EXPORTS) \
38630 (cd $(TARGET_SUBDIR)/newlib && \
38631 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38633 @endif target-newlib
38635 .PHONY: install-target-newlib maybe-install-target-newlib
38636 maybe-install-target-newlib:
38637 @if target-newlib
38638 maybe-install-target-newlib: install-target-newlib
38640 install-target-newlib: installdirs
38641 @: $(MAKE); $(unstage)
38642 @r=`${PWD_COMMAND}`; export r; \
38643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38644 $(NORMAL_TARGET_EXPORTS) \
38645 (cd $(TARGET_SUBDIR)/newlib && \
38646 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38648 @endif target-newlib
38650 # Other targets (info, dvi, pdf, etc.)
38652 .PHONY: maybe-info-target-newlib info-target-newlib
38653 maybe-info-target-newlib:
38654 @if target-newlib
38655 maybe-info-target-newlib: info-target-newlib
38657 info-target-newlib: \
38658 configure-target-newlib
38659 @: $(MAKE); $(unstage)
38660 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38661 r=`${PWD_COMMAND}`; export r; \
38662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38663 $(NORMAL_TARGET_EXPORTS) \
38664 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
38665 for flag in $(EXTRA_TARGET_FLAGS); do \
38666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38667 done; \
38668 (cd $(TARGET_SUBDIR)/newlib && \
38669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38671 "RANLIB=$${RANLIB}" \
38672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38673 info) \
38674 || exit 1
38676 @endif target-newlib
38678 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
38679 maybe-dvi-target-newlib:
38680 @if target-newlib
38681 maybe-dvi-target-newlib: dvi-target-newlib
38683 dvi-target-newlib: \
38684 configure-target-newlib
38685 @: $(MAKE); $(unstage)
38686 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38687 r=`${PWD_COMMAND}`; export r; \
38688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38689 $(NORMAL_TARGET_EXPORTS) \
38690 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
38691 for flag in $(EXTRA_TARGET_FLAGS); do \
38692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38693 done; \
38694 (cd $(TARGET_SUBDIR)/newlib && \
38695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38697 "RANLIB=$${RANLIB}" \
38698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38699 dvi) \
38700 || exit 1
38702 @endif target-newlib
38704 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
38705 maybe-pdf-target-newlib:
38706 @if target-newlib
38707 maybe-pdf-target-newlib: pdf-target-newlib
38709 pdf-target-newlib: \
38710 configure-target-newlib
38711 @: $(MAKE); $(unstage)
38712 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38713 r=`${PWD_COMMAND}`; export r; \
38714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38715 $(NORMAL_TARGET_EXPORTS) \
38716 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
38717 for flag in $(EXTRA_TARGET_FLAGS); do \
38718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38719 done; \
38720 (cd $(TARGET_SUBDIR)/newlib && \
38721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38723 "RANLIB=$${RANLIB}" \
38724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38725 pdf) \
38726 || exit 1
38728 @endif target-newlib
38730 .PHONY: maybe-html-target-newlib html-target-newlib
38731 maybe-html-target-newlib:
38732 @if target-newlib
38733 maybe-html-target-newlib: html-target-newlib
38735 html-target-newlib: \
38736 configure-target-newlib
38737 @: $(MAKE); $(unstage)
38738 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38739 r=`${PWD_COMMAND}`; export r; \
38740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38741 $(NORMAL_TARGET_EXPORTS) \
38742 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
38743 for flag in $(EXTRA_TARGET_FLAGS); do \
38744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38745 done; \
38746 (cd $(TARGET_SUBDIR)/newlib && \
38747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38749 "RANLIB=$${RANLIB}" \
38750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38751 html) \
38752 || exit 1
38754 @endif target-newlib
38756 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
38757 maybe-TAGS-target-newlib:
38758 @if target-newlib
38759 maybe-TAGS-target-newlib: TAGS-target-newlib
38761 TAGS-target-newlib: \
38762 configure-target-newlib
38763 @: $(MAKE); $(unstage)
38764 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38765 r=`${PWD_COMMAND}`; export r; \
38766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38767 $(NORMAL_TARGET_EXPORTS) \
38768 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
38769 for flag in $(EXTRA_TARGET_FLAGS); do \
38770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38771 done; \
38772 (cd $(TARGET_SUBDIR)/newlib && \
38773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38775 "RANLIB=$${RANLIB}" \
38776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38777 TAGS) \
38778 || exit 1
38780 @endif target-newlib
38782 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
38783 maybe-install-info-target-newlib:
38784 @if target-newlib
38785 maybe-install-info-target-newlib: install-info-target-newlib
38787 install-info-target-newlib: \
38788 configure-target-newlib \
38789 info-target-newlib
38790 @: $(MAKE); $(unstage)
38791 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38792 r=`${PWD_COMMAND}`; export r; \
38793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38794 $(NORMAL_TARGET_EXPORTS) \
38795 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
38796 for flag in $(EXTRA_TARGET_FLAGS); do \
38797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38798 done; \
38799 (cd $(TARGET_SUBDIR)/newlib && \
38800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38802 "RANLIB=$${RANLIB}" \
38803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38804 install-info) \
38805 || exit 1
38807 @endif target-newlib
38809 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
38810 maybe-install-pdf-target-newlib:
38811 @if target-newlib
38812 maybe-install-pdf-target-newlib: install-pdf-target-newlib
38814 install-pdf-target-newlib: \
38815 configure-target-newlib \
38816 pdf-target-newlib
38817 @: $(MAKE); $(unstage)
38818 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38819 r=`${PWD_COMMAND}`; export r; \
38820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38821 $(NORMAL_TARGET_EXPORTS) \
38822 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
38823 for flag in $(EXTRA_TARGET_FLAGS); do \
38824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38825 done; \
38826 (cd $(TARGET_SUBDIR)/newlib && \
38827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38829 "RANLIB=$${RANLIB}" \
38830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38831 install-pdf) \
38832 || exit 1
38834 @endif target-newlib
38836 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
38837 maybe-install-html-target-newlib:
38838 @if target-newlib
38839 maybe-install-html-target-newlib: install-html-target-newlib
38841 install-html-target-newlib: \
38842 configure-target-newlib \
38843 html-target-newlib
38844 @: $(MAKE); $(unstage)
38845 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38846 r=`${PWD_COMMAND}`; export r; \
38847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38848 $(NORMAL_TARGET_EXPORTS) \
38849 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
38850 for flag in $(EXTRA_TARGET_FLAGS); do \
38851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38852 done; \
38853 (cd $(TARGET_SUBDIR)/newlib && \
38854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38856 "RANLIB=$${RANLIB}" \
38857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38858 install-html) \
38859 || exit 1
38861 @endif target-newlib
38863 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
38864 maybe-installcheck-target-newlib:
38865 @if target-newlib
38866 maybe-installcheck-target-newlib: installcheck-target-newlib
38868 installcheck-target-newlib: \
38869 configure-target-newlib
38870 @: $(MAKE); $(unstage)
38871 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38872 r=`${PWD_COMMAND}`; export r; \
38873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38874 $(NORMAL_TARGET_EXPORTS) \
38875 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
38876 for flag in $(EXTRA_TARGET_FLAGS); do \
38877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38878 done; \
38879 (cd $(TARGET_SUBDIR)/newlib && \
38880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38882 "RANLIB=$${RANLIB}" \
38883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38884 installcheck) \
38885 || exit 1
38887 @endif target-newlib
38889 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
38890 maybe-mostlyclean-target-newlib:
38891 @if target-newlib
38892 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
38894 mostlyclean-target-newlib:
38895 @: $(MAKE); $(unstage)
38896 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38897 r=`${PWD_COMMAND}`; export r; \
38898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38899 $(NORMAL_TARGET_EXPORTS) \
38900 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
38901 for flag in $(EXTRA_TARGET_FLAGS); do \
38902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38903 done; \
38904 (cd $(TARGET_SUBDIR)/newlib && \
38905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38907 "RANLIB=$${RANLIB}" \
38908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38909 mostlyclean) \
38910 || exit 1
38912 @endif target-newlib
38914 .PHONY: maybe-clean-target-newlib clean-target-newlib
38915 maybe-clean-target-newlib:
38916 @if target-newlib
38917 maybe-clean-target-newlib: clean-target-newlib
38919 clean-target-newlib:
38920 @: $(MAKE); $(unstage)
38921 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38922 r=`${PWD_COMMAND}`; export r; \
38923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38924 $(NORMAL_TARGET_EXPORTS) \
38925 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
38926 for flag in $(EXTRA_TARGET_FLAGS); do \
38927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38928 done; \
38929 (cd $(TARGET_SUBDIR)/newlib && \
38930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38932 "RANLIB=$${RANLIB}" \
38933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38934 clean) \
38935 || exit 1
38937 @endif target-newlib
38939 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
38940 maybe-distclean-target-newlib:
38941 @if target-newlib
38942 maybe-distclean-target-newlib: distclean-target-newlib
38944 distclean-target-newlib:
38945 @: $(MAKE); $(unstage)
38946 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38947 r=`${PWD_COMMAND}`; export r; \
38948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38949 $(NORMAL_TARGET_EXPORTS) \
38950 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
38951 for flag in $(EXTRA_TARGET_FLAGS); do \
38952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38953 done; \
38954 (cd $(TARGET_SUBDIR)/newlib && \
38955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38957 "RANLIB=$${RANLIB}" \
38958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38959 distclean) \
38960 || exit 1
38962 @endif target-newlib
38964 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
38965 maybe-maintainer-clean-target-newlib:
38966 @if target-newlib
38967 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
38969 maintainer-clean-target-newlib:
38970 @: $(MAKE); $(unstage)
38971 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
38972 r=`${PWD_COMMAND}`; export r; \
38973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38974 $(NORMAL_TARGET_EXPORTS) \
38975 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
38976 for flag in $(EXTRA_TARGET_FLAGS); do \
38977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38978 done; \
38979 (cd $(TARGET_SUBDIR)/newlib && \
38980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38982 "RANLIB=$${RANLIB}" \
38983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38984 maintainer-clean) \
38985 || exit 1
38987 @endif target-newlib
38993 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
38994 maybe-configure-target-libgcc:
38995 @if gcc-bootstrap
38996 configure-target-libgcc: stage_current
38997 @endif gcc-bootstrap
38998 @if target-libgcc
38999 maybe-configure-target-libgcc: configure-target-libgcc
39000 configure-target-libgcc:
39001 @r=`${PWD_COMMAND}`; export r; \
39002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39003 echo "Checking multilib configuration for libgcc..."; \
39004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39005 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39006 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39007 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39008 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39009 else \
39010 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39011 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39012 fi; \
39013 else \
39014 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39015 fi; \
39016 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39017 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39018 $(NORMAL_TARGET_EXPORTS) \
39019 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
39020 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
39021 case $(srcdir) in \
39022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39023 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39025 esac; \
39026 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39027 libsrcdir="$$s/libgcc"; \
39028 rm -f no-such-file || : ; \
39029 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39030 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39031 --target=${target_alias} $${srcdiroption} \
39032 || exit 1
39033 @endif target-libgcc
39037 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
39038 maybe-configure-stage1-target-libgcc:
39039 @if target-libgcc-bootstrap
39040 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
39041 configure-stage1-target-libgcc:
39042 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39043 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
39044 @r=`${PWD_COMMAND}`; export r; \
39045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39046 echo "Checking multilib configuration for libgcc..."; \
39047 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39048 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39049 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39050 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39051 else \
39052 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39053 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39054 fi; \
39055 else \
39056 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39057 fi; \
39058 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39059 $(NORMAL_TARGET_EXPORTS) \
39060 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
39061 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39062 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
39063 case $(srcdir) in \
39064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39065 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39067 esac; \
39068 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39069 libsrcdir="$$s/libgcc"; \
39070 $(SHELL) $${libsrcdir}/configure \
39071 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39072 --target=${target_alias} $${srcdiroption} \
39074 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
39075 @endif target-libgcc-bootstrap
39077 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
39078 maybe-configure-stage2-target-libgcc:
39079 @if target-libgcc-bootstrap
39080 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
39081 configure-stage2-target-libgcc:
39082 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39083 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
39084 @r=`${PWD_COMMAND}`; export r; \
39085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39086 echo "Checking multilib configuration for libgcc..."; \
39087 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39088 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39089 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39090 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39091 else \
39092 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39093 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39094 fi; \
39095 else \
39096 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39097 fi; \
39098 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39099 $(NORMAL_TARGET_EXPORTS) \
39101 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
39102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39103 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
39104 case $(srcdir) in \
39105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39106 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39108 esac; \
39109 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39110 libsrcdir="$$s/libgcc"; \
39111 $(SHELL) $${libsrcdir}/configure \
39112 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39113 --target=${target_alias} $${srcdiroption} \
39114 --with-build-libsubdir=$(HOST_SUBDIR) \
39115 @stage2_werror_flag@
39116 @endif target-libgcc-bootstrap
39118 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
39119 maybe-configure-stage3-target-libgcc:
39120 @if target-libgcc-bootstrap
39121 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
39122 configure-stage3-target-libgcc:
39123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39124 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
39125 @r=`${PWD_COMMAND}`; export r; \
39126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39127 echo "Checking multilib configuration for libgcc..."; \
39128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39129 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39130 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39131 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39132 else \
39133 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39134 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39135 fi; \
39136 else \
39137 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39138 fi; \
39139 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39140 $(NORMAL_TARGET_EXPORTS) \
39142 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
39143 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39144 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
39145 case $(srcdir) in \
39146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39147 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39149 esac; \
39150 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39151 libsrcdir="$$s/libgcc"; \
39152 $(SHELL) $${libsrcdir}/configure \
39153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39154 --target=${target_alias} $${srcdiroption} \
39155 --with-build-libsubdir=$(HOST_SUBDIR) \
39156 @stage2_werror_flag@
39157 @endif target-libgcc-bootstrap
39159 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
39160 maybe-configure-stage4-target-libgcc:
39161 @if target-libgcc-bootstrap
39162 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
39163 configure-stage4-target-libgcc:
39164 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39165 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
39166 @r=`${PWD_COMMAND}`; export r; \
39167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39168 echo "Checking multilib configuration for libgcc..."; \
39169 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39170 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39171 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39172 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39173 else \
39174 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39175 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39176 fi; \
39177 else \
39178 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39179 fi; \
39180 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39181 $(NORMAL_TARGET_EXPORTS) \
39183 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
39184 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39185 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
39186 case $(srcdir) in \
39187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39188 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39190 esac; \
39191 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39192 libsrcdir="$$s/libgcc"; \
39193 $(SHELL) $${libsrcdir}/configure \
39194 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39195 --target=${target_alias} $${srcdiroption} \
39196 --with-build-libsubdir=$(HOST_SUBDIR) \
39197 @stage2_werror_flag@
39198 @endif target-libgcc-bootstrap
39200 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
39201 maybe-configure-stageprofile-target-libgcc:
39202 @if target-libgcc-bootstrap
39203 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
39204 configure-stageprofile-target-libgcc:
39205 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39206 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
39207 @r=`${PWD_COMMAND}`; export r; \
39208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39209 echo "Checking multilib configuration for libgcc..."; \
39210 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39211 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39212 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39213 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39214 else \
39215 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39216 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39217 fi; \
39218 else \
39219 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39220 fi; \
39221 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39222 $(NORMAL_TARGET_EXPORTS) \
39224 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
39225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39226 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
39227 case $(srcdir) in \
39228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39229 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39231 esac; \
39232 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39233 libsrcdir="$$s/libgcc"; \
39234 $(SHELL) $${libsrcdir}/configure \
39235 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39236 --target=${target_alias} $${srcdiroption} \
39237 --with-build-libsubdir=$(HOST_SUBDIR) \
39238 @stage2_werror_flag@
39239 @endif target-libgcc-bootstrap
39241 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
39242 maybe-configure-stagefeedback-target-libgcc:
39243 @if target-libgcc-bootstrap
39244 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
39245 configure-stagefeedback-target-libgcc:
39246 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39247 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
39248 @r=`${PWD_COMMAND}`; export r; \
39249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39250 echo "Checking multilib configuration for libgcc..."; \
39251 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
39252 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39253 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
39254 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
39255 else \
39256 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
39257 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39258 fi; \
39259 else \
39260 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
39261 fi; \
39262 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
39263 $(NORMAL_TARGET_EXPORTS) \
39265 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
39266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
39267 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
39268 case $(srcdir) in \
39269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39270 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
39271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39272 esac; \
39273 srcdiroption="--srcdir=$${topdir}/libgcc"; \
39274 libsrcdir="$$s/libgcc"; \
39275 $(SHELL) $${libsrcdir}/configure \
39276 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39277 --target=${target_alias} $${srcdiroption} \
39278 --with-build-libsubdir=$(HOST_SUBDIR) \
39279 @stage2_werror_flag@
39280 @endif target-libgcc-bootstrap
39286 .PHONY: all-target-libgcc maybe-all-target-libgcc
39287 maybe-all-target-libgcc:
39288 @if gcc-bootstrap
39289 all-target-libgcc: stage_current
39290 @endif gcc-bootstrap
39291 @if target-libgcc
39292 TARGET-target-libgcc=all
39293 maybe-all-target-libgcc: all-target-libgcc
39294 all-target-libgcc: configure-target-libgcc
39295 @r=`${PWD_COMMAND}`; export r; \
39296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39297 $(NORMAL_TARGET_EXPORTS) \
39298 (cd $(TARGET_SUBDIR)/libgcc && \
39299 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc))
39300 @endif target-libgcc
39304 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
39305 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
39306 maybe-all-stage1-target-libgcc:
39307 maybe-clean-stage1-target-libgcc:
39308 @if target-libgcc-bootstrap
39309 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
39310 all-stage1: all-stage1-target-libgcc
39311 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
39312 all-stage1-target-libgcc: configure-stage1-target-libgcc
39313 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
39314 @r=`${PWD_COMMAND}`; export r; \
39315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39316 $(NORMAL_TARGET_EXPORTS) \
39317 cd $(TARGET_SUBDIR)/libgcc && \
39318 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
39319 $(TARGET-stage1-target-libgcc)
39321 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
39322 clean-stage1: clean-stage1-target-libgcc
39323 clean-stage1-target-libgcc:
39324 @if [ $(current_stage) = stage1 ]; then \
39325 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39326 else \
39327 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
39328 $(MAKE) stage1-start; \
39329 fi; \
39330 cd $(TARGET_SUBDIR)/libgcc && \
39331 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39332 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
39333 @endif target-libgcc-bootstrap
39336 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
39337 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
39338 maybe-all-stage2-target-libgcc:
39339 maybe-clean-stage2-target-libgcc:
39340 @if target-libgcc-bootstrap
39341 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
39342 all-stage2: all-stage2-target-libgcc
39343 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
39344 all-stage2-target-libgcc: configure-stage2-target-libgcc
39345 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
39346 @r=`${PWD_COMMAND}`; export r; \
39347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39348 $(NORMAL_TARGET_EXPORTS) \
39350 cd $(TARGET_SUBDIR)/libgcc && \
39351 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39352 $(TARGET-stage2-target-libgcc)
39354 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
39355 clean-stage2: clean-stage2-target-libgcc
39356 clean-stage2-target-libgcc:
39357 @if [ $(current_stage) = stage2 ]; then \
39358 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39359 else \
39360 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
39361 $(MAKE) stage2-start; \
39362 fi; \
39363 cd $(TARGET_SUBDIR)/libgcc && \
39364 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39366 clean
39367 @endif target-libgcc-bootstrap
39370 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
39371 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
39372 maybe-all-stage3-target-libgcc:
39373 maybe-clean-stage3-target-libgcc:
39374 @if target-libgcc-bootstrap
39375 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
39376 all-stage3: all-stage3-target-libgcc
39377 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
39378 all-stage3-target-libgcc: configure-stage3-target-libgcc
39379 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
39380 @r=`${PWD_COMMAND}`; export r; \
39381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39382 $(NORMAL_TARGET_EXPORTS) \
39384 cd $(TARGET_SUBDIR)/libgcc && \
39385 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39386 $(TARGET-stage3-target-libgcc)
39388 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
39389 clean-stage3: clean-stage3-target-libgcc
39390 clean-stage3-target-libgcc:
39391 @if [ $(current_stage) = stage3 ]; then \
39392 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39393 else \
39394 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
39395 $(MAKE) stage3-start; \
39396 fi; \
39397 cd $(TARGET_SUBDIR)/libgcc && \
39398 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39400 clean
39401 @endif target-libgcc-bootstrap
39404 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
39405 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
39406 maybe-all-stage4-target-libgcc:
39407 maybe-clean-stage4-target-libgcc:
39408 @if target-libgcc-bootstrap
39409 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
39410 all-stage4: all-stage4-target-libgcc
39411 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
39412 all-stage4-target-libgcc: configure-stage4-target-libgcc
39413 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
39414 @r=`${PWD_COMMAND}`; export r; \
39415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39416 $(NORMAL_TARGET_EXPORTS) \
39418 cd $(TARGET_SUBDIR)/libgcc && \
39419 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39420 $(TARGET-stage4-target-libgcc)
39422 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
39423 clean-stage4: clean-stage4-target-libgcc
39424 clean-stage4-target-libgcc:
39425 @if [ $(current_stage) = stage4 ]; then \
39426 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39427 else \
39428 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
39429 $(MAKE) stage4-start; \
39430 fi; \
39431 cd $(TARGET_SUBDIR)/libgcc && \
39432 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39434 clean
39435 @endif target-libgcc-bootstrap
39438 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
39439 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
39440 maybe-all-stageprofile-target-libgcc:
39441 maybe-clean-stageprofile-target-libgcc:
39442 @if target-libgcc-bootstrap
39443 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
39444 all-stageprofile: all-stageprofile-target-libgcc
39445 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
39446 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
39447 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
39448 @r=`${PWD_COMMAND}`; export r; \
39449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39450 $(NORMAL_TARGET_EXPORTS) \
39452 cd $(TARGET_SUBDIR)/libgcc && \
39453 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
39454 $(TARGET-stageprofile-target-libgcc)
39456 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
39457 clean-stageprofile: clean-stageprofile-target-libgcc
39458 clean-stageprofile-target-libgcc:
39459 @if [ $(current_stage) = stageprofile ]; then \
39460 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39461 else \
39462 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
39463 $(MAKE) stageprofile-start; \
39464 fi; \
39465 cd $(TARGET_SUBDIR)/libgcc && \
39466 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39468 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
39469 @endif target-libgcc-bootstrap
39472 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
39473 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
39474 maybe-all-stagefeedback-target-libgcc:
39475 maybe-clean-stagefeedback-target-libgcc:
39476 @if target-libgcc-bootstrap
39477 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
39478 all-stagefeedback: all-stagefeedback-target-libgcc
39479 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
39480 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
39481 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
39482 @r=`${PWD_COMMAND}`; export r; \
39483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39484 $(NORMAL_TARGET_EXPORTS) \
39486 cd $(TARGET_SUBDIR)/libgcc && \
39487 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
39488 $(TARGET-stagefeedback-target-libgcc)
39490 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
39491 clean-stagefeedback: clean-stagefeedback-target-libgcc
39492 clean-stagefeedback-target-libgcc:
39493 @if [ $(current_stage) = stagefeedback ]; then \
39494 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
39495 else \
39496 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
39497 $(MAKE) stagefeedback-start; \
39498 fi; \
39499 cd $(TARGET_SUBDIR)/libgcc && \
39500 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
39502 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
39503 @endif target-libgcc-bootstrap
39510 .PHONY: check-target-libgcc maybe-check-target-libgcc
39511 maybe-check-target-libgcc:
39512 @if target-libgcc
39513 maybe-check-target-libgcc: check-target-libgcc
39515 # Dummy target for uncheckable module.
39516 check-target-libgcc:
39518 @endif target-libgcc
39520 .PHONY: install-target-libgcc maybe-install-target-libgcc
39521 maybe-install-target-libgcc:
39522 @if target-libgcc
39523 maybe-install-target-libgcc: install-target-libgcc
39525 install-target-libgcc: installdirs
39526 @: $(MAKE); $(unstage)
39527 @r=`${PWD_COMMAND}`; export r; \
39528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39529 $(NORMAL_TARGET_EXPORTS) \
39530 (cd $(TARGET_SUBDIR)/libgcc && \
39531 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39533 @endif target-libgcc
39535 # Other targets (info, dvi, pdf, etc.)
39537 .PHONY: maybe-info-target-libgcc info-target-libgcc
39538 maybe-info-target-libgcc:
39539 @if target-libgcc
39540 maybe-info-target-libgcc: info-target-libgcc
39542 info-target-libgcc: \
39543 configure-target-libgcc
39544 @: $(MAKE); $(unstage)
39545 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39546 r=`${PWD_COMMAND}`; export r; \
39547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39548 $(NORMAL_TARGET_EXPORTS) \
39549 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
39550 for flag in $(EXTRA_TARGET_FLAGS); do \
39551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39552 done; \
39553 (cd $(TARGET_SUBDIR)/libgcc && \
39554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39556 "RANLIB=$${RANLIB}" \
39557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39558 info) \
39559 || exit 1
39561 @endif target-libgcc
39563 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
39564 maybe-dvi-target-libgcc:
39565 @if target-libgcc
39566 maybe-dvi-target-libgcc: dvi-target-libgcc
39568 dvi-target-libgcc: \
39569 configure-target-libgcc
39570 @: $(MAKE); $(unstage)
39571 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39572 r=`${PWD_COMMAND}`; export r; \
39573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39574 $(NORMAL_TARGET_EXPORTS) \
39575 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
39576 for flag in $(EXTRA_TARGET_FLAGS); do \
39577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39578 done; \
39579 (cd $(TARGET_SUBDIR)/libgcc && \
39580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39582 "RANLIB=$${RANLIB}" \
39583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39584 dvi) \
39585 || exit 1
39587 @endif target-libgcc
39589 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
39590 maybe-pdf-target-libgcc:
39591 @if target-libgcc
39592 maybe-pdf-target-libgcc: pdf-target-libgcc
39594 pdf-target-libgcc: \
39595 configure-target-libgcc
39596 @: $(MAKE); $(unstage)
39597 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39598 r=`${PWD_COMMAND}`; export r; \
39599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39600 $(NORMAL_TARGET_EXPORTS) \
39601 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
39602 for flag in $(EXTRA_TARGET_FLAGS); do \
39603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39604 done; \
39605 (cd $(TARGET_SUBDIR)/libgcc && \
39606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39608 "RANLIB=$${RANLIB}" \
39609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39610 pdf) \
39611 || exit 1
39613 @endif target-libgcc
39615 .PHONY: maybe-html-target-libgcc html-target-libgcc
39616 maybe-html-target-libgcc:
39617 @if target-libgcc
39618 maybe-html-target-libgcc: html-target-libgcc
39620 html-target-libgcc: \
39621 configure-target-libgcc
39622 @: $(MAKE); $(unstage)
39623 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39624 r=`${PWD_COMMAND}`; export r; \
39625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39626 $(NORMAL_TARGET_EXPORTS) \
39627 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
39628 for flag in $(EXTRA_TARGET_FLAGS); do \
39629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39630 done; \
39631 (cd $(TARGET_SUBDIR)/libgcc && \
39632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39634 "RANLIB=$${RANLIB}" \
39635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39636 html) \
39637 || exit 1
39639 @endif target-libgcc
39641 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
39642 maybe-TAGS-target-libgcc:
39643 @if target-libgcc
39644 maybe-TAGS-target-libgcc: TAGS-target-libgcc
39646 TAGS-target-libgcc: \
39647 configure-target-libgcc
39648 @: $(MAKE); $(unstage)
39649 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39650 r=`${PWD_COMMAND}`; export r; \
39651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39652 $(NORMAL_TARGET_EXPORTS) \
39653 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
39654 for flag in $(EXTRA_TARGET_FLAGS); do \
39655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39656 done; \
39657 (cd $(TARGET_SUBDIR)/libgcc && \
39658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39660 "RANLIB=$${RANLIB}" \
39661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39662 TAGS) \
39663 || exit 1
39665 @endif target-libgcc
39667 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
39668 maybe-install-info-target-libgcc:
39669 @if target-libgcc
39670 maybe-install-info-target-libgcc: install-info-target-libgcc
39672 install-info-target-libgcc: \
39673 configure-target-libgcc \
39674 info-target-libgcc
39675 @: $(MAKE); $(unstage)
39676 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39677 r=`${PWD_COMMAND}`; export r; \
39678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39679 $(NORMAL_TARGET_EXPORTS) \
39680 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
39681 for flag in $(EXTRA_TARGET_FLAGS); do \
39682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39683 done; \
39684 (cd $(TARGET_SUBDIR)/libgcc && \
39685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39687 "RANLIB=$${RANLIB}" \
39688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39689 install-info) \
39690 || exit 1
39692 @endif target-libgcc
39694 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
39695 maybe-install-pdf-target-libgcc:
39696 @if target-libgcc
39697 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
39699 install-pdf-target-libgcc: \
39700 configure-target-libgcc \
39701 pdf-target-libgcc
39702 @: $(MAKE); $(unstage)
39703 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39704 r=`${PWD_COMMAND}`; export r; \
39705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39706 $(NORMAL_TARGET_EXPORTS) \
39707 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
39708 for flag in $(EXTRA_TARGET_FLAGS); do \
39709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39710 done; \
39711 (cd $(TARGET_SUBDIR)/libgcc && \
39712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39714 "RANLIB=$${RANLIB}" \
39715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39716 install-pdf) \
39717 || exit 1
39719 @endif target-libgcc
39721 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
39722 maybe-install-html-target-libgcc:
39723 @if target-libgcc
39724 maybe-install-html-target-libgcc: install-html-target-libgcc
39726 install-html-target-libgcc: \
39727 configure-target-libgcc \
39728 html-target-libgcc
39729 @: $(MAKE); $(unstage)
39730 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39731 r=`${PWD_COMMAND}`; export r; \
39732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39733 $(NORMAL_TARGET_EXPORTS) \
39734 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
39735 for flag in $(EXTRA_TARGET_FLAGS); do \
39736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39737 done; \
39738 (cd $(TARGET_SUBDIR)/libgcc && \
39739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39741 "RANLIB=$${RANLIB}" \
39742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39743 install-html) \
39744 || exit 1
39746 @endif target-libgcc
39748 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
39749 maybe-installcheck-target-libgcc:
39750 @if target-libgcc
39751 maybe-installcheck-target-libgcc: installcheck-target-libgcc
39753 installcheck-target-libgcc: \
39754 configure-target-libgcc
39755 @: $(MAKE); $(unstage)
39756 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39757 r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 $(NORMAL_TARGET_EXPORTS) \
39760 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
39761 for flag in $(EXTRA_TARGET_FLAGS); do \
39762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39763 done; \
39764 (cd $(TARGET_SUBDIR)/libgcc && \
39765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39767 "RANLIB=$${RANLIB}" \
39768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39769 installcheck) \
39770 || exit 1
39772 @endif target-libgcc
39774 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
39775 maybe-mostlyclean-target-libgcc:
39776 @if target-libgcc
39777 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
39779 mostlyclean-target-libgcc:
39780 @: $(MAKE); $(unstage)
39781 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39782 r=`${PWD_COMMAND}`; export r; \
39783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39784 $(NORMAL_TARGET_EXPORTS) \
39785 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
39786 for flag in $(EXTRA_TARGET_FLAGS); do \
39787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39788 done; \
39789 (cd $(TARGET_SUBDIR)/libgcc && \
39790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39792 "RANLIB=$${RANLIB}" \
39793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39794 mostlyclean) \
39795 || exit 1
39797 @endif target-libgcc
39799 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
39800 maybe-clean-target-libgcc:
39801 @if target-libgcc
39802 maybe-clean-target-libgcc: clean-target-libgcc
39804 clean-target-libgcc:
39805 @: $(MAKE); $(unstage)
39806 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39807 r=`${PWD_COMMAND}`; export r; \
39808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39809 $(NORMAL_TARGET_EXPORTS) \
39810 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
39811 for flag in $(EXTRA_TARGET_FLAGS); do \
39812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39813 done; \
39814 (cd $(TARGET_SUBDIR)/libgcc && \
39815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39817 "RANLIB=$${RANLIB}" \
39818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39819 clean) \
39820 || exit 1
39822 @endif target-libgcc
39824 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
39825 maybe-distclean-target-libgcc:
39826 @if target-libgcc
39827 maybe-distclean-target-libgcc: distclean-target-libgcc
39829 distclean-target-libgcc:
39830 @: $(MAKE); $(unstage)
39831 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39832 r=`${PWD_COMMAND}`; export r; \
39833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39834 $(NORMAL_TARGET_EXPORTS) \
39835 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
39836 for flag in $(EXTRA_TARGET_FLAGS); do \
39837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39838 done; \
39839 (cd $(TARGET_SUBDIR)/libgcc && \
39840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39842 "RANLIB=$${RANLIB}" \
39843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39844 distclean) \
39845 || exit 1
39847 @endif target-libgcc
39849 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
39850 maybe-maintainer-clean-target-libgcc:
39851 @if target-libgcc
39852 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
39854 maintainer-clean-target-libgcc:
39855 @: $(MAKE); $(unstage)
39856 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
39857 r=`${PWD_COMMAND}`; export r; \
39858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39859 $(NORMAL_TARGET_EXPORTS) \
39860 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
39861 for flag in $(EXTRA_TARGET_FLAGS); do \
39862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39863 done; \
39864 (cd $(TARGET_SUBDIR)/libgcc && \
39865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39867 "RANLIB=$${RANLIB}" \
39868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39869 maintainer-clean) \
39870 || exit 1
39872 @endif target-libgcc
39878 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
39879 maybe-configure-target-libgfortran:
39880 @if gcc-bootstrap
39881 configure-target-libgfortran: stage_current
39882 @endif gcc-bootstrap
39883 @if target-libgfortran
39884 maybe-configure-target-libgfortran: configure-target-libgfortran
39885 configure-target-libgfortran:
39886 @: $(MAKE); $(unstage)
39887 @r=`${PWD_COMMAND}`; export r; \
39888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39889 echo "Checking multilib configuration for libgfortran..."; \
39890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
39891 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
39892 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
39893 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
39894 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
39895 else \
39896 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
39897 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
39898 fi; \
39899 else \
39900 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
39901 fi; \
39902 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
39903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
39904 $(NORMAL_TARGET_EXPORTS) \
39905 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
39906 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
39907 case $(srcdir) in \
39908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39909 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
39910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39911 esac; \
39912 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
39913 libsrcdir="$$s/libgfortran"; \
39914 rm -f no-such-file || : ; \
39915 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39916 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39917 --target=${target_alias} $${srcdiroption} \
39918 || exit 1
39919 @endif target-libgfortran
39925 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
39926 maybe-all-target-libgfortran:
39927 @if gcc-bootstrap
39928 all-target-libgfortran: stage_current
39929 @endif gcc-bootstrap
39930 @if target-libgfortran
39931 TARGET-target-libgfortran=all
39932 maybe-all-target-libgfortran: all-target-libgfortran
39933 all-target-libgfortran: configure-target-libgfortran
39934 @: $(MAKE); $(unstage)
39935 @r=`${PWD_COMMAND}`; export r; \
39936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39937 $(NORMAL_TARGET_EXPORTS) \
39938 (cd $(TARGET_SUBDIR)/libgfortran && \
39939 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
39940 @endif target-libgfortran
39946 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
39947 maybe-check-target-libgfortran:
39948 @if target-libgfortran
39949 maybe-check-target-libgfortran: check-target-libgfortran
39951 check-target-libgfortran:
39952 @: $(MAKE); $(unstage)
39953 @r=`${PWD_COMMAND}`; export r; \
39954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39955 $(NORMAL_TARGET_EXPORTS) \
39956 (cd $(TARGET_SUBDIR)/libgfortran && \
39957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39959 @endif target-libgfortran
39961 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
39962 maybe-install-target-libgfortran:
39963 @if target-libgfortran
39964 maybe-install-target-libgfortran: install-target-libgfortran
39966 install-target-libgfortran: installdirs
39967 @: $(MAKE); $(unstage)
39968 @r=`${PWD_COMMAND}`; export r; \
39969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39970 $(NORMAL_TARGET_EXPORTS) \
39971 (cd $(TARGET_SUBDIR)/libgfortran && \
39972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39974 @endif target-libgfortran
39976 # Other targets (info, dvi, pdf, etc.)
39978 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
39979 maybe-info-target-libgfortran:
39980 @if target-libgfortran
39981 maybe-info-target-libgfortran: info-target-libgfortran
39983 info-target-libgfortran: \
39984 configure-target-libgfortran
39985 @: $(MAKE); $(unstage)
39986 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39987 r=`${PWD_COMMAND}`; export r; \
39988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39989 $(NORMAL_TARGET_EXPORTS) \
39990 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
39991 for flag in $(EXTRA_TARGET_FLAGS); do \
39992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39993 done; \
39994 (cd $(TARGET_SUBDIR)/libgfortran && \
39995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39997 "RANLIB=$${RANLIB}" \
39998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39999 info) \
40000 || exit 1
40002 @endif target-libgfortran
40004 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
40005 maybe-dvi-target-libgfortran:
40006 @if target-libgfortran
40007 maybe-dvi-target-libgfortran: dvi-target-libgfortran
40009 dvi-target-libgfortran: \
40010 configure-target-libgfortran
40011 @: $(MAKE); $(unstage)
40012 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40013 r=`${PWD_COMMAND}`; export r; \
40014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40015 $(NORMAL_TARGET_EXPORTS) \
40016 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
40017 for flag in $(EXTRA_TARGET_FLAGS); do \
40018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40019 done; \
40020 (cd $(TARGET_SUBDIR)/libgfortran && \
40021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40023 "RANLIB=$${RANLIB}" \
40024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40025 dvi) \
40026 || exit 1
40028 @endif target-libgfortran
40030 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
40031 maybe-pdf-target-libgfortran:
40032 @if target-libgfortran
40033 maybe-pdf-target-libgfortran: pdf-target-libgfortran
40035 pdf-target-libgfortran: \
40036 configure-target-libgfortran
40037 @: $(MAKE); $(unstage)
40038 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40039 r=`${PWD_COMMAND}`; export r; \
40040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40041 $(NORMAL_TARGET_EXPORTS) \
40042 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
40043 for flag in $(EXTRA_TARGET_FLAGS); do \
40044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40045 done; \
40046 (cd $(TARGET_SUBDIR)/libgfortran && \
40047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40049 "RANLIB=$${RANLIB}" \
40050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40051 pdf) \
40052 || exit 1
40054 @endif target-libgfortran
40056 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
40057 maybe-html-target-libgfortran:
40058 @if target-libgfortran
40059 maybe-html-target-libgfortran: html-target-libgfortran
40061 html-target-libgfortran: \
40062 configure-target-libgfortran
40063 @: $(MAKE); $(unstage)
40064 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40065 r=`${PWD_COMMAND}`; export r; \
40066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40067 $(NORMAL_TARGET_EXPORTS) \
40068 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
40069 for flag in $(EXTRA_TARGET_FLAGS); do \
40070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40071 done; \
40072 (cd $(TARGET_SUBDIR)/libgfortran && \
40073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40075 "RANLIB=$${RANLIB}" \
40076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40077 html) \
40078 || exit 1
40080 @endif target-libgfortran
40082 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
40083 maybe-TAGS-target-libgfortran:
40084 @if target-libgfortran
40085 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
40087 TAGS-target-libgfortran: \
40088 configure-target-libgfortran
40089 @: $(MAKE); $(unstage)
40090 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40091 r=`${PWD_COMMAND}`; export r; \
40092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40093 $(NORMAL_TARGET_EXPORTS) \
40094 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
40095 for flag in $(EXTRA_TARGET_FLAGS); do \
40096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40097 done; \
40098 (cd $(TARGET_SUBDIR)/libgfortran && \
40099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40101 "RANLIB=$${RANLIB}" \
40102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40103 TAGS) \
40104 || exit 1
40106 @endif target-libgfortran
40108 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
40109 maybe-install-info-target-libgfortran:
40110 @if target-libgfortran
40111 maybe-install-info-target-libgfortran: install-info-target-libgfortran
40113 install-info-target-libgfortran: \
40114 configure-target-libgfortran \
40115 info-target-libgfortran
40116 @: $(MAKE); $(unstage)
40117 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40118 r=`${PWD_COMMAND}`; export r; \
40119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40120 $(NORMAL_TARGET_EXPORTS) \
40121 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
40122 for flag in $(EXTRA_TARGET_FLAGS); do \
40123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40124 done; \
40125 (cd $(TARGET_SUBDIR)/libgfortran && \
40126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40128 "RANLIB=$${RANLIB}" \
40129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40130 install-info) \
40131 || exit 1
40133 @endif target-libgfortran
40135 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
40136 maybe-install-pdf-target-libgfortran:
40137 @if target-libgfortran
40138 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
40140 install-pdf-target-libgfortran: \
40141 configure-target-libgfortran \
40142 pdf-target-libgfortran
40143 @: $(MAKE); $(unstage)
40144 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40145 r=`${PWD_COMMAND}`; export r; \
40146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40147 $(NORMAL_TARGET_EXPORTS) \
40148 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
40149 for flag in $(EXTRA_TARGET_FLAGS); do \
40150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40151 done; \
40152 (cd $(TARGET_SUBDIR)/libgfortran && \
40153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40155 "RANLIB=$${RANLIB}" \
40156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40157 install-pdf) \
40158 || exit 1
40160 @endif target-libgfortran
40162 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
40163 maybe-install-html-target-libgfortran:
40164 @if target-libgfortran
40165 maybe-install-html-target-libgfortran: install-html-target-libgfortran
40167 install-html-target-libgfortran: \
40168 configure-target-libgfortran \
40169 html-target-libgfortran
40170 @: $(MAKE); $(unstage)
40171 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40172 r=`${PWD_COMMAND}`; export r; \
40173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40174 $(NORMAL_TARGET_EXPORTS) \
40175 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
40176 for flag in $(EXTRA_TARGET_FLAGS); do \
40177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40178 done; \
40179 (cd $(TARGET_SUBDIR)/libgfortran && \
40180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40182 "RANLIB=$${RANLIB}" \
40183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40184 install-html) \
40185 || exit 1
40187 @endif target-libgfortran
40189 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
40190 maybe-installcheck-target-libgfortran:
40191 @if target-libgfortran
40192 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
40194 installcheck-target-libgfortran: \
40195 configure-target-libgfortran
40196 @: $(MAKE); $(unstage)
40197 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40198 r=`${PWD_COMMAND}`; export r; \
40199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40200 $(NORMAL_TARGET_EXPORTS) \
40201 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
40202 for flag in $(EXTRA_TARGET_FLAGS); do \
40203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40204 done; \
40205 (cd $(TARGET_SUBDIR)/libgfortran && \
40206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40208 "RANLIB=$${RANLIB}" \
40209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40210 installcheck) \
40211 || exit 1
40213 @endif target-libgfortran
40215 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
40216 maybe-mostlyclean-target-libgfortran:
40217 @if target-libgfortran
40218 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
40220 mostlyclean-target-libgfortran:
40221 @: $(MAKE); $(unstage)
40222 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40223 r=`${PWD_COMMAND}`; export r; \
40224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40225 $(NORMAL_TARGET_EXPORTS) \
40226 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
40227 for flag in $(EXTRA_TARGET_FLAGS); do \
40228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40229 done; \
40230 (cd $(TARGET_SUBDIR)/libgfortran && \
40231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40233 "RANLIB=$${RANLIB}" \
40234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40235 mostlyclean) \
40236 || exit 1
40238 @endif target-libgfortran
40240 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
40241 maybe-clean-target-libgfortran:
40242 @if target-libgfortran
40243 maybe-clean-target-libgfortran: clean-target-libgfortran
40245 clean-target-libgfortran:
40246 @: $(MAKE); $(unstage)
40247 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40248 r=`${PWD_COMMAND}`; export r; \
40249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40250 $(NORMAL_TARGET_EXPORTS) \
40251 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
40252 for flag in $(EXTRA_TARGET_FLAGS); do \
40253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40254 done; \
40255 (cd $(TARGET_SUBDIR)/libgfortran && \
40256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40258 "RANLIB=$${RANLIB}" \
40259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40260 clean) \
40261 || exit 1
40263 @endif target-libgfortran
40265 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
40266 maybe-distclean-target-libgfortran:
40267 @if target-libgfortran
40268 maybe-distclean-target-libgfortran: distclean-target-libgfortran
40270 distclean-target-libgfortran:
40271 @: $(MAKE); $(unstage)
40272 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40273 r=`${PWD_COMMAND}`; export r; \
40274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40275 $(NORMAL_TARGET_EXPORTS) \
40276 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
40277 for flag in $(EXTRA_TARGET_FLAGS); do \
40278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40279 done; \
40280 (cd $(TARGET_SUBDIR)/libgfortran && \
40281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40283 "RANLIB=$${RANLIB}" \
40284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40285 distclean) \
40286 || exit 1
40288 @endif target-libgfortran
40290 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
40291 maybe-maintainer-clean-target-libgfortran:
40292 @if target-libgfortran
40293 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
40295 maintainer-clean-target-libgfortran:
40296 @: $(MAKE); $(unstage)
40297 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
40298 r=`${PWD_COMMAND}`; export r; \
40299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40300 $(NORMAL_TARGET_EXPORTS) \
40301 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
40302 for flag in $(EXTRA_TARGET_FLAGS); do \
40303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40304 done; \
40305 (cd $(TARGET_SUBDIR)/libgfortran && \
40306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40308 "RANLIB=$${RANLIB}" \
40309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40310 maintainer-clean) \
40311 || exit 1
40313 @endif target-libgfortran
40319 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
40320 maybe-configure-target-libobjc:
40321 @if gcc-bootstrap
40322 configure-target-libobjc: stage_current
40323 @endif gcc-bootstrap
40324 @if target-libobjc
40325 maybe-configure-target-libobjc: configure-target-libobjc
40326 configure-target-libobjc:
40327 @: $(MAKE); $(unstage)
40328 @r=`${PWD_COMMAND}`; export r; \
40329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40330 echo "Checking multilib configuration for libobjc..."; \
40331 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
40332 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
40333 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
40334 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
40335 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
40336 else \
40337 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
40338 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
40339 fi; \
40340 else \
40341 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
40342 fi; \
40343 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
40344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
40345 $(NORMAL_TARGET_EXPORTS) \
40346 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
40347 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
40348 case $(srcdir) in \
40349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40350 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
40351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40352 esac; \
40353 srcdiroption="--srcdir=$${topdir}/libobjc"; \
40354 libsrcdir="$$s/libobjc"; \
40355 rm -f no-such-file || : ; \
40356 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40357 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40358 --target=${target_alias} $${srcdiroption} \
40359 || exit 1
40360 @endif target-libobjc
40366 .PHONY: all-target-libobjc maybe-all-target-libobjc
40367 maybe-all-target-libobjc:
40368 @if gcc-bootstrap
40369 all-target-libobjc: stage_current
40370 @endif gcc-bootstrap
40371 @if target-libobjc
40372 TARGET-target-libobjc=all
40373 maybe-all-target-libobjc: all-target-libobjc
40374 all-target-libobjc: configure-target-libobjc
40375 @: $(MAKE); $(unstage)
40376 @r=`${PWD_COMMAND}`; export r; \
40377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40378 $(NORMAL_TARGET_EXPORTS) \
40379 (cd $(TARGET_SUBDIR)/libobjc && \
40380 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
40381 @endif target-libobjc
40387 .PHONY: check-target-libobjc maybe-check-target-libobjc
40388 maybe-check-target-libobjc:
40389 @if target-libobjc
40390 maybe-check-target-libobjc: check-target-libobjc
40392 check-target-libobjc:
40393 @: $(MAKE); $(unstage)
40394 @r=`${PWD_COMMAND}`; export r; \
40395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40396 $(NORMAL_TARGET_EXPORTS) \
40397 (cd $(TARGET_SUBDIR)/libobjc && \
40398 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40400 @endif target-libobjc
40402 .PHONY: install-target-libobjc maybe-install-target-libobjc
40403 maybe-install-target-libobjc:
40404 @if target-libobjc
40405 maybe-install-target-libobjc: install-target-libobjc
40407 install-target-libobjc: installdirs
40408 @: $(MAKE); $(unstage)
40409 @r=`${PWD_COMMAND}`; export r; \
40410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40411 $(NORMAL_TARGET_EXPORTS) \
40412 (cd $(TARGET_SUBDIR)/libobjc && \
40413 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40415 @endif target-libobjc
40417 # Other targets (info, dvi, pdf, etc.)
40419 .PHONY: maybe-info-target-libobjc info-target-libobjc
40420 maybe-info-target-libobjc:
40421 @if target-libobjc
40422 maybe-info-target-libobjc: info-target-libobjc
40424 info-target-libobjc: \
40425 configure-target-libobjc
40426 @: $(MAKE); $(unstage)
40427 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40428 r=`${PWD_COMMAND}`; export r; \
40429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40430 $(NORMAL_TARGET_EXPORTS) \
40431 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
40432 for flag in $(EXTRA_TARGET_FLAGS); do \
40433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40434 done; \
40435 (cd $(TARGET_SUBDIR)/libobjc && \
40436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40438 "RANLIB=$${RANLIB}" \
40439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40440 info) \
40441 || exit 1
40443 @endif target-libobjc
40445 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
40446 maybe-dvi-target-libobjc:
40447 @if target-libobjc
40448 maybe-dvi-target-libobjc: dvi-target-libobjc
40450 dvi-target-libobjc: \
40451 configure-target-libobjc
40452 @: $(MAKE); $(unstage)
40453 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40454 r=`${PWD_COMMAND}`; export r; \
40455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40456 $(NORMAL_TARGET_EXPORTS) \
40457 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
40458 for flag in $(EXTRA_TARGET_FLAGS); do \
40459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40460 done; \
40461 (cd $(TARGET_SUBDIR)/libobjc && \
40462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40464 "RANLIB=$${RANLIB}" \
40465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40466 dvi) \
40467 || exit 1
40469 @endif target-libobjc
40471 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
40472 maybe-pdf-target-libobjc:
40473 @if target-libobjc
40474 maybe-pdf-target-libobjc: pdf-target-libobjc
40476 pdf-target-libobjc: \
40477 configure-target-libobjc
40478 @: $(MAKE); $(unstage)
40479 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40480 r=`${PWD_COMMAND}`; export r; \
40481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40482 $(NORMAL_TARGET_EXPORTS) \
40483 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
40484 for flag in $(EXTRA_TARGET_FLAGS); do \
40485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40486 done; \
40487 (cd $(TARGET_SUBDIR)/libobjc && \
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}" \
40492 pdf) \
40493 || exit 1
40495 @endif target-libobjc
40497 .PHONY: maybe-html-target-libobjc html-target-libobjc
40498 maybe-html-target-libobjc:
40499 @if target-libobjc
40500 maybe-html-target-libobjc: html-target-libobjc
40502 html-target-libobjc: \
40503 configure-target-libobjc
40504 @: $(MAKE); $(unstage)
40505 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40506 r=`${PWD_COMMAND}`; export r; \
40507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40508 $(NORMAL_TARGET_EXPORTS) \
40509 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
40510 for flag in $(EXTRA_TARGET_FLAGS); do \
40511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40512 done; \
40513 (cd $(TARGET_SUBDIR)/libobjc && \
40514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40516 "RANLIB=$${RANLIB}" \
40517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40518 html) \
40519 || exit 1
40521 @endif target-libobjc
40523 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
40524 maybe-TAGS-target-libobjc:
40525 @if target-libobjc
40526 maybe-TAGS-target-libobjc: TAGS-target-libobjc
40528 TAGS-target-libobjc: \
40529 configure-target-libobjc
40530 @: $(MAKE); $(unstage)
40531 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40532 r=`${PWD_COMMAND}`; export r; \
40533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40534 $(NORMAL_TARGET_EXPORTS) \
40535 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
40536 for flag in $(EXTRA_TARGET_FLAGS); do \
40537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40538 done; \
40539 (cd $(TARGET_SUBDIR)/libobjc && \
40540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40542 "RANLIB=$${RANLIB}" \
40543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40544 TAGS) \
40545 || exit 1
40547 @endif target-libobjc
40549 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
40550 maybe-install-info-target-libobjc:
40551 @if target-libobjc
40552 maybe-install-info-target-libobjc: install-info-target-libobjc
40554 install-info-target-libobjc: \
40555 configure-target-libobjc \
40556 info-target-libobjc
40557 @: $(MAKE); $(unstage)
40558 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40559 r=`${PWD_COMMAND}`; export r; \
40560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40561 $(NORMAL_TARGET_EXPORTS) \
40562 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
40563 for flag in $(EXTRA_TARGET_FLAGS); do \
40564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40565 done; \
40566 (cd $(TARGET_SUBDIR)/libobjc && \
40567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40569 "RANLIB=$${RANLIB}" \
40570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40571 install-info) \
40572 || exit 1
40574 @endif target-libobjc
40576 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
40577 maybe-install-pdf-target-libobjc:
40578 @if target-libobjc
40579 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
40581 install-pdf-target-libobjc: \
40582 configure-target-libobjc \
40583 pdf-target-libobjc
40584 @: $(MAKE); $(unstage)
40585 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40586 r=`${PWD_COMMAND}`; export r; \
40587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40588 $(NORMAL_TARGET_EXPORTS) \
40589 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
40590 for flag in $(EXTRA_TARGET_FLAGS); do \
40591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40592 done; \
40593 (cd $(TARGET_SUBDIR)/libobjc && \
40594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40596 "RANLIB=$${RANLIB}" \
40597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40598 install-pdf) \
40599 || exit 1
40601 @endif target-libobjc
40603 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
40604 maybe-install-html-target-libobjc:
40605 @if target-libobjc
40606 maybe-install-html-target-libobjc: install-html-target-libobjc
40608 install-html-target-libobjc: \
40609 configure-target-libobjc \
40610 html-target-libobjc
40611 @: $(MAKE); $(unstage)
40612 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40613 r=`${PWD_COMMAND}`; export r; \
40614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40615 $(NORMAL_TARGET_EXPORTS) \
40616 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
40617 for flag in $(EXTRA_TARGET_FLAGS); do \
40618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40619 done; \
40620 (cd $(TARGET_SUBDIR)/libobjc && \
40621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40623 "RANLIB=$${RANLIB}" \
40624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40625 install-html) \
40626 || exit 1
40628 @endif target-libobjc
40630 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
40631 maybe-installcheck-target-libobjc:
40632 @if target-libobjc
40633 maybe-installcheck-target-libobjc: installcheck-target-libobjc
40635 installcheck-target-libobjc: \
40636 configure-target-libobjc
40637 @: $(MAKE); $(unstage)
40638 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40639 r=`${PWD_COMMAND}`; export r; \
40640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40641 $(NORMAL_TARGET_EXPORTS) \
40642 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
40643 for flag in $(EXTRA_TARGET_FLAGS); do \
40644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40645 done; \
40646 (cd $(TARGET_SUBDIR)/libobjc && \
40647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40649 "RANLIB=$${RANLIB}" \
40650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40651 installcheck) \
40652 || exit 1
40654 @endif target-libobjc
40656 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
40657 maybe-mostlyclean-target-libobjc:
40658 @if target-libobjc
40659 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
40661 mostlyclean-target-libobjc:
40662 @: $(MAKE); $(unstage)
40663 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40664 r=`${PWD_COMMAND}`; export r; \
40665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40666 $(NORMAL_TARGET_EXPORTS) \
40667 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
40668 for flag in $(EXTRA_TARGET_FLAGS); do \
40669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40670 done; \
40671 (cd $(TARGET_SUBDIR)/libobjc && \
40672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40674 "RANLIB=$${RANLIB}" \
40675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40676 mostlyclean) \
40677 || exit 1
40679 @endif target-libobjc
40681 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
40682 maybe-clean-target-libobjc:
40683 @if target-libobjc
40684 maybe-clean-target-libobjc: clean-target-libobjc
40686 clean-target-libobjc:
40687 @: $(MAKE); $(unstage)
40688 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40689 r=`${PWD_COMMAND}`; export r; \
40690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40691 $(NORMAL_TARGET_EXPORTS) \
40692 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
40693 for flag in $(EXTRA_TARGET_FLAGS); do \
40694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40695 done; \
40696 (cd $(TARGET_SUBDIR)/libobjc && \
40697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40699 "RANLIB=$${RANLIB}" \
40700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40701 clean) \
40702 || exit 1
40704 @endif target-libobjc
40706 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
40707 maybe-distclean-target-libobjc:
40708 @if target-libobjc
40709 maybe-distclean-target-libobjc: distclean-target-libobjc
40711 distclean-target-libobjc:
40712 @: $(MAKE); $(unstage)
40713 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40714 r=`${PWD_COMMAND}`; export r; \
40715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40716 $(NORMAL_TARGET_EXPORTS) \
40717 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
40718 for flag in $(EXTRA_TARGET_FLAGS); do \
40719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40720 done; \
40721 (cd $(TARGET_SUBDIR)/libobjc && \
40722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40724 "RANLIB=$${RANLIB}" \
40725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40726 distclean) \
40727 || exit 1
40729 @endif target-libobjc
40731 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
40732 maybe-maintainer-clean-target-libobjc:
40733 @if target-libobjc
40734 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
40736 maintainer-clean-target-libobjc:
40737 @: $(MAKE); $(unstage)
40738 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
40739 r=`${PWD_COMMAND}`; export r; \
40740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40741 $(NORMAL_TARGET_EXPORTS) \
40742 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
40743 for flag in $(EXTRA_TARGET_FLAGS); do \
40744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40745 done; \
40746 (cd $(TARGET_SUBDIR)/libobjc && \
40747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40749 "RANLIB=$${RANLIB}" \
40750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40751 maintainer-clean) \
40752 || exit 1
40754 @endif target-libobjc
40760 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
40761 maybe-configure-target-libtermcap:
40762 @if gcc-bootstrap
40763 configure-target-libtermcap: stage_current
40764 @endif gcc-bootstrap
40765 @if target-libtermcap
40766 maybe-configure-target-libtermcap: configure-target-libtermcap
40767 configure-target-libtermcap:
40768 @: $(MAKE); $(unstage)
40769 @r=`${PWD_COMMAND}`; export r; \
40770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40771 echo "Checking multilib configuration for libtermcap..."; \
40772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
40773 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
40774 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
40775 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
40776 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
40777 else \
40778 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
40779 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
40780 fi; \
40781 else \
40782 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
40783 fi; \
40784 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
40785 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
40786 $(NORMAL_TARGET_EXPORTS) \
40787 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
40788 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
40789 case $(srcdir) in \
40790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40791 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
40792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40793 esac; \
40794 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
40795 libsrcdir="$$s/libtermcap"; \
40796 rm -f no-such-file || : ; \
40797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40798 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40799 --target=${target_alias} $${srcdiroption} \
40800 || exit 1
40801 @endif target-libtermcap
40807 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
40808 maybe-all-target-libtermcap:
40809 @if gcc-bootstrap
40810 all-target-libtermcap: stage_current
40811 @endif gcc-bootstrap
40812 @if target-libtermcap
40813 TARGET-target-libtermcap=all
40814 maybe-all-target-libtermcap: all-target-libtermcap
40815 all-target-libtermcap: configure-target-libtermcap
40816 @: $(MAKE); $(unstage)
40817 @r=`${PWD_COMMAND}`; export r; \
40818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40819 $(NORMAL_TARGET_EXPORTS) \
40820 (cd $(TARGET_SUBDIR)/libtermcap && \
40821 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
40822 @endif target-libtermcap
40828 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
40829 maybe-check-target-libtermcap:
40830 @if target-libtermcap
40831 maybe-check-target-libtermcap: check-target-libtermcap
40833 # Dummy target for uncheckable module.
40834 check-target-libtermcap:
40836 @endif target-libtermcap
40838 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
40839 maybe-install-target-libtermcap:
40840 @if target-libtermcap
40841 maybe-install-target-libtermcap: install-target-libtermcap
40843 install-target-libtermcap: installdirs
40844 @: $(MAKE); $(unstage)
40845 @r=`${PWD_COMMAND}`; export r; \
40846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40847 $(NORMAL_TARGET_EXPORTS) \
40848 (cd $(TARGET_SUBDIR)/libtermcap && \
40849 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40851 @endif target-libtermcap
40853 # Other targets (info, dvi, pdf, etc.)
40855 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
40856 maybe-info-target-libtermcap:
40857 @if target-libtermcap
40858 maybe-info-target-libtermcap: info-target-libtermcap
40860 info-target-libtermcap: \
40861 configure-target-libtermcap
40862 @: $(MAKE); $(unstage)
40863 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40864 r=`${PWD_COMMAND}`; export r; \
40865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40866 $(NORMAL_TARGET_EXPORTS) \
40867 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
40868 for flag in $(EXTRA_TARGET_FLAGS); do \
40869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40870 done; \
40871 (cd $(TARGET_SUBDIR)/libtermcap && \
40872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40874 "RANLIB=$${RANLIB}" \
40875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40876 info) \
40877 || exit 1
40879 @endif target-libtermcap
40881 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
40882 maybe-dvi-target-libtermcap:
40883 @if target-libtermcap
40884 maybe-dvi-target-libtermcap: dvi-target-libtermcap
40886 dvi-target-libtermcap: \
40887 configure-target-libtermcap
40888 @: $(MAKE); $(unstage)
40889 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40890 r=`${PWD_COMMAND}`; export r; \
40891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40892 $(NORMAL_TARGET_EXPORTS) \
40893 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
40894 for flag in $(EXTRA_TARGET_FLAGS); do \
40895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40896 done; \
40897 (cd $(TARGET_SUBDIR)/libtermcap && \
40898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40900 "RANLIB=$${RANLIB}" \
40901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40902 dvi) \
40903 || exit 1
40905 @endif target-libtermcap
40907 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
40908 maybe-pdf-target-libtermcap:
40909 @if target-libtermcap
40910 maybe-pdf-target-libtermcap: pdf-target-libtermcap
40912 pdf-target-libtermcap: \
40913 configure-target-libtermcap
40914 @: $(MAKE); $(unstage)
40915 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40916 r=`${PWD_COMMAND}`; export r; \
40917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40918 $(NORMAL_TARGET_EXPORTS) \
40919 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40920 for flag in $(EXTRA_TARGET_FLAGS); do \
40921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40922 done; \
40923 (cd $(TARGET_SUBDIR)/libtermcap && \
40924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40926 "RANLIB=$${RANLIB}" \
40927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40928 pdf) \
40929 || exit 1
40931 @endif target-libtermcap
40933 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
40934 maybe-html-target-libtermcap:
40935 @if target-libtermcap
40936 maybe-html-target-libtermcap: html-target-libtermcap
40938 html-target-libtermcap: \
40939 configure-target-libtermcap
40940 @: $(MAKE); $(unstage)
40941 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40942 r=`${PWD_COMMAND}`; export r; \
40943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40944 $(NORMAL_TARGET_EXPORTS) \
40945 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
40946 for flag in $(EXTRA_TARGET_FLAGS); do \
40947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40948 done; \
40949 (cd $(TARGET_SUBDIR)/libtermcap && \
40950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40952 "RANLIB=$${RANLIB}" \
40953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40954 html) \
40955 || exit 1
40957 @endif target-libtermcap
40959 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
40960 maybe-TAGS-target-libtermcap:
40961 @if target-libtermcap
40962 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
40964 TAGS-target-libtermcap: \
40965 configure-target-libtermcap
40966 @: $(MAKE); $(unstage)
40967 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40968 r=`${PWD_COMMAND}`; export r; \
40969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40970 $(NORMAL_TARGET_EXPORTS) \
40971 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
40972 for flag in $(EXTRA_TARGET_FLAGS); do \
40973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40974 done; \
40975 (cd $(TARGET_SUBDIR)/libtermcap && \
40976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40978 "RANLIB=$${RANLIB}" \
40979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40980 TAGS) \
40981 || exit 1
40983 @endif target-libtermcap
40985 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
40986 maybe-install-info-target-libtermcap:
40987 @if target-libtermcap
40988 maybe-install-info-target-libtermcap: install-info-target-libtermcap
40990 install-info-target-libtermcap: \
40991 configure-target-libtermcap \
40992 info-target-libtermcap
40993 @: $(MAKE); $(unstage)
40994 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40995 r=`${PWD_COMMAND}`; export r; \
40996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40997 $(NORMAL_TARGET_EXPORTS) \
40998 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40999 for flag in $(EXTRA_TARGET_FLAGS); do \
41000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41001 done; \
41002 (cd $(TARGET_SUBDIR)/libtermcap && \
41003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41005 "RANLIB=$${RANLIB}" \
41006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41007 install-info) \
41008 || exit 1
41010 @endif target-libtermcap
41012 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
41013 maybe-install-pdf-target-libtermcap:
41014 @if target-libtermcap
41015 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
41017 install-pdf-target-libtermcap: \
41018 configure-target-libtermcap \
41019 pdf-target-libtermcap
41020 @: $(MAKE); $(unstage)
41021 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
41022 r=`${PWD_COMMAND}`; export r; \
41023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41024 $(NORMAL_TARGET_EXPORTS) \
41025 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
41026 for flag in $(EXTRA_TARGET_FLAGS); do \
41027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41028 done; \
41029 (cd $(TARGET_SUBDIR)/libtermcap && \
41030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41032 "RANLIB=$${RANLIB}" \
41033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41034 install-pdf) \
41035 || exit 1
41037 @endif target-libtermcap
41039 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
41040 maybe-install-html-target-libtermcap:
41041 @if target-libtermcap
41042 maybe-install-html-target-libtermcap: install-html-target-libtermcap
41044 install-html-target-libtermcap: \
41045 configure-target-libtermcap \
41046 html-target-libtermcap
41047 @: $(MAKE); $(unstage)
41048 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
41049 r=`${PWD_COMMAND}`; export r; \
41050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41051 $(NORMAL_TARGET_EXPORTS) \
41052 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
41053 for flag in $(EXTRA_TARGET_FLAGS); do \
41054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41055 done; \
41056 (cd $(TARGET_SUBDIR)/libtermcap && \
41057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41059 "RANLIB=$${RANLIB}" \
41060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41061 install-html) \
41062 || exit 1
41064 @endif target-libtermcap
41066 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
41067 maybe-installcheck-target-libtermcap:
41068 @if target-libtermcap
41069 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
41071 installcheck-target-libtermcap: \
41072 configure-target-libtermcap
41073 @: $(MAKE); $(unstage)
41074 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
41075 r=`${PWD_COMMAND}`; export r; \
41076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41077 $(NORMAL_TARGET_EXPORTS) \
41078 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
41079 for flag in $(EXTRA_TARGET_FLAGS); do \
41080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41081 done; \
41082 (cd $(TARGET_SUBDIR)/libtermcap && \
41083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41085 "RANLIB=$${RANLIB}" \
41086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41087 installcheck) \
41088 || exit 1
41090 @endif target-libtermcap
41092 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
41093 maybe-mostlyclean-target-libtermcap:
41094 @if target-libtermcap
41095 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
41097 # libtermcap doesn't support mostlyclean.
41098 mostlyclean-target-libtermcap:
41100 @endif target-libtermcap
41102 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
41103 maybe-clean-target-libtermcap:
41104 @if target-libtermcap
41105 maybe-clean-target-libtermcap: clean-target-libtermcap
41107 # libtermcap doesn't support clean.
41108 clean-target-libtermcap:
41110 @endif target-libtermcap
41112 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
41113 maybe-distclean-target-libtermcap:
41114 @if target-libtermcap
41115 maybe-distclean-target-libtermcap: distclean-target-libtermcap
41117 # libtermcap doesn't support distclean.
41118 distclean-target-libtermcap:
41120 @endif target-libtermcap
41122 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
41123 maybe-maintainer-clean-target-libtermcap:
41124 @if target-libtermcap
41125 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
41127 # libtermcap doesn't support maintainer-clean.
41128 maintainer-clean-target-libtermcap:
41130 @endif target-libtermcap
41136 .PHONY: configure-target-winsup maybe-configure-target-winsup
41137 maybe-configure-target-winsup:
41138 @if gcc-bootstrap
41139 configure-target-winsup: stage_current
41140 @endif gcc-bootstrap
41141 @if target-winsup
41142 maybe-configure-target-winsup: configure-target-winsup
41143 configure-target-winsup:
41144 @: $(MAKE); $(unstage)
41145 @r=`${PWD_COMMAND}`; export r; \
41146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41147 echo "Checking multilib configuration for winsup..."; \
41148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
41149 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
41150 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
41151 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
41152 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
41153 else \
41154 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
41155 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
41156 fi; \
41157 else \
41158 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
41159 fi; \
41160 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
41161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
41162 $(NORMAL_TARGET_EXPORTS) \
41163 echo Configuring in $(TARGET_SUBDIR)/winsup; \
41164 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
41165 case $(srcdir) in \
41166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41167 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
41168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41169 esac; \
41170 srcdiroption="--srcdir=$${topdir}/winsup"; \
41171 libsrcdir="$$s/winsup"; \
41172 rm -f no-such-file || : ; \
41173 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41174 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41175 --target=${target_alias} $${srcdiroption} \
41176 || exit 1
41177 @endif target-winsup
41183 .PHONY: all-target-winsup maybe-all-target-winsup
41184 maybe-all-target-winsup:
41185 @if gcc-bootstrap
41186 all-target-winsup: stage_current
41187 @endif gcc-bootstrap
41188 @if target-winsup
41189 TARGET-target-winsup=all
41190 maybe-all-target-winsup: all-target-winsup
41191 all-target-winsup: configure-target-winsup
41192 @: $(MAKE); $(unstage)
41193 @r=`${PWD_COMMAND}`; export r; \
41194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41195 $(NORMAL_TARGET_EXPORTS) \
41196 (cd $(TARGET_SUBDIR)/winsup && \
41197 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
41198 @endif target-winsup
41204 .PHONY: check-target-winsup maybe-check-target-winsup
41205 maybe-check-target-winsup:
41206 @if target-winsup
41207 maybe-check-target-winsup: check-target-winsup
41209 check-target-winsup:
41210 @: $(MAKE); $(unstage)
41211 @r=`${PWD_COMMAND}`; export r; \
41212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41213 $(NORMAL_TARGET_EXPORTS) \
41214 (cd $(TARGET_SUBDIR)/winsup && \
41215 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41217 @endif target-winsup
41219 .PHONY: install-target-winsup maybe-install-target-winsup
41220 maybe-install-target-winsup:
41221 @if target-winsup
41222 maybe-install-target-winsup: install-target-winsup
41224 install-target-winsup: installdirs
41225 @: $(MAKE); $(unstage)
41226 @r=`${PWD_COMMAND}`; export r; \
41227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41228 $(NORMAL_TARGET_EXPORTS) \
41229 (cd $(TARGET_SUBDIR)/winsup && \
41230 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41232 @endif target-winsup
41234 # Other targets (info, dvi, pdf, etc.)
41236 .PHONY: maybe-info-target-winsup info-target-winsup
41237 maybe-info-target-winsup:
41238 @if target-winsup
41239 maybe-info-target-winsup: info-target-winsup
41241 info-target-winsup: \
41242 configure-target-winsup
41243 @: $(MAKE); $(unstage)
41244 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41245 r=`${PWD_COMMAND}`; export r; \
41246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41247 $(NORMAL_TARGET_EXPORTS) \
41248 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
41249 for flag in $(EXTRA_TARGET_FLAGS); do \
41250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41251 done; \
41252 (cd $(TARGET_SUBDIR)/winsup && \
41253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41255 "RANLIB=$${RANLIB}" \
41256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41257 info) \
41258 || exit 1
41260 @endif target-winsup
41262 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
41263 maybe-dvi-target-winsup:
41264 @if target-winsup
41265 maybe-dvi-target-winsup: dvi-target-winsup
41267 dvi-target-winsup: \
41268 configure-target-winsup
41269 @: $(MAKE); $(unstage)
41270 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41271 r=`${PWD_COMMAND}`; export r; \
41272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41273 $(NORMAL_TARGET_EXPORTS) \
41274 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
41275 for flag in $(EXTRA_TARGET_FLAGS); do \
41276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41277 done; \
41278 (cd $(TARGET_SUBDIR)/winsup && \
41279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41281 "RANLIB=$${RANLIB}" \
41282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41283 dvi) \
41284 || exit 1
41286 @endif target-winsup
41288 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
41289 maybe-pdf-target-winsup:
41290 @if target-winsup
41291 maybe-pdf-target-winsup: pdf-target-winsup
41293 pdf-target-winsup: \
41294 configure-target-winsup
41295 @: $(MAKE); $(unstage)
41296 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41297 r=`${PWD_COMMAND}`; export r; \
41298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41299 $(NORMAL_TARGET_EXPORTS) \
41300 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
41301 for flag in $(EXTRA_TARGET_FLAGS); do \
41302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41303 done; \
41304 (cd $(TARGET_SUBDIR)/winsup && \
41305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41307 "RANLIB=$${RANLIB}" \
41308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41309 pdf) \
41310 || exit 1
41312 @endif target-winsup
41314 .PHONY: maybe-html-target-winsup html-target-winsup
41315 maybe-html-target-winsup:
41316 @if target-winsup
41317 maybe-html-target-winsup: html-target-winsup
41319 html-target-winsup: \
41320 configure-target-winsup
41321 @: $(MAKE); $(unstage)
41322 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41323 r=`${PWD_COMMAND}`; export r; \
41324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41325 $(NORMAL_TARGET_EXPORTS) \
41326 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
41327 for flag in $(EXTRA_TARGET_FLAGS); do \
41328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41329 done; \
41330 (cd $(TARGET_SUBDIR)/winsup && \
41331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41333 "RANLIB=$${RANLIB}" \
41334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41335 html) \
41336 || exit 1
41338 @endif target-winsup
41340 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
41341 maybe-TAGS-target-winsup:
41342 @if target-winsup
41343 maybe-TAGS-target-winsup: TAGS-target-winsup
41345 TAGS-target-winsup: \
41346 configure-target-winsup
41347 @: $(MAKE); $(unstage)
41348 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41349 r=`${PWD_COMMAND}`; export r; \
41350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41351 $(NORMAL_TARGET_EXPORTS) \
41352 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
41353 for flag in $(EXTRA_TARGET_FLAGS); do \
41354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41355 done; \
41356 (cd $(TARGET_SUBDIR)/winsup && \
41357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41359 "RANLIB=$${RANLIB}" \
41360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41361 TAGS) \
41362 || exit 1
41364 @endif target-winsup
41366 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
41367 maybe-install-info-target-winsup:
41368 @if target-winsup
41369 maybe-install-info-target-winsup: install-info-target-winsup
41371 install-info-target-winsup: \
41372 configure-target-winsup \
41373 info-target-winsup
41374 @: $(MAKE); $(unstage)
41375 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41376 r=`${PWD_COMMAND}`; export r; \
41377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41378 $(NORMAL_TARGET_EXPORTS) \
41379 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
41380 for flag in $(EXTRA_TARGET_FLAGS); do \
41381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41382 done; \
41383 (cd $(TARGET_SUBDIR)/winsup && \
41384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41386 "RANLIB=$${RANLIB}" \
41387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41388 install-info) \
41389 || exit 1
41391 @endif target-winsup
41393 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
41394 maybe-install-pdf-target-winsup:
41395 @if target-winsup
41396 maybe-install-pdf-target-winsup: install-pdf-target-winsup
41398 install-pdf-target-winsup: \
41399 configure-target-winsup \
41400 pdf-target-winsup
41401 @: $(MAKE); $(unstage)
41402 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41403 r=`${PWD_COMMAND}`; export r; \
41404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41405 $(NORMAL_TARGET_EXPORTS) \
41406 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
41407 for flag in $(EXTRA_TARGET_FLAGS); do \
41408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41409 done; \
41410 (cd $(TARGET_SUBDIR)/winsup && \
41411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41413 "RANLIB=$${RANLIB}" \
41414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41415 install-pdf) \
41416 || exit 1
41418 @endif target-winsup
41420 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
41421 maybe-install-html-target-winsup:
41422 @if target-winsup
41423 maybe-install-html-target-winsup: install-html-target-winsup
41425 install-html-target-winsup: \
41426 configure-target-winsup \
41427 html-target-winsup
41428 @: $(MAKE); $(unstage)
41429 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41430 r=`${PWD_COMMAND}`; export r; \
41431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41432 $(NORMAL_TARGET_EXPORTS) \
41433 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
41434 for flag in $(EXTRA_TARGET_FLAGS); do \
41435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41436 done; \
41437 (cd $(TARGET_SUBDIR)/winsup && \
41438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41440 "RANLIB=$${RANLIB}" \
41441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41442 install-html) \
41443 || exit 1
41445 @endif target-winsup
41447 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
41448 maybe-installcheck-target-winsup:
41449 @if target-winsup
41450 maybe-installcheck-target-winsup: installcheck-target-winsup
41452 installcheck-target-winsup: \
41453 configure-target-winsup
41454 @: $(MAKE); $(unstage)
41455 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41456 r=`${PWD_COMMAND}`; export r; \
41457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41458 $(NORMAL_TARGET_EXPORTS) \
41459 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
41460 for flag in $(EXTRA_TARGET_FLAGS); do \
41461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41462 done; \
41463 (cd $(TARGET_SUBDIR)/winsup && \
41464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41466 "RANLIB=$${RANLIB}" \
41467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41468 installcheck) \
41469 || exit 1
41471 @endif target-winsup
41473 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
41474 maybe-mostlyclean-target-winsup:
41475 @if target-winsup
41476 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
41478 mostlyclean-target-winsup:
41479 @: $(MAKE); $(unstage)
41480 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41481 r=`${PWD_COMMAND}`; export r; \
41482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41483 $(NORMAL_TARGET_EXPORTS) \
41484 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
41485 for flag in $(EXTRA_TARGET_FLAGS); do \
41486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41487 done; \
41488 (cd $(TARGET_SUBDIR)/winsup && \
41489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41491 "RANLIB=$${RANLIB}" \
41492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41493 mostlyclean) \
41494 || exit 1
41496 @endif target-winsup
41498 .PHONY: maybe-clean-target-winsup clean-target-winsup
41499 maybe-clean-target-winsup:
41500 @if target-winsup
41501 maybe-clean-target-winsup: clean-target-winsup
41503 clean-target-winsup:
41504 @: $(MAKE); $(unstage)
41505 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41506 r=`${PWD_COMMAND}`; export r; \
41507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41508 $(NORMAL_TARGET_EXPORTS) \
41509 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
41510 for flag in $(EXTRA_TARGET_FLAGS); do \
41511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41512 done; \
41513 (cd $(TARGET_SUBDIR)/winsup && \
41514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41516 "RANLIB=$${RANLIB}" \
41517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41518 clean) \
41519 || exit 1
41521 @endif target-winsup
41523 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
41524 maybe-distclean-target-winsup:
41525 @if target-winsup
41526 maybe-distclean-target-winsup: distclean-target-winsup
41528 distclean-target-winsup:
41529 @: $(MAKE); $(unstage)
41530 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41531 r=`${PWD_COMMAND}`; export r; \
41532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41533 $(NORMAL_TARGET_EXPORTS) \
41534 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
41535 for flag in $(EXTRA_TARGET_FLAGS); do \
41536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41537 done; \
41538 (cd $(TARGET_SUBDIR)/winsup && \
41539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41541 "RANLIB=$${RANLIB}" \
41542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41543 distclean) \
41544 || exit 1
41546 @endif target-winsup
41548 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
41549 maybe-maintainer-clean-target-winsup:
41550 @if target-winsup
41551 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
41553 maintainer-clean-target-winsup:
41554 @: $(MAKE); $(unstage)
41555 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41556 r=`${PWD_COMMAND}`; export r; \
41557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41558 $(NORMAL_TARGET_EXPORTS) \
41559 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
41560 for flag in $(EXTRA_TARGET_FLAGS); do \
41561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41562 done; \
41563 (cd $(TARGET_SUBDIR)/winsup && \
41564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41566 "RANLIB=$${RANLIB}" \
41567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41568 maintainer-clean) \
41569 || exit 1
41571 @endif target-winsup
41577 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
41578 maybe-configure-target-libgloss:
41579 @if gcc-bootstrap
41580 configure-target-libgloss: stage_current
41581 @endif gcc-bootstrap
41582 @if target-libgloss
41583 maybe-configure-target-libgloss: configure-target-libgloss
41584 configure-target-libgloss:
41585 @: $(MAKE); $(unstage)
41586 @r=`${PWD_COMMAND}`; export r; \
41587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41588 echo "Checking multilib configuration for libgloss..."; \
41589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
41590 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
41591 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
41592 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
41593 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
41594 else \
41595 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
41596 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
41597 fi; \
41598 else \
41599 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
41600 fi; \
41601 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
41602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
41603 $(NORMAL_TARGET_EXPORTS) \
41604 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
41605 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
41606 case $(srcdir) in \
41607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41608 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
41609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41610 esac; \
41611 srcdiroption="--srcdir=$${topdir}/libgloss"; \
41612 libsrcdir="$$s/libgloss"; \
41613 rm -f no-such-file || : ; \
41614 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41615 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41616 --target=${target_alias} $${srcdiroption} \
41617 || exit 1
41618 @endif target-libgloss
41624 .PHONY: all-target-libgloss maybe-all-target-libgloss
41625 maybe-all-target-libgloss:
41626 @if gcc-bootstrap
41627 all-target-libgloss: stage_current
41628 @endif gcc-bootstrap
41629 @if target-libgloss
41630 TARGET-target-libgloss=all
41631 maybe-all-target-libgloss: all-target-libgloss
41632 all-target-libgloss: configure-target-libgloss
41633 @: $(MAKE); $(unstage)
41634 @r=`${PWD_COMMAND}`; export r; \
41635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41636 $(NORMAL_TARGET_EXPORTS) \
41637 (cd $(TARGET_SUBDIR)/libgloss && \
41638 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
41639 @endif target-libgloss
41645 .PHONY: check-target-libgloss maybe-check-target-libgloss
41646 maybe-check-target-libgloss:
41647 @if target-libgloss
41648 maybe-check-target-libgloss: check-target-libgloss
41650 # Dummy target for uncheckable module.
41651 check-target-libgloss:
41653 @endif target-libgloss
41655 .PHONY: install-target-libgloss maybe-install-target-libgloss
41656 maybe-install-target-libgloss:
41657 @if target-libgloss
41658 maybe-install-target-libgloss: install-target-libgloss
41660 install-target-libgloss: installdirs
41661 @: $(MAKE); $(unstage)
41662 @r=`${PWD_COMMAND}`; export r; \
41663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41664 $(NORMAL_TARGET_EXPORTS) \
41665 (cd $(TARGET_SUBDIR)/libgloss && \
41666 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41668 @endif target-libgloss
41670 # Other targets (info, dvi, pdf, etc.)
41672 .PHONY: maybe-info-target-libgloss info-target-libgloss
41673 maybe-info-target-libgloss:
41674 @if target-libgloss
41675 maybe-info-target-libgloss: info-target-libgloss
41677 info-target-libgloss: \
41678 configure-target-libgloss
41679 @: $(MAKE); $(unstage)
41680 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41681 r=`${PWD_COMMAND}`; export r; \
41682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41683 $(NORMAL_TARGET_EXPORTS) \
41684 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
41685 for flag in $(EXTRA_TARGET_FLAGS); do \
41686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41687 done; \
41688 (cd $(TARGET_SUBDIR)/libgloss && \
41689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41691 "RANLIB=$${RANLIB}" \
41692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41693 info) \
41694 || exit 1
41696 @endif target-libgloss
41698 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
41699 maybe-dvi-target-libgloss:
41700 @if target-libgloss
41701 maybe-dvi-target-libgloss: dvi-target-libgloss
41703 dvi-target-libgloss: \
41704 configure-target-libgloss
41705 @: $(MAKE); $(unstage)
41706 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41707 r=`${PWD_COMMAND}`; export r; \
41708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41709 $(NORMAL_TARGET_EXPORTS) \
41710 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
41711 for flag in $(EXTRA_TARGET_FLAGS); do \
41712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41713 done; \
41714 (cd $(TARGET_SUBDIR)/libgloss && \
41715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41717 "RANLIB=$${RANLIB}" \
41718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41719 dvi) \
41720 || exit 1
41722 @endif target-libgloss
41724 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
41725 maybe-pdf-target-libgloss:
41726 @if target-libgloss
41727 maybe-pdf-target-libgloss: pdf-target-libgloss
41729 pdf-target-libgloss: \
41730 configure-target-libgloss
41731 @: $(MAKE); $(unstage)
41732 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41733 r=`${PWD_COMMAND}`; export r; \
41734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41735 $(NORMAL_TARGET_EXPORTS) \
41736 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
41737 for flag in $(EXTRA_TARGET_FLAGS); do \
41738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41739 done; \
41740 (cd $(TARGET_SUBDIR)/libgloss && \
41741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41743 "RANLIB=$${RANLIB}" \
41744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41745 pdf) \
41746 || exit 1
41748 @endif target-libgloss
41750 .PHONY: maybe-html-target-libgloss html-target-libgloss
41751 maybe-html-target-libgloss:
41752 @if target-libgloss
41753 maybe-html-target-libgloss: html-target-libgloss
41755 html-target-libgloss: \
41756 configure-target-libgloss
41757 @: $(MAKE); $(unstage)
41758 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41759 r=`${PWD_COMMAND}`; export r; \
41760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41761 $(NORMAL_TARGET_EXPORTS) \
41762 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
41763 for flag in $(EXTRA_TARGET_FLAGS); do \
41764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41765 done; \
41766 (cd $(TARGET_SUBDIR)/libgloss && \
41767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41769 "RANLIB=$${RANLIB}" \
41770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41771 html) \
41772 || exit 1
41774 @endif target-libgloss
41776 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
41777 maybe-TAGS-target-libgloss:
41778 @if target-libgloss
41779 maybe-TAGS-target-libgloss: TAGS-target-libgloss
41781 TAGS-target-libgloss: \
41782 configure-target-libgloss
41783 @: $(MAKE); $(unstage)
41784 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41785 r=`${PWD_COMMAND}`; export r; \
41786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41787 $(NORMAL_TARGET_EXPORTS) \
41788 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
41789 for flag in $(EXTRA_TARGET_FLAGS); do \
41790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41791 done; \
41792 (cd $(TARGET_SUBDIR)/libgloss && \
41793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41795 "RANLIB=$${RANLIB}" \
41796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41797 TAGS) \
41798 || exit 1
41800 @endif target-libgloss
41802 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
41803 maybe-install-info-target-libgloss:
41804 @if target-libgloss
41805 maybe-install-info-target-libgloss: install-info-target-libgloss
41807 install-info-target-libgloss: \
41808 configure-target-libgloss \
41809 info-target-libgloss
41810 @: $(MAKE); $(unstage)
41811 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41812 r=`${PWD_COMMAND}`; export r; \
41813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41814 $(NORMAL_TARGET_EXPORTS) \
41815 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
41816 for flag in $(EXTRA_TARGET_FLAGS); do \
41817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41818 done; \
41819 (cd $(TARGET_SUBDIR)/libgloss && \
41820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41822 "RANLIB=$${RANLIB}" \
41823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41824 install-info) \
41825 || exit 1
41827 @endif target-libgloss
41829 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
41830 maybe-install-pdf-target-libgloss:
41831 @if target-libgloss
41832 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
41834 install-pdf-target-libgloss: \
41835 configure-target-libgloss \
41836 pdf-target-libgloss
41837 @: $(MAKE); $(unstage)
41838 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41839 r=`${PWD_COMMAND}`; export r; \
41840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41841 $(NORMAL_TARGET_EXPORTS) \
41842 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
41843 for flag in $(EXTRA_TARGET_FLAGS); do \
41844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41845 done; \
41846 (cd $(TARGET_SUBDIR)/libgloss && \
41847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41849 "RANLIB=$${RANLIB}" \
41850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41851 install-pdf) \
41852 || exit 1
41854 @endif target-libgloss
41856 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
41857 maybe-install-html-target-libgloss:
41858 @if target-libgloss
41859 maybe-install-html-target-libgloss: install-html-target-libgloss
41861 install-html-target-libgloss: \
41862 configure-target-libgloss \
41863 html-target-libgloss
41864 @: $(MAKE); $(unstage)
41865 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41866 r=`${PWD_COMMAND}`; export r; \
41867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41868 $(NORMAL_TARGET_EXPORTS) \
41869 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
41870 for flag in $(EXTRA_TARGET_FLAGS); do \
41871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41872 done; \
41873 (cd $(TARGET_SUBDIR)/libgloss && \
41874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41876 "RANLIB=$${RANLIB}" \
41877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41878 install-html) \
41879 || exit 1
41881 @endif target-libgloss
41883 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
41884 maybe-installcheck-target-libgloss:
41885 @if target-libgloss
41886 maybe-installcheck-target-libgloss: installcheck-target-libgloss
41888 installcheck-target-libgloss: \
41889 configure-target-libgloss
41890 @: $(MAKE); $(unstage)
41891 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41892 r=`${PWD_COMMAND}`; export r; \
41893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41894 $(NORMAL_TARGET_EXPORTS) \
41895 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
41896 for flag in $(EXTRA_TARGET_FLAGS); do \
41897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41898 done; \
41899 (cd $(TARGET_SUBDIR)/libgloss && \
41900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41902 "RANLIB=$${RANLIB}" \
41903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41904 installcheck) \
41905 || exit 1
41907 @endif target-libgloss
41909 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
41910 maybe-mostlyclean-target-libgloss:
41911 @if target-libgloss
41912 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
41914 mostlyclean-target-libgloss:
41915 @: $(MAKE); $(unstage)
41916 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41917 r=`${PWD_COMMAND}`; export r; \
41918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41919 $(NORMAL_TARGET_EXPORTS) \
41920 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
41921 for flag in $(EXTRA_TARGET_FLAGS); do \
41922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41923 done; \
41924 (cd $(TARGET_SUBDIR)/libgloss && \
41925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41927 "RANLIB=$${RANLIB}" \
41928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41929 mostlyclean) \
41930 || exit 1
41932 @endif target-libgloss
41934 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
41935 maybe-clean-target-libgloss:
41936 @if target-libgloss
41937 maybe-clean-target-libgloss: clean-target-libgloss
41939 clean-target-libgloss:
41940 @: $(MAKE); $(unstage)
41941 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41942 r=`${PWD_COMMAND}`; export r; \
41943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41944 $(NORMAL_TARGET_EXPORTS) \
41945 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
41946 for flag in $(EXTRA_TARGET_FLAGS); do \
41947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41948 done; \
41949 (cd $(TARGET_SUBDIR)/libgloss && \
41950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41952 "RANLIB=$${RANLIB}" \
41953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41954 clean) \
41955 || exit 1
41957 @endif target-libgloss
41959 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
41960 maybe-distclean-target-libgloss:
41961 @if target-libgloss
41962 maybe-distclean-target-libgloss: distclean-target-libgloss
41964 distclean-target-libgloss:
41965 @: $(MAKE); $(unstage)
41966 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41967 r=`${PWD_COMMAND}`; export r; \
41968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41969 $(NORMAL_TARGET_EXPORTS) \
41970 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41971 for flag in $(EXTRA_TARGET_FLAGS); do \
41972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41973 done; \
41974 (cd $(TARGET_SUBDIR)/libgloss && \
41975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41977 "RANLIB=$${RANLIB}" \
41978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41979 distclean) \
41980 || exit 1
41982 @endif target-libgloss
41984 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41985 maybe-maintainer-clean-target-libgloss:
41986 @if target-libgloss
41987 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41989 maintainer-clean-target-libgloss:
41990 @: $(MAKE); $(unstage)
41991 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41992 r=`${PWD_COMMAND}`; export r; \
41993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41994 $(NORMAL_TARGET_EXPORTS) \
41995 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41996 for flag in $(EXTRA_TARGET_FLAGS); do \
41997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41998 done; \
41999 (cd $(TARGET_SUBDIR)/libgloss && \
42000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42002 "RANLIB=$${RANLIB}" \
42003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42004 maintainer-clean) \
42005 || exit 1
42007 @endif target-libgloss
42013 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
42014 maybe-configure-target-libiberty:
42015 @if gcc-bootstrap
42016 configure-target-libiberty: stage_current
42017 @endif gcc-bootstrap
42018 @if target-libiberty
42019 maybe-configure-target-libiberty: configure-target-libiberty
42020 configure-target-libiberty:
42021 @: $(MAKE); $(unstage)
42022 @r=`${PWD_COMMAND}`; export r; \
42023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42024 echo "Checking multilib configuration for libiberty..."; \
42025 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
42026 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
42027 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
42028 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
42029 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
42030 else \
42031 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
42032 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
42033 fi; \
42034 else \
42035 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
42036 fi; \
42037 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
42038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
42039 $(NORMAL_TARGET_EXPORTS) \
42040 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
42041 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
42042 case $(srcdir) in \
42043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42044 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
42045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42046 esac; \
42047 srcdiroption="--srcdir=$${topdir}/libiberty"; \
42048 libsrcdir="$$s/libiberty"; \
42049 rm -f no-such-file || : ; \
42050 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42051 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42052 --target=${target_alias} $${srcdiroption} \
42053 || exit 1
42054 @endif target-libiberty
42060 .PHONY: all-target-libiberty maybe-all-target-libiberty
42061 maybe-all-target-libiberty:
42062 @if gcc-bootstrap
42063 all-target-libiberty: stage_current
42064 @endif gcc-bootstrap
42065 @if target-libiberty
42066 TARGET-target-libiberty=all
42067 maybe-all-target-libiberty: all-target-libiberty
42068 all-target-libiberty: configure-target-libiberty
42069 @: $(MAKE); $(unstage)
42070 @r=`${PWD_COMMAND}`; export r; \
42071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42072 $(NORMAL_TARGET_EXPORTS) \
42073 (cd $(TARGET_SUBDIR)/libiberty && \
42074 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
42075 @endif target-libiberty
42081 .PHONY: check-target-libiberty maybe-check-target-libiberty
42082 maybe-check-target-libiberty:
42083 @if target-libiberty
42084 maybe-check-target-libiberty: check-target-libiberty
42086 check-target-libiberty:
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)/libiberty && \
42092 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42094 @endif target-libiberty
42096 .PHONY: install-target-libiberty maybe-install-target-libiberty
42097 maybe-install-target-libiberty:
42098 @if target-libiberty
42099 maybe-install-target-libiberty: install-target-libiberty
42101 install-target-libiberty: 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)/libiberty && \
42107 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42109 @endif target-libiberty
42111 # Other targets (info, dvi, pdf, etc.)
42113 .PHONY: maybe-info-target-libiberty info-target-libiberty
42114 maybe-info-target-libiberty:
42115 @if target-libiberty
42116 maybe-info-target-libiberty: info-target-libiberty
42118 info-target-libiberty: \
42119 configure-target-libiberty
42120 @: $(MAKE); $(unstage)
42121 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42134 info) \
42135 || exit 1
42137 @endif target-libiberty
42139 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
42140 maybe-dvi-target-libiberty:
42141 @if target-libiberty
42142 maybe-dvi-target-libiberty: dvi-target-libiberty
42144 dvi-target-libiberty: \
42145 configure-target-libiberty
42146 @: $(MAKE); $(unstage)
42147 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42160 dvi) \
42161 || exit 1
42163 @endif target-libiberty
42165 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
42166 maybe-pdf-target-libiberty:
42167 @if target-libiberty
42168 maybe-pdf-target-libiberty: pdf-target-libiberty
42170 pdf-target-libiberty: \
42171 configure-target-libiberty
42172 @: $(MAKE); $(unstage)
42173 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42186 pdf) \
42187 || exit 1
42189 @endif target-libiberty
42191 .PHONY: maybe-html-target-libiberty html-target-libiberty
42192 maybe-html-target-libiberty:
42193 @if target-libiberty
42194 maybe-html-target-libiberty: html-target-libiberty
42196 html-target-libiberty: \
42197 configure-target-libiberty
42198 @: $(MAKE); $(unstage)
42199 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42212 html) \
42213 || exit 1
42215 @endif target-libiberty
42217 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
42218 maybe-TAGS-target-libiberty:
42219 @if target-libiberty
42220 maybe-TAGS-target-libiberty: TAGS-target-libiberty
42222 TAGS-target-libiberty: \
42223 configure-target-libiberty
42224 @: $(MAKE); $(unstage)
42225 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42238 TAGS) \
42239 || exit 1
42241 @endif target-libiberty
42243 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
42244 maybe-install-info-target-libiberty:
42245 @if target-libiberty
42246 maybe-install-info-target-libiberty: install-info-target-libiberty
42248 install-info-target-libiberty: \
42249 configure-target-libiberty \
42250 info-target-libiberty
42251 @: $(MAKE); $(unstage)
42252 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42265 install-info) \
42266 || exit 1
42268 @endif target-libiberty
42270 .PHONY: maybe-install-pdf-target-libiberty install-pdf-target-libiberty
42271 maybe-install-pdf-target-libiberty:
42272 @if target-libiberty
42273 maybe-install-pdf-target-libiberty: install-pdf-target-libiberty
42275 install-pdf-target-libiberty: \
42276 configure-target-libiberty \
42277 pdf-target-libiberty
42278 @: $(MAKE); $(unstage)
42279 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42292 install-pdf) \
42293 || exit 1
42295 @endif target-libiberty
42297 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
42298 maybe-install-html-target-libiberty:
42299 @if target-libiberty
42300 maybe-install-html-target-libiberty: install-html-target-libiberty
42302 install-html-target-libiberty: \
42303 configure-target-libiberty \
42304 html-target-libiberty
42305 @: $(MAKE); $(unstage)
42306 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42319 install-html) \
42320 || exit 1
42322 @endif target-libiberty
42324 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
42325 maybe-installcheck-target-libiberty:
42326 @if target-libiberty
42327 maybe-installcheck-target-libiberty: installcheck-target-libiberty
42329 installcheck-target-libiberty: \
42330 configure-target-libiberty
42331 @: $(MAKE); $(unstage)
42332 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42345 installcheck) \
42346 || exit 1
42348 @endif target-libiberty
42350 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
42351 maybe-mostlyclean-target-libiberty:
42352 @if target-libiberty
42353 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
42355 mostlyclean-target-libiberty:
42356 @: $(MAKE); $(unstage)
42357 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42370 mostlyclean) \
42371 || exit 1
42373 @endif target-libiberty
42375 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
42376 maybe-clean-target-libiberty:
42377 @if target-libiberty
42378 maybe-clean-target-libiberty: clean-target-libiberty
42380 clean-target-libiberty:
42381 @: $(MAKE); $(unstage)
42382 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42395 clean) \
42396 || exit 1
42398 @endif target-libiberty
42400 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
42401 maybe-distclean-target-libiberty:
42402 @if target-libiberty
42403 maybe-distclean-target-libiberty: distclean-target-libiberty
42405 distclean-target-libiberty:
42406 @: $(MAKE); $(unstage)
42407 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42420 distclean) \
42421 || exit 1
42423 @endif target-libiberty
42425 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
42426 maybe-maintainer-clean-target-libiberty:
42427 @if target-libiberty
42428 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
42430 maintainer-clean-target-libiberty:
42431 @: $(MAKE); $(unstage)
42432 @[ -f $(TARGET_SUBDIR)/libiberty/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)/libiberty" ; \
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)/libiberty && \
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}" \
42445 maintainer-clean) \
42446 || exit 1
42448 @endif target-libiberty
42454 .PHONY: configure-target-gperf maybe-configure-target-gperf
42455 maybe-configure-target-gperf:
42456 @if gcc-bootstrap
42457 configure-target-gperf: stage_current
42458 @endif gcc-bootstrap
42459 @if target-gperf
42460 maybe-configure-target-gperf: configure-target-gperf
42461 configure-target-gperf:
42462 @: $(MAKE); $(unstage)
42463 @r=`${PWD_COMMAND}`; export r; \
42464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42465 echo "Checking multilib configuration for gperf..."; \
42466 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
42467 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
42468 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
42469 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
42470 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
42471 else \
42472 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
42473 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
42474 fi; \
42475 else \
42476 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
42477 fi; \
42478 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
42479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
42480 $(NORMAL_TARGET_EXPORTS) \
42481 echo Configuring in $(TARGET_SUBDIR)/gperf; \
42482 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
42483 case $(srcdir) in \
42484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42485 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
42486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42487 esac; \
42488 srcdiroption="--srcdir=$${topdir}/gperf"; \
42489 libsrcdir="$$s/gperf"; \
42490 rm -f no-such-file || : ; \
42491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42493 --target=${target_alias} $${srcdiroption} \
42494 || exit 1
42495 @endif target-gperf
42501 .PHONY: all-target-gperf maybe-all-target-gperf
42502 maybe-all-target-gperf:
42503 @if gcc-bootstrap
42504 all-target-gperf: stage_current
42505 @endif gcc-bootstrap
42506 @if target-gperf
42507 TARGET-target-gperf=all
42508 maybe-all-target-gperf: all-target-gperf
42509 all-target-gperf: configure-target-gperf
42510 @: $(MAKE); $(unstage)
42511 @r=`${PWD_COMMAND}`; export r; \
42512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42513 $(NORMAL_TARGET_EXPORTS) \
42514 (cd $(TARGET_SUBDIR)/gperf && \
42515 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
42516 @endif target-gperf
42522 .PHONY: check-target-gperf maybe-check-target-gperf
42523 maybe-check-target-gperf:
42524 @if target-gperf
42525 maybe-check-target-gperf: check-target-gperf
42527 check-target-gperf:
42528 @: $(MAKE); $(unstage)
42529 @r=`${PWD_COMMAND}`; export r; \
42530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42531 $(NORMAL_TARGET_EXPORTS) \
42532 (cd $(TARGET_SUBDIR)/gperf && \
42533 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42535 @endif target-gperf
42537 .PHONY: install-target-gperf maybe-install-target-gperf
42538 maybe-install-target-gperf:
42539 @if target-gperf
42540 maybe-install-target-gperf: install-target-gperf
42542 install-target-gperf: installdirs
42543 @: $(MAKE); $(unstage)
42544 @r=`${PWD_COMMAND}`; export r; \
42545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42546 $(NORMAL_TARGET_EXPORTS) \
42547 (cd $(TARGET_SUBDIR)/gperf && \
42548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42550 @endif target-gperf
42552 # Other targets (info, dvi, pdf, etc.)
42554 .PHONY: maybe-info-target-gperf info-target-gperf
42555 maybe-info-target-gperf:
42556 @if target-gperf
42557 maybe-info-target-gperf: info-target-gperf
42559 info-target-gperf: \
42560 configure-target-gperf
42561 @: $(MAKE); $(unstage)
42562 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42563 r=`${PWD_COMMAND}`; export r; \
42564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42565 $(NORMAL_TARGET_EXPORTS) \
42566 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
42567 for flag in $(EXTRA_TARGET_FLAGS); do \
42568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42569 done; \
42570 (cd $(TARGET_SUBDIR)/gperf && \
42571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42573 "RANLIB=$${RANLIB}" \
42574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42575 info) \
42576 || exit 1
42578 @endif target-gperf
42580 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
42581 maybe-dvi-target-gperf:
42582 @if target-gperf
42583 maybe-dvi-target-gperf: dvi-target-gperf
42585 dvi-target-gperf: \
42586 configure-target-gperf
42587 @: $(MAKE); $(unstage)
42588 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42589 r=`${PWD_COMMAND}`; export r; \
42590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42591 $(NORMAL_TARGET_EXPORTS) \
42592 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
42593 for flag in $(EXTRA_TARGET_FLAGS); do \
42594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42595 done; \
42596 (cd $(TARGET_SUBDIR)/gperf && \
42597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42599 "RANLIB=$${RANLIB}" \
42600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42601 dvi) \
42602 || exit 1
42604 @endif target-gperf
42606 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
42607 maybe-pdf-target-gperf:
42608 @if target-gperf
42609 maybe-pdf-target-gperf: pdf-target-gperf
42611 pdf-target-gperf: \
42612 configure-target-gperf
42613 @: $(MAKE); $(unstage)
42614 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42615 r=`${PWD_COMMAND}`; export r; \
42616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42617 $(NORMAL_TARGET_EXPORTS) \
42618 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
42619 for flag in $(EXTRA_TARGET_FLAGS); do \
42620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42621 done; \
42622 (cd $(TARGET_SUBDIR)/gperf && \
42623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42625 "RANLIB=$${RANLIB}" \
42626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42627 pdf) \
42628 || exit 1
42630 @endif target-gperf
42632 .PHONY: maybe-html-target-gperf html-target-gperf
42633 maybe-html-target-gperf:
42634 @if target-gperf
42635 maybe-html-target-gperf: html-target-gperf
42637 html-target-gperf: \
42638 configure-target-gperf
42639 @: $(MAKE); $(unstage)
42640 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42641 r=`${PWD_COMMAND}`; export r; \
42642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42643 $(NORMAL_TARGET_EXPORTS) \
42644 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
42645 for flag in $(EXTRA_TARGET_FLAGS); do \
42646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42647 done; \
42648 (cd $(TARGET_SUBDIR)/gperf && \
42649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42651 "RANLIB=$${RANLIB}" \
42652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42653 html) \
42654 || exit 1
42656 @endif target-gperf
42658 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
42659 maybe-TAGS-target-gperf:
42660 @if target-gperf
42661 maybe-TAGS-target-gperf: TAGS-target-gperf
42663 TAGS-target-gperf: \
42664 configure-target-gperf
42665 @: $(MAKE); $(unstage)
42666 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42667 r=`${PWD_COMMAND}`; export r; \
42668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42669 $(NORMAL_TARGET_EXPORTS) \
42670 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
42671 for flag in $(EXTRA_TARGET_FLAGS); do \
42672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42673 done; \
42674 (cd $(TARGET_SUBDIR)/gperf && \
42675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42677 "RANLIB=$${RANLIB}" \
42678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42679 TAGS) \
42680 || exit 1
42682 @endif target-gperf
42684 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
42685 maybe-install-info-target-gperf:
42686 @if target-gperf
42687 maybe-install-info-target-gperf: install-info-target-gperf
42689 install-info-target-gperf: \
42690 configure-target-gperf \
42691 info-target-gperf
42692 @: $(MAKE); $(unstage)
42693 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42694 r=`${PWD_COMMAND}`; export r; \
42695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42696 $(NORMAL_TARGET_EXPORTS) \
42697 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
42698 for flag in $(EXTRA_TARGET_FLAGS); do \
42699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42700 done; \
42701 (cd $(TARGET_SUBDIR)/gperf && \
42702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42704 "RANLIB=$${RANLIB}" \
42705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42706 install-info) \
42707 || exit 1
42709 @endif target-gperf
42711 .PHONY: maybe-install-pdf-target-gperf install-pdf-target-gperf
42712 maybe-install-pdf-target-gperf:
42713 @if target-gperf
42714 maybe-install-pdf-target-gperf: install-pdf-target-gperf
42716 install-pdf-target-gperf: \
42717 configure-target-gperf \
42718 pdf-target-gperf
42719 @: $(MAKE); $(unstage)
42720 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42721 r=`${PWD_COMMAND}`; export r; \
42722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42723 $(NORMAL_TARGET_EXPORTS) \
42724 echo "Doing install-pdf in $(TARGET_SUBDIR)/gperf" ; \
42725 for flag in $(EXTRA_TARGET_FLAGS); do \
42726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42727 done; \
42728 (cd $(TARGET_SUBDIR)/gperf && \
42729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42731 "RANLIB=$${RANLIB}" \
42732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42733 install-pdf) \
42734 || exit 1
42736 @endif target-gperf
42738 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
42739 maybe-install-html-target-gperf:
42740 @if target-gperf
42741 maybe-install-html-target-gperf: install-html-target-gperf
42743 install-html-target-gperf: \
42744 configure-target-gperf \
42745 html-target-gperf
42746 @: $(MAKE); $(unstage)
42747 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42748 r=`${PWD_COMMAND}`; export r; \
42749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42750 $(NORMAL_TARGET_EXPORTS) \
42751 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
42752 for flag in $(EXTRA_TARGET_FLAGS); do \
42753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42754 done; \
42755 (cd $(TARGET_SUBDIR)/gperf && \
42756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42758 "RANLIB=$${RANLIB}" \
42759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42760 install-html) \
42761 || exit 1
42763 @endif target-gperf
42765 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
42766 maybe-installcheck-target-gperf:
42767 @if target-gperf
42768 maybe-installcheck-target-gperf: installcheck-target-gperf
42770 installcheck-target-gperf: \
42771 configure-target-gperf
42772 @: $(MAKE); $(unstage)
42773 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42774 r=`${PWD_COMMAND}`; export r; \
42775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42776 $(NORMAL_TARGET_EXPORTS) \
42777 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
42778 for flag in $(EXTRA_TARGET_FLAGS); do \
42779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42780 done; \
42781 (cd $(TARGET_SUBDIR)/gperf && \
42782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42784 "RANLIB=$${RANLIB}" \
42785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42786 installcheck) \
42787 || exit 1
42789 @endif target-gperf
42791 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
42792 maybe-mostlyclean-target-gperf:
42793 @if target-gperf
42794 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
42796 mostlyclean-target-gperf:
42797 @: $(MAKE); $(unstage)
42798 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42799 r=`${PWD_COMMAND}`; export r; \
42800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42801 $(NORMAL_TARGET_EXPORTS) \
42802 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
42803 for flag in $(EXTRA_TARGET_FLAGS); do \
42804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42805 done; \
42806 (cd $(TARGET_SUBDIR)/gperf && \
42807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42809 "RANLIB=$${RANLIB}" \
42810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42811 mostlyclean) \
42812 || exit 1
42814 @endif target-gperf
42816 .PHONY: maybe-clean-target-gperf clean-target-gperf
42817 maybe-clean-target-gperf:
42818 @if target-gperf
42819 maybe-clean-target-gperf: clean-target-gperf
42821 clean-target-gperf:
42822 @: $(MAKE); $(unstage)
42823 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42824 r=`${PWD_COMMAND}`; export r; \
42825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42826 $(NORMAL_TARGET_EXPORTS) \
42827 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
42828 for flag in $(EXTRA_TARGET_FLAGS); do \
42829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42830 done; \
42831 (cd $(TARGET_SUBDIR)/gperf && \
42832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42834 "RANLIB=$${RANLIB}" \
42835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42836 clean) \
42837 || exit 1
42839 @endif target-gperf
42841 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
42842 maybe-distclean-target-gperf:
42843 @if target-gperf
42844 maybe-distclean-target-gperf: distclean-target-gperf
42846 distclean-target-gperf:
42847 @: $(MAKE); $(unstage)
42848 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42849 r=`${PWD_COMMAND}`; export r; \
42850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42851 $(NORMAL_TARGET_EXPORTS) \
42852 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
42853 for flag in $(EXTRA_TARGET_FLAGS); do \
42854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42855 done; \
42856 (cd $(TARGET_SUBDIR)/gperf && \
42857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42859 "RANLIB=$${RANLIB}" \
42860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42861 distclean) \
42862 || exit 1
42864 @endif target-gperf
42866 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
42867 maybe-maintainer-clean-target-gperf:
42868 @if target-gperf
42869 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
42871 maintainer-clean-target-gperf:
42872 @: $(MAKE); $(unstage)
42873 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
42874 r=`${PWD_COMMAND}`; export r; \
42875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42876 $(NORMAL_TARGET_EXPORTS) \
42877 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
42878 for flag in $(EXTRA_TARGET_FLAGS); do \
42879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42880 done; \
42881 (cd $(TARGET_SUBDIR)/gperf && \
42882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42884 "RANLIB=$${RANLIB}" \
42885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42886 maintainer-clean) \
42887 || exit 1
42889 @endif target-gperf
42895 .PHONY: configure-target-examples maybe-configure-target-examples
42896 maybe-configure-target-examples:
42897 @if gcc-bootstrap
42898 configure-target-examples: stage_current
42899 @endif gcc-bootstrap
42900 @if target-examples
42901 maybe-configure-target-examples: configure-target-examples
42902 configure-target-examples:
42903 @: $(MAKE); $(unstage)
42904 @r=`${PWD_COMMAND}`; export r; \
42905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42906 echo "Checking multilib configuration for examples..."; \
42907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
42908 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
42909 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
42910 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
42911 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
42912 else \
42913 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
42914 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
42915 fi; \
42916 else \
42917 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
42918 fi; \
42919 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
42920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
42921 $(NORMAL_TARGET_EXPORTS) \
42922 echo Configuring in $(TARGET_SUBDIR)/examples; \
42923 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
42924 case $(srcdir) in \
42925 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42926 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
42927 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42928 esac; \
42929 srcdiroption="--srcdir=$${topdir}/examples"; \
42930 libsrcdir="$$s/examples"; \
42931 rm -f no-such-file || : ; \
42932 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42933 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42934 --target=${target_alias} $${srcdiroption} \
42935 || exit 1
42936 @endif target-examples
42942 .PHONY: all-target-examples maybe-all-target-examples
42943 maybe-all-target-examples:
42944 @if gcc-bootstrap
42945 all-target-examples: stage_current
42946 @endif gcc-bootstrap
42947 @if target-examples
42948 TARGET-target-examples=all
42949 maybe-all-target-examples: all-target-examples
42950 all-target-examples: configure-target-examples
42951 @: $(MAKE); $(unstage)
42952 @r=`${PWD_COMMAND}`; export r; \
42953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42954 $(NORMAL_TARGET_EXPORTS) \
42955 (cd $(TARGET_SUBDIR)/examples && \
42956 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
42957 @endif target-examples
42963 .PHONY: check-target-examples maybe-check-target-examples
42964 maybe-check-target-examples:
42965 @if target-examples
42966 maybe-check-target-examples: check-target-examples
42968 # Dummy target for uncheckable module.
42969 check-target-examples:
42971 @endif target-examples
42973 .PHONY: install-target-examples maybe-install-target-examples
42974 maybe-install-target-examples:
42975 @if target-examples
42976 maybe-install-target-examples: install-target-examples
42978 # Dummy target for uninstallable.
42979 install-target-examples:
42981 @endif target-examples
42983 # Other targets (info, dvi, pdf, etc.)
42985 .PHONY: maybe-info-target-examples info-target-examples
42986 maybe-info-target-examples:
42987 @if target-examples
42988 maybe-info-target-examples: info-target-examples
42990 info-target-examples: \
42991 configure-target-examples
42992 @: $(MAKE); $(unstage)
42993 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
42994 r=`${PWD_COMMAND}`; export r; \
42995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42996 $(NORMAL_TARGET_EXPORTS) \
42997 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
42998 for flag in $(EXTRA_TARGET_FLAGS); do \
42999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43000 done; \
43001 (cd $(TARGET_SUBDIR)/examples && \
43002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43004 "RANLIB=$${RANLIB}" \
43005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43006 info) \
43007 || exit 1
43009 @endif target-examples
43011 .PHONY: maybe-dvi-target-examples dvi-target-examples
43012 maybe-dvi-target-examples:
43013 @if target-examples
43014 maybe-dvi-target-examples: dvi-target-examples
43016 dvi-target-examples: \
43017 configure-target-examples
43018 @: $(MAKE); $(unstage)
43019 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43020 r=`${PWD_COMMAND}`; export r; \
43021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43022 $(NORMAL_TARGET_EXPORTS) \
43023 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
43024 for flag in $(EXTRA_TARGET_FLAGS); do \
43025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43026 done; \
43027 (cd $(TARGET_SUBDIR)/examples && \
43028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43030 "RANLIB=$${RANLIB}" \
43031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43032 dvi) \
43033 || exit 1
43035 @endif target-examples
43037 .PHONY: maybe-pdf-target-examples pdf-target-examples
43038 maybe-pdf-target-examples:
43039 @if target-examples
43040 maybe-pdf-target-examples: pdf-target-examples
43042 pdf-target-examples: \
43043 configure-target-examples
43044 @: $(MAKE); $(unstage)
43045 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43046 r=`${PWD_COMMAND}`; export r; \
43047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43048 $(NORMAL_TARGET_EXPORTS) \
43049 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
43050 for flag in $(EXTRA_TARGET_FLAGS); do \
43051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43052 done; \
43053 (cd $(TARGET_SUBDIR)/examples && \
43054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43056 "RANLIB=$${RANLIB}" \
43057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43058 pdf) \
43059 || exit 1
43061 @endif target-examples
43063 .PHONY: maybe-html-target-examples html-target-examples
43064 maybe-html-target-examples:
43065 @if target-examples
43066 maybe-html-target-examples: html-target-examples
43068 html-target-examples: \
43069 configure-target-examples
43070 @: $(MAKE); $(unstage)
43071 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43072 r=`${PWD_COMMAND}`; export r; \
43073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43074 $(NORMAL_TARGET_EXPORTS) \
43075 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
43076 for flag in $(EXTRA_TARGET_FLAGS); do \
43077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43078 done; \
43079 (cd $(TARGET_SUBDIR)/examples && \
43080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43082 "RANLIB=$${RANLIB}" \
43083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43084 html) \
43085 || exit 1
43087 @endif target-examples
43089 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
43090 maybe-TAGS-target-examples:
43091 @if target-examples
43092 maybe-TAGS-target-examples: TAGS-target-examples
43094 TAGS-target-examples: \
43095 configure-target-examples
43096 @: $(MAKE); $(unstage)
43097 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43098 r=`${PWD_COMMAND}`; export r; \
43099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43100 $(NORMAL_TARGET_EXPORTS) \
43101 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
43102 for flag in $(EXTRA_TARGET_FLAGS); do \
43103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43104 done; \
43105 (cd $(TARGET_SUBDIR)/examples && \
43106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43108 "RANLIB=$${RANLIB}" \
43109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43110 TAGS) \
43111 || exit 1
43113 @endif target-examples
43115 .PHONY: maybe-install-info-target-examples install-info-target-examples
43116 maybe-install-info-target-examples:
43117 @if target-examples
43118 maybe-install-info-target-examples: install-info-target-examples
43120 install-info-target-examples: \
43121 configure-target-examples \
43122 info-target-examples
43123 @: $(MAKE); $(unstage)
43124 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43125 r=`${PWD_COMMAND}`; export r; \
43126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43127 $(NORMAL_TARGET_EXPORTS) \
43128 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
43129 for flag in $(EXTRA_TARGET_FLAGS); do \
43130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43131 done; \
43132 (cd $(TARGET_SUBDIR)/examples && \
43133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43135 "RANLIB=$${RANLIB}" \
43136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43137 install-info) \
43138 || exit 1
43140 @endif target-examples
43142 .PHONY: maybe-install-pdf-target-examples install-pdf-target-examples
43143 maybe-install-pdf-target-examples:
43144 @if target-examples
43145 maybe-install-pdf-target-examples: install-pdf-target-examples
43147 install-pdf-target-examples: \
43148 configure-target-examples \
43149 pdf-target-examples
43150 @: $(MAKE); $(unstage)
43151 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43152 r=`${PWD_COMMAND}`; export r; \
43153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43154 $(NORMAL_TARGET_EXPORTS) \
43155 echo "Doing install-pdf in $(TARGET_SUBDIR)/examples" ; \
43156 for flag in $(EXTRA_TARGET_FLAGS); do \
43157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43158 done; \
43159 (cd $(TARGET_SUBDIR)/examples && \
43160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43162 "RANLIB=$${RANLIB}" \
43163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43164 install-pdf) \
43165 || exit 1
43167 @endif target-examples
43169 .PHONY: maybe-install-html-target-examples install-html-target-examples
43170 maybe-install-html-target-examples:
43171 @if target-examples
43172 maybe-install-html-target-examples: install-html-target-examples
43174 install-html-target-examples: \
43175 configure-target-examples \
43176 html-target-examples
43177 @: $(MAKE); $(unstage)
43178 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43179 r=`${PWD_COMMAND}`; export r; \
43180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43181 $(NORMAL_TARGET_EXPORTS) \
43182 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
43183 for flag in $(EXTRA_TARGET_FLAGS); do \
43184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43185 done; \
43186 (cd $(TARGET_SUBDIR)/examples && \
43187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43189 "RANLIB=$${RANLIB}" \
43190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43191 install-html) \
43192 || exit 1
43194 @endif target-examples
43196 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
43197 maybe-installcheck-target-examples:
43198 @if target-examples
43199 maybe-installcheck-target-examples: installcheck-target-examples
43201 installcheck-target-examples: \
43202 configure-target-examples
43203 @: $(MAKE); $(unstage)
43204 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43205 r=`${PWD_COMMAND}`; export r; \
43206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43207 $(NORMAL_TARGET_EXPORTS) \
43208 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
43209 for flag in $(EXTRA_TARGET_FLAGS); do \
43210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43211 done; \
43212 (cd $(TARGET_SUBDIR)/examples && \
43213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43215 "RANLIB=$${RANLIB}" \
43216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43217 installcheck) \
43218 || exit 1
43220 @endif target-examples
43222 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
43223 maybe-mostlyclean-target-examples:
43224 @if target-examples
43225 maybe-mostlyclean-target-examples: mostlyclean-target-examples
43227 mostlyclean-target-examples:
43228 @: $(MAKE); $(unstage)
43229 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43230 r=`${PWD_COMMAND}`; export r; \
43231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43232 $(NORMAL_TARGET_EXPORTS) \
43233 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
43234 for flag in $(EXTRA_TARGET_FLAGS); do \
43235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43236 done; \
43237 (cd $(TARGET_SUBDIR)/examples && \
43238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43240 "RANLIB=$${RANLIB}" \
43241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43242 mostlyclean) \
43243 || exit 1
43245 @endif target-examples
43247 .PHONY: maybe-clean-target-examples clean-target-examples
43248 maybe-clean-target-examples:
43249 @if target-examples
43250 maybe-clean-target-examples: clean-target-examples
43252 clean-target-examples:
43253 @: $(MAKE); $(unstage)
43254 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43255 r=`${PWD_COMMAND}`; export r; \
43256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43257 $(NORMAL_TARGET_EXPORTS) \
43258 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
43259 for flag in $(EXTRA_TARGET_FLAGS); do \
43260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43261 done; \
43262 (cd $(TARGET_SUBDIR)/examples && \
43263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43265 "RANLIB=$${RANLIB}" \
43266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43267 clean) \
43268 || exit 1
43270 @endif target-examples
43272 .PHONY: maybe-distclean-target-examples distclean-target-examples
43273 maybe-distclean-target-examples:
43274 @if target-examples
43275 maybe-distclean-target-examples: distclean-target-examples
43277 distclean-target-examples:
43278 @: $(MAKE); $(unstage)
43279 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43280 r=`${PWD_COMMAND}`; export r; \
43281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43282 $(NORMAL_TARGET_EXPORTS) \
43283 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
43284 for flag in $(EXTRA_TARGET_FLAGS); do \
43285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43286 done; \
43287 (cd $(TARGET_SUBDIR)/examples && \
43288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43290 "RANLIB=$${RANLIB}" \
43291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43292 distclean) \
43293 || exit 1
43295 @endif target-examples
43297 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
43298 maybe-maintainer-clean-target-examples:
43299 @if target-examples
43300 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
43302 maintainer-clean-target-examples:
43303 @: $(MAKE); $(unstage)
43304 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
43305 r=`${PWD_COMMAND}`; export r; \
43306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43307 $(NORMAL_TARGET_EXPORTS) \
43308 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
43309 for flag in $(EXTRA_TARGET_FLAGS); do \
43310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43311 done; \
43312 (cd $(TARGET_SUBDIR)/examples && \
43313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43315 "RANLIB=$${RANLIB}" \
43316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43317 maintainer-clean) \
43318 || exit 1
43320 @endif target-examples
43326 .PHONY: configure-target-libffi maybe-configure-target-libffi
43327 maybe-configure-target-libffi:
43328 @if gcc-bootstrap
43329 configure-target-libffi: stage_current
43330 @endif gcc-bootstrap
43331 @if target-libffi
43332 maybe-configure-target-libffi: configure-target-libffi
43333 configure-target-libffi:
43334 @: $(MAKE); $(unstage)
43335 @r=`${PWD_COMMAND}`; export r; \
43336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43337 echo "Checking multilib configuration for libffi..."; \
43338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
43339 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
43340 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
43341 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
43342 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
43343 else \
43344 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
43345 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
43346 fi; \
43347 else \
43348 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
43349 fi; \
43350 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
43351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
43352 $(NORMAL_TARGET_EXPORTS) \
43353 echo Configuring in $(TARGET_SUBDIR)/libffi; \
43354 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
43355 case $(srcdir) in \
43356 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43357 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
43358 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43359 esac; \
43360 srcdiroption="--srcdir=$${topdir}/libffi"; \
43361 libsrcdir="$$s/libffi"; \
43362 rm -f no-such-file || : ; \
43363 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43364 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43365 --target=${target_alias} $${srcdiroption} \
43366 || exit 1
43367 @endif target-libffi
43373 .PHONY: all-target-libffi maybe-all-target-libffi
43374 maybe-all-target-libffi:
43375 @if gcc-bootstrap
43376 all-target-libffi: stage_current
43377 @endif gcc-bootstrap
43378 @if target-libffi
43379 TARGET-target-libffi=all
43380 maybe-all-target-libffi: all-target-libffi
43381 all-target-libffi: configure-target-libffi
43382 @: $(MAKE); $(unstage)
43383 @r=`${PWD_COMMAND}`; export r; \
43384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43385 $(NORMAL_TARGET_EXPORTS) \
43386 (cd $(TARGET_SUBDIR)/libffi && \
43387 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
43388 @endif target-libffi
43394 .PHONY: check-target-libffi maybe-check-target-libffi
43395 maybe-check-target-libffi:
43396 @if target-libffi
43397 maybe-check-target-libffi: check-target-libffi
43399 check-target-libffi:
43400 @: $(MAKE); $(unstage)
43401 @r=`${PWD_COMMAND}`; export r; \
43402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43403 $(NORMAL_TARGET_EXPORTS) \
43404 (cd $(TARGET_SUBDIR)/libffi && \
43405 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43407 @endif target-libffi
43409 .PHONY: install-target-libffi maybe-install-target-libffi
43410 maybe-install-target-libffi:
43411 @if target-libffi
43412 maybe-install-target-libffi: install-target-libffi
43414 install-target-libffi: installdirs
43415 @: $(MAKE); $(unstage)
43416 @r=`${PWD_COMMAND}`; export r; \
43417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43418 $(NORMAL_TARGET_EXPORTS) \
43419 (cd $(TARGET_SUBDIR)/libffi && \
43420 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43422 @endif target-libffi
43424 # Other targets (info, dvi, pdf, etc.)
43426 .PHONY: maybe-info-target-libffi info-target-libffi
43427 maybe-info-target-libffi:
43428 @if target-libffi
43429 maybe-info-target-libffi: info-target-libffi
43431 info-target-libffi: \
43432 configure-target-libffi
43433 @: $(MAKE); $(unstage)
43434 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43435 r=`${PWD_COMMAND}`; export r; \
43436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43437 $(NORMAL_TARGET_EXPORTS) \
43438 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
43439 for flag in $(EXTRA_TARGET_FLAGS); do \
43440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43441 done; \
43442 (cd $(TARGET_SUBDIR)/libffi && \
43443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43445 "RANLIB=$${RANLIB}" \
43446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43447 info) \
43448 || exit 1
43450 @endif target-libffi
43452 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
43453 maybe-dvi-target-libffi:
43454 @if target-libffi
43455 maybe-dvi-target-libffi: dvi-target-libffi
43457 dvi-target-libffi: \
43458 configure-target-libffi
43459 @: $(MAKE); $(unstage)
43460 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43461 r=`${PWD_COMMAND}`; export r; \
43462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43463 $(NORMAL_TARGET_EXPORTS) \
43464 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
43465 for flag in $(EXTRA_TARGET_FLAGS); do \
43466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43467 done; \
43468 (cd $(TARGET_SUBDIR)/libffi && \
43469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43471 "RANLIB=$${RANLIB}" \
43472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43473 dvi) \
43474 || exit 1
43476 @endif target-libffi
43478 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
43479 maybe-pdf-target-libffi:
43480 @if target-libffi
43481 maybe-pdf-target-libffi: pdf-target-libffi
43483 pdf-target-libffi: \
43484 configure-target-libffi
43485 @: $(MAKE); $(unstage)
43486 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43487 r=`${PWD_COMMAND}`; export r; \
43488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43489 $(NORMAL_TARGET_EXPORTS) \
43490 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
43491 for flag in $(EXTRA_TARGET_FLAGS); do \
43492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43493 done; \
43494 (cd $(TARGET_SUBDIR)/libffi && \
43495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43497 "RANLIB=$${RANLIB}" \
43498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43499 pdf) \
43500 || exit 1
43502 @endif target-libffi
43504 .PHONY: maybe-html-target-libffi html-target-libffi
43505 maybe-html-target-libffi:
43506 @if target-libffi
43507 maybe-html-target-libffi: html-target-libffi
43509 html-target-libffi: \
43510 configure-target-libffi
43511 @: $(MAKE); $(unstage)
43512 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43513 r=`${PWD_COMMAND}`; export r; \
43514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43515 $(NORMAL_TARGET_EXPORTS) \
43516 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
43517 for flag in $(EXTRA_TARGET_FLAGS); do \
43518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43519 done; \
43520 (cd $(TARGET_SUBDIR)/libffi && \
43521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43523 "RANLIB=$${RANLIB}" \
43524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43525 html) \
43526 || exit 1
43528 @endif target-libffi
43530 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
43531 maybe-TAGS-target-libffi:
43532 @if target-libffi
43533 maybe-TAGS-target-libffi: TAGS-target-libffi
43535 TAGS-target-libffi: \
43536 configure-target-libffi
43537 @: $(MAKE); $(unstage)
43538 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43539 r=`${PWD_COMMAND}`; export r; \
43540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43541 $(NORMAL_TARGET_EXPORTS) \
43542 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
43543 for flag in $(EXTRA_TARGET_FLAGS); do \
43544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43545 done; \
43546 (cd $(TARGET_SUBDIR)/libffi && \
43547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43549 "RANLIB=$${RANLIB}" \
43550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43551 TAGS) \
43552 || exit 1
43554 @endif target-libffi
43556 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
43557 maybe-install-info-target-libffi:
43558 @if target-libffi
43559 maybe-install-info-target-libffi: install-info-target-libffi
43561 install-info-target-libffi: \
43562 configure-target-libffi \
43563 info-target-libffi
43564 @: $(MAKE); $(unstage)
43565 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43566 r=`${PWD_COMMAND}`; export r; \
43567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43568 $(NORMAL_TARGET_EXPORTS) \
43569 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
43570 for flag in $(EXTRA_TARGET_FLAGS); do \
43571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43572 done; \
43573 (cd $(TARGET_SUBDIR)/libffi && \
43574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43576 "RANLIB=$${RANLIB}" \
43577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43578 install-info) \
43579 || exit 1
43581 @endif target-libffi
43583 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
43584 maybe-install-pdf-target-libffi:
43585 @if target-libffi
43586 maybe-install-pdf-target-libffi: install-pdf-target-libffi
43588 install-pdf-target-libffi: \
43589 configure-target-libffi \
43590 pdf-target-libffi
43591 @: $(MAKE); $(unstage)
43592 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43593 r=`${PWD_COMMAND}`; export r; \
43594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43595 $(NORMAL_TARGET_EXPORTS) \
43596 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
43597 for flag in $(EXTRA_TARGET_FLAGS); do \
43598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43599 done; \
43600 (cd $(TARGET_SUBDIR)/libffi && \
43601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43603 "RANLIB=$${RANLIB}" \
43604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43605 install-pdf) \
43606 || exit 1
43608 @endif target-libffi
43610 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
43611 maybe-install-html-target-libffi:
43612 @if target-libffi
43613 maybe-install-html-target-libffi: install-html-target-libffi
43615 install-html-target-libffi: \
43616 configure-target-libffi \
43617 html-target-libffi
43618 @: $(MAKE); $(unstage)
43619 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43620 r=`${PWD_COMMAND}`; export r; \
43621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43622 $(NORMAL_TARGET_EXPORTS) \
43623 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
43624 for flag in $(EXTRA_TARGET_FLAGS); do \
43625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43626 done; \
43627 (cd $(TARGET_SUBDIR)/libffi && \
43628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43630 "RANLIB=$${RANLIB}" \
43631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43632 install-html) \
43633 || exit 1
43635 @endif target-libffi
43637 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
43638 maybe-installcheck-target-libffi:
43639 @if target-libffi
43640 maybe-installcheck-target-libffi: installcheck-target-libffi
43642 installcheck-target-libffi: \
43643 configure-target-libffi
43644 @: $(MAKE); $(unstage)
43645 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43646 r=`${PWD_COMMAND}`; export r; \
43647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43648 $(NORMAL_TARGET_EXPORTS) \
43649 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
43650 for flag in $(EXTRA_TARGET_FLAGS); do \
43651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43652 done; \
43653 (cd $(TARGET_SUBDIR)/libffi && \
43654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43656 "RANLIB=$${RANLIB}" \
43657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43658 installcheck) \
43659 || exit 1
43661 @endif target-libffi
43663 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
43664 maybe-mostlyclean-target-libffi:
43665 @if target-libffi
43666 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
43668 mostlyclean-target-libffi:
43669 @: $(MAKE); $(unstage)
43670 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43671 r=`${PWD_COMMAND}`; export r; \
43672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43673 $(NORMAL_TARGET_EXPORTS) \
43674 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
43675 for flag in $(EXTRA_TARGET_FLAGS); do \
43676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43677 done; \
43678 (cd $(TARGET_SUBDIR)/libffi && \
43679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43681 "RANLIB=$${RANLIB}" \
43682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43683 mostlyclean) \
43684 || exit 1
43686 @endif target-libffi
43688 .PHONY: maybe-clean-target-libffi clean-target-libffi
43689 maybe-clean-target-libffi:
43690 @if target-libffi
43691 maybe-clean-target-libffi: clean-target-libffi
43693 clean-target-libffi:
43694 @: $(MAKE); $(unstage)
43695 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43696 r=`${PWD_COMMAND}`; export r; \
43697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43698 $(NORMAL_TARGET_EXPORTS) \
43699 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
43700 for flag in $(EXTRA_TARGET_FLAGS); do \
43701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43702 done; \
43703 (cd $(TARGET_SUBDIR)/libffi && \
43704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43706 "RANLIB=$${RANLIB}" \
43707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43708 clean) \
43709 || exit 1
43711 @endif target-libffi
43713 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
43714 maybe-distclean-target-libffi:
43715 @if target-libffi
43716 maybe-distclean-target-libffi: distclean-target-libffi
43718 distclean-target-libffi:
43719 @: $(MAKE); $(unstage)
43720 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43721 r=`${PWD_COMMAND}`; export r; \
43722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43723 $(NORMAL_TARGET_EXPORTS) \
43724 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
43725 for flag in $(EXTRA_TARGET_FLAGS); do \
43726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43727 done; \
43728 (cd $(TARGET_SUBDIR)/libffi && \
43729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43731 "RANLIB=$${RANLIB}" \
43732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43733 distclean) \
43734 || exit 1
43736 @endif target-libffi
43738 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
43739 maybe-maintainer-clean-target-libffi:
43740 @if target-libffi
43741 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
43743 maintainer-clean-target-libffi:
43744 @: $(MAKE); $(unstage)
43745 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
43746 r=`${PWD_COMMAND}`; export r; \
43747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43748 $(NORMAL_TARGET_EXPORTS) \
43749 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
43750 for flag in $(EXTRA_TARGET_FLAGS); do \
43751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43752 done; \
43753 (cd $(TARGET_SUBDIR)/libffi && \
43754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43756 "RANLIB=$${RANLIB}" \
43757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43758 maintainer-clean) \
43759 || exit 1
43761 @endif target-libffi
43767 .PHONY: configure-target-libjava maybe-configure-target-libjava
43768 maybe-configure-target-libjava:
43769 @if gcc-bootstrap
43770 configure-target-libjava: stage_current
43771 @endif gcc-bootstrap
43772 @if target-libjava
43773 maybe-configure-target-libjava: configure-target-libjava
43774 configure-target-libjava:
43775 @: $(MAKE); $(unstage)
43776 @r=`${PWD_COMMAND}`; export r; \
43777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43778 echo "Checking multilib configuration for libjava..."; \
43779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
43780 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
43781 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
43782 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
43783 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
43784 else \
43785 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
43786 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
43787 fi; \
43788 else \
43789 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
43790 fi; \
43791 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
43792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
43793 $(RAW_CXX_TARGET_EXPORTS) \
43794 echo Configuring in $(TARGET_SUBDIR)/libjava; \
43795 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
43796 case $(srcdir) in \
43797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43798 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
43799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43800 esac; \
43801 srcdiroption="--srcdir=$${topdir}/libjava"; \
43802 libsrcdir="$$s/libjava"; \
43803 rm -f no-such-file || : ; \
43804 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43805 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43806 --target=${target_alias} $${srcdiroption} \
43807 || exit 1
43808 @endif target-libjava
43814 .PHONY: all-target-libjava maybe-all-target-libjava
43815 maybe-all-target-libjava:
43816 @if gcc-bootstrap
43817 all-target-libjava: stage_current
43818 @endif gcc-bootstrap
43819 @if target-libjava
43820 TARGET-target-libjava=all
43821 maybe-all-target-libjava: all-target-libjava
43822 all-target-libjava: configure-target-libjava
43823 @: $(MAKE); $(unstage)
43824 @r=`${PWD_COMMAND}`; export r; \
43825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43826 $(RAW_CXX_TARGET_EXPORTS) \
43827 (cd $(TARGET_SUBDIR)/libjava && \
43828 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
43829 @endif target-libjava
43835 .PHONY: check-target-libjava maybe-check-target-libjava
43836 maybe-check-target-libjava:
43837 @if target-libjava
43838 maybe-check-target-libjava: check-target-libjava
43840 check-target-libjava:
43841 @: $(MAKE); $(unstage)
43842 @r=`${PWD_COMMAND}`; export r; \
43843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43844 $(RAW_CXX_TARGET_EXPORTS) \
43845 (cd $(TARGET_SUBDIR)/libjava && \
43846 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
43848 @endif target-libjava
43850 .PHONY: install-target-libjava maybe-install-target-libjava
43851 maybe-install-target-libjava:
43852 @if target-libjava
43853 maybe-install-target-libjava: install-target-libjava
43855 install-target-libjava: installdirs
43856 @: $(MAKE); $(unstage)
43857 @r=`${PWD_COMMAND}`; export r; \
43858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43859 $(RAW_CXX_TARGET_EXPORTS) \
43860 (cd $(TARGET_SUBDIR)/libjava && \
43861 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43863 @endif target-libjava
43865 # Other targets (info, dvi, pdf, etc.)
43867 .PHONY: maybe-info-target-libjava info-target-libjava
43868 maybe-info-target-libjava:
43869 @if target-libjava
43870 maybe-info-target-libjava: info-target-libjava
43872 info-target-libjava: \
43873 configure-target-libjava
43874 @: $(MAKE); $(unstage)
43875 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
43876 r=`${PWD_COMMAND}`; export r; \
43877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43878 $(RAW_CXX_TARGET_EXPORTS) \
43879 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
43880 for flag in $(EXTRA_TARGET_FLAGS); do \
43881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43882 done; \
43883 (cd $(TARGET_SUBDIR)/libjava && \
43884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43886 "RANLIB=$${RANLIB}" \
43887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43888 info) \
43889 || exit 1
43891 @endif target-libjava
43893 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
43894 maybe-dvi-target-libjava:
43895 @if target-libjava
43896 maybe-dvi-target-libjava: dvi-target-libjava
43898 dvi-target-libjava: \
43899 configure-target-libjava
43900 @: $(MAKE); $(unstage)
43901 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
43902 r=`${PWD_COMMAND}`; export r; \
43903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43904 $(RAW_CXX_TARGET_EXPORTS) \
43905 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
43906 for flag in $(EXTRA_TARGET_FLAGS); do \
43907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43908 done; \
43909 (cd $(TARGET_SUBDIR)/libjava && \
43910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43912 "RANLIB=$${RANLIB}" \
43913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43914 dvi) \
43915 || exit 1
43917 @endif target-libjava
43919 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
43920 maybe-pdf-target-libjava:
43921 @if target-libjava
43922 maybe-pdf-target-libjava: pdf-target-libjava
43924 pdf-target-libjava: \
43925 configure-target-libjava
43926 @: $(MAKE); $(unstage)
43927 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
43928 r=`${PWD_COMMAND}`; export r; \
43929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43930 $(RAW_CXX_TARGET_EXPORTS) \
43931 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
43932 for flag in $(EXTRA_TARGET_FLAGS); do \
43933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43934 done; \
43935 (cd $(TARGET_SUBDIR)/libjava && \
43936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43938 "RANLIB=$${RANLIB}" \
43939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43940 pdf) \
43941 || exit 1
43943 @endif target-libjava
43945 .PHONY: maybe-html-target-libjava html-target-libjava
43946 maybe-html-target-libjava:
43947 @if target-libjava
43948 maybe-html-target-libjava: html-target-libjava
43950 html-target-libjava: \
43951 configure-target-libjava
43952 @: $(MAKE); $(unstage)
43953 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
43954 r=`${PWD_COMMAND}`; export r; \
43955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43956 $(RAW_CXX_TARGET_EXPORTS) \
43957 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
43958 for flag in $(EXTRA_TARGET_FLAGS); do \
43959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43960 done; \
43961 (cd $(TARGET_SUBDIR)/libjava && \
43962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43964 "RANLIB=$${RANLIB}" \
43965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43966 html) \
43967 || exit 1
43969 @endif target-libjava
43971 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
43972 maybe-TAGS-target-libjava:
43973 @if target-libjava
43974 maybe-TAGS-target-libjava: TAGS-target-libjava
43976 TAGS-target-libjava: \
43977 configure-target-libjava
43978 @: $(MAKE); $(unstage)
43979 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
43980 r=`${PWD_COMMAND}`; export r; \
43981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43982 $(RAW_CXX_TARGET_EXPORTS) \
43983 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
43984 for flag in $(EXTRA_TARGET_FLAGS); do \
43985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43986 done; \
43987 (cd $(TARGET_SUBDIR)/libjava && \
43988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43990 "RANLIB=$${RANLIB}" \
43991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43992 TAGS) \
43993 || exit 1
43995 @endif target-libjava
43997 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
43998 maybe-install-info-target-libjava:
43999 @if target-libjava
44000 maybe-install-info-target-libjava: install-info-target-libjava
44002 install-info-target-libjava: \
44003 configure-target-libjava \
44004 info-target-libjava
44005 @: $(MAKE); $(unstage)
44006 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44007 r=`${PWD_COMMAND}`; export r; \
44008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44009 $(RAW_CXX_TARGET_EXPORTS) \
44010 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
44011 for flag in $(EXTRA_TARGET_FLAGS); do \
44012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44013 done; \
44014 (cd $(TARGET_SUBDIR)/libjava && \
44015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44017 "RANLIB=$${RANLIB}" \
44018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44019 install-info) \
44020 || exit 1
44022 @endif target-libjava
44024 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
44025 maybe-install-pdf-target-libjava:
44026 @if target-libjava
44027 maybe-install-pdf-target-libjava: install-pdf-target-libjava
44029 install-pdf-target-libjava: \
44030 configure-target-libjava \
44031 pdf-target-libjava
44032 @: $(MAKE); $(unstage)
44033 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44034 r=`${PWD_COMMAND}`; export r; \
44035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44036 $(RAW_CXX_TARGET_EXPORTS) \
44037 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
44038 for flag in $(EXTRA_TARGET_FLAGS); do \
44039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44040 done; \
44041 (cd $(TARGET_SUBDIR)/libjava && \
44042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44044 "RANLIB=$${RANLIB}" \
44045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44046 install-pdf) \
44047 || exit 1
44049 @endif target-libjava
44051 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
44052 maybe-install-html-target-libjava:
44053 @if target-libjava
44054 maybe-install-html-target-libjava: install-html-target-libjava
44056 install-html-target-libjava: \
44057 configure-target-libjava \
44058 html-target-libjava
44059 @: $(MAKE); $(unstage)
44060 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44061 r=`${PWD_COMMAND}`; export r; \
44062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44063 $(RAW_CXX_TARGET_EXPORTS) \
44064 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
44065 for flag in $(EXTRA_TARGET_FLAGS); do \
44066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44067 done; \
44068 (cd $(TARGET_SUBDIR)/libjava && \
44069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44071 "RANLIB=$${RANLIB}" \
44072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44073 install-html) \
44074 || exit 1
44076 @endif target-libjava
44078 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
44079 maybe-installcheck-target-libjava:
44080 @if target-libjava
44081 maybe-installcheck-target-libjava: installcheck-target-libjava
44083 installcheck-target-libjava: \
44084 configure-target-libjava
44085 @: $(MAKE); $(unstage)
44086 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44087 r=`${PWD_COMMAND}`; export r; \
44088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44089 $(RAW_CXX_TARGET_EXPORTS) \
44090 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
44091 for flag in $(EXTRA_TARGET_FLAGS); do \
44092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44093 done; \
44094 (cd $(TARGET_SUBDIR)/libjava && \
44095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44097 "RANLIB=$${RANLIB}" \
44098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44099 installcheck) \
44100 || exit 1
44102 @endif target-libjava
44104 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
44105 maybe-mostlyclean-target-libjava:
44106 @if target-libjava
44107 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
44109 mostlyclean-target-libjava:
44110 @: $(MAKE); $(unstage)
44111 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44112 r=`${PWD_COMMAND}`; export r; \
44113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44114 $(RAW_CXX_TARGET_EXPORTS) \
44115 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
44116 for flag in $(EXTRA_TARGET_FLAGS); do \
44117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44118 done; \
44119 (cd $(TARGET_SUBDIR)/libjava && \
44120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44122 "RANLIB=$${RANLIB}" \
44123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44124 mostlyclean) \
44125 || exit 1
44127 @endif target-libjava
44129 .PHONY: maybe-clean-target-libjava clean-target-libjava
44130 maybe-clean-target-libjava:
44131 @if target-libjava
44132 maybe-clean-target-libjava: clean-target-libjava
44134 clean-target-libjava:
44135 @: $(MAKE); $(unstage)
44136 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44137 r=`${PWD_COMMAND}`; export r; \
44138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44139 $(RAW_CXX_TARGET_EXPORTS) \
44140 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
44141 for flag in $(EXTRA_TARGET_FLAGS); do \
44142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44143 done; \
44144 (cd $(TARGET_SUBDIR)/libjava && \
44145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44147 "RANLIB=$${RANLIB}" \
44148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44149 clean) \
44150 || exit 1
44152 @endif target-libjava
44154 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
44155 maybe-distclean-target-libjava:
44156 @if target-libjava
44157 maybe-distclean-target-libjava: distclean-target-libjava
44159 distclean-target-libjava:
44160 @: $(MAKE); $(unstage)
44161 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44162 r=`${PWD_COMMAND}`; export r; \
44163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44164 $(RAW_CXX_TARGET_EXPORTS) \
44165 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
44166 for flag in $(EXTRA_TARGET_FLAGS); do \
44167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44168 done; \
44169 (cd $(TARGET_SUBDIR)/libjava && \
44170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44172 "RANLIB=$${RANLIB}" \
44173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44174 distclean) \
44175 || exit 1
44177 @endif target-libjava
44179 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
44180 maybe-maintainer-clean-target-libjava:
44181 @if target-libjava
44182 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
44184 maintainer-clean-target-libjava:
44185 @: $(MAKE); $(unstage)
44186 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
44187 r=`${PWD_COMMAND}`; export r; \
44188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44189 $(RAW_CXX_TARGET_EXPORTS) \
44190 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
44191 for flag in $(EXTRA_TARGET_FLAGS); do \
44192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44193 done; \
44194 (cd $(TARGET_SUBDIR)/libjava && \
44195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44197 "RANLIB=$${RANLIB}" \
44198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44199 maintainer-clean) \
44200 || exit 1
44202 @endif target-libjava
44208 .PHONY: configure-target-zlib maybe-configure-target-zlib
44209 maybe-configure-target-zlib:
44210 @if gcc-bootstrap
44211 configure-target-zlib: stage_current
44212 @endif gcc-bootstrap
44213 @if target-zlib
44214 maybe-configure-target-zlib: configure-target-zlib
44215 configure-target-zlib:
44216 @: $(MAKE); $(unstage)
44217 @r=`${PWD_COMMAND}`; export r; \
44218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44219 echo "Checking multilib configuration for zlib..."; \
44220 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
44221 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
44222 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
44223 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
44224 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
44225 else \
44226 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
44227 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
44228 fi; \
44229 else \
44230 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
44231 fi; \
44232 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
44233 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
44234 $(NORMAL_TARGET_EXPORTS) \
44235 echo Configuring in $(TARGET_SUBDIR)/zlib; \
44236 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
44237 case $(srcdir) in \
44238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44239 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
44240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44241 esac; \
44242 srcdiroption="--srcdir=$${topdir}/zlib"; \
44243 libsrcdir="$$s/zlib"; \
44244 rm -f no-such-file || : ; \
44245 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44246 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44247 --target=${target_alias} $${srcdiroption} \
44248 || exit 1
44249 @endif target-zlib
44255 .PHONY: all-target-zlib maybe-all-target-zlib
44256 maybe-all-target-zlib:
44257 @if gcc-bootstrap
44258 all-target-zlib: stage_current
44259 @endif gcc-bootstrap
44260 @if target-zlib
44261 TARGET-target-zlib=all
44262 maybe-all-target-zlib: all-target-zlib
44263 all-target-zlib: configure-target-zlib
44264 @: $(MAKE); $(unstage)
44265 @r=`${PWD_COMMAND}`; export r; \
44266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44267 $(NORMAL_TARGET_EXPORTS) \
44268 (cd $(TARGET_SUBDIR)/zlib && \
44269 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
44270 @endif target-zlib
44276 .PHONY: check-target-zlib maybe-check-target-zlib
44277 maybe-check-target-zlib:
44278 @if target-zlib
44279 maybe-check-target-zlib: check-target-zlib
44281 check-target-zlib:
44282 @: $(MAKE); $(unstage)
44283 @r=`${PWD_COMMAND}`; export r; \
44284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44285 $(NORMAL_TARGET_EXPORTS) \
44286 (cd $(TARGET_SUBDIR)/zlib && \
44287 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44289 @endif target-zlib
44291 .PHONY: install-target-zlib maybe-install-target-zlib
44292 maybe-install-target-zlib:
44293 @if target-zlib
44294 maybe-install-target-zlib: install-target-zlib
44296 install-target-zlib: installdirs
44297 @: $(MAKE); $(unstage)
44298 @r=`${PWD_COMMAND}`; export r; \
44299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44300 $(NORMAL_TARGET_EXPORTS) \
44301 (cd $(TARGET_SUBDIR)/zlib && \
44302 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44304 @endif target-zlib
44306 # Other targets (info, dvi, pdf, etc.)
44308 .PHONY: maybe-info-target-zlib info-target-zlib
44309 maybe-info-target-zlib:
44310 @if target-zlib
44311 maybe-info-target-zlib: info-target-zlib
44313 info-target-zlib: \
44314 configure-target-zlib
44315 @: $(MAKE); $(unstage)
44316 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44317 r=`${PWD_COMMAND}`; export r; \
44318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44319 $(NORMAL_TARGET_EXPORTS) \
44320 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
44321 for flag in $(EXTRA_TARGET_FLAGS); do \
44322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44323 done; \
44324 (cd $(TARGET_SUBDIR)/zlib && \
44325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44327 "RANLIB=$${RANLIB}" \
44328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44329 info) \
44330 || exit 1
44332 @endif target-zlib
44334 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
44335 maybe-dvi-target-zlib:
44336 @if target-zlib
44337 maybe-dvi-target-zlib: dvi-target-zlib
44339 dvi-target-zlib: \
44340 configure-target-zlib
44341 @: $(MAKE); $(unstage)
44342 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44343 r=`${PWD_COMMAND}`; export r; \
44344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44345 $(NORMAL_TARGET_EXPORTS) \
44346 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
44347 for flag in $(EXTRA_TARGET_FLAGS); do \
44348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44349 done; \
44350 (cd $(TARGET_SUBDIR)/zlib && \
44351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44353 "RANLIB=$${RANLIB}" \
44354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44355 dvi) \
44356 || exit 1
44358 @endif target-zlib
44360 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
44361 maybe-pdf-target-zlib:
44362 @if target-zlib
44363 maybe-pdf-target-zlib: pdf-target-zlib
44365 pdf-target-zlib: \
44366 configure-target-zlib
44367 @: $(MAKE); $(unstage)
44368 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44369 r=`${PWD_COMMAND}`; export r; \
44370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44371 $(NORMAL_TARGET_EXPORTS) \
44372 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
44373 for flag in $(EXTRA_TARGET_FLAGS); do \
44374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44375 done; \
44376 (cd $(TARGET_SUBDIR)/zlib && \
44377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44379 "RANLIB=$${RANLIB}" \
44380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44381 pdf) \
44382 || exit 1
44384 @endif target-zlib
44386 .PHONY: maybe-html-target-zlib html-target-zlib
44387 maybe-html-target-zlib:
44388 @if target-zlib
44389 maybe-html-target-zlib: html-target-zlib
44391 html-target-zlib: \
44392 configure-target-zlib
44393 @: $(MAKE); $(unstage)
44394 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44395 r=`${PWD_COMMAND}`; export r; \
44396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44397 $(NORMAL_TARGET_EXPORTS) \
44398 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
44399 for flag in $(EXTRA_TARGET_FLAGS); do \
44400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44401 done; \
44402 (cd $(TARGET_SUBDIR)/zlib && \
44403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44405 "RANLIB=$${RANLIB}" \
44406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44407 html) \
44408 || exit 1
44410 @endif target-zlib
44412 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
44413 maybe-TAGS-target-zlib:
44414 @if target-zlib
44415 maybe-TAGS-target-zlib: TAGS-target-zlib
44417 TAGS-target-zlib: \
44418 configure-target-zlib
44419 @: $(MAKE); $(unstage)
44420 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44421 r=`${PWD_COMMAND}`; export r; \
44422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44423 $(NORMAL_TARGET_EXPORTS) \
44424 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
44425 for flag in $(EXTRA_TARGET_FLAGS); do \
44426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44427 done; \
44428 (cd $(TARGET_SUBDIR)/zlib && \
44429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44431 "RANLIB=$${RANLIB}" \
44432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44433 TAGS) \
44434 || exit 1
44436 @endif target-zlib
44438 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
44439 maybe-install-info-target-zlib:
44440 @if target-zlib
44441 maybe-install-info-target-zlib: install-info-target-zlib
44443 install-info-target-zlib: \
44444 configure-target-zlib \
44445 info-target-zlib
44446 @: $(MAKE); $(unstage)
44447 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44448 r=`${PWD_COMMAND}`; export r; \
44449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44450 $(NORMAL_TARGET_EXPORTS) \
44451 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
44452 for flag in $(EXTRA_TARGET_FLAGS); do \
44453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44454 done; \
44455 (cd $(TARGET_SUBDIR)/zlib && \
44456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44458 "RANLIB=$${RANLIB}" \
44459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44460 install-info) \
44461 || exit 1
44463 @endif target-zlib
44465 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
44466 maybe-install-pdf-target-zlib:
44467 @if target-zlib
44468 maybe-install-pdf-target-zlib: install-pdf-target-zlib
44470 install-pdf-target-zlib: \
44471 configure-target-zlib \
44472 pdf-target-zlib
44473 @: $(MAKE); $(unstage)
44474 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44475 r=`${PWD_COMMAND}`; export r; \
44476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44477 $(NORMAL_TARGET_EXPORTS) \
44478 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
44479 for flag in $(EXTRA_TARGET_FLAGS); do \
44480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44481 done; \
44482 (cd $(TARGET_SUBDIR)/zlib && \
44483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44485 "RANLIB=$${RANLIB}" \
44486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44487 install-pdf) \
44488 || exit 1
44490 @endif target-zlib
44492 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
44493 maybe-install-html-target-zlib:
44494 @if target-zlib
44495 maybe-install-html-target-zlib: install-html-target-zlib
44497 install-html-target-zlib: \
44498 configure-target-zlib \
44499 html-target-zlib
44500 @: $(MAKE); $(unstage)
44501 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44502 r=`${PWD_COMMAND}`; export r; \
44503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44504 $(NORMAL_TARGET_EXPORTS) \
44505 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
44506 for flag in $(EXTRA_TARGET_FLAGS); do \
44507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44508 done; \
44509 (cd $(TARGET_SUBDIR)/zlib && \
44510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44512 "RANLIB=$${RANLIB}" \
44513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44514 install-html) \
44515 || exit 1
44517 @endif target-zlib
44519 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
44520 maybe-installcheck-target-zlib:
44521 @if target-zlib
44522 maybe-installcheck-target-zlib: installcheck-target-zlib
44524 installcheck-target-zlib: \
44525 configure-target-zlib
44526 @: $(MAKE); $(unstage)
44527 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44528 r=`${PWD_COMMAND}`; export r; \
44529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44530 $(NORMAL_TARGET_EXPORTS) \
44531 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
44532 for flag in $(EXTRA_TARGET_FLAGS); do \
44533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44534 done; \
44535 (cd $(TARGET_SUBDIR)/zlib && \
44536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44538 "RANLIB=$${RANLIB}" \
44539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44540 installcheck) \
44541 || exit 1
44543 @endif target-zlib
44545 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
44546 maybe-mostlyclean-target-zlib:
44547 @if target-zlib
44548 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
44550 mostlyclean-target-zlib:
44551 @: $(MAKE); $(unstage)
44552 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44553 r=`${PWD_COMMAND}`; export r; \
44554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44555 $(NORMAL_TARGET_EXPORTS) \
44556 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
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)/zlib && \
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}" \
44565 mostlyclean) \
44566 || exit 1
44568 @endif target-zlib
44570 .PHONY: maybe-clean-target-zlib clean-target-zlib
44571 maybe-clean-target-zlib:
44572 @if target-zlib
44573 maybe-clean-target-zlib: clean-target-zlib
44575 clean-target-zlib:
44576 @: $(MAKE); $(unstage)
44577 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44578 r=`${PWD_COMMAND}`; export r; \
44579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44580 $(NORMAL_TARGET_EXPORTS) \
44581 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
44582 for flag in $(EXTRA_TARGET_FLAGS); do \
44583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44584 done; \
44585 (cd $(TARGET_SUBDIR)/zlib && \
44586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44588 "RANLIB=$${RANLIB}" \
44589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44590 clean) \
44591 || exit 1
44593 @endif target-zlib
44595 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
44596 maybe-distclean-target-zlib:
44597 @if target-zlib
44598 maybe-distclean-target-zlib: distclean-target-zlib
44600 distclean-target-zlib:
44601 @: $(MAKE); $(unstage)
44602 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44603 r=`${PWD_COMMAND}`; export r; \
44604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44605 $(NORMAL_TARGET_EXPORTS) \
44606 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
44607 for flag in $(EXTRA_TARGET_FLAGS); do \
44608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44609 done; \
44610 (cd $(TARGET_SUBDIR)/zlib && \
44611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44613 "RANLIB=$${RANLIB}" \
44614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44615 distclean) \
44616 || exit 1
44618 @endif target-zlib
44620 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
44621 maybe-maintainer-clean-target-zlib:
44622 @if target-zlib
44623 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
44625 maintainer-clean-target-zlib:
44626 @: $(MAKE); $(unstage)
44627 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
44628 r=`${PWD_COMMAND}`; export r; \
44629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44630 $(NORMAL_TARGET_EXPORTS) \
44631 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
44632 for flag in $(EXTRA_TARGET_FLAGS); do \
44633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44634 done; \
44635 (cd $(TARGET_SUBDIR)/zlib && \
44636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44638 "RANLIB=$${RANLIB}" \
44639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44640 maintainer-clean) \
44641 || exit 1
44643 @endif target-zlib
44649 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
44650 maybe-configure-target-boehm-gc:
44651 @if gcc-bootstrap
44652 configure-target-boehm-gc: stage_current
44653 @endif gcc-bootstrap
44654 @if target-boehm-gc
44655 maybe-configure-target-boehm-gc: configure-target-boehm-gc
44656 configure-target-boehm-gc:
44657 @: $(MAKE); $(unstage)
44658 @r=`${PWD_COMMAND}`; export r; \
44659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44660 echo "Checking multilib configuration for boehm-gc..."; \
44661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
44662 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
44663 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
44664 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
44665 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
44666 else \
44667 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
44668 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
44669 fi; \
44670 else \
44671 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
44672 fi; \
44673 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
44674 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
44675 $(NORMAL_TARGET_EXPORTS) \
44676 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
44677 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
44678 case $(srcdir) in \
44679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44680 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
44681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44682 esac; \
44683 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
44684 libsrcdir="$$s/boehm-gc"; \
44685 rm -f no-such-file || : ; \
44686 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44687 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44688 --target=${target_alias} $${srcdiroption} \
44689 || exit 1
44690 @endif target-boehm-gc
44696 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
44697 maybe-all-target-boehm-gc:
44698 @if gcc-bootstrap
44699 all-target-boehm-gc: stage_current
44700 @endif gcc-bootstrap
44701 @if target-boehm-gc
44702 TARGET-target-boehm-gc=all
44703 maybe-all-target-boehm-gc: all-target-boehm-gc
44704 all-target-boehm-gc: configure-target-boehm-gc
44705 @: $(MAKE); $(unstage)
44706 @r=`${PWD_COMMAND}`; export r; \
44707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44708 $(NORMAL_TARGET_EXPORTS) \
44709 (cd $(TARGET_SUBDIR)/boehm-gc && \
44710 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
44711 @endif target-boehm-gc
44717 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
44718 maybe-check-target-boehm-gc:
44719 @if target-boehm-gc
44720 maybe-check-target-boehm-gc: check-target-boehm-gc
44722 check-target-boehm-gc:
44723 @: $(MAKE); $(unstage)
44724 @r=`${PWD_COMMAND}`; export r; \
44725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44726 $(NORMAL_TARGET_EXPORTS) \
44727 (cd $(TARGET_SUBDIR)/boehm-gc && \
44728 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44730 @endif target-boehm-gc
44732 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
44733 maybe-install-target-boehm-gc:
44734 @if target-boehm-gc
44735 maybe-install-target-boehm-gc: install-target-boehm-gc
44737 install-target-boehm-gc: installdirs
44738 @: $(MAKE); $(unstage)
44739 @r=`${PWD_COMMAND}`; export r; \
44740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44741 $(NORMAL_TARGET_EXPORTS) \
44742 (cd $(TARGET_SUBDIR)/boehm-gc && \
44743 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44745 @endif target-boehm-gc
44747 # Other targets (info, dvi, pdf, etc.)
44749 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
44750 maybe-info-target-boehm-gc:
44751 @if target-boehm-gc
44752 maybe-info-target-boehm-gc: info-target-boehm-gc
44754 info-target-boehm-gc: \
44755 configure-target-boehm-gc
44756 @: $(MAKE); $(unstage)
44757 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44758 r=`${PWD_COMMAND}`; export r; \
44759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44760 $(NORMAL_TARGET_EXPORTS) \
44761 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
44762 for flag in $(EXTRA_TARGET_FLAGS); do \
44763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44764 done; \
44765 (cd $(TARGET_SUBDIR)/boehm-gc && \
44766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44768 "RANLIB=$${RANLIB}" \
44769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44770 info) \
44771 || exit 1
44773 @endif target-boehm-gc
44775 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
44776 maybe-dvi-target-boehm-gc:
44777 @if target-boehm-gc
44778 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
44780 dvi-target-boehm-gc: \
44781 configure-target-boehm-gc
44782 @: $(MAKE); $(unstage)
44783 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44784 r=`${PWD_COMMAND}`; export r; \
44785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44786 $(NORMAL_TARGET_EXPORTS) \
44787 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
44788 for flag in $(EXTRA_TARGET_FLAGS); do \
44789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44790 done; \
44791 (cd $(TARGET_SUBDIR)/boehm-gc && \
44792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44794 "RANLIB=$${RANLIB}" \
44795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44796 dvi) \
44797 || exit 1
44799 @endif target-boehm-gc
44801 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
44802 maybe-pdf-target-boehm-gc:
44803 @if target-boehm-gc
44804 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
44806 pdf-target-boehm-gc: \
44807 configure-target-boehm-gc
44808 @: $(MAKE); $(unstage)
44809 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44810 r=`${PWD_COMMAND}`; export r; \
44811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44812 $(NORMAL_TARGET_EXPORTS) \
44813 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
44814 for flag in $(EXTRA_TARGET_FLAGS); do \
44815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44816 done; \
44817 (cd $(TARGET_SUBDIR)/boehm-gc && \
44818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44820 "RANLIB=$${RANLIB}" \
44821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44822 pdf) \
44823 || exit 1
44825 @endif target-boehm-gc
44827 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
44828 maybe-html-target-boehm-gc:
44829 @if target-boehm-gc
44830 maybe-html-target-boehm-gc: html-target-boehm-gc
44832 html-target-boehm-gc: \
44833 configure-target-boehm-gc
44834 @: $(MAKE); $(unstage)
44835 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44836 r=`${PWD_COMMAND}`; export r; \
44837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44838 $(NORMAL_TARGET_EXPORTS) \
44839 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
44840 for flag in $(EXTRA_TARGET_FLAGS); do \
44841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44842 done; \
44843 (cd $(TARGET_SUBDIR)/boehm-gc && \
44844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44846 "RANLIB=$${RANLIB}" \
44847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44848 html) \
44849 || exit 1
44851 @endif target-boehm-gc
44853 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
44854 maybe-TAGS-target-boehm-gc:
44855 @if target-boehm-gc
44856 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
44858 TAGS-target-boehm-gc: \
44859 configure-target-boehm-gc
44860 @: $(MAKE); $(unstage)
44861 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44862 r=`${PWD_COMMAND}`; export r; \
44863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44864 $(NORMAL_TARGET_EXPORTS) \
44865 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
44866 for flag in $(EXTRA_TARGET_FLAGS); do \
44867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44868 done; \
44869 (cd $(TARGET_SUBDIR)/boehm-gc && \
44870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44872 "RANLIB=$${RANLIB}" \
44873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44874 TAGS) \
44875 || exit 1
44877 @endif target-boehm-gc
44879 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
44880 maybe-install-info-target-boehm-gc:
44881 @if target-boehm-gc
44882 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
44884 install-info-target-boehm-gc: \
44885 configure-target-boehm-gc \
44886 info-target-boehm-gc
44887 @: $(MAKE); $(unstage)
44888 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44889 r=`${PWD_COMMAND}`; export r; \
44890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44891 $(NORMAL_TARGET_EXPORTS) \
44892 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
44893 for flag in $(EXTRA_TARGET_FLAGS); do \
44894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44895 done; \
44896 (cd $(TARGET_SUBDIR)/boehm-gc && \
44897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44899 "RANLIB=$${RANLIB}" \
44900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44901 install-info) \
44902 || exit 1
44904 @endif target-boehm-gc
44906 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
44907 maybe-install-pdf-target-boehm-gc:
44908 @if target-boehm-gc
44909 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
44911 install-pdf-target-boehm-gc: \
44912 configure-target-boehm-gc \
44913 pdf-target-boehm-gc
44914 @: $(MAKE); $(unstage)
44915 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44916 r=`${PWD_COMMAND}`; export r; \
44917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44918 $(NORMAL_TARGET_EXPORTS) \
44919 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
44920 for flag in $(EXTRA_TARGET_FLAGS); do \
44921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44922 done; \
44923 (cd $(TARGET_SUBDIR)/boehm-gc && \
44924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44926 "RANLIB=$${RANLIB}" \
44927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44928 install-pdf) \
44929 || exit 1
44931 @endif target-boehm-gc
44933 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
44934 maybe-install-html-target-boehm-gc:
44935 @if target-boehm-gc
44936 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
44938 install-html-target-boehm-gc: \
44939 configure-target-boehm-gc \
44940 html-target-boehm-gc
44941 @: $(MAKE); $(unstage)
44942 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44943 r=`${PWD_COMMAND}`; export r; \
44944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44945 $(NORMAL_TARGET_EXPORTS) \
44946 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
44947 for flag in $(EXTRA_TARGET_FLAGS); do \
44948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44949 done; \
44950 (cd $(TARGET_SUBDIR)/boehm-gc && \
44951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44953 "RANLIB=$${RANLIB}" \
44954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44955 install-html) \
44956 || exit 1
44958 @endif target-boehm-gc
44960 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
44961 maybe-installcheck-target-boehm-gc:
44962 @if target-boehm-gc
44963 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
44965 installcheck-target-boehm-gc: \
44966 configure-target-boehm-gc
44967 @: $(MAKE); $(unstage)
44968 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44969 r=`${PWD_COMMAND}`; export r; \
44970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44971 $(NORMAL_TARGET_EXPORTS) \
44972 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
44973 for flag in $(EXTRA_TARGET_FLAGS); do \
44974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44975 done; \
44976 (cd $(TARGET_SUBDIR)/boehm-gc && \
44977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44979 "RANLIB=$${RANLIB}" \
44980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44981 installcheck) \
44982 || exit 1
44984 @endif target-boehm-gc
44986 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
44987 maybe-mostlyclean-target-boehm-gc:
44988 @if target-boehm-gc
44989 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
44991 mostlyclean-target-boehm-gc:
44992 @: $(MAKE); $(unstage)
44993 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
44994 r=`${PWD_COMMAND}`; export r; \
44995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44996 $(NORMAL_TARGET_EXPORTS) \
44997 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
44998 for flag in $(EXTRA_TARGET_FLAGS); do \
44999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45000 done; \
45001 (cd $(TARGET_SUBDIR)/boehm-gc && \
45002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45004 "RANLIB=$${RANLIB}" \
45005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45006 mostlyclean) \
45007 || exit 1
45009 @endif target-boehm-gc
45011 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
45012 maybe-clean-target-boehm-gc:
45013 @if target-boehm-gc
45014 maybe-clean-target-boehm-gc: clean-target-boehm-gc
45016 clean-target-boehm-gc:
45017 @: $(MAKE); $(unstage)
45018 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
45019 r=`${PWD_COMMAND}`; export r; \
45020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45021 $(NORMAL_TARGET_EXPORTS) \
45022 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
45023 for flag in $(EXTRA_TARGET_FLAGS); do \
45024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45025 done; \
45026 (cd $(TARGET_SUBDIR)/boehm-gc && \
45027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45029 "RANLIB=$${RANLIB}" \
45030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45031 clean) \
45032 || exit 1
45034 @endif target-boehm-gc
45036 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
45037 maybe-distclean-target-boehm-gc:
45038 @if target-boehm-gc
45039 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
45041 distclean-target-boehm-gc:
45042 @: $(MAKE); $(unstage)
45043 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
45044 r=`${PWD_COMMAND}`; export r; \
45045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45046 $(NORMAL_TARGET_EXPORTS) \
45047 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
45048 for flag in $(EXTRA_TARGET_FLAGS); do \
45049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45050 done; \
45051 (cd $(TARGET_SUBDIR)/boehm-gc && \
45052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45054 "RANLIB=$${RANLIB}" \
45055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45056 distclean) \
45057 || exit 1
45059 @endif target-boehm-gc
45061 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
45062 maybe-maintainer-clean-target-boehm-gc:
45063 @if target-boehm-gc
45064 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
45066 maintainer-clean-target-boehm-gc:
45067 @: $(MAKE); $(unstage)
45068 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
45069 r=`${PWD_COMMAND}`; export r; \
45070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45071 $(NORMAL_TARGET_EXPORTS) \
45072 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
45073 for flag in $(EXTRA_TARGET_FLAGS); do \
45074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45075 done; \
45076 (cd $(TARGET_SUBDIR)/boehm-gc && \
45077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45079 "RANLIB=$${RANLIB}" \
45080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45081 maintainer-clean) \
45082 || exit 1
45084 @endif target-boehm-gc
45090 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
45091 maybe-configure-target-qthreads:
45092 @if gcc-bootstrap
45093 configure-target-qthreads: stage_current
45094 @endif gcc-bootstrap
45095 @if target-qthreads
45096 maybe-configure-target-qthreads: configure-target-qthreads
45097 configure-target-qthreads:
45098 @: $(MAKE); $(unstage)
45099 @r=`${PWD_COMMAND}`; export r; \
45100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45101 echo "Checking multilib configuration for qthreads..."; \
45102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
45103 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
45104 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
45105 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
45106 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
45107 else \
45108 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
45109 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
45110 fi; \
45111 else \
45112 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
45113 fi; \
45114 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
45115 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
45116 $(NORMAL_TARGET_EXPORTS) \
45117 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
45118 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
45119 case $(srcdir) in \
45120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45121 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
45122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45123 esac; \
45124 srcdiroption="--srcdir=$${topdir}/qthreads"; \
45125 libsrcdir="$$s/qthreads"; \
45126 rm -f no-such-file || : ; \
45127 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45128 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45129 --target=${target_alias} $${srcdiroption} \
45130 || exit 1
45131 @endif target-qthreads
45137 .PHONY: all-target-qthreads maybe-all-target-qthreads
45138 maybe-all-target-qthreads:
45139 @if gcc-bootstrap
45140 all-target-qthreads: stage_current
45141 @endif gcc-bootstrap
45142 @if target-qthreads
45143 TARGET-target-qthreads=all
45144 maybe-all-target-qthreads: all-target-qthreads
45145 all-target-qthreads: configure-target-qthreads
45146 @: $(MAKE); $(unstage)
45147 @r=`${PWD_COMMAND}`; export r; \
45148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45149 $(NORMAL_TARGET_EXPORTS) \
45150 (cd $(TARGET_SUBDIR)/qthreads && \
45151 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
45152 @endif target-qthreads
45158 .PHONY: check-target-qthreads maybe-check-target-qthreads
45159 maybe-check-target-qthreads:
45160 @if target-qthreads
45161 maybe-check-target-qthreads: check-target-qthreads
45163 check-target-qthreads:
45164 @: $(MAKE); $(unstage)
45165 @r=`${PWD_COMMAND}`; export r; \
45166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45167 $(NORMAL_TARGET_EXPORTS) \
45168 (cd $(TARGET_SUBDIR)/qthreads && \
45169 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45171 @endif target-qthreads
45173 .PHONY: install-target-qthreads maybe-install-target-qthreads
45174 maybe-install-target-qthreads:
45175 @if target-qthreads
45176 maybe-install-target-qthreads: install-target-qthreads
45178 install-target-qthreads: installdirs
45179 @: $(MAKE); $(unstage)
45180 @r=`${PWD_COMMAND}`; export r; \
45181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45182 $(NORMAL_TARGET_EXPORTS) \
45183 (cd $(TARGET_SUBDIR)/qthreads && \
45184 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45186 @endif target-qthreads
45188 # Other targets (info, dvi, pdf, etc.)
45190 .PHONY: maybe-info-target-qthreads info-target-qthreads
45191 maybe-info-target-qthreads:
45192 @if target-qthreads
45193 maybe-info-target-qthreads: info-target-qthreads
45195 info-target-qthreads: \
45196 configure-target-qthreads
45197 @: $(MAKE); $(unstage)
45198 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45199 r=`${PWD_COMMAND}`; export r; \
45200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45201 $(NORMAL_TARGET_EXPORTS) \
45202 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
45203 for flag in $(EXTRA_TARGET_FLAGS); do \
45204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45205 done; \
45206 (cd $(TARGET_SUBDIR)/qthreads && \
45207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45209 "RANLIB=$${RANLIB}" \
45210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45211 info) \
45212 || exit 1
45214 @endif target-qthreads
45216 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
45217 maybe-dvi-target-qthreads:
45218 @if target-qthreads
45219 maybe-dvi-target-qthreads: dvi-target-qthreads
45221 dvi-target-qthreads: \
45222 configure-target-qthreads
45223 @: $(MAKE); $(unstage)
45224 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45225 r=`${PWD_COMMAND}`; export r; \
45226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45227 $(NORMAL_TARGET_EXPORTS) \
45228 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
45229 for flag in $(EXTRA_TARGET_FLAGS); do \
45230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45231 done; \
45232 (cd $(TARGET_SUBDIR)/qthreads && \
45233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45235 "RANLIB=$${RANLIB}" \
45236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45237 dvi) \
45238 || exit 1
45240 @endif target-qthreads
45242 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
45243 maybe-pdf-target-qthreads:
45244 @if target-qthreads
45245 maybe-pdf-target-qthreads: pdf-target-qthreads
45247 pdf-target-qthreads: \
45248 configure-target-qthreads
45249 @: $(MAKE); $(unstage)
45250 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45251 r=`${PWD_COMMAND}`; export r; \
45252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45253 $(NORMAL_TARGET_EXPORTS) \
45254 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
45255 for flag in $(EXTRA_TARGET_FLAGS); do \
45256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45257 done; \
45258 (cd $(TARGET_SUBDIR)/qthreads && \
45259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45261 "RANLIB=$${RANLIB}" \
45262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45263 pdf) \
45264 || exit 1
45266 @endif target-qthreads
45268 .PHONY: maybe-html-target-qthreads html-target-qthreads
45269 maybe-html-target-qthreads:
45270 @if target-qthreads
45271 maybe-html-target-qthreads: html-target-qthreads
45273 html-target-qthreads: \
45274 configure-target-qthreads
45275 @: $(MAKE); $(unstage)
45276 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45277 r=`${PWD_COMMAND}`; export r; \
45278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45279 $(NORMAL_TARGET_EXPORTS) \
45280 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
45281 for flag in $(EXTRA_TARGET_FLAGS); do \
45282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45283 done; \
45284 (cd $(TARGET_SUBDIR)/qthreads && \
45285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45287 "RANLIB=$${RANLIB}" \
45288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45289 html) \
45290 || exit 1
45292 @endif target-qthreads
45294 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
45295 maybe-TAGS-target-qthreads:
45296 @if target-qthreads
45297 maybe-TAGS-target-qthreads: TAGS-target-qthreads
45299 TAGS-target-qthreads: \
45300 configure-target-qthreads
45301 @: $(MAKE); $(unstage)
45302 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45303 r=`${PWD_COMMAND}`; export r; \
45304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45305 $(NORMAL_TARGET_EXPORTS) \
45306 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
45307 for flag in $(EXTRA_TARGET_FLAGS); do \
45308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45309 done; \
45310 (cd $(TARGET_SUBDIR)/qthreads && \
45311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45313 "RANLIB=$${RANLIB}" \
45314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45315 TAGS) \
45316 || exit 1
45318 @endif target-qthreads
45320 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
45321 maybe-install-info-target-qthreads:
45322 @if target-qthreads
45323 maybe-install-info-target-qthreads: install-info-target-qthreads
45325 install-info-target-qthreads: \
45326 configure-target-qthreads \
45327 info-target-qthreads
45328 @: $(MAKE); $(unstage)
45329 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45330 r=`${PWD_COMMAND}`; export r; \
45331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45332 $(NORMAL_TARGET_EXPORTS) \
45333 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
45334 for flag in $(EXTRA_TARGET_FLAGS); do \
45335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45336 done; \
45337 (cd $(TARGET_SUBDIR)/qthreads && \
45338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45340 "RANLIB=$${RANLIB}" \
45341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45342 install-info) \
45343 || exit 1
45345 @endif target-qthreads
45347 .PHONY: maybe-install-pdf-target-qthreads install-pdf-target-qthreads
45348 maybe-install-pdf-target-qthreads:
45349 @if target-qthreads
45350 maybe-install-pdf-target-qthreads: install-pdf-target-qthreads
45352 install-pdf-target-qthreads: \
45353 configure-target-qthreads \
45354 pdf-target-qthreads
45355 @: $(MAKE); $(unstage)
45356 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45357 r=`${PWD_COMMAND}`; export r; \
45358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45359 $(NORMAL_TARGET_EXPORTS) \
45360 echo "Doing install-pdf in $(TARGET_SUBDIR)/qthreads" ; \
45361 for flag in $(EXTRA_TARGET_FLAGS); do \
45362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45363 done; \
45364 (cd $(TARGET_SUBDIR)/qthreads && \
45365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45367 "RANLIB=$${RANLIB}" \
45368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45369 install-pdf) \
45370 || exit 1
45372 @endif target-qthreads
45374 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
45375 maybe-install-html-target-qthreads:
45376 @if target-qthreads
45377 maybe-install-html-target-qthreads: install-html-target-qthreads
45379 install-html-target-qthreads: \
45380 configure-target-qthreads \
45381 html-target-qthreads
45382 @: $(MAKE); $(unstage)
45383 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45384 r=`${PWD_COMMAND}`; export r; \
45385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45386 $(NORMAL_TARGET_EXPORTS) \
45387 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
45388 for flag in $(EXTRA_TARGET_FLAGS); do \
45389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45390 done; \
45391 (cd $(TARGET_SUBDIR)/qthreads && \
45392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45394 "RANLIB=$${RANLIB}" \
45395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45396 install-html) \
45397 || exit 1
45399 @endif target-qthreads
45401 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
45402 maybe-installcheck-target-qthreads:
45403 @if target-qthreads
45404 maybe-installcheck-target-qthreads: installcheck-target-qthreads
45406 installcheck-target-qthreads: \
45407 configure-target-qthreads
45408 @: $(MAKE); $(unstage)
45409 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45410 r=`${PWD_COMMAND}`; export r; \
45411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45412 $(NORMAL_TARGET_EXPORTS) \
45413 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
45414 for flag in $(EXTRA_TARGET_FLAGS); do \
45415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45416 done; \
45417 (cd $(TARGET_SUBDIR)/qthreads && \
45418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45420 "RANLIB=$${RANLIB}" \
45421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45422 installcheck) \
45423 || exit 1
45425 @endif target-qthreads
45427 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
45428 maybe-mostlyclean-target-qthreads:
45429 @if target-qthreads
45430 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
45432 mostlyclean-target-qthreads:
45433 @: $(MAKE); $(unstage)
45434 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45435 r=`${PWD_COMMAND}`; export r; \
45436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45437 $(NORMAL_TARGET_EXPORTS) \
45438 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
45439 for flag in $(EXTRA_TARGET_FLAGS); do \
45440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45441 done; \
45442 (cd $(TARGET_SUBDIR)/qthreads && \
45443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45445 "RANLIB=$${RANLIB}" \
45446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45447 mostlyclean) \
45448 || exit 1
45450 @endif target-qthreads
45452 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
45453 maybe-clean-target-qthreads:
45454 @if target-qthreads
45455 maybe-clean-target-qthreads: clean-target-qthreads
45457 clean-target-qthreads:
45458 @: $(MAKE); $(unstage)
45459 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45460 r=`${PWD_COMMAND}`; export r; \
45461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45462 $(NORMAL_TARGET_EXPORTS) \
45463 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
45464 for flag in $(EXTRA_TARGET_FLAGS); do \
45465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45466 done; \
45467 (cd $(TARGET_SUBDIR)/qthreads && \
45468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45470 "RANLIB=$${RANLIB}" \
45471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45472 clean) \
45473 || exit 1
45475 @endif target-qthreads
45477 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
45478 maybe-distclean-target-qthreads:
45479 @if target-qthreads
45480 maybe-distclean-target-qthreads: distclean-target-qthreads
45482 distclean-target-qthreads:
45483 @: $(MAKE); $(unstage)
45484 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45485 r=`${PWD_COMMAND}`; export r; \
45486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45487 $(NORMAL_TARGET_EXPORTS) \
45488 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
45489 for flag in $(EXTRA_TARGET_FLAGS); do \
45490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45491 done; \
45492 (cd $(TARGET_SUBDIR)/qthreads && \
45493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45495 "RANLIB=$${RANLIB}" \
45496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45497 distclean) \
45498 || exit 1
45500 @endif target-qthreads
45502 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
45503 maybe-maintainer-clean-target-qthreads:
45504 @if target-qthreads
45505 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
45507 maintainer-clean-target-qthreads:
45508 @: $(MAKE); $(unstage)
45509 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
45510 r=`${PWD_COMMAND}`; export r; \
45511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45512 $(NORMAL_TARGET_EXPORTS) \
45513 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
45514 for flag in $(EXTRA_TARGET_FLAGS); do \
45515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45516 done; \
45517 (cd $(TARGET_SUBDIR)/qthreads && \
45518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45520 "RANLIB=$${RANLIB}" \
45521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45522 maintainer-clean) \
45523 || exit 1
45525 @endif target-qthreads
45531 .PHONY: configure-target-rda maybe-configure-target-rda
45532 maybe-configure-target-rda:
45533 @if gcc-bootstrap
45534 configure-target-rda: stage_current
45535 @endif gcc-bootstrap
45536 @if target-rda
45537 maybe-configure-target-rda: configure-target-rda
45538 configure-target-rda:
45539 @: $(MAKE); $(unstage)
45540 @r=`${PWD_COMMAND}`; export r; \
45541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45542 echo "Checking multilib configuration for rda..."; \
45543 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
45544 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
45545 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
45546 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
45547 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
45548 else \
45549 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
45550 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
45551 fi; \
45552 else \
45553 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
45554 fi; \
45555 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
45556 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
45557 $(NORMAL_TARGET_EXPORTS) \
45558 echo Configuring in $(TARGET_SUBDIR)/rda; \
45559 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
45560 case $(srcdir) in \
45561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45562 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
45563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45564 esac; \
45565 srcdiroption="--srcdir=$${topdir}/rda"; \
45566 libsrcdir="$$s/rda"; \
45567 rm -f no-such-file || : ; \
45568 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45569 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45570 --target=${target_alias} $${srcdiroption} \
45571 || exit 1
45572 @endif target-rda
45578 .PHONY: all-target-rda maybe-all-target-rda
45579 maybe-all-target-rda:
45580 @if gcc-bootstrap
45581 all-target-rda: stage_current
45582 @endif gcc-bootstrap
45583 @if target-rda
45584 TARGET-target-rda=all
45585 maybe-all-target-rda: all-target-rda
45586 all-target-rda: configure-target-rda
45587 @: $(MAKE); $(unstage)
45588 @r=`${PWD_COMMAND}`; export r; \
45589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45590 $(NORMAL_TARGET_EXPORTS) \
45591 (cd $(TARGET_SUBDIR)/rda && \
45592 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
45593 @endif target-rda
45599 .PHONY: check-target-rda maybe-check-target-rda
45600 maybe-check-target-rda:
45601 @if target-rda
45602 maybe-check-target-rda: check-target-rda
45604 check-target-rda:
45605 @: $(MAKE); $(unstage)
45606 @r=`${PWD_COMMAND}`; export r; \
45607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45608 $(NORMAL_TARGET_EXPORTS) \
45609 (cd $(TARGET_SUBDIR)/rda && \
45610 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45612 @endif target-rda
45614 .PHONY: install-target-rda maybe-install-target-rda
45615 maybe-install-target-rda:
45616 @if target-rda
45617 maybe-install-target-rda: install-target-rda
45619 install-target-rda: installdirs
45620 @: $(MAKE); $(unstage)
45621 @r=`${PWD_COMMAND}`; export r; \
45622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45623 $(NORMAL_TARGET_EXPORTS) \
45624 (cd $(TARGET_SUBDIR)/rda && \
45625 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45627 @endif target-rda
45629 # Other targets (info, dvi, pdf, etc.)
45631 .PHONY: maybe-info-target-rda info-target-rda
45632 maybe-info-target-rda:
45633 @if target-rda
45634 maybe-info-target-rda: info-target-rda
45636 info-target-rda: \
45637 configure-target-rda
45638 @: $(MAKE); $(unstage)
45639 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45640 r=`${PWD_COMMAND}`; export r; \
45641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45642 $(NORMAL_TARGET_EXPORTS) \
45643 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
45644 for flag in $(EXTRA_TARGET_FLAGS); do \
45645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45646 done; \
45647 (cd $(TARGET_SUBDIR)/rda && \
45648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45650 "RANLIB=$${RANLIB}" \
45651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45652 info) \
45653 || exit 1
45655 @endif target-rda
45657 .PHONY: maybe-dvi-target-rda dvi-target-rda
45658 maybe-dvi-target-rda:
45659 @if target-rda
45660 maybe-dvi-target-rda: dvi-target-rda
45662 dvi-target-rda: \
45663 configure-target-rda
45664 @: $(MAKE); $(unstage)
45665 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45666 r=`${PWD_COMMAND}`; export r; \
45667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45668 $(NORMAL_TARGET_EXPORTS) \
45669 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
45670 for flag in $(EXTRA_TARGET_FLAGS); do \
45671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45672 done; \
45673 (cd $(TARGET_SUBDIR)/rda && \
45674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45676 "RANLIB=$${RANLIB}" \
45677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45678 dvi) \
45679 || exit 1
45681 @endif target-rda
45683 .PHONY: maybe-pdf-target-rda pdf-target-rda
45684 maybe-pdf-target-rda:
45685 @if target-rda
45686 maybe-pdf-target-rda: pdf-target-rda
45688 pdf-target-rda: \
45689 configure-target-rda
45690 @: $(MAKE); $(unstage)
45691 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45692 r=`${PWD_COMMAND}`; export r; \
45693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45694 $(NORMAL_TARGET_EXPORTS) \
45695 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
45696 for flag in $(EXTRA_TARGET_FLAGS); do \
45697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45698 done; \
45699 (cd $(TARGET_SUBDIR)/rda && \
45700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45702 "RANLIB=$${RANLIB}" \
45703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45704 pdf) \
45705 || exit 1
45707 @endif target-rda
45709 .PHONY: maybe-html-target-rda html-target-rda
45710 maybe-html-target-rda:
45711 @if target-rda
45712 maybe-html-target-rda: html-target-rda
45714 html-target-rda: \
45715 configure-target-rda
45716 @: $(MAKE); $(unstage)
45717 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45718 r=`${PWD_COMMAND}`; export r; \
45719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45720 $(NORMAL_TARGET_EXPORTS) \
45721 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
45722 for flag in $(EXTRA_TARGET_FLAGS); do \
45723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45724 done; \
45725 (cd $(TARGET_SUBDIR)/rda && \
45726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45728 "RANLIB=$${RANLIB}" \
45729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45730 html) \
45731 || exit 1
45733 @endif target-rda
45735 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
45736 maybe-TAGS-target-rda:
45737 @if target-rda
45738 maybe-TAGS-target-rda: TAGS-target-rda
45740 TAGS-target-rda: \
45741 configure-target-rda
45742 @: $(MAKE); $(unstage)
45743 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45744 r=`${PWD_COMMAND}`; export r; \
45745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45746 $(NORMAL_TARGET_EXPORTS) \
45747 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
45748 for flag in $(EXTRA_TARGET_FLAGS); do \
45749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45750 done; \
45751 (cd $(TARGET_SUBDIR)/rda && \
45752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45754 "RANLIB=$${RANLIB}" \
45755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45756 TAGS) \
45757 || exit 1
45759 @endif target-rda
45761 .PHONY: maybe-install-info-target-rda install-info-target-rda
45762 maybe-install-info-target-rda:
45763 @if target-rda
45764 maybe-install-info-target-rda: install-info-target-rda
45766 install-info-target-rda: \
45767 configure-target-rda \
45768 info-target-rda
45769 @: $(MAKE); $(unstage)
45770 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45771 r=`${PWD_COMMAND}`; export r; \
45772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45773 $(NORMAL_TARGET_EXPORTS) \
45774 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
45775 for flag in $(EXTRA_TARGET_FLAGS); do \
45776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45777 done; \
45778 (cd $(TARGET_SUBDIR)/rda && \
45779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45781 "RANLIB=$${RANLIB}" \
45782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45783 install-info) \
45784 || exit 1
45786 @endif target-rda
45788 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
45789 maybe-install-pdf-target-rda:
45790 @if target-rda
45791 maybe-install-pdf-target-rda: install-pdf-target-rda
45793 install-pdf-target-rda: \
45794 configure-target-rda \
45795 pdf-target-rda
45796 @: $(MAKE); $(unstage)
45797 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45798 r=`${PWD_COMMAND}`; export r; \
45799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45800 $(NORMAL_TARGET_EXPORTS) \
45801 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
45802 for flag in $(EXTRA_TARGET_FLAGS); do \
45803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45804 done; \
45805 (cd $(TARGET_SUBDIR)/rda && \
45806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45808 "RANLIB=$${RANLIB}" \
45809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45810 install-pdf) \
45811 || exit 1
45813 @endif target-rda
45815 .PHONY: maybe-install-html-target-rda install-html-target-rda
45816 maybe-install-html-target-rda:
45817 @if target-rda
45818 maybe-install-html-target-rda: install-html-target-rda
45820 install-html-target-rda: \
45821 configure-target-rda \
45822 html-target-rda
45823 @: $(MAKE); $(unstage)
45824 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45825 r=`${PWD_COMMAND}`; export r; \
45826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45827 $(NORMAL_TARGET_EXPORTS) \
45828 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
45829 for flag in $(EXTRA_TARGET_FLAGS); do \
45830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45831 done; \
45832 (cd $(TARGET_SUBDIR)/rda && \
45833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45835 "RANLIB=$${RANLIB}" \
45836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45837 install-html) \
45838 || exit 1
45840 @endif target-rda
45842 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
45843 maybe-installcheck-target-rda:
45844 @if target-rda
45845 maybe-installcheck-target-rda: installcheck-target-rda
45847 installcheck-target-rda: \
45848 configure-target-rda
45849 @: $(MAKE); $(unstage)
45850 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45851 r=`${PWD_COMMAND}`; export r; \
45852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45853 $(NORMAL_TARGET_EXPORTS) \
45854 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
45855 for flag in $(EXTRA_TARGET_FLAGS); do \
45856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45857 done; \
45858 (cd $(TARGET_SUBDIR)/rda && \
45859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45861 "RANLIB=$${RANLIB}" \
45862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45863 installcheck) \
45864 || exit 1
45866 @endif target-rda
45868 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
45869 maybe-mostlyclean-target-rda:
45870 @if target-rda
45871 maybe-mostlyclean-target-rda: mostlyclean-target-rda
45873 mostlyclean-target-rda:
45874 @: $(MAKE); $(unstage)
45875 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45876 r=`${PWD_COMMAND}`; export r; \
45877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45878 $(NORMAL_TARGET_EXPORTS) \
45879 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
45880 for flag in $(EXTRA_TARGET_FLAGS); do \
45881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45882 done; \
45883 (cd $(TARGET_SUBDIR)/rda && \
45884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45886 "RANLIB=$${RANLIB}" \
45887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45888 mostlyclean) \
45889 || exit 1
45891 @endif target-rda
45893 .PHONY: maybe-clean-target-rda clean-target-rda
45894 maybe-clean-target-rda:
45895 @if target-rda
45896 maybe-clean-target-rda: clean-target-rda
45898 clean-target-rda:
45899 @: $(MAKE); $(unstage)
45900 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45901 r=`${PWD_COMMAND}`; export r; \
45902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45903 $(NORMAL_TARGET_EXPORTS) \
45904 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
45905 for flag in $(EXTRA_TARGET_FLAGS); do \
45906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45907 done; \
45908 (cd $(TARGET_SUBDIR)/rda && \
45909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45911 "RANLIB=$${RANLIB}" \
45912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45913 clean) \
45914 || exit 1
45916 @endif target-rda
45918 .PHONY: maybe-distclean-target-rda distclean-target-rda
45919 maybe-distclean-target-rda:
45920 @if target-rda
45921 maybe-distclean-target-rda: distclean-target-rda
45923 distclean-target-rda:
45924 @: $(MAKE); $(unstage)
45925 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45926 r=`${PWD_COMMAND}`; export r; \
45927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45928 $(NORMAL_TARGET_EXPORTS) \
45929 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
45930 for flag in $(EXTRA_TARGET_FLAGS); do \
45931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45932 done; \
45933 (cd $(TARGET_SUBDIR)/rda && \
45934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45936 "RANLIB=$${RANLIB}" \
45937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45938 distclean) \
45939 || exit 1
45941 @endif target-rda
45943 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
45944 maybe-maintainer-clean-target-rda:
45945 @if target-rda
45946 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
45948 maintainer-clean-target-rda:
45949 @: $(MAKE); $(unstage)
45950 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
45951 r=`${PWD_COMMAND}`; export r; \
45952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45953 $(NORMAL_TARGET_EXPORTS) \
45954 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
45955 for flag in $(EXTRA_TARGET_FLAGS); do \
45956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45957 done; \
45958 (cd $(TARGET_SUBDIR)/rda && \
45959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45961 "RANLIB=$${RANLIB}" \
45962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
45963 maintainer-clean) \
45964 || exit 1
45966 @endif target-rda
45972 .PHONY: configure-target-libada maybe-configure-target-libada
45973 maybe-configure-target-libada:
45974 @if gcc-bootstrap
45975 configure-target-libada: stage_current
45976 @endif gcc-bootstrap
45977 @if target-libada
45978 maybe-configure-target-libada: configure-target-libada
45979 configure-target-libada:
45980 @: $(MAKE); $(unstage)
45981 @r=`${PWD_COMMAND}`; export r; \
45982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45983 echo "Checking multilib configuration for libada..."; \
45984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
45985 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
45986 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
45987 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
45988 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
45989 else \
45990 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
45991 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
45992 fi; \
45993 else \
45994 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
45995 fi; \
45996 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
45997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
45998 $(NORMAL_TARGET_EXPORTS) \
45999 echo Configuring in $(TARGET_SUBDIR)/libada; \
46000 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
46001 case $(srcdir) in \
46002 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46003 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
46004 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46005 esac; \
46006 srcdiroption="--srcdir=$${topdir}/libada"; \
46007 libsrcdir="$$s/libada"; \
46008 rm -f no-such-file || : ; \
46009 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46010 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46011 --target=${target_alias} $${srcdiroption} \
46012 || exit 1
46013 @endif target-libada
46019 .PHONY: all-target-libada maybe-all-target-libada
46020 maybe-all-target-libada:
46021 @if gcc-bootstrap
46022 all-target-libada: stage_current
46023 @endif gcc-bootstrap
46024 @if target-libada
46025 TARGET-target-libada=all
46026 maybe-all-target-libada: all-target-libada
46027 all-target-libada: configure-target-libada
46028 @: $(MAKE); $(unstage)
46029 @r=`${PWD_COMMAND}`; export r; \
46030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46031 $(NORMAL_TARGET_EXPORTS) \
46032 (cd $(TARGET_SUBDIR)/libada && \
46033 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
46034 @endif target-libada
46040 .PHONY: check-target-libada maybe-check-target-libada
46041 maybe-check-target-libada:
46042 @if target-libada
46043 maybe-check-target-libada: check-target-libada
46045 check-target-libada:
46046 @: $(MAKE); $(unstage)
46047 @r=`${PWD_COMMAND}`; export r; \
46048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46049 $(NORMAL_TARGET_EXPORTS) \
46050 (cd $(TARGET_SUBDIR)/libada && \
46051 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46053 @endif target-libada
46055 .PHONY: install-target-libada maybe-install-target-libada
46056 maybe-install-target-libada:
46057 @if target-libada
46058 maybe-install-target-libada: install-target-libada
46060 install-target-libada: installdirs
46061 @: $(MAKE); $(unstage)
46062 @r=`${PWD_COMMAND}`; export r; \
46063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46064 $(NORMAL_TARGET_EXPORTS) \
46065 (cd $(TARGET_SUBDIR)/libada && \
46066 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46068 @endif target-libada
46070 # Other targets (info, dvi, pdf, etc.)
46072 .PHONY: maybe-info-target-libada info-target-libada
46073 maybe-info-target-libada:
46074 @if target-libada
46075 maybe-info-target-libada: info-target-libada
46077 info-target-libada: \
46078 configure-target-libada
46079 @: $(MAKE); $(unstage)
46080 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46081 r=`${PWD_COMMAND}`; export r; \
46082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46083 $(NORMAL_TARGET_EXPORTS) \
46084 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
46085 for flag in $(EXTRA_TARGET_FLAGS); do \
46086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46087 done; \
46088 (cd $(TARGET_SUBDIR)/libada && \
46089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46091 "RANLIB=$${RANLIB}" \
46092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46093 info) \
46094 || exit 1
46096 @endif target-libada
46098 .PHONY: maybe-dvi-target-libada dvi-target-libada
46099 maybe-dvi-target-libada:
46100 @if target-libada
46101 maybe-dvi-target-libada: dvi-target-libada
46103 dvi-target-libada: \
46104 configure-target-libada
46105 @: $(MAKE); $(unstage)
46106 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46107 r=`${PWD_COMMAND}`; export r; \
46108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46109 $(NORMAL_TARGET_EXPORTS) \
46110 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
46111 for flag in $(EXTRA_TARGET_FLAGS); do \
46112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46113 done; \
46114 (cd $(TARGET_SUBDIR)/libada && \
46115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46117 "RANLIB=$${RANLIB}" \
46118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46119 dvi) \
46120 || exit 1
46122 @endif target-libada
46124 .PHONY: maybe-pdf-target-libada pdf-target-libada
46125 maybe-pdf-target-libada:
46126 @if target-libada
46127 maybe-pdf-target-libada: pdf-target-libada
46129 pdf-target-libada: \
46130 configure-target-libada
46131 @: $(MAKE); $(unstage)
46132 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46133 r=`${PWD_COMMAND}`; export r; \
46134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46135 $(NORMAL_TARGET_EXPORTS) \
46136 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
46137 for flag in $(EXTRA_TARGET_FLAGS); do \
46138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46139 done; \
46140 (cd $(TARGET_SUBDIR)/libada && \
46141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46143 "RANLIB=$${RANLIB}" \
46144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46145 pdf) \
46146 || exit 1
46148 @endif target-libada
46150 .PHONY: maybe-html-target-libada html-target-libada
46151 maybe-html-target-libada:
46152 @if target-libada
46153 maybe-html-target-libada: html-target-libada
46155 html-target-libada: \
46156 configure-target-libada
46157 @: $(MAKE); $(unstage)
46158 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46159 r=`${PWD_COMMAND}`; export r; \
46160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46161 $(NORMAL_TARGET_EXPORTS) \
46162 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
46163 for flag in $(EXTRA_TARGET_FLAGS); do \
46164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46165 done; \
46166 (cd $(TARGET_SUBDIR)/libada && \
46167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46169 "RANLIB=$${RANLIB}" \
46170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46171 html) \
46172 || exit 1
46174 @endif target-libada
46176 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
46177 maybe-TAGS-target-libada:
46178 @if target-libada
46179 maybe-TAGS-target-libada: TAGS-target-libada
46181 TAGS-target-libada: \
46182 configure-target-libada
46183 @: $(MAKE); $(unstage)
46184 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46185 r=`${PWD_COMMAND}`; export r; \
46186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46187 $(NORMAL_TARGET_EXPORTS) \
46188 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
46189 for flag in $(EXTRA_TARGET_FLAGS); do \
46190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46191 done; \
46192 (cd $(TARGET_SUBDIR)/libada && \
46193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46195 "RANLIB=$${RANLIB}" \
46196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46197 TAGS) \
46198 || exit 1
46200 @endif target-libada
46202 .PHONY: maybe-install-info-target-libada install-info-target-libada
46203 maybe-install-info-target-libada:
46204 @if target-libada
46205 maybe-install-info-target-libada: install-info-target-libada
46207 install-info-target-libada: \
46208 configure-target-libada \
46209 info-target-libada
46210 @: $(MAKE); $(unstage)
46211 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46212 r=`${PWD_COMMAND}`; export r; \
46213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46214 $(NORMAL_TARGET_EXPORTS) \
46215 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
46216 for flag in $(EXTRA_TARGET_FLAGS); do \
46217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46218 done; \
46219 (cd $(TARGET_SUBDIR)/libada && \
46220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46222 "RANLIB=$${RANLIB}" \
46223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46224 install-info) \
46225 || exit 1
46227 @endif target-libada
46229 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
46230 maybe-install-pdf-target-libada:
46231 @if target-libada
46232 maybe-install-pdf-target-libada: install-pdf-target-libada
46234 install-pdf-target-libada: \
46235 configure-target-libada \
46236 pdf-target-libada
46237 @: $(MAKE); $(unstage)
46238 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46239 r=`${PWD_COMMAND}`; export r; \
46240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46241 $(NORMAL_TARGET_EXPORTS) \
46242 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
46243 for flag in $(EXTRA_TARGET_FLAGS); do \
46244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46245 done; \
46246 (cd $(TARGET_SUBDIR)/libada && \
46247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46249 "RANLIB=$${RANLIB}" \
46250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46251 install-pdf) \
46252 || exit 1
46254 @endif target-libada
46256 .PHONY: maybe-install-html-target-libada install-html-target-libada
46257 maybe-install-html-target-libada:
46258 @if target-libada
46259 maybe-install-html-target-libada: install-html-target-libada
46261 install-html-target-libada: \
46262 configure-target-libada \
46263 html-target-libada
46264 @: $(MAKE); $(unstage)
46265 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46266 r=`${PWD_COMMAND}`; export r; \
46267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46268 $(NORMAL_TARGET_EXPORTS) \
46269 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
46270 for flag in $(EXTRA_TARGET_FLAGS); do \
46271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46272 done; \
46273 (cd $(TARGET_SUBDIR)/libada && \
46274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46276 "RANLIB=$${RANLIB}" \
46277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46278 install-html) \
46279 || exit 1
46281 @endif target-libada
46283 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
46284 maybe-installcheck-target-libada:
46285 @if target-libada
46286 maybe-installcheck-target-libada: installcheck-target-libada
46288 installcheck-target-libada: \
46289 configure-target-libada
46290 @: $(MAKE); $(unstage)
46291 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46292 r=`${PWD_COMMAND}`; export r; \
46293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46294 $(NORMAL_TARGET_EXPORTS) \
46295 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
46296 for flag in $(EXTRA_TARGET_FLAGS); do \
46297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46298 done; \
46299 (cd $(TARGET_SUBDIR)/libada && \
46300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46302 "RANLIB=$${RANLIB}" \
46303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46304 installcheck) \
46305 || exit 1
46307 @endif target-libada
46309 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
46310 maybe-mostlyclean-target-libada:
46311 @if target-libada
46312 maybe-mostlyclean-target-libada: mostlyclean-target-libada
46314 mostlyclean-target-libada:
46315 @: $(MAKE); $(unstage)
46316 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46317 r=`${PWD_COMMAND}`; export r; \
46318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46319 $(NORMAL_TARGET_EXPORTS) \
46320 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
46321 for flag in $(EXTRA_TARGET_FLAGS); do \
46322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46323 done; \
46324 (cd $(TARGET_SUBDIR)/libada && \
46325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46327 "RANLIB=$${RANLIB}" \
46328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46329 mostlyclean) \
46330 || exit 1
46332 @endif target-libada
46334 .PHONY: maybe-clean-target-libada clean-target-libada
46335 maybe-clean-target-libada:
46336 @if target-libada
46337 maybe-clean-target-libada: clean-target-libada
46339 clean-target-libada:
46340 @: $(MAKE); $(unstage)
46341 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46342 r=`${PWD_COMMAND}`; export r; \
46343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46344 $(NORMAL_TARGET_EXPORTS) \
46345 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
46346 for flag in $(EXTRA_TARGET_FLAGS); do \
46347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46348 done; \
46349 (cd $(TARGET_SUBDIR)/libada && \
46350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46352 "RANLIB=$${RANLIB}" \
46353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46354 clean) \
46355 || exit 1
46357 @endif target-libada
46359 .PHONY: maybe-distclean-target-libada distclean-target-libada
46360 maybe-distclean-target-libada:
46361 @if target-libada
46362 maybe-distclean-target-libada: distclean-target-libada
46364 distclean-target-libada:
46365 @: $(MAKE); $(unstage)
46366 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46367 r=`${PWD_COMMAND}`; export r; \
46368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46369 $(NORMAL_TARGET_EXPORTS) \
46370 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
46371 for flag in $(EXTRA_TARGET_FLAGS); do \
46372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46373 done; \
46374 (cd $(TARGET_SUBDIR)/libada && \
46375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46377 "RANLIB=$${RANLIB}" \
46378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46379 distclean) \
46380 || exit 1
46382 @endif target-libada
46384 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
46385 maybe-maintainer-clean-target-libada:
46386 @if target-libada
46387 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
46389 maintainer-clean-target-libada:
46390 @: $(MAKE); $(unstage)
46391 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
46392 r=`${PWD_COMMAND}`; export r; \
46393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46394 $(NORMAL_TARGET_EXPORTS) \
46395 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
46396 for flag in $(EXTRA_TARGET_FLAGS); do \
46397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46398 done; \
46399 (cd $(TARGET_SUBDIR)/libada && \
46400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46402 "RANLIB=$${RANLIB}" \
46403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46404 maintainer-clean) \
46405 || exit 1
46407 @endif target-libada
46413 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
46414 maybe-configure-target-libgomp:
46415 @if gcc-bootstrap
46416 configure-target-libgomp: stage_current
46417 @endif gcc-bootstrap
46418 @if target-libgomp
46419 maybe-configure-target-libgomp: configure-target-libgomp
46420 configure-target-libgomp:
46421 @: $(MAKE); $(unstage)
46422 @r=`${PWD_COMMAND}`; export r; \
46423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46424 echo "Checking multilib configuration for libgomp..."; \
46425 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
46426 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
46427 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46428 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
46429 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
46430 else \
46431 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
46432 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46433 fi; \
46434 else \
46435 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
46436 fi; \
46437 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
46438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
46439 $(NORMAL_TARGET_EXPORTS) \
46440 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
46441 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
46442 case $(srcdir) in \
46443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
46444 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
46445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
46446 esac; \
46447 srcdiroption="--srcdir=$${topdir}/libgomp"; \
46448 libsrcdir="$$s/libgomp"; \
46449 rm -f no-such-file || : ; \
46450 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
46451 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
46452 --target=${target_alias} $${srcdiroption} \
46453 || exit 1
46454 @endif target-libgomp
46460 .PHONY: all-target-libgomp maybe-all-target-libgomp
46461 maybe-all-target-libgomp:
46462 @if gcc-bootstrap
46463 all-target-libgomp: stage_current
46464 @endif gcc-bootstrap
46465 @if target-libgomp
46466 TARGET-target-libgomp=all
46467 maybe-all-target-libgomp: all-target-libgomp
46468 all-target-libgomp: configure-target-libgomp
46469 @: $(MAKE); $(unstage)
46470 @r=`${PWD_COMMAND}`; export r; \
46471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46472 $(NORMAL_TARGET_EXPORTS) \
46473 (cd $(TARGET_SUBDIR)/libgomp && \
46474 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
46475 @endif target-libgomp
46481 .PHONY: check-target-libgomp maybe-check-target-libgomp
46482 maybe-check-target-libgomp:
46483 @if target-libgomp
46484 maybe-check-target-libgomp: check-target-libgomp
46486 check-target-libgomp:
46487 @: $(MAKE); $(unstage)
46488 @r=`${PWD_COMMAND}`; export r; \
46489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46490 $(NORMAL_TARGET_EXPORTS) \
46491 (cd $(TARGET_SUBDIR)/libgomp && \
46492 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
46494 @endif target-libgomp
46496 .PHONY: install-target-libgomp maybe-install-target-libgomp
46497 maybe-install-target-libgomp:
46498 @if target-libgomp
46499 maybe-install-target-libgomp: install-target-libgomp
46501 install-target-libgomp: installdirs
46502 @: $(MAKE); $(unstage)
46503 @r=`${PWD_COMMAND}`; export r; \
46504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46505 $(NORMAL_TARGET_EXPORTS) \
46506 (cd $(TARGET_SUBDIR)/libgomp && \
46507 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
46509 @endif target-libgomp
46511 # Other targets (info, dvi, pdf, etc.)
46513 .PHONY: maybe-info-target-libgomp info-target-libgomp
46514 maybe-info-target-libgomp:
46515 @if target-libgomp
46516 maybe-info-target-libgomp: info-target-libgomp
46518 info-target-libgomp: \
46519 configure-target-libgomp
46520 @: $(MAKE); $(unstage)
46521 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46522 r=`${PWD_COMMAND}`; export r; \
46523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46524 $(NORMAL_TARGET_EXPORTS) \
46525 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
46526 for flag in $(EXTRA_TARGET_FLAGS); do \
46527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46528 done; \
46529 (cd $(TARGET_SUBDIR)/libgomp && \
46530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46532 "RANLIB=$${RANLIB}" \
46533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46534 info) \
46535 || exit 1
46537 @endif target-libgomp
46539 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
46540 maybe-dvi-target-libgomp:
46541 @if target-libgomp
46542 maybe-dvi-target-libgomp: dvi-target-libgomp
46544 dvi-target-libgomp: \
46545 configure-target-libgomp
46546 @: $(MAKE); $(unstage)
46547 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46548 r=`${PWD_COMMAND}`; export r; \
46549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46550 $(NORMAL_TARGET_EXPORTS) \
46551 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
46552 for flag in $(EXTRA_TARGET_FLAGS); do \
46553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46554 done; \
46555 (cd $(TARGET_SUBDIR)/libgomp && \
46556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46558 "RANLIB=$${RANLIB}" \
46559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46560 dvi) \
46561 || exit 1
46563 @endif target-libgomp
46565 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
46566 maybe-pdf-target-libgomp:
46567 @if target-libgomp
46568 maybe-pdf-target-libgomp: pdf-target-libgomp
46570 pdf-target-libgomp: \
46571 configure-target-libgomp
46572 @: $(MAKE); $(unstage)
46573 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46574 r=`${PWD_COMMAND}`; export r; \
46575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46576 $(NORMAL_TARGET_EXPORTS) \
46577 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
46578 for flag in $(EXTRA_TARGET_FLAGS); do \
46579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46580 done; \
46581 (cd $(TARGET_SUBDIR)/libgomp && \
46582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46584 "RANLIB=$${RANLIB}" \
46585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46586 pdf) \
46587 || exit 1
46589 @endif target-libgomp
46591 .PHONY: maybe-html-target-libgomp html-target-libgomp
46592 maybe-html-target-libgomp:
46593 @if target-libgomp
46594 maybe-html-target-libgomp: html-target-libgomp
46596 html-target-libgomp: \
46597 configure-target-libgomp
46598 @: $(MAKE); $(unstage)
46599 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46600 r=`${PWD_COMMAND}`; export r; \
46601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46602 $(NORMAL_TARGET_EXPORTS) \
46603 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
46604 for flag in $(EXTRA_TARGET_FLAGS); do \
46605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46606 done; \
46607 (cd $(TARGET_SUBDIR)/libgomp && \
46608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46610 "RANLIB=$${RANLIB}" \
46611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46612 html) \
46613 || exit 1
46615 @endif target-libgomp
46617 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
46618 maybe-TAGS-target-libgomp:
46619 @if target-libgomp
46620 maybe-TAGS-target-libgomp: TAGS-target-libgomp
46622 TAGS-target-libgomp: \
46623 configure-target-libgomp
46624 @: $(MAKE); $(unstage)
46625 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46626 r=`${PWD_COMMAND}`; export r; \
46627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46628 $(NORMAL_TARGET_EXPORTS) \
46629 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
46630 for flag in $(EXTRA_TARGET_FLAGS); do \
46631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46632 done; \
46633 (cd $(TARGET_SUBDIR)/libgomp && \
46634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46636 "RANLIB=$${RANLIB}" \
46637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46638 TAGS) \
46639 || exit 1
46641 @endif target-libgomp
46643 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
46644 maybe-install-info-target-libgomp:
46645 @if target-libgomp
46646 maybe-install-info-target-libgomp: install-info-target-libgomp
46648 install-info-target-libgomp: \
46649 configure-target-libgomp \
46650 info-target-libgomp
46651 @: $(MAKE); $(unstage)
46652 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46653 r=`${PWD_COMMAND}`; export r; \
46654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46655 $(NORMAL_TARGET_EXPORTS) \
46656 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
46657 for flag in $(EXTRA_TARGET_FLAGS); do \
46658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46659 done; \
46660 (cd $(TARGET_SUBDIR)/libgomp && \
46661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46663 "RANLIB=$${RANLIB}" \
46664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46665 install-info) \
46666 || exit 1
46668 @endif target-libgomp
46670 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
46671 maybe-install-pdf-target-libgomp:
46672 @if target-libgomp
46673 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
46675 install-pdf-target-libgomp: \
46676 configure-target-libgomp \
46677 pdf-target-libgomp
46678 @: $(MAKE); $(unstage)
46679 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46680 r=`${PWD_COMMAND}`; export r; \
46681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46682 $(NORMAL_TARGET_EXPORTS) \
46683 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
46684 for flag in $(EXTRA_TARGET_FLAGS); do \
46685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46686 done; \
46687 (cd $(TARGET_SUBDIR)/libgomp && \
46688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46690 "RANLIB=$${RANLIB}" \
46691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46692 install-pdf) \
46693 || exit 1
46695 @endif target-libgomp
46697 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
46698 maybe-install-html-target-libgomp:
46699 @if target-libgomp
46700 maybe-install-html-target-libgomp: install-html-target-libgomp
46702 install-html-target-libgomp: \
46703 configure-target-libgomp \
46704 html-target-libgomp
46705 @: $(MAKE); $(unstage)
46706 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46707 r=`${PWD_COMMAND}`; export r; \
46708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46709 $(NORMAL_TARGET_EXPORTS) \
46710 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
46711 for flag in $(EXTRA_TARGET_FLAGS); do \
46712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46713 done; \
46714 (cd $(TARGET_SUBDIR)/libgomp && \
46715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46717 "RANLIB=$${RANLIB}" \
46718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46719 install-html) \
46720 || exit 1
46722 @endif target-libgomp
46724 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
46725 maybe-installcheck-target-libgomp:
46726 @if target-libgomp
46727 maybe-installcheck-target-libgomp: installcheck-target-libgomp
46729 installcheck-target-libgomp: \
46730 configure-target-libgomp
46731 @: $(MAKE); $(unstage)
46732 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46733 r=`${PWD_COMMAND}`; export r; \
46734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46735 $(NORMAL_TARGET_EXPORTS) \
46736 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
46737 for flag in $(EXTRA_TARGET_FLAGS); do \
46738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46739 done; \
46740 (cd $(TARGET_SUBDIR)/libgomp && \
46741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46743 "RANLIB=$${RANLIB}" \
46744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46745 installcheck) \
46746 || exit 1
46748 @endif target-libgomp
46750 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
46751 maybe-mostlyclean-target-libgomp:
46752 @if target-libgomp
46753 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
46755 mostlyclean-target-libgomp:
46756 @: $(MAKE); $(unstage)
46757 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46758 r=`${PWD_COMMAND}`; export r; \
46759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46760 $(NORMAL_TARGET_EXPORTS) \
46761 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
46762 for flag in $(EXTRA_TARGET_FLAGS); do \
46763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46764 done; \
46765 (cd $(TARGET_SUBDIR)/libgomp && \
46766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46768 "RANLIB=$${RANLIB}" \
46769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46770 mostlyclean) \
46771 || exit 1
46773 @endif target-libgomp
46775 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
46776 maybe-clean-target-libgomp:
46777 @if target-libgomp
46778 maybe-clean-target-libgomp: clean-target-libgomp
46780 clean-target-libgomp:
46781 @: $(MAKE); $(unstage)
46782 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46783 r=`${PWD_COMMAND}`; export r; \
46784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46785 $(NORMAL_TARGET_EXPORTS) \
46786 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
46787 for flag in $(EXTRA_TARGET_FLAGS); do \
46788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46789 done; \
46790 (cd $(TARGET_SUBDIR)/libgomp && \
46791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46793 "RANLIB=$${RANLIB}" \
46794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46795 clean) \
46796 || exit 1
46798 @endif target-libgomp
46800 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
46801 maybe-distclean-target-libgomp:
46802 @if target-libgomp
46803 maybe-distclean-target-libgomp: distclean-target-libgomp
46805 distclean-target-libgomp:
46806 @: $(MAKE); $(unstage)
46807 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46808 r=`${PWD_COMMAND}`; export r; \
46809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46810 $(NORMAL_TARGET_EXPORTS) \
46811 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
46812 for flag in $(EXTRA_TARGET_FLAGS); do \
46813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46814 done; \
46815 (cd $(TARGET_SUBDIR)/libgomp && \
46816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46818 "RANLIB=$${RANLIB}" \
46819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46820 distclean) \
46821 || exit 1
46823 @endif target-libgomp
46825 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
46826 maybe-maintainer-clean-target-libgomp:
46827 @if target-libgomp
46828 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
46830 maintainer-clean-target-libgomp:
46831 @: $(MAKE); $(unstage)
46832 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
46833 r=`${PWD_COMMAND}`; export r; \
46834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46835 $(NORMAL_TARGET_EXPORTS) \
46836 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
46837 for flag in $(EXTRA_TARGET_FLAGS); do \
46838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46839 done; \
46840 (cd $(TARGET_SUBDIR)/libgomp && \
46841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46843 "RANLIB=$${RANLIB}" \
46844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
46845 maintainer-clean) \
46846 || exit 1
46848 @endif target-libgomp
46852 # ----------
46853 # GCC module
46854 # ----------
46856 @if gcc-no-bootstrap
46857 .PHONY: cross
46858 cross: all-build all-gas all-ld
46859 @r=`${PWD_COMMAND}`; export r; \
46860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46861 $(HOST_EXPORTS) \
46862 echo "Building the C and C++ compiler"; \
46863 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
46864 @r=`${PWD_COMMAND}`; export r; \
46865 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
46866 echo "Building runtime libraries"; \
46867 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
46868 @endif gcc-no-bootstrap
46870 @if gcc
46871 .PHONY: check-gcc-c++
46872 check-gcc-c++:
46873 @if [ -f ./gcc/Makefile ] ; then \
46874 r=`${PWD_COMMAND}`; export r; \
46875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46876 $(HOST_EXPORTS) \
46877 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
46878 else \
46879 true; \
46882 .PHONY: check-c++
46883 check-c++: check-target-libstdc++-v3 check-gcc-c++
46885 # Install the gcc headers files, but not the fixed include files,
46886 # which Cygnus is not allowed to distribute. This rule is very
46887 # dependent on the workings of the gcc Makefile.in.
46888 .PHONY: gcc-no-fixedincludes
46889 gcc-no-fixedincludes:
46890 @if [ -f ./gcc/Makefile ]; then \
46891 rm -rf gcc/tmp-include; \
46892 mv gcc/include gcc/tmp-include 2>/dev/null; \
46893 mkdir gcc/include; \
46894 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
46895 touch gcc/stmp-fixinc gcc/include/fixed; \
46896 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
46897 r=`${PWD_COMMAND}`; export r; \
46898 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
46899 $(HOST_EXPORTS) \
46900 (cd ./gcc && \
46901 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
46902 rm -rf gcc/include; \
46903 mv gcc/tmp-include gcc/include 2>/dev/null; \
46904 else true; fi
46905 @endif gcc
46907 # ---------------------
46908 # GCC bootstrap support
46909 # ---------------------
46911 # We track the current stage (the one in 'gcc') in the stage_current file.
46912 # stage_last instead tracks the stage that was built last. These targets
46913 # are dummy when toplevel bootstrap is not active.
46915 # While making host and target tools, symlinks to the final stage must be
46916 # there, so $(unstage) should be run at various points. To avoid excessive
46917 # recursive invocations of make, we "inline" them using a variable. These
46918 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
46919 # to avoid warnings from the GNU Make job server.
46921 unstage = :
46922 stage = :
46923 current_stage = ""
46925 @if gcc-bootstrap
46926 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
46927 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
46928 current_stage = "`cat stage_current 2> /dev/null`"
46929 @endif gcc-bootstrap
46931 .PHONY: unstage stage
46932 unstage:
46933 @: $(MAKE); $(unstage)
46934 stage:
46935 @: $(MAKE); $(stage)
46937 # Disable commands for lean bootstrap.
46938 LEAN = false
46940 # We name the build directories for the various stages "stage1-gcc",
46941 # "stage2-gcc","stage3-gcc", etc.
46943 # Since the 'compare' process will fail (on debugging information) if any
46944 # directory names are different, we need to link the gcc directory for
46945 # the previous stage to a constant name ('prev-gcc'), and to make the name of
46946 # the build directories constant as well. For the latter, we use naked names
46947 # like 'gcc', because the scripts in that directory assume it. We use
46948 # mv on platforms where symlinks to directories do not work or are not
46949 # reliable.
46951 # 'touch' doesn't work right on some platforms.
46952 STAMP = echo timestamp >
46954 # We only want to compare .o files, so set this!
46955 objext = .o
46958 .PHONY: stage1-start stage1-end
46960 stage1-start::
46961 @: $(MAKE); $(stage); \
46962 echo stage1 > stage_current ; \
46963 echo stage1 > stage_last; \
46964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46965 @if bfd
46966 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
46967 mkdir stage1-bfd; \
46968 mv stage1-bfd bfd
46969 @endif bfd
46970 @if opcodes
46971 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
46972 mkdir stage1-opcodes; \
46973 mv stage1-opcodes opcodes
46974 @endif opcodes
46975 @if binutils
46976 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
46977 mkdir stage1-binutils; \
46978 mv stage1-binutils binutils
46979 @endif binutils
46980 @if gas
46981 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
46982 mkdir stage1-gas; \
46983 mv stage1-gas gas
46984 @endif gas
46985 @if gcc
46986 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
46987 mkdir stage1-gcc; \
46988 mv stage1-gcc gcc
46989 @endif gcc
46990 @if gmp
46991 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
46992 mkdir stage1-gmp; \
46993 mv stage1-gmp gmp
46994 @endif gmp
46995 @if mpfr
46996 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
46997 mkdir stage1-mpfr; \
46998 mv stage1-mpfr mpfr
46999 @endif mpfr
47000 @if intl
47001 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
47002 mkdir stage1-intl; \
47003 mv stage1-intl intl
47004 @endif intl
47005 @if ld
47006 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
47007 mkdir stage1-ld; \
47008 mv stage1-ld ld
47009 @endif ld
47010 @if libcpp
47011 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
47012 mkdir stage1-libcpp; \
47013 mv stage1-libcpp libcpp
47014 @endif libcpp
47015 @if libdecnumber
47016 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
47017 mkdir stage1-libdecnumber; \
47018 mv stage1-libdecnumber libdecnumber
47019 @endif libdecnumber
47020 @if libiberty
47021 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
47022 mkdir stage1-libiberty; \
47023 mv stage1-libiberty libiberty
47024 @endif libiberty
47025 @if zlib
47026 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
47027 mkdir stage1-zlib; \
47028 mv stage1-zlib zlib
47029 @endif zlib
47030 @[ -d stage1-$(TARGET_SUBDIR) ] || \
47031 mkdir stage1-$(TARGET_SUBDIR); \
47032 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
47034 stage1-end::
47035 @if bfd
47036 @if test -d $(HOST_SUBDIR)/bfd ; then \
47037 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
47039 @endif bfd
47040 @if opcodes
47041 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47042 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
47044 @endif opcodes
47045 @if binutils
47046 @if test -d $(HOST_SUBDIR)/binutils ; then \
47047 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
47049 @endif binutils
47050 @if gas
47051 @if test -d $(HOST_SUBDIR)/gas ; then \
47052 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
47054 @endif gas
47055 @if gcc
47056 @if test -d $(HOST_SUBDIR)/gcc ; then \
47057 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
47059 @endif gcc
47060 @if gmp
47061 @if test -d $(HOST_SUBDIR)/gmp ; then \
47062 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
47064 @endif gmp
47065 @if mpfr
47066 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47067 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
47069 @endif mpfr
47070 @if intl
47071 @if test -d $(HOST_SUBDIR)/intl ; then \
47072 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
47074 @endif intl
47075 @if ld
47076 @if test -d $(HOST_SUBDIR)/ld ; then \
47077 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
47079 @endif ld
47080 @if libcpp
47081 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47082 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
47084 @endif libcpp
47085 @if libdecnumber
47086 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47087 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
47089 @endif libdecnumber
47090 @if libiberty
47091 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47092 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
47094 @endif libiberty
47095 @if zlib
47096 @if test -d $(HOST_SUBDIR)/zlib ; then \
47097 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
47099 @endif zlib
47100 @if test -d $(TARGET_SUBDIR) ; then \
47101 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
47103 rm -f stage_current
47105 # Bubble a bugfix through all the stages up to stage 1. They are
47106 # remade, but not reconfigured. The next stage (if any) will not be
47107 # reconfigured as well.
47108 .PHONY: stage1-bubble
47109 stage1-bubble::
47110 @r=`${PWD_COMMAND}`; export r; \
47111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47112 if test -f stage1-lean ; then \
47113 echo Skipping rebuild of stage1 ; \
47114 else \
47115 $(MAKE) stage1-start; \
47116 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
47119 .PHONY: all-stage1 clean-stage1
47120 do-clean: clean-stage1
47122 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47123 # only possibility, but now it conflicts with no-bootstrap rules
47124 @if gcc-bootstrap
47129 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47131 .PHONY: distclean-stage1
47132 distclean-stage1::
47133 @: $(MAKE); $(stage)
47134 rm -rf stage1-*
47137 @endif gcc-bootstrap
47140 .PHONY: stage2-start stage2-end
47142 stage2-start::
47143 @: $(MAKE); $(stage); \
47144 echo stage2 > stage_current ; \
47145 echo stage2 > stage_last; \
47146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47147 @if bfd
47148 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
47149 mkdir stage2-bfd; \
47150 mv stage2-bfd bfd ; \
47151 mv stage1-bfd prev-bfd || test -f stage1-lean
47152 @endif bfd
47153 @if opcodes
47154 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
47155 mkdir stage2-opcodes; \
47156 mv stage2-opcodes opcodes ; \
47157 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47158 @endif opcodes
47159 @if binutils
47160 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
47161 mkdir stage2-binutils; \
47162 mv stage2-binutils binutils ; \
47163 mv stage1-binutils prev-binutils || test -f stage1-lean
47164 @endif binutils
47165 @if gas
47166 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
47167 mkdir stage2-gas; \
47168 mv stage2-gas gas ; \
47169 mv stage1-gas prev-gas || test -f stage1-lean
47170 @endif gas
47171 @if gcc
47172 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
47173 mkdir stage2-gcc; \
47174 mv stage2-gcc gcc ; \
47175 mv stage1-gcc prev-gcc || test -f stage1-lean
47176 @endif gcc
47177 @if gmp
47178 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
47179 mkdir stage2-gmp; \
47180 mv stage2-gmp gmp ; \
47181 mv stage1-gmp prev-gmp || test -f stage1-lean
47182 @endif gmp
47183 @if mpfr
47184 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
47185 mkdir stage2-mpfr; \
47186 mv stage2-mpfr mpfr ; \
47187 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47188 @endif mpfr
47189 @if intl
47190 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
47191 mkdir stage2-intl; \
47192 mv stage2-intl intl ; \
47193 mv stage1-intl prev-intl || test -f stage1-lean
47194 @endif intl
47195 @if ld
47196 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
47197 mkdir stage2-ld; \
47198 mv stage2-ld ld ; \
47199 mv stage1-ld prev-ld || test -f stage1-lean
47200 @endif ld
47201 @if libcpp
47202 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
47203 mkdir stage2-libcpp; \
47204 mv stage2-libcpp libcpp ; \
47205 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47206 @endif libcpp
47207 @if libdecnumber
47208 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
47209 mkdir stage2-libdecnumber; \
47210 mv stage2-libdecnumber libdecnumber ; \
47211 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47212 @endif libdecnumber
47213 @if libiberty
47214 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
47215 mkdir stage2-libiberty; \
47216 mv stage2-libiberty libiberty ; \
47217 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47218 @endif libiberty
47219 @if zlib
47220 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
47221 mkdir stage2-zlib; \
47222 mv stage2-zlib zlib ; \
47223 mv stage1-zlib prev-zlib || test -f stage1-lean
47224 @endif zlib
47225 @[ -d stage2-$(TARGET_SUBDIR) ] || \
47226 mkdir stage2-$(TARGET_SUBDIR); \
47227 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47228 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47230 stage2-end::
47231 @if bfd
47232 @if test -d $(HOST_SUBDIR)/bfd ; then \
47233 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
47234 mv prev-bfd stage1-bfd ; : ; \
47236 @endif bfd
47237 @if opcodes
47238 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47239 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
47240 mv prev-opcodes stage1-opcodes ; : ; \
47242 @endif opcodes
47243 @if binutils
47244 @if test -d $(HOST_SUBDIR)/binutils ; then \
47245 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
47246 mv prev-binutils stage1-binutils ; : ; \
47248 @endif binutils
47249 @if gas
47250 @if test -d $(HOST_SUBDIR)/gas ; then \
47251 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
47252 mv prev-gas stage1-gas ; : ; \
47254 @endif gas
47255 @if gcc
47256 @if test -d $(HOST_SUBDIR)/gcc ; then \
47257 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
47258 mv prev-gcc stage1-gcc ; : ; \
47260 @endif gcc
47261 @if gmp
47262 @if test -d $(HOST_SUBDIR)/gmp ; then \
47263 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
47264 mv prev-gmp stage1-gmp ; : ; \
47266 @endif gmp
47267 @if mpfr
47268 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47269 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
47270 mv prev-mpfr stage1-mpfr ; : ; \
47272 @endif mpfr
47273 @if intl
47274 @if test -d $(HOST_SUBDIR)/intl ; then \
47275 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
47276 mv prev-intl stage1-intl ; : ; \
47278 @endif intl
47279 @if ld
47280 @if test -d $(HOST_SUBDIR)/ld ; then \
47281 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
47282 mv prev-ld stage1-ld ; : ; \
47284 @endif ld
47285 @if libcpp
47286 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47287 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
47288 mv prev-libcpp stage1-libcpp ; : ; \
47290 @endif libcpp
47291 @if libdecnumber
47292 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47293 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
47294 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47296 @endif libdecnumber
47297 @if libiberty
47298 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47299 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
47300 mv prev-libiberty stage1-libiberty ; : ; \
47302 @endif libiberty
47303 @if zlib
47304 @if test -d $(HOST_SUBDIR)/zlib ; then \
47305 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
47306 mv prev-zlib stage1-zlib ; : ; \
47308 @endif zlib
47309 @if test -d $(TARGET_SUBDIR) ; then \
47310 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
47311 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47313 rm -f stage_current
47315 # Bubble a bugfix through all the stages up to stage 2. They are
47316 # remade, but not reconfigured. The next stage (if any) will not be
47317 # reconfigured as well.
47318 .PHONY: stage2-bubble
47319 stage2-bubble:: stage1-bubble
47320 @r=`${PWD_COMMAND}`; export r; \
47321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47322 if test -f stage2-lean || test -f stage1-lean ; then \
47323 echo Skipping rebuild of stage2 ; \
47324 else \
47325 $(MAKE) stage2-start; \
47326 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
47329 .PHONY: all-stage2 clean-stage2
47330 do-clean: clean-stage2
47332 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47333 # only possibility, but now it conflicts with no-bootstrap rules
47334 @if gcc-bootstrap
47338 .PHONY: bootstrap2 bootstrap2-lean
47339 bootstrap2:
47340 echo stage2 > stage_final
47341 @r=`${PWD_COMMAND}`; export r; \
47342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47343 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
47344 @: $(MAKE); $(unstage)
47345 @r=`${PWD_COMMAND}`; export r; \
47346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47347 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47349 bootstrap2-lean:
47350 echo stage2 > stage_final
47351 @r=`${PWD_COMMAND}`; export r; \
47352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47353 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
47354 @: $(MAKE); $(unstage)
47355 @r=`${PWD_COMMAND}`; export r; \
47356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47357 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47360 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47361 distclean-stage1:: distclean-stage2
47362 .PHONY: distclean-stage2
47363 distclean-stage2::
47364 @: $(MAKE); $(stage)
47365 rm -rf stage2-*
47368 @endif gcc-bootstrap
47371 .PHONY: stage3-start stage3-end
47373 stage3-start::
47374 @: $(MAKE); $(stage); \
47375 echo stage3 > stage_current ; \
47376 echo stage3 > stage_last; \
47377 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47378 @if bfd
47379 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
47380 mkdir stage3-bfd; \
47381 mv stage3-bfd bfd ; \
47382 mv stage2-bfd prev-bfd || test -f stage2-lean
47383 @endif bfd
47384 @if opcodes
47385 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
47386 mkdir stage3-opcodes; \
47387 mv stage3-opcodes opcodes ; \
47388 mv stage2-opcodes prev-opcodes || test -f stage2-lean
47389 @endif opcodes
47390 @if binutils
47391 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
47392 mkdir stage3-binutils; \
47393 mv stage3-binutils binutils ; \
47394 mv stage2-binutils prev-binutils || test -f stage2-lean
47395 @endif binutils
47396 @if gas
47397 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
47398 mkdir stage3-gas; \
47399 mv stage3-gas gas ; \
47400 mv stage2-gas prev-gas || test -f stage2-lean
47401 @endif gas
47402 @if gcc
47403 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
47404 mkdir stage3-gcc; \
47405 mv stage3-gcc gcc ; \
47406 mv stage2-gcc prev-gcc || test -f stage2-lean
47407 @endif gcc
47408 @if gmp
47409 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
47410 mkdir stage3-gmp; \
47411 mv stage3-gmp gmp ; \
47412 mv stage2-gmp prev-gmp || test -f stage2-lean
47413 @endif gmp
47414 @if mpfr
47415 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
47416 mkdir stage3-mpfr; \
47417 mv stage3-mpfr mpfr ; \
47418 mv stage2-mpfr prev-mpfr || test -f stage2-lean
47419 @endif mpfr
47420 @if intl
47421 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
47422 mkdir stage3-intl; \
47423 mv stage3-intl intl ; \
47424 mv stage2-intl prev-intl || test -f stage2-lean
47425 @endif intl
47426 @if ld
47427 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
47428 mkdir stage3-ld; \
47429 mv stage3-ld ld ; \
47430 mv stage2-ld prev-ld || test -f stage2-lean
47431 @endif ld
47432 @if libcpp
47433 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
47434 mkdir stage3-libcpp; \
47435 mv stage3-libcpp libcpp ; \
47436 mv stage2-libcpp prev-libcpp || test -f stage2-lean
47437 @endif libcpp
47438 @if libdecnumber
47439 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
47440 mkdir stage3-libdecnumber; \
47441 mv stage3-libdecnumber libdecnumber ; \
47442 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
47443 @endif libdecnumber
47444 @if libiberty
47445 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
47446 mkdir stage3-libiberty; \
47447 mv stage3-libiberty libiberty ; \
47448 mv stage2-libiberty prev-libiberty || test -f stage2-lean
47449 @endif libiberty
47450 @if zlib
47451 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
47452 mkdir stage3-zlib; \
47453 mv stage3-zlib zlib ; \
47454 mv stage2-zlib prev-zlib || test -f stage2-lean
47455 @endif zlib
47456 @[ -d stage3-$(TARGET_SUBDIR) ] || \
47457 mkdir stage3-$(TARGET_SUBDIR); \
47458 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47459 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
47461 stage3-end::
47462 @if bfd
47463 @if test -d $(HOST_SUBDIR)/bfd ; then \
47464 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
47465 mv prev-bfd stage2-bfd ; : ; \
47467 @endif bfd
47468 @if opcodes
47469 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47470 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
47471 mv prev-opcodes stage2-opcodes ; : ; \
47473 @endif opcodes
47474 @if binutils
47475 @if test -d $(HOST_SUBDIR)/binutils ; then \
47476 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
47477 mv prev-binutils stage2-binutils ; : ; \
47479 @endif binutils
47480 @if gas
47481 @if test -d $(HOST_SUBDIR)/gas ; then \
47482 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
47483 mv prev-gas stage2-gas ; : ; \
47485 @endif gas
47486 @if gcc
47487 @if test -d $(HOST_SUBDIR)/gcc ; then \
47488 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
47489 mv prev-gcc stage2-gcc ; : ; \
47491 @endif gcc
47492 @if gmp
47493 @if test -d $(HOST_SUBDIR)/gmp ; then \
47494 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
47495 mv prev-gmp stage2-gmp ; : ; \
47497 @endif gmp
47498 @if mpfr
47499 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47500 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
47501 mv prev-mpfr stage2-mpfr ; : ; \
47503 @endif mpfr
47504 @if intl
47505 @if test -d $(HOST_SUBDIR)/intl ; then \
47506 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
47507 mv prev-intl stage2-intl ; : ; \
47509 @endif intl
47510 @if ld
47511 @if test -d $(HOST_SUBDIR)/ld ; then \
47512 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
47513 mv prev-ld stage2-ld ; : ; \
47515 @endif ld
47516 @if libcpp
47517 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47518 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
47519 mv prev-libcpp stage2-libcpp ; : ; \
47521 @endif libcpp
47522 @if libdecnumber
47523 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47524 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
47525 mv prev-libdecnumber stage2-libdecnumber ; : ; \
47527 @endif libdecnumber
47528 @if libiberty
47529 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47530 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
47531 mv prev-libiberty stage2-libiberty ; : ; \
47533 @endif libiberty
47534 @if zlib
47535 @if test -d $(HOST_SUBDIR)/zlib ; then \
47536 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
47537 mv prev-zlib stage2-zlib ; : ; \
47539 @endif zlib
47540 @if test -d $(TARGET_SUBDIR) ; then \
47541 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
47542 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
47544 rm -f stage_current
47546 # Bubble a bugfix through all the stages up to stage 3. They are
47547 # remade, but not reconfigured. The next stage (if any) will not be
47548 # reconfigured as well.
47549 .PHONY: stage3-bubble
47550 stage3-bubble:: stage2-bubble
47551 @r=`${PWD_COMMAND}`; export r; \
47552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47553 if test -f stage3-lean || test -f stage2-lean ; then \
47554 echo Skipping rebuild of stage3 ; \
47555 else \
47556 $(MAKE) stage3-start; \
47557 if $(LEAN); then \
47558 rm -rf stage1-* ; \
47559 $(STAMP) stage1-lean ; \
47560 fi; \
47561 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
47563 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
47565 .PHONY: all-stage3 clean-stage3
47566 do-clean: clean-stage3
47568 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47569 # only possibility, but now it conflicts with no-bootstrap rules
47570 @if gcc-bootstrap
47572 compare:
47573 @r=`${PWD_COMMAND}`; export r; \
47574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47575 if test -f stage2-lean; then \
47576 echo Cannot compare object files as stage 2 was deleted. ; \
47577 exit 0 ; \
47578 fi; \
47579 : $(MAKE); $(stage); \
47580 rm -f .bad_compare ; \
47581 echo Comparing stages 2 and 3 ; \
47582 cd stage3-gcc; \
47583 files=`find . -name "*$(objext)" -print` ; \
47584 cd .. ; \
47585 for file in $${files} ; do \
47586 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
47587 @do_compare@ > /dev/null 2>&1; \
47588 if test $$? -eq 1; then \
47589 case $$file in \
47590 ./cc*-checksum$(objext) | ./libgcc/* ) \
47591 echo warning: $$file differs ;; \
47592 *) \
47593 echo $$file differs >> .bad_compare ;; \
47594 esac ; \
47595 fi ; \
47596 done ; \
47597 if [ -f .bad_compare ]; then \
47598 echo "Bootstrap comparison failure!"; \
47599 cat .bad_compare; \
47600 exit 1; \
47601 else \
47602 echo Comparison successful.; \
47603 fi ; \
47604 $(STAMP) compare
47605 if $(LEAN); then \
47606 rm -rf stage2-*; \
47607 $(STAMP) stage2-lean; \
47612 .PHONY: bootstrap bootstrap-lean
47613 bootstrap:
47614 echo stage3 > stage_final
47615 @r=`${PWD_COMMAND}`; export r; \
47616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47617 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
47618 @: $(MAKE); $(unstage)
47619 @r=`${PWD_COMMAND}`; export r; \
47620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47621 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47623 bootstrap-lean:
47624 echo stage3 > stage_final
47625 @r=`${PWD_COMMAND}`; export r; \
47626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47627 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
47628 @: $(MAKE); $(unstage)
47629 @r=`${PWD_COMMAND}`; export r; \
47630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47631 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47634 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47635 distclean-stage2:: distclean-stage3
47636 .PHONY: distclean-stage3
47637 distclean-stage3::
47638 @: $(MAKE); $(stage)
47639 rm -rf stage3-* compare
47642 .PHONY: cleanstrap
47643 cleanstrap: distclean bootstrap
47645 @endif gcc-bootstrap
47648 .PHONY: stage4-start stage4-end
47650 stage4-start::
47651 @: $(MAKE); $(stage); \
47652 echo stage4 > stage_current ; \
47653 echo stage4 > stage_last; \
47654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47655 @if bfd
47656 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
47657 mkdir stage4-bfd; \
47658 mv stage4-bfd bfd ; \
47659 mv stage3-bfd prev-bfd || test -f stage3-lean
47660 @endif bfd
47661 @if opcodes
47662 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
47663 mkdir stage4-opcodes; \
47664 mv stage4-opcodes opcodes ; \
47665 mv stage3-opcodes prev-opcodes || test -f stage3-lean
47666 @endif opcodes
47667 @if binutils
47668 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
47669 mkdir stage4-binutils; \
47670 mv stage4-binutils binutils ; \
47671 mv stage3-binutils prev-binutils || test -f stage3-lean
47672 @endif binutils
47673 @if gas
47674 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
47675 mkdir stage4-gas; \
47676 mv stage4-gas gas ; \
47677 mv stage3-gas prev-gas || test -f stage3-lean
47678 @endif gas
47679 @if gcc
47680 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
47681 mkdir stage4-gcc; \
47682 mv stage4-gcc gcc ; \
47683 mv stage3-gcc prev-gcc || test -f stage3-lean
47684 @endif gcc
47685 @if gmp
47686 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
47687 mkdir stage4-gmp; \
47688 mv stage4-gmp gmp ; \
47689 mv stage3-gmp prev-gmp || test -f stage3-lean
47690 @endif gmp
47691 @if mpfr
47692 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
47693 mkdir stage4-mpfr; \
47694 mv stage4-mpfr mpfr ; \
47695 mv stage3-mpfr prev-mpfr || test -f stage3-lean
47696 @endif mpfr
47697 @if intl
47698 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
47699 mkdir stage4-intl; \
47700 mv stage4-intl intl ; \
47701 mv stage3-intl prev-intl || test -f stage3-lean
47702 @endif intl
47703 @if ld
47704 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
47705 mkdir stage4-ld; \
47706 mv stage4-ld ld ; \
47707 mv stage3-ld prev-ld || test -f stage3-lean
47708 @endif ld
47709 @if libcpp
47710 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
47711 mkdir stage4-libcpp; \
47712 mv stage4-libcpp libcpp ; \
47713 mv stage3-libcpp prev-libcpp || test -f stage3-lean
47714 @endif libcpp
47715 @if libdecnumber
47716 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
47717 mkdir stage4-libdecnumber; \
47718 mv stage4-libdecnumber libdecnumber ; \
47719 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
47720 @endif libdecnumber
47721 @if libiberty
47722 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
47723 mkdir stage4-libiberty; \
47724 mv stage4-libiberty libiberty ; \
47725 mv stage3-libiberty prev-libiberty || test -f stage3-lean
47726 @endif libiberty
47727 @if zlib
47728 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
47729 mkdir stage4-zlib; \
47730 mv stage4-zlib zlib ; \
47731 mv stage3-zlib prev-zlib || test -f stage3-lean
47732 @endif zlib
47733 @[ -d stage4-$(TARGET_SUBDIR) ] || \
47734 mkdir stage4-$(TARGET_SUBDIR); \
47735 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47736 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47738 stage4-end::
47739 @if bfd
47740 @if test -d $(HOST_SUBDIR)/bfd ; then \
47741 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47742 mv prev-bfd stage3-bfd ; : ; \
47744 @endif bfd
47745 @if opcodes
47746 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47747 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47748 mv prev-opcodes stage3-opcodes ; : ; \
47750 @endif opcodes
47751 @if binutils
47752 @if test -d $(HOST_SUBDIR)/binutils ; then \
47753 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47754 mv prev-binutils stage3-binutils ; : ; \
47756 @endif binutils
47757 @if gas
47758 @if test -d $(HOST_SUBDIR)/gas ; then \
47759 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47760 mv prev-gas stage3-gas ; : ; \
47762 @endif gas
47763 @if gcc
47764 @if test -d $(HOST_SUBDIR)/gcc ; then \
47765 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47766 mv prev-gcc stage3-gcc ; : ; \
47768 @endif gcc
47769 @if gmp
47770 @if test -d $(HOST_SUBDIR)/gmp ; then \
47771 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47772 mv prev-gmp stage3-gmp ; : ; \
47774 @endif gmp
47775 @if mpfr
47776 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47777 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47778 mv prev-mpfr stage3-mpfr ; : ; \
47780 @endif mpfr
47781 @if intl
47782 @if test -d $(HOST_SUBDIR)/intl ; then \
47783 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47784 mv prev-intl stage3-intl ; : ; \
47786 @endif intl
47787 @if ld
47788 @if test -d $(HOST_SUBDIR)/ld ; then \
47789 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47790 mv prev-ld stage3-ld ; : ; \
47792 @endif ld
47793 @if libcpp
47794 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47795 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47796 mv prev-libcpp stage3-libcpp ; : ; \
47798 @endif libcpp
47799 @if libdecnumber
47800 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47801 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47802 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47804 @endif libdecnumber
47805 @if libiberty
47806 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47807 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47808 mv prev-libiberty stage3-libiberty ; : ; \
47810 @endif libiberty
47811 @if zlib
47812 @if test -d $(HOST_SUBDIR)/zlib ; then \
47813 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47814 mv prev-zlib stage3-zlib ; : ; \
47816 @endif zlib
47817 @if test -d $(TARGET_SUBDIR) ; then \
47818 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47819 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47821 rm -f stage_current
47823 # Bubble a bugfix through all the stages up to stage 4. They are
47824 # remade, but not reconfigured. The next stage (if any) will not be
47825 # reconfigured as well.
47826 .PHONY: stage4-bubble
47827 stage4-bubble:: stage3-bubble
47828 @r=`${PWD_COMMAND}`; export r; \
47829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47830 if test -f stage4-lean || test -f stage3-lean ; then \
47831 echo Skipping rebuild of stage4 ; \
47832 else \
47833 $(MAKE) stage4-start; \
47834 if $(LEAN); then \
47835 rm -rf stage2-* ; \
47836 $(STAMP) stage2-lean ; \
47837 fi; \
47838 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47840 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47842 .PHONY: all-stage4 clean-stage4
47843 do-clean: clean-stage4
47845 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47846 # only possibility, but now it conflicts with no-bootstrap rules
47847 @if gcc-bootstrap
47849 compare3:
47850 @r=`${PWD_COMMAND}`; export r; \
47851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47852 if test -f stage3-lean; then \
47853 echo Cannot compare object files as stage 3 was deleted. ; \
47854 exit 0 ; \
47855 fi; \
47856 : $(MAKE); $(stage); \
47857 rm -f .bad_compare ; \
47858 echo Comparing stages 3 and 4 ; \
47859 cd stage4-gcc; \
47860 files=`find . -name "*$(objext)" -print` ; \
47861 cd .. ; \
47862 for file in $${files} ; do \
47863 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
47864 @do_compare@ > /dev/null 2>&1; \
47865 if test $$? -eq 1; then \
47866 case $$file in \
47867 ./cc*-checksum$(objext) | ./libgcc/* ) \
47868 echo warning: $$file differs ;; \
47869 *) \
47870 echo $$file differs >> .bad_compare ;; \
47871 esac ; \
47872 fi ; \
47873 done ; \
47874 if [ -f .bad_compare ]; then \
47875 echo "Bootstrap comparison failure!"; \
47876 cat .bad_compare; \
47877 exit 1; \
47878 else \
47879 echo Comparison successful.; \
47880 fi ; \
47881 $(STAMP) compare3
47882 if $(LEAN); then \
47883 rm -rf stage3-*; \
47884 $(STAMP) stage3-lean; \
47889 .PHONY: bootstrap4 bootstrap4-lean
47890 bootstrap4:
47891 echo stage4 > stage_final
47892 @r=`${PWD_COMMAND}`; export r; \
47893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47894 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47895 @: $(MAKE); $(unstage)
47896 @r=`${PWD_COMMAND}`; export r; \
47897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47898 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47900 bootstrap4-lean:
47901 echo stage4 > stage_final
47902 @r=`${PWD_COMMAND}`; export r; \
47903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47904 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47905 @: $(MAKE); $(unstage)
47906 @r=`${PWD_COMMAND}`; export r; \
47907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47908 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47911 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47912 distclean-stage3:: distclean-stage4
47913 .PHONY: distclean-stage4
47914 distclean-stage4::
47915 @: $(MAKE); $(stage)
47916 rm -rf stage4-* compare3
47919 @endif gcc-bootstrap
47922 .PHONY: stageprofile-start stageprofile-end
47924 stageprofile-start::
47925 @: $(MAKE); $(stage); \
47926 echo stageprofile > stage_current ; \
47927 echo stageprofile > stage_last; \
47928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47929 @if bfd
47930 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47931 mkdir stageprofile-bfd; \
47932 mv stageprofile-bfd bfd ; \
47933 mv stage1-bfd prev-bfd || test -f stage1-lean
47934 @endif bfd
47935 @if opcodes
47936 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47937 mkdir stageprofile-opcodes; \
47938 mv stageprofile-opcodes opcodes ; \
47939 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47940 @endif opcodes
47941 @if binutils
47942 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47943 mkdir stageprofile-binutils; \
47944 mv stageprofile-binutils binutils ; \
47945 mv stage1-binutils prev-binutils || test -f stage1-lean
47946 @endif binutils
47947 @if gas
47948 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47949 mkdir stageprofile-gas; \
47950 mv stageprofile-gas gas ; \
47951 mv stage1-gas prev-gas || test -f stage1-lean
47952 @endif gas
47953 @if gcc
47954 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47955 mkdir stageprofile-gcc; \
47956 mv stageprofile-gcc gcc ; \
47957 mv stage1-gcc prev-gcc || test -f stage1-lean
47958 @endif gcc
47959 @if gmp
47960 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47961 mkdir stageprofile-gmp; \
47962 mv stageprofile-gmp gmp ; \
47963 mv stage1-gmp prev-gmp || test -f stage1-lean
47964 @endif gmp
47965 @if mpfr
47966 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47967 mkdir stageprofile-mpfr; \
47968 mv stageprofile-mpfr mpfr ; \
47969 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47970 @endif mpfr
47971 @if intl
47972 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47973 mkdir stageprofile-intl; \
47974 mv stageprofile-intl intl ; \
47975 mv stage1-intl prev-intl || test -f stage1-lean
47976 @endif intl
47977 @if ld
47978 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47979 mkdir stageprofile-ld; \
47980 mv stageprofile-ld ld ; \
47981 mv stage1-ld prev-ld || test -f stage1-lean
47982 @endif ld
47983 @if libcpp
47984 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47985 mkdir stageprofile-libcpp; \
47986 mv stageprofile-libcpp libcpp ; \
47987 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47988 @endif libcpp
47989 @if libdecnumber
47990 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47991 mkdir stageprofile-libdecnumber; \
47992 mv stageprofile-libdecnumber libdecnumber ; \
47993 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47994 @endif libdecnumber
47995 @if libiberty
47996 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47997 mkdir stageprofile-libiberty; \
47998 mv stageprofile-libiberty libiberty ; \
47999 mv stage1-libiberty prev-libiberty || test -f stage1-lean
48000 @endif libiberty
48001 @if zlib
48002 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
48003 mkdir stageprofile-zlib; \
48004 mv stageprofile-zlib zlib ; \
48005 mv stage1-zlib prev-zlib || test -f stage1-lean
48006 @endif zlib
48007 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
48008 mkdir stageprofile-$(TARGET_SUBDIR); \
48009 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
48010 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
48012 stageprofile-end::
48013 @if bfd
48014 @if test -d $(HOST_SUBDIR)/bfd ; then \
48015 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
48016 mv prev-bfd stage1-bfd ; : ; \
48018 @endif bfd
48019 @if opcodes
48020 @if test -d $(HOST_SUBDIR)/opcodes ; then \
48021 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
48022 mv prev-opcodes stage1-opcodes ; : ; \
48024 @endif opcodes
48025 @if binutils
48026 @if test -d $(HOST_SUBDIR)/binutils ; then \
48027 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
48028 mv prev-binutils stage1-binutils ; : ; \
48030 @endif binutils
48031 @if gas
48032 @if test -d $(HOST_SUBDIR)/gas ; then \
48033 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
48034 mv prev-gas stage1-gas ; : ; \
48036 @endif gas
48037 @if gcc
48038 @if test -d $(HOST_SUBDIR)/gcc ; then \
48039 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
48040 mv prev-gcc stage1-gcc ; : ; \
48042 @endif gcc
48043 @if gmp
48044 @if test -d $(HOST_SUBDIR)/gmp ; then \
48045 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
48046 mv prev-gmp stage1-gmp ; : ; \
48048 @endif gmp
48049 @if mpfr
48050 @if test -d $(HOST_SUBDIR)/mpfr ; then \
48051 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
48052 mv prev-mpfr stage1-mpfr ; : ; \
48054 @endif mpfr
48055 @if intl
48056 @if test -d $(HOST_SUBDIR)/intl ; then \
48057 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
48058 mv prev-intl stage1-intl ; : ; \
48060 @endif intl
48061 @if ld
48062 @if test -d $(HOST_SUBDIR)/ld ; then \
48063 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
48064 mv prev-ld stage1-ld ; : ; \
48066 @endif ld
48067 @if libcpp
48068 @if test -d $(HOST_SUBDIR)/libcpp ; then \
48069 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
48070 mv prev-libcpp stage1-libcpp ; : ; \
48072 @endif libcpp
48073 @if libdecnumber
48074 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
48075 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
48076 mv prev-libdecnumber stage1-libdecnumber ; : ; \
48078 @endif libdecnumber
48079 @if libiberty
48080 @if test -d $(HOST_SUBDIR)/libiberty ; then \
48081 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
48082 mv prev-libiberty stage1-libiberty ; : ; \
48084 @endif libiberty
48085 @if zlib
48086 @if test -d $(HOST_SUBDIR)/zlib ; then \
48087 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
48088 mv prev-zlib stage1-zlib ; : ; \
48090 @endif zlib
48091 @if test -d $(TARGET_SUBDIR) ; then \
48092 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
48093 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
48095 rm -f stage_current
48097 # Bubble a bugfix through all the stages up to stage profile. They are
48098 # remade, but not reconfigured. The next stage (if any) will not be
48099 # reconfigured as well.
48100 .PHONY: stageprofile-bubble
48101 stageprofile-bubble:: stage1-bubble
48102 @r=`${PWD_COMMAND}`; export r; \
48103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48104 if test -f stageprofile-lean || test -f stage1-lean ; then \
48105 echo Skipping rebuild of stageprofile ; \
48106 else \
48107 $(MAKE) stageprofile-start; \
48108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
48111 .PHONY: all-stageprofile clean-stageprofile
48112 do-clean: clean-stageprofile
48114 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48115 # only possibility, but now it conflicts with no-bootstrap rules
48116 @if gcc-bootstrap
48121 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48122 distclean-stage1:: distclean-stageprofile
48123 .PHONY: distclean-stageprofile
48124 distclean-stageprofile::
48125 @: $(MAKE); $(stage)
48126 rm -rf stageprofile-*
48129 @endif gcc-bootstrap
48132 .PHONY: stagefeedback-start stagefeedback-end
48134 stagefeedback-start::
48135 @: $(MAKE); $(stage); \
48136 echo stagefeedback > stage_current ; \
48137 echo stagefeedback > stage_last; \
48138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48139 @if bfd
48140 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
48141 mkdir stagefeedback-bfd; \
48142 mv stagefeedback-bfd bfd ; \
48143 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
48144 @endif bfd
48145 @if opcodes
48146 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
48147 mkdir stagefeedback-opcodes; \
48148 mv stagefeedback-opcodes opcodes ; \
48149 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
48150 @endif opcodes
48151 @if binutils
48152 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
48153 mkdir stagefeedback-binutils; \
48154 mv stagefeedback-binutils binutils ; \
48155 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
48156 @endif binutils
48157 @if gas
48158 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
48159 mkdir stagefeedback-gas; \
48160 mv stagefeedback-gas gas ; \
48161 mv stageprofile-gas prev-gas || test -f stageprofile-lean
48162 @endif gas
48163 @if gcc
48164 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
48165 mkdir stagefeedback-gcc; \
48166 mv stagefeedback-gcc gcc ; \
48167 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
48168 @endif gcc
48169 @if gmp
48170 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
48171 mkdir stagefeedback-gmp; \
48172 mv stagefeedback-gmp gmp ; \
48173 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
48174 @endif gmp
48175 @if mpfr
48176 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
48177 mkdir stagefeedback-mpfr; \
48178 mv stagefeedback-mpfr mpfr ; \
48179 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
48180 @endif mpfr
48181 @if intl
48182 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
48183 mkdir stagefeedback-intl; \
48184 mv stagefeedback-intl intl ; \
48185 mv stageprofile-intl prev-intl || test -f stageprofile-lean
48186 @endif intl
48187 @if ld
48188 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
48189 mkdir stagefeedback-ld; \
48190 mv stagefeedback-ld ld ; \
48191 mv stageprofile-ld prev-ld || test -f stageprofile-lean
48192 @endif ld
48193 @if libcpp
48194 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
48195 mkdir stagefeedback-libcpp; \
48196 mv stagefeedback-libcpp libcpp ; \
48197 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
48198 @endif libcpp
48199 @if libdecnumber
48200 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
48201 mkdir stagefeedback-libdecnumber; \
48202 mv stagefeedback-libdecnumber libdecnumber ; \
48203 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
48204 @endif libdecnumber
48205 @if libiberty
48206 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
48207 mkdir stagefeedback-libiberty; \
48208 mv stagefeedback-libiberty libiberty ; \
48209 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
48210 @endif libiberty
48211 @if zlib
48212 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
48213 mkdir stagefeedback-zlib; \
48214 mv stagefeedback-zlib zlib ; \
48215 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
48216 @endif zlib
48217 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
48218 mkdir stagefeedback-$(TARGET_SUBDIR); \
48219 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
48220 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
48222 stagefeedback-end::
48223 @if bfd
48224 @if test -d $(HOST_SUBDIR)/bfd ; then \
48225 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
48226 mv prev-bfd stageprofile-bfd ; : ; \
48228 @endif bfd
48229 @if opcodes
48230 @if test -d $(HOST_SUBDIR)/opcodes ; then \
48231 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
48232 mv prev-opcodes stageprofile-opcodes ; : ; \
48234 @endif opcodes
48235 @if binutils
48236 @if test -d $(HOST_SUBDIR)/binutils ; then \
48237 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
48238 mv prev-binutils stageprofile-binutils ; : ; \
48240 @endif binutils
48241 @if gas
48242 @if test -d $(HOST_SUBDIR)/gas ; then \
48243 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
48244 mv prev-gas stageprofile-gas ; : ; \
48246 @endif gas
48247 @if gcc
48248 @if test -d $(HOST_SUBDIR)/gcc ; then \
48249 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
48250 mv prev-gcc stageprofile-gcc ; : ; \
48252 @endif gcc
48253 @if gmp
48254 @if test -d $(HOST_SUBDIR)/gmp ; then \
48255 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
48256 mv prev-gmp stageprofile-gmp ; : ; \
48258 @endif gmp
48259 @if mpfr
48260 @if test -d $(HOST_SUBDIR)/mpfr ; then \
48261 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
48262 mv prev-mpfr stageprofile-mpfr ; : ; \
48264 @endif mpfr
48265 @if intl
48266 @if test -d $(HOST_SUBDIR)/intl ; then \
48267 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
48268 mv prev-intl stageprofile-intl ; : ; \
48270 @endif intl
48271 @if ld
48272 @if test -d $(HOST_SUBDIR)/ld ; then \
48273 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
48274 mv prev-ld stageprofile-ld ; : ; \
48276 @endif ld
48277 @if libcpp
48278 @if test -d $(HOST_SUBDIR)/libcpp ; then \
48279 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
48280 mv prev-libcpp stageprofile-libcpp ; : ; \
48282 @endif libcpp
48283 @if libdecnumber
48284 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
48285 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
48286 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
48288 @endif libdecnumber
48289 @if libiberty
48290 @if test -d $(HOST_SUBDIR)/libiberty ; then \
48291 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
48292 mv prev-libiberty stageprofile-libiberty ; : ; \
48294 @endif libiberty
48295 @if zlib
48296 @if test -d $(HOST_SUBDIR)/zlib ; then \
48297 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
48298 mv prev-zlib stageprofile-zlib ; : ; \
48300 @endif zlib
48301 @if test -d $(TARGET_SUBDIR) ; then \
48302 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
48303 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
48305 rm -f stage_current
48307 # Bubble a bugfix through all the stages up to stage feedback. They are
48308 # remade, but not reconfigured. The next stage (if any) will not be
48309 # reconfigured as well.
48310 .PHONY: stagefeedback-bubble
48311 stagefeedback-bubble:: stageprofile-bubble
48312 @r=`${PWD_COMMAND}`; export r; \
48313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48314 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
48315 echo Skipping rebuild of stagefeedback ; \
48316 else \
48317 $(MAKE) stagefeedback-start; \
48318 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
48321 .PHONY: all-stagefeedback clean-stagefeedback
48322 do-clean: clean-stagefeedback
48324 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48325 # only possibility, but now it conflicts with no-bootstrap rules
48326 @if gcc-bootstrap
48330 .PHONY: profiledbootstrap profiledbootstrap-lean
48331 profiledbootstrap:
48332 echo stagefeedback > stage_final
48333 @r=`${PWD_COMMAND}`; export r; \
48334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
48336 @: $(MAKE); $(unstage)
48337 @r=`${PWD_COMMAND}`; export r; \
48338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48339 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48341 profiledbootstrap-lean:
48342 echo stagefeedback > stage_final
48343 @r=`${PWD_COMMAND}`; export r; \
48344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48345 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
48346 @: $(MAKE); $(unstage)
48347 @r=`${PWD_COMMAND}`; export r; \
48348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48349 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48352 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48353 distclean-stageprofile:: distclean-stagefeedback
48354 .PHONY: distclean-stagefeedback
48355 distclean-stagefeedback::
48356 @: $(MAKE); $(stage)
48357 rm -rf stagefeedback-*
48360 @endif gcc-bootstrap
48364 stageprofile-end::
48365 $(MAKE) distclean-stagefeedback
48367 stagefeedback-start::
48368 @r=`${PWD_COMMAND}`; export r; \
48369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48370 for i in prev-*; do \
48371 j=`echo $$i | sed s/^prev-//` ; \
48372 cd $$r/$$i && \
48373 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
48374 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
48375 done
48377 @if gcc-bootstrap
48378 do-distclean: distclean-stage1
48380 # Provide a GCC build when we're building target libraries. This does
48381 # not work as a dependency, just as the minimum necessary to avoid errors.
48382 stage_last:
48383 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
48385 # Same as unstage, but not phony and defaulting to stage1-start. We place
48386 # it in the dependency so that for example `make -j3 all-gcc' works.
48387 stage_current:
48388 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
48390 .PHONY: restrap
48391 restrap:
48392 @: $(MAKE); $(stage)
48393 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
48394 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
48395 @endif gcc-bootstrap
48397 # --------------------------------------
48398 # Dependencies between different modules
48399 # --------------------------------------
48401 # Generic dependencies for target modules on host stuff, especially gcc
48402 @if gcc-bootstrap
48403 configure-target-libstdc++-v3: stage_last
48404 configure-target-libmudflap: stage_last
48405 configure-target-libssp: stage_last
48406 configure-target-newlib: stage_last
48407 configure-stage1-target-libgcc: maybe-all-stage1-gcc
48408 configure-stage2-target-libgcc: maybe-all-stage2-gcc
48409 configure-stage3-target-libgcc: maybe-all-stage3-gcc
48410 configure-stage4-target-libgcc: maybe-all-stage4-gcc
48411 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
48412 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
48413 configure-target-libgfortran: stage_last
48414 configure-target-libobjc: stage_last
48415 configure-target-libtermcap: stage_last
48416 configure-target-winsup: stage_last
48417 configure-target-libgloss: stage_last
48418 configure-target-libiberty: stage_last
48419 configure-target-gperf: stage_last
48420 configure-target-examples: stage_last
48421 configure-target-libffi: stage_last
48422 configure-target-libjava: stage_last
48423 configure-target-zlib: stage_last
48424 configure-target-boehm-gc: stage_last
48425 configure-target-qthreads: stage_last
48426 configure-target-rda: stage_last
48427 configure-target-libada: stage_last
48428 configure-target-libgomp: stage_last
48429 @endif gcc-bootstrap
48431 @if gcc-no-bootstrap
48432 configure-target-libstdc++-v3: maybe-all-gcc
48433 configure-target-libmudflap: maybe-all-gcc
48434 configure-target-libssp: maybe-all-gcc
48435 configure-target-newlib: maybe-all-gcc
48436 configure-target-libgcc: maybe-all-gcc
48437 configure-target-libgfortran: maybe-all-gcc
48438 configure-target-libobjc: maybe-all-gcc
48439 configure-target-libtermcap: maybe-all-gcc
48440 configure-target-winsup: maybe-all-gcc
48441 configure-target-libgloss: maybe-all-gcc
48442 configure-target-libiberty: maybe-all-gcc
48443 configure-target-gperf: maybe-all-gcc
48444 configure-target-examples: maybe-all-gcc
48445 configure-target-libffi: maybe-all-gcc
48446 configure-target-libjava: maybe-all-gcc
48447 configure-target-zlib: maybe-all-gcc
48448 configure-target-boehm-gc: maybe-all-gcc
48449 configure-target-qthreads: maybe-all-gcc
48450 configure-target-rda: maybe-all-gcc
48451 configure-target-libada: maybe-all-gcc
48452 configure-target-libgomp: maybe-all-gcc
48453 @endif gcc-no-bootstrap
48456 # There are two types of dependencies here: 'hard' dependencies, where one
48457 # module simply won't build without the other; and 'soft' dependencies, where
48458 # if the depended-on module is missing, the depending module will do without
48459 # or find a substitute somewhere (perhaps installed). Soft dependencies
48460 # are made here to depend on a 'maybe-' target. If you're not sure,
48461 # it's safer to use a soft dependency.
48468 # With all the machinery above in place, it is pretty easy to generate
48469 # dependencies. Host dependencies are a bit more complex because we have
48470 # to check for bootstrap/prebootstrap dependencies. To resolve
48471 # prebootstrap dependencies, prebootstrap modules are gathered in
48472 # a hash table.
48473 all-build-bison: maybe-all-build-texinfo
48474 all-build-byacc: maybe-all-build-texinfo
48475 all-build-flex: maybe-all-build-texinfo
48476 all-build-flex: maybe-all-build-bison
48477 all-build-flex: maybe-all-build-byacc
48478 all-build-flex: maybe-all-build-m4
48479 all-build-libiberty: maybe-all-build-texinfo
48480 all-build-m4: maybe-all-build-texinfo
48481 all-build-fixincludes: maybe-all-build-libiberty
48482 configure-gcc: maybe-configure-intl
48484 configure-stage1-gcc: maybe-configure-stage1-intl
48485 configure-stage2-gcc: maybe-configure-stage2-intl
48486 configure-stage3-gcc: maybe-configure-stage3-intl
48487 configure-stage4-gcc: maybe-configure-stage4-intl
48488 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48489 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48490 configure-gcc: maybe-all-binutils
48492 configure-stage1-gcc: maybe-all-stage1-binutils
48493 configure-stage2-gcc: maybe-all-stage2-binutils
48494 configure-stage3-gcc: maybe-all-stage3-binutils
48495 configure-stage4-gcc: maybe-all-stage4-binutils
48496 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48497 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48498 configure-gcc: maybe-all-gas
48500 configure-stage1-gcc: maybe-all-stage1-gas
48501 configure-stage2-gcc: maybe-all-stage2-gas
48502 configure-stage3-gcc: maybe-all-stage3-gas
48503 configure-stage4-gcc: maybe-all-stage4-gas
48504 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48505 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48506 configure-gcc: maybe-all-ld
48508 configure-stage1-gcc: maybe-all-stage1-ld
48509 configure-stage2-gcc: maybe-all-stage2-ld
48510 configure-stage3-gcc: maybe-all-stage3-ld
48511 configure-stage4-gcc: maybe-all-stage4-ld
48512 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48513 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48514 all-gcc: all-libiberty
48516 all-stage1-gcc: all-stage1-libiberty
48517 all-stage2-gcc: all-stage2-libiberty
48518 all-stage3-gcc: all-stage3-libiberty
48519 all-stage4-gcc: all-stage4-libiberty
48520 all-stageprofile-gcc: all-stageprofile-libiberty
48521 all-stagefeedback-gcc: all-stagefeedback-libiberty
48522 all-gcc: maybe-all-gmp
48524 all-stage1-gcc: maybe-all-stage1-gmp
48525 all-stage2-gcc: maybe-all-stage2-gmp
48526 all-stage3-gcc: maybe-all-stage3-gmp
48527 all-stage4-gcc: maybe-all-stage4-gmp
48528 all-stageprofile-gcc: maybe-all-stageprofile-gmp
48529 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48530 all-gcc: maybe-all-intl
48532 all-stage1-gcc: maybe-all-stage1-intl
48533 all-stage2-gcc: maybe-all-stage2-intl
48534 all-stage3-gcc: maybe-all-stage3-intl
48535 all-stage4-gcc: maybe-all-stage4-intl
48536 all-stageprofile-gcc: maybe-all-stageprofile-intl
48537 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48538 all-gcc: maybe-all-mpfr
48540 all-stage1-gcc: maybe-all-stage1-mpfr
48541 all-stage2-gcc: maybe-all-stage2-mpfr
48542 all-stage3-gcc: maybe-all-stage3-mpfr
48543 all-stage4-gcc: maybe-all-stage4-mpfr
48544 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48545 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48546 all-gcc: maybe-all-build-texinfo
48548 all-stage1-gcc: maybe-all-build-texinfo
48549 all-stage2-gcc: maybe-all-build-texinfo
48550 all-stage3-gcc: maybe-all-build-texinfo
48551 all-stage4-gcc: maybe-all-build-texinfo
48552 all-stageprofile-gcc: maybe-all-build-texinfo
48553 all-stagefeedback-gcc: maybe-all-build-texinfo
48554 all-gcc: maybe-all-build-bison
48556 all-stage1-gcc: maybe-all-build-bison
48557 all-stage2-gcc: maybe-all-build-bison
48558 all-stage3-gcc: maybe-all-build-bison
48559 all-stage4-gcc: maybe-all-build-bison
48560 all-stageprofile-gcc: maybe-all-build-bison
48561 all-stagefeedback-gcc: maybe-all-build-bison
48562 all-gcc: maybe-all-build-byacc
48564 all-stage1-gcc: maybe-all-build-byacc
48565 all-stage2-gcc: maybe-all-build-byacc
48566 all-stage3-gcc: maybe-all-build-byacc
48567 all-stage4-gcc: maybe-all-build-byacc
48568 all-stageprofile-gcc: maybe-all-build-byacc
48569 all-stagefeedback-gcc: maybe-all-build-byacc
48570 all-gcc: maybe-all-build-flex
48572 all-stage1-gcc: maybe-all-build-flex
48573 all-stage2-gcc: maybe-all-build-flex
48574 all-stage3-gcc: maybe-all-build-flex
48575 all-stage4-gcc: maybe-all-build-flex
48576 all-stageprofile-gcc: maybe-all-build-flex
48577 all-stagefeedback-gcc: maybe-all-build-flex
48578 all-gcc: maybe-all-build-libiberty
48580 all-stage1-gcc: maybe-all-build-libiberty
48581 all-stage2-gcc: maybe-all-build-libiberty
48582 all-stage3-gcc: maybe-all-build-libiberty
48583 all-stage4-gcc: maybe-all-build-libiberty
48584 all-stageprofile-gcc: maybe-all-build-libiberty
48585 all-stagefeedback-gcc: maybe-all-build-libiberty
48586 all-gcc: maybe-all-build-fixincludes
48588 all-stage1-gcc: maybe-all-build-fixincludes
48589 all-stage2-gcc: maybe-all-build-fixincludes
48590 all-stage3-gcc: maybe-all-build-fixincludes
48591 all-stage4-gcc: maybe-all-build-fixincludes
48592 all-stageprofile-gcc: maybe-all-build-fixincludes
48593 all-stagefeedback-gcc: maybe-all-build-fixincludes
48594 all-gcc: maybe-all-zlib
48596 all-stage1-gcc: maybe-all-stage1-zlib
48597 all-stage2-gcc: maybe-all-stage2-zlib
48598 all-stage3-gcc: maybe-all-stage3-zlib
48599 all-stage4-gcc: maybe-all-stage4-zlib
48600 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48601 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48602 all-gcc: all-libcpp
48604 all-stage1-gcc: all-stage1-libcpp
48605 all-stage2-gcc: all-stage2-libcpp
48606 all-stage3-gcc: all-stage3-libcpp
48607 all-stage4-gcc: all-stage4-libcpp
48608 all-stageprofile-gcc: all-stageprofile-libcpp
48609 all-stagefeedback-gcc: all-stagefeedback-libcpp
48610 all-gcc: all-libdecnumber
48612 all-stage1-gcc: all-stage1-libdecnumber
48613 all-stage2-gcc: all-stage2-libdecnumber
48614 all-stage3-gcc: all-stage3-libdecnumber
48615 all-stage4-gcc: all-stage4-libdecnumber
48616 all-stageprofile-gcc: all-stageprofile-libdecnumber
48617 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48618 all-gcc: maybe-all-libiberty
48620 all-stage1-gcc: maybe-all-stage1-libiberty
48621 all-stage2-gcc: maybe-all-stage2-libiberty
48622 all-stage3-gcc: maybe-all-stage3-libiberty
48623 all-stage4-gcc: maybe-all-stage4-libiberty
48624 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48625 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48626 all-gcc: maybe-all-fixincludes
48627 install-gcc: maybe-install-fixincludes
48628 configure-libcpp: configure-libiberty
48630 configure-stage1-libcpp: configure-stage1-libiberty
48631 configure-stage2-libcpp: configure-stage2-libiberty
48632 configure-stage3-libcpp: configure-stage3-libiberty
48633 configure-stage4-libcpp: configure-stage4-libiberty
48634 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48635 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48636 configure-libcpp: maybe-configure-intl
48638 configure-stage1-libcpp: maybe-configure-stage1-intl
48639 configure-stage2-libcpp: maybe-configure-stage2-intl
48640 configure-stage3-libcpp: maybe-configure-stage3-intl
48641 configure-stage4-libcpp: maybe-configure-stage4-intl
48642 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48643 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48644 all-libcpp: all-libiberty
48646 all-stage1-libcpp: all-stage1-libiberty
48647 all-stage2-libcpp: all-stage2-libiberty
48648 all-stage3-libcpp: all-stage3-libiberty
48649 all-stage4-libcpp: all-stage4-libiberty
48650 all-stageprofile-libcpp: all-stageprofile-libiberty
48651 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48652 all-libcpp: maybe-all-intl
48654 all-stage1-libcpp: maybe-all-stage1-intl
48655 all-stage2-libcpp: maybe-all-stage2-intl
48656 all-stage3-libcpp: maybe-all-stage3-intl
48657 all-stage4-libcpp: maybe-all-stage4-intl
48658 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48659 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48660 all-fixincludes: maybe-all-libiberty
48661 all-gnattools: maybe-all-target-libada
48662 configure-mpfr: maybe-all-gmp
48664 configure-stage1-mpfr: maybe-all-stage1-gmp
48665 configure-stage2-mpfr: maybe-all-stage2-gmp
48666 configure-stage3-mpfr: maybe-all-stage3-gmp
48667 configure-stage4-mpfr: maybe-all-stage4-gmp
48668 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48669 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48670 configure-gdb: maybe-configure-intl
48671 configure-gdb: maybe-configure-sim
48672 all-gdb: maybe-all-intl
48673 all-gdb: maybe-all-libiberty
48674 all-gdb: maybe-all-opcodes
48675 all-gdb: maybe-all-bfd
48676 all-gdb: maybe-all-readline
48677 all-gdb: maybe-all-build-bison
48678 all-gdb: maybe-all-build-byacc
48679 all-gdb: maybe-all-sim
48680 configure-libgui: maybe-configure-tcl
48681 configure-libgui: maybe-configure-tk
48682 all-libgui: maybe-all-tcl
48683 all-libgui: maybe-all-tk
48684 all-libgui: maybe-all-itcl
48685 configure-bfd: configure-libiberty
48687 configure-stage1-bfd: configure-stage1-libiberty
48688 configure-stage2-bfd: configure-stage2-libiberty
48689 configure-stage3-bfd: configure-stage3-libiberty
48690 configure-stage4-bfd: configure-stage4-libiberty
48691 configure-stageprofile-bfd: configure-stageprofile-libiberty
48692 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48693 configure-bfd: maybe-configure-intl
48695 configure-stage1-bfd: maybe-configure-stage1-intl
48696 configure-stage2-bfd: maybe-configure-stage2-intl
48697 configure-stage3-bfd: maybe-configure-stage3-intl
48698 configure-stage4-bfd: maybe-configure-stage4-intl
48699 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48700 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48701 all-bfd: maybe-all-libiberty
48703 all-stage1-bfd: maybe-all-stage1-libiberty
48704 all-stage2-bfd: maybe-all-stage2-libiberty
48705 all-stage3-bfd: maybe-all-stage3-libiberty
48706 all-stage4-bfd: maybe-all-stage4-libiberty
48707 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48708 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48709 all-bfd: maybe-all-intl
48711 all-stage1-bfd: maybe-all-stage1-intl
48712 all-stage2-bfd: maybe-all-stage2-intl
48713 all-stage3-bfd: maybe-all-stage3-intl
48714 all-stage4-bfd: maybe-all-stage4-intl
48715 all-stageprofile-bfd: maybe-all-stageprofile-intl
48716 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48717 configure-binutils: maybe-configure-intl
48719 configure-stage1-binutils: maybe-configure-stage1-intl
48720 configure-stage2-binutils: maybe-configure-stage2-intl
48721 configure-stage3-binutils: maybe-configure-stage3-intl
48722 configure-stage4-binutils: maybe-configure-stage4-intl
48723 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48724 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48725 all-binutils: maybe-all-libiberty
48727 all-stage1-binutils: maybe-all-stage1-libiberty
48728 all-stage2-binutils: maybe-all-stage2-libiberty
48729 all-stage3-binutils: maybe-all-stage3-libiberty
48730 all-stage4-binutils: maybe-all-stage4-libiberty
48731 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48732 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48733 all-binutils: maybe-all-opcodes
48735 all-stage1-binutils: maybe-all-stage1-opcodes
48736 all-stage2-binutils: maybe-all-stage2-opcodes
48737 all-stage3-binutils: maybe-all-stage3-opcodes
48738 all-stage4-binutils: maybe-all-stage4-opcodes
48739 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48740 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48741 all-binutils: maybe-all-bfd
48743 all-stage1-binutils: maybe-all-stage1-bfd
48744 all-stage2-binutils: maybe-all-stage2-bfd
48745 all-stage3-binutils: maybe-all-stage3-bfd
48746 all-stage4-binutils: maybe-all-stage4-bfd
48747 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48748 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48749 all-binutils: maybe-all-build-flex
48751 all-stage1-binutils: maybe-all-build-flex
48752 all-stage2-binutils: maybe-all-build-flex
48753 all-stage3-binutils: maybe-all-build-flex
48754 all-stage4-binutils: maybe-all-build-flex
48755 all-stageprofile-binutils: maybe-all-build-flex
48756 all-stagefeedback-binutils: maybe-all-build-flex
48757 all-binutils: maybe-all-build-bison
48759 all-stage1-binutils: maybe-all-build-bison
48760 all-stage2-binutils: maybe-all-build-bison
48761 all-stage3-binutils: maybe-all-build-bison
48762 all-stage4-binutils: maybe-all-build-bison
48763 all-stageprofile-binutils: maybe-all-build-bison
48764 all-stagefeedback-binutils: maybe-all-build-bison
48765 all-binutils: maybe-all-build-byacc
48767 all-stage1-binutils: maybe-all-build-byacc
48768 all-stage2-binutils: maybe-all-build-byacc
48769 all-stage3-binutils: maybe-all-build-byacc
48770 all-stage4-binutils: maybe-all-build-byacc
48771 all-stageprofile-binutils: maybe-all-build-byacc
48772 all-stagefeedback-binutils: maybe-all-build-byacc
48773 all-binutils: maybe-all-intl
48775 all-stage1-binutils: maybe-all-stage1-intl
48776 all-stage2-binutils: maybe-all-stage2-intl
48777 all-stage3-binutils: maybe-all-stage3-intl
48778 all-stage4-binutils: maybe-all-stage4-intl
48779 all-stageprofile-binutils: maybe-all-stageprofile-intl
48780 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48781 install-binutils: maybe-install-opcodes
48782 install-opcodes: maybe-install-bfd
48783 configure-gas: maybe-configure-intl
48785 configure-stage1-gas: maybe-configure-stage1-intl
48786 configure-stage2-gas: maybe-configure-stage2-intl
48787 configure-stage3-gas: maybe-configure-stage3-intl
48788 configure-stage4-gas: maybe-configure-stage4-intl
48789 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48790 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48791 all-gas: maybe-all-libiberty
48793 all-stage1-gas: maybe-all-stage1-libiberty
48794 all-stage2-gas: maybe-all-stage2-libiberty
48795 all-stage3-gas: maybe-all-stage3-libiberty
48796 all-stage4-gas: maybe-all-stage4-libiberty
48797 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48798 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48799 all-gas: maybe-all-opcodes
48801 all-stage1-gas: maybe-all-stage1-opcodes
48802 all-stage2-gas: maybe-all-stage2-opcodes
48803 all-stage3-gas: maybe-all-stage3-opcodes
48804 all-stage4-gas: maybe-all-stage4-opcodes
48805 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48806 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48807 all-gas: maybe-all-bfd
48809 all-stage1-gas: maybe-all-stage1-bfd
48810 all-stage2-gas: maybe-all-stage2-bfd
48811 all-stage3-gas: maybe-all-stage3-bfd
48812 all-stage4-gas: maybe-all-stage4-bfd
48813 all-stageprofile-gas: maybe-all-stageprofile-bfd
48814 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48815 all-gas: maybe-all-intl
48817 all-stage1-gas: maybe-all-stage1-intl
48818 all-stage2-gas: maybe-all-stage2-intl
48819 all-stage3-gas: maybe-all-stage3-intl
48820 all-stage4-gas: maybe-all-stage4-intl
48821 all-stageprofile-gas: maybe-all-stageprofile-intl
48822 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48823 configure-gprof: maybe-configure-intl
48824 all-gprof: maybe-all-libiberty
48825 all-gprof: maybe-all-bfd
48826 all-gprof: maybe-all-opcodes
48827 all-gprof: maybe-all-intl
48828 configure-ld: maybe-configure-intl
48830 configure-stage1-ld: maybe-configure-stage1-intl
48831 configure-stage2-ld: maybe-configure-stage2-intl
48832 configure-stage3-ld: maybe-configure-stage3-intl
48833 configure-stage4-ld: maybe-configure-stage4-intl
48834 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48835 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48836 all-ld: maybe-all-libiberty
48838 all-stage1-ld: maybe-all-stage1-libiberty
48839 all-stage2-ld: maybe-all-stage2-libiberty
48840 all-stage3-ld: maybe-all-stage3-libiberty
48841 all-stage4-ld: maybe-all-stage4-libiberty
48842 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48843 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48844 all-ld: maybe-all-bfd
48846 all-stage1-ld: maybe-all-stage1-bfd
48847 all-stage2-ld: maybe-all-stage2-bfd
48848 all-stage3-ld: maybe-all-stage3-bfd
48849 all-stage4-ld: maybe-all-stage4-bfd
48850 all-stageprofile-ld: maybe-all-stageprofile-bfd
48851 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48852 all-ld: maybe-all-opcodes
48854 all-stage1-ld: maybe-all-stage1-opcodes
48855 all-stage2-ld: maybe-all-stage2-opcodes
48856 all-stage3-ld: maybe-all-stage3-opcodes
48857 all-stage4-ld: maybe-all-stage4-opcodes
48858 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48859 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48860 all-ld: maybe-all-build-bison
48862 all-stage1-ld: maybe-all-build-bison
48863 all-stage2-ld: maybe-all-build-bison
48864 all-stage3-ld: maybe-all-build-bison
48865 all-stage4-ld: maybe-all-build-bison
48866 all-stageprofile-ld: maybe-all-build-bison
48867 all-stagefeedback-ld: maybe-all-build-bison
48868 all-ld: maybe-all-build-byacc
48870 all-stage1-ld: maybe-all-build-byacc
48871 all-stage2-ld: maybe-all-build-byacc
48872 all-stage3-ld: maybe-all-build-byacc
48873 all-stage4-ld: maybe-all-build-byacc
48874 all-stageprofile-ld: maybe-all-build-byacc
48875 all-stagefeedback-ld: maybe-all-build-byacc
48876 all-ld: maybe-all-build-flex
48878 all-stage1-ld: maybe-all-build-flex
48879 all-stage2-ld: maybe-all-build-flex
48880 all-stage3-ld: maybe-all-build-flex
48881 all-stage4-ld: maybe-all-build-flex
48882 all-stageprofile-ld: maybe-all-build-flex
48883 all-stagefeedback-ld: maybe-all-build-flex
48884 all-ld: maybe-all-intl
48886 all-stage1-ld: maybe-all-stage1-intl
48887 all-stage2-ld: maybe-all-stage2-intl
48888 all-stage3-ld: maybe-all-stage3-intl
48889 all-stage4-ld: maybe-all-stage4-intl
48890 all-stageprofile-ld: maybe-all-stageprofile-intl
48891 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48892 configure-opcodes: maybe-configure-intl
48894 configure-stage1-opcodes: maybe-configure-stage1-intl
48895 configure-stage2-opcodes: maybe-configure-stage2-intl
48896 configure-stage3-opcodes: maybe-configure-stage3-intl
48897 configure-stage4-opcodes: maybe-configure-stage4-intl
48898 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48899 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48900 all-opcodes: maybe-all-bfd
48902 all-stage1-opcodes: maybe-all-stage1-bfd
48903 all-stage2-opcodes: maybe-all-stage2-bfd
48904 all-stage3-opcodes: maybe-all-stage3-bfd
48905 all-stage4-opcodes: maybe-all-stage4-bfd
48906 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48907 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48908 all-opcodes: maybe-all-libiberty
48910 all-stage1-opcodes: maybe-all-stage1-libiberty
48911 all-stage2-opcodes: maybe-all-stage2-libiberty
48912 all-stage3-opcodes: maybe-all-stage3-libiberty
48913 all-stage4-opcodes: maybe-all-stage4-libiberty
48914 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48915 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48916 all-opcodes: maybe-all-intl
48918 all-stage1-opcodes: maybe-all-stage1-intl
48919 all-stage2-opcodes: maybe-all-stage2-intl
48920 all-stage3-opcodes: maybe-all-stage3-intl
48921 all-stage4-opcodes: maybe-all-stage4-intl
48922 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48923 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48924 all-dejagnu: maybe-all-tcl
48925 all-dejagnu: maybe-all-expect
48926 all-dejagnu: maybe-all-tk
48927 configure-expect: maybe-configure-tcl
48928 configure-expect: maybe-configure-tk
48929 all-expect: maybe-all-tcl
48930 all-expect: maybe-all-tk
48931 configure-itcl: maybe-configure-tcl
48932 configure-itcl: maybe-configure-tk
48933 all-itcl: maybe-all-tcl
48934 all-itcl: maybe-all-tk
48935 install-itcl: maybe-install-tcl
48936 configure-tk: maybe-configure-tcl
48937 all-tk: maybe-all-tcl
48938 all-sid: maybe-all-libiberty
48939 all-sid: maybe-all-bfd
48940 all-sid: maybe-all-opcodes
48941 all-sid: maybe-all-tcl
48942 all-sid: maybe-all-tk
48943 install-sid: maybe-install-tcl
48944 install-sid: maybe-install-tk
48945 configure-sim: maybe-configure-intl
48946 all-sim: maybe-all-intl
48947 all-sim: maybe-all-libiberty
48948 all-sim: maybe-all-bfd
48949 all-sim: maybe-all-opcodes
48950 all-sim: maybe-all-readline
48951 all-sim: maybe-configure-gdb
48952 all-fastjar: maybe-all-zlib
48953 all-fastjar: maybe-all-build-texinfo
48954 all-fastjar: maybe-all-libiberty
48955 all-autoconf: maybe-all-m4
48956 all-autoconf: maybe-all-build-texinfo
48957 all-automake: maybe-all-m4
48958 all-automake: maybe-all-build-texinfo
48959 all-automake: maybe-all-autoconf
48960 all-bison: maybe-all-intl
48961 all-bison: maybe-all-build-texinfo
48962 all-diff: maybe-all-intl
48963 all-diff: maybe-all-build-texinfo
48964 all-fileutils: maybe-all-intl
48965 all-fileutils: maybe-all-build-texinfo
48966 all-flex: maybe-all-build-bison
48967 all-flex: maybe-all-build-byacc
48968 all-flex: maybe-all-intl
48969 all-flex: maybe-all-m4
48970 all-flex: maybe-all-build-texinfo
48971 all-gzip: maybe-all-intl
48972 all-gzip: maybe-all-zlib
48973 all-gzip: maybe-all-build-texinfo
48974 all-hello: maybe-all-intl
48975 all-hello: maybe-all-build-texinfo
48976 all-m4: maybe-all-intl
48977 all-m4: maybe-all-build-texinfo
48978 all-make: maybe-all-intl
48979 all-make: maybe-all-build-texinfo
48980 all-patch: maybe-all-build-texinfo
48981 all-make: maybe-all-build-texinfo
48982 all-prms: maybe-all-libiberty
48983 all-recode: maybe-all-build-texinfo
48984 all-sed: maybe-all-build-texinfo
48985 all-send-pr: maybe-all-prms
48986 all-tar: maybe-all-build-texinfo
48987 all-uudecode: maybe-all-build-texinfo
48988 configure-target-boehm-gc: maybe-configure-target-qthreads
48989 configure-target-fastjar: maybe-configure-target-zlib
48990 all-target-fastjar: maybe-all-target-zlib
48991 all-target-fastjar: maybe-all-target-libiberty
48992 configure-target-libjava: maybe-configure-target-zlib
48993 configure-target-libjava: maybe-configure-target-boehm-gc
48994 configure-target-libjava: maybe-configure-target-qthreads
48995 configure-target-libjava: maybe-configure-target-libffi
48996 all-target-libjava: maybe-all-fastjar
48997 all-target-libjava: maybe-all-target-zlib
48998 all-target-libjava: maybe-all-target-boehm-gc
48999 all-target-libjava: maybe-all-target-qthreads
49000 all-target-libjava: maybe-all-target-libffi
49001 configure-target-libobjc: maybe-configure-target-boehm-gc
49002 all-target-libobjc: maybe-all-target-libiberty
49003 all-target-libobjc: maybe-all-target-boehm-gc
49004 all-target-libstdc++-v3: maybe-all-target-libiberty
49005 all-target-libgloss: maybe-configure-target-newlib
49006 all-target-winsup: maybe-all-target-libiberty
49007 all-target-winsup: maybe-all-target-libtermcap
49010 # Dependencies for target modules on other target modules are
49011 # described by lang_env_dependencies; the defaults apply to anything
49012 # not mentioned there.
49015 @if gcc-bootstrap
49016 @endif gcc-bootstrap
49018 @if gcc-no-bootstrap
49019 configure-target-libstdc++-v3: maybe-all-target-libgcc
49020 configure-target-libmudflap: maybe-all-target-libgcc
49021 configure-target-libssp: maybe-all-target-libgcc
49022 configure-target-newlib: maybe-all-target-libgcc
49023 configure-target-libgfortran: maybe-all-target-libgcc
49024 configure-target-libobjc: maybe-all-target-libgcc
49025 configure-target-libtermcap: maybe-all-target-libgcc
49026 configure-target-winsup: maybe-all-target-libgcc
49027 configure-target-libgloss: maybe-all-target-libgcc
49028 configure-target-libiberty: maybe-all-target-libgcc
49029 configure-target-gperf: maybe-all-target-libgcc
49030 configure-target-examples: maybe-all-target-libgcc
49031 configure-target-libffi: maybe-all-target-libgcc
49032 configure-target-libjava: maybe-all-target-libgcc
49033 configure-target-zlib: maybe-all-target-libgcc
49034 configure-target-boehm-gc: maybe-all-target-libgcc
49035 configure-target-qthreads: maybe-all-target-libgcc
49036 configure-target-rda: maybe-all-target-libgcc
49037 configure-target-libada: maybe-all-target-libgcc
49038 configure-target-libgomp: maybe-all-target-libgcc
49039 @endif gcc-no-bootstrap
49042 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
49044 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
49046 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
49050 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
49052 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
49054 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
49056 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
49060 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
49061 configure-target-gperf: maybe-all-target-libstdc++-v3
49063 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
49065 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
49067 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
49068 configure-target-libjava: maybe-all-target-libstdc++-v3
49070 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
49072 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
49074 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
49076 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
49078 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
49080 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
49083 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
49084 GDB_TK = @GDB_TK@
49085 INSTALL_GDB_TK = @INSTALL_GDB_TK@
49086 configure-gdb: $(CONFIGURE_GDB_TK)
49087 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
49088 install-gdb: $(INSTALL_GDB_TK)
49090 # Serialization dependencies. Host configures don't work well in parallel to
49091 # each other, due to contention over config.cache. Target configures and
49092 # build configures are similar.
49093 @serialization_dependencies@
49095 # --------------------------------
49096 # Regenerating top level configury
49097 # --------------------------------
49099 # Rebuilding Makefile.in, using autogen.
49100 AUTOGEN = autogen
49101 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
49102 cd $(srcdir) && $(AUTOGEN) Makefile.def
49104 # Rebuilding Makefile.
49105 Makefile: $(srcdir)/Makefile.in config.status
49106 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
49108 config.status: configure
49109 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
49111 # Rebuilding configure.
49112 AUTOCONF = autoconf
49113 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4
49114 cd $(srcdir) && $(AUTOCONF)
49116 # ------------------------------
49117 # Special directives to GNU Make
49118 # ------------------------------
49120 # Don't pass command-line variables to submakes.
49121 .NOEXPORT:
49122 MAKEOVERRIDES=
49124 # end of Makefile.in