2007-02-05 Dave Brolley <brolley@redhat.com>
[binutils.git] / Makefile.in
blob060575b2c64a25d11b8af9f1f4580aee8759b65d
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_alias@
29 build_vendor=@build_vendor@
30 build_os=@build_os@
31 build=@build@
32 host_alias=@host_alias@
33 host_vendor=@host_vendor@
34 host_os=@host_os@
35 host=@host@
36 target_alias=@target_alias@
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 htmldir = @htmldir@
62 mandir = @mandir@
63 man1dir = $(mandir)/man1
64 man2dir = $(mandir)/man2
65 man3dir = $(mandir)/man3
66 man4dir = $(mandir)/man4
67 man5dir = $(mandir)/man5
68 man6dir = $(mandir)/man6
69 man7dir = $(mandir)/man7
70 man8dir = $(mandir)/man8
71 man9dir = $(mandir)/man9
73 INSTALL = @INSTALL@
74 INSTALL_PROGRAM = @INSTALL_PROGRAM@
75 INSTALL_SCRIPT = @INSTALL_SCRIPT@
76 INSTALL_DATA = @INSTALL_DATA@
77 LN = @LN@
78 LN_S = @LN_S@
79 MAINT = @MAINT@
80 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
81 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
83 # -------------------------------------------------
84 # Miscellaneous non-standard autoconf-set variables
85 # -------------------------------------------------
87 # The gcc driver likes to know the arguments it was configured with.
88 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
90 tooldir = @tooldir@
91 build_tooldir = @build_tooldir@
93 GDB_NLM_DEPS =
95 # This is the name of the environment variable used for the path to
96 # the libraries.
97 RPATH_ENVVAR = @RPATH_ENVVAR@
99 # Build programs are put under this directory.
100 BUILD_SUBDIR = @build_subdir@
101 # This is set by the configure script to the arguments to use when configuring
102 # directories built for the build system.
103 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
105 # This is the list of variables to export in the environment when
106 # configuring any subdirectory. It must also be exported whenever
107 # recursing into a build directory in case that directory's Makefile
108 # re-runs configure.
109 BASE_EXPORTS = \
110 FLEX="$(FLEX)"; export FLEX; \
111 LEX="$(LEX)"; export LEX; \
112 BISON="$(BISON)"; export BISON; \
113 YACC="$(YACC)"; export YACC; \
114 M4="$(M4)"; export M4; \
115 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
117 # This is the list of variables to export in the environment when
118 # configuring subdirectories for the build system.
119 BUILD_EXPORTS = \
120 $(BASE_EXPORTS) \
121 AR="$(AR_FOR_BUILD)"; export AR; \
122 AS="$(AS_FOR_BUILD)"; export AS; \
123 CC="$(CC_FOR_BUILD)"; export CC; \
124 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
125 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
126 CXX="$(CXX_FOR_BUILD)"; export CXX; \
127 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
128 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
129 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
130 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
131 LD="$(LD_FOR_BUILD)"; export LD; \
132 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
133 NM="$(NM_FOR_BUILD)"; export NM; \
134 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
135 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
137 # This is the list of directories to built for the host system.
138 SUBDIRS = @configdirs@
139 # This is set by the configure script to the arguments to use when configuring
140 # directories built for the host system.
141 HOST_CONFIGARGS = @host_configargs@
142 # Host programs are put under this directory, which is . except if building
143 # with srcdir=..
144 HOST_SUBDIR = @host_subdir@
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the host system. We need to pass
147 # some to the GCC configure because of its hybrid host/target nature.
148 HOST_EXPORTS = \
149 $(BASE_EXPORTS) \
150 CC="$(CC)"; export CC; \
151 CFLAGS="$(CFLAGS)"; export CFLAGS; \
152 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
153 CXX="$(CXX)"; export CXX; \
154 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
155 AR="$(AR)"; export AR; \
156 AS="$(AS)"; export AS; \
157 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
158 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
159 LD="$(LD)"; export LD; \
160 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
161 NM="$(NM)"; export NM; \
162 RANLIB="$(RANLIB)"; export RANLIB; \
163 WINDRES="$(WINDRES)"; export WINDRES; \
164 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
165 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
166 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
167 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
168 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
169 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
170 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
171 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
172 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
173 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
174 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
175 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
176 @if gcc-bootstrap
177 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
178 @endif gcc-bootstrap
179 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
181 # Similar, for later GCC stages.
182 POSTSTAGE1_HOST_EXPORTS = \
183 $(HOST_EXPORTS) \
184 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
185 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
186 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
187 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
188 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
189 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
190 CFLAGS="$(BOOT_CFLAGS)"; export CFLAGS; \
191 LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
193 # Target libraries are put under this directory:
194 TARGET_SUBDIR = @target_subdir@
195 # This is set by the configure script to the arguments to use when configuring
196 # directories built for the target.
197 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
198 # This is the list of variables to export in the environment when
199 # configuring subdirectories for the host system.
200 BASE_TARGET_EXPORTS = \
201 $(BASE_EXPORTS) \
202 AR="$(AR_FOR_TARGET)"; export AR; \
203 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
204 CC="$(CC_FOR_TARGET)"; export CC; \
205 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
206 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
207 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
208 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
209 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
210 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
211 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
212 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
213 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
214 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
215 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
216 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
217 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
218 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
219 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
220 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
222 RAW_CXX_TARGET_EXPORTS = \
223 $(BASE_TARGET_EXPORTS) \
224 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
225 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
227 NORMAL_TARGET_EXPORTS = \
228 $(BASE_TARGET_EXPORTS) \
229 CXX="$(CXX_FOR_TARGET)"; export CXX;
231 # Where to find GMP
232 HOST_GMPLIBS = @gmplibs@
233 HOST_GMPINC = @gmpinc@
235 # ----------------------------------------------
236 # Programs producing files for the BUILD machine
237 # ----------------------------------------------
239 SHELL = @config_shell@
241 # pwd command to use. Allow user to override default by setting PWDCMD in
242 # the environment to account for automounters. The make variable must not
243 # be called PWDCMD, otherwise the value set here is passed to make
244 # subprocesses and overrides the setting from the user's environment.
245 # Don't use PWD since it is a common shell environment variable and we
246 # don't want to corrupt it.
247 PWD_COMMAND = $${PWDCMD-pwd}
249 # compilers to use to create programs which must be run in the build
250 # environment.
251 CC_FOR_BUILD = @CC_FOR_BUILD@
252 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
254 CXX_FOR_BUILD = $(CXX)
256 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
257 # here so that they can be overridden by Makefile fragments.
258 BUILD_PREFIX = @BUILD_PREFIX@
259 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
261 # Flags to pass to stage2 and later makes. They are defined
262 # here so that they can be overridden by Makefile fragments.
263 BOOT_CFLAGS= -g -O2
264 BOOT_LDFLAGS=
266 BISON = @BISON@
267 YACC = @YACC@
268 FLEX = @FLEX@
269 LEX = @LEX@
270 M4 = @M4@
271 MAKEINFO = @MAKEINFO@
272 EXPECT = @EXPECT@
273 RUNTEST = @RUNTEST@
275 # This just becomes part of the MAKEINFO definition passed down to
276 # sub-makes. It lets flags be given on the command line while still
277 # using the makeinfo from the object tree.
278 # (Default to avoid splitting info files by setting the threshold high.)
279 MAKEINFOFLAGS = --split-size=5000000
281 # ---------------------------------------------
282 # Programs producing files for the HOST machine
283 # ---------------------------------------------
285 AS = @AS@
286 AR = @AR@
287 AR_FLAGS = rc
288 CC = @CC@
289 CXX = @CXX@
290 DLLTOOL = @DLLTOOL@
291 LD = @LD@
292 LIPO = @LIPO@
293 NM = @NM@
294 OBJDUMP = @OBJDUMP@
295 RANLIB = @RANLIB@
296 STRIP = @STRIP@
297 WINDRES = @WINDRES@
299 CFLAGS = @CFLAGS@
300 LDFLAGS = @LDFLAGS@
301 LIBCFLAGS = $(CFLAGS)
302 CXXFLAGS = @CXXFLAGS@
303 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
304 PICFLAG =
306 # Only build the C compiler for stage1, because that is the only one that
307 # we can guarantee will build with the native compiler, and also it is the
308 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
309 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
310 # overrideable (for a bootstrap build stage1 also builds gcc.info).
312 STAGE1_CFLAGS=@stage1_cflags@
313 STAGE1_CHECKING=@stage1_checking@
314 STAGE1_LANGUAGES=@stage1_languages@
316 # -----------------------------------------------
317 # Programs producing files for the TARGET machine
318 # -----------------------------------------------
320 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
322 AR_FOR_TARGET=@AR_FOR_TARGET@
323 AS_FOR_TARGET=@AS_FOR_TARGET@
324 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
326 # If GCC_FOR_TARGET is not overriden on the command line, then this
327 # variable is passed down to the gcc Makefile, where it is used to
328 # build libgcc2.a. We define it here so that it can itself be
329 # overridden on the command line.
330 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
331 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
332 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
333 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
334 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
335 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
336 LD_FOR_TARGET=@LD_FOR_TARGET@
338 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
339 NM_FOR_TARGET=@NM_FOR_TARGET@
340 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
341 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
342 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
343 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
345 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
346 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
347 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
349 # During gcc bootstrap, if we use some random cc for stage1 then
350 # CFLAGS will be just -g. We want to ensure that TARGET libraries
351 # (which we know are built with gcc) are built with optimizations so
352 # prepend -O2 when setting CFLAGS_FOR_TARGET.
353 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
354 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
355 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
356 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
357 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
358 LDFLAGS_FOR_TARGET =
359 PICFLAG_FOR_TARGET =
361 # ------------------------------------
362 # Miscellaneous targets and flag lists
363 # ------------------------------------
365 # The first rule in the file had better be this one. Don't put any above it.
366 # This lives here to allow makefile fragments to contain dependencies.
367 all:
369 #### host and target specific makefile fragments come in here.
370 @target_makefile_frag@
371 @alphaieee_frag@
372 @ospace_frag@
373 @host_makefile_frag@
376 # This is the list of directories that may be needed in RPATH_ENVVAR
377 # so that prorgams built for the target machine work.
378 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
380 @if target-libstdc++-v3
381 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
382 @endif target-libstdc++-v3
384 @if target-libmudflap
385 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
386 @endif target-libmudflap
388 @if target-libssp
389 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
390 @endif target-libssp
392 @if target-libgomp
393 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
394 @endif target-libgomp
398 # This is the list of directories that may be needed in RPATH_ENVVAR
399 # so that programs built for the host machine work.
400 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)
402 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
403 @if gcc
404 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
405 @endif gcc
408 @if bfd
409 HOST_LIB_PATH_bfd = \
410 $$r/$(HOST_SUBDIR)/bfd/.libs:$$r/$(HOST_SUBDIR)/prev-bfd/.libs:
411 @endif bfd
413 @if opcodes
414 HOST_LIB_PATH_opcodes = \
415 $$r/$(HOST_SUBDIR)/opcodes/.libs:$$r/$(HOST_SUBDIR)/prev-opcodes/.libs:
416 @endif opcodes
418 @if gmp
419 HOST_LIB_PATH_gmp = \
420 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
421 @endif gmp
423 @if mpfr
424 HOST_LIB_PATH_mpfr = \
425 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
426 @endif mpfr
429 # Flags to pass down to all sub-makes.
430 BASE_FLAGS_TO_PASS = \
431 "DESTDIR=$(DESTDIR)" \
432 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
433 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
434 "bindir=$(bindir)" \
435 "datadir=$(datadir)" \
436 "exec_prefix=$(exec_prefix)" \
437 "includedir=$(includedir)" \
438 "datarootdir=$(datarootdir)" \
439 "docdir=$(docdir)" \
440 "infodir=$(infodir)" \
441 "htmldir=$(htmldir)" \
442 "libdir=$(libdir)" \
443 "libexecdir=$(libexecdir)" \
444 "lispdir=$(lispdir)" \
445 "localstatedir=$(localstatedir)" \
446 "mandir=$(mandir)" \
447 "oldincludedir=$(oldincludedir)" \
448 "prefix=$(prefix)" \
449 "sbindir=$(sbindir)" \
450 "sharedstatedir=$(sharedstatedir)" \
451 "sysconfdir=$(sysconfdir)" \
452 "tooldir=$(tooldir)" \
453 "build_tooldir=$(build_tooldir)" \
454 "target_alias=$(target_alias)" \
455 "BISON=$(BISON)" \
456 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
457 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
458 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
459 "EXPECT=$(EXPECT)" \
460 "FLEX=$(FLEX)" \
461 "INSTALL=$(INSTALL)" \
462 "INSTALL_DATA=$(INSTALL_DATA)" \
463 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
464 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
465 "LEX=$(LEX)" \
466 "M4=$(M4)" \
467 "MAKE=$(MAKE)" \
468 "RUNTEST=$(RUNTEST)" \
469 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
470 "SHELL=$(SHELL)" \
471 "YACC=$(YACC)" \
472 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
473 "AR_FLAGS=$(AR_FLAGS)" \
474 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
475 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
476 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
477 "CFLAGS=$(CFLAGS)" \
478 "CXXFLAGS=$(CXXFLAGS)" \
479 "LDFLAGS=$(LDFLAGS)" \
480 "LIBCFLAGS=$(LIBCFLAGS)" \
481 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
482 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
483 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
484 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
485 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
486 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
487 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
488 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
489 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
490 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
491 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
492 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
493 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
494 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
495 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
496 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
497 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
498 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
499 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
500 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
501 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
502 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
503 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
504 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
505 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
506 "LEAN=$(LEAN)" \
507 "CONFIG_SHELL=$(SHELL)" \
508 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
510 # We leave this in just in case, but it is not needed anymore.
511 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
513 # Flags to pass down to most sub-makes, in which we're building with
514 # the host environment.
515 EXTRA_HOST_FLAGS = \
516 'AR=$(AR)' \
517 'AS=$(AS)' \
518 'CC=$(CC)' \
519 'CXX=$(CXX)' \
520 'DLLTOOL=$(DLLTOOL)' \
521 'LD=$(LD)' \
522 'LIPO=$(LIPO)' \
523 'NM=$(NM)' \
524 'OBJDUMP=$(OBJDUMP)' \
525 'RANLIB=$(RANLIB)' \
526 'STRIP=$(STRIP)' \
527 'WINDRES=$(WINDRES)'
529 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
531 # Flags that are concerned with the location of the X11 include files
532 # and library files
534 # NOTE: until the top-level is getting the values via autoconf, it only
535 # causes problems to have this top-level Makefile overriding the autoconf-set
536 # values in child directories. Only variables that don't conflict with
537 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
539 X11_FLAGS_TO_PASS = \
540 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
541 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
543 # Flags to pass to stage2 and later makes.
545 POSTSTAGE1_FLAGS_TO_PASS = \
546 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
547 STAGE_PREFIX="$$r/$(HOST_SUBDIR)/prev-gcc/" \
548 CFLAGS="$(BOOT_CFLAGS)" \
549 LIBCFLAGS="$(BOOT_CFLAGS)" \
550 LDFLAGS="$(BOOT_LDFLAGS)" \
551 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
553 # Flags to pass down to makes which are built with the target environment.
554 # The double $ decreases the length of the command line; those variables
555 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
556 # COMPILER_ prefixed variables are not passed down so we expand them here.
557 EXTRA_TARGET_FLAGS = \
558 'AR=$$(AR_FOR_TARGET)' \
559 'AS=$(COMPILER_AS_FOR_TARGET)' \
560 'CC=$$(CC_FOR_TARGET)' \
561 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
562 'CXX=$$(CXX_FOR_TARGET)' \
563 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
564 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
565 'LD=$(COMPILER_LD_FOR_TARGET)' \
566 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
567 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
568 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
569 'NM=$(COMPILER_NM_FOR_TARGET)' \
570 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
571 'RANLIB=$$(RANLIB_FOR_TARGET)' \
572 'WINDRES=$$(WINDRES_FOR_TARGET)'
574 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
576 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
577 # unfortunately needs the native compiler and the target ar and
578 # ranlib.
579 # If any variables are added here, they must be added to do-*, below.
580 # The BUILD_* variables are a special case, which are used for the gcc
581 # cross-building scheme.
582 EXTRA_GCC_FLAGS = \
583 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
584 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
585 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
586 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
587 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
588 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
590 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
592 .PHONY: configure-host
593 configure-host: \
594 maybe-configure-ash \
595 maybe-configure-autoconf \
596 maybe-configure-automake \
597 maybe-configure-bash \
598 maybe-configure-bfd \
599 maybe-configure-opcodes \
600 maybe-configure-binutils \
601 maybe-configure-bison \
602 maybe-configure-byacc \
603 maybe-configure-bzip2 \
604 maybe-configure-dejagnu \
605 maybe-configure-diff \
606 maybe-configure-dosutils \
607 maybe-configure-etc \
608 maybe-configure-fastjar \
609 maybe-configure-fileutils \
610 maybe-configure-findutils \
611 maybe-configure-find \
612 maybe-configure-fixincludes \
613 maybe-configure-flex \
614 maybe-configure-gas \
615 maybe-configure-gcc \
616 maybe-configure-gawk \
617 maybe-configure-gettext \
618 maybe-configure-gmp \
619 maybe-configure-mpfr \
620 maybe-configure-gnuserv \
621 maybe-configure-gprof \
622 maybe-configure-gzip \
623 maybe-configure-hello \
624 maybe-configure-indent \
625 maybe-configure-intl \
626 maybe-configure-tcl \
627 maybe-configure-itcl \
628 maybe-configure-ld \
629 maybe-configure-libcpp \
630 maybe-configure-libdecnumber \
631 maybe-configure-libgui \
632 maybe-configure-libiberty \
633 maybe-configure-libtool \
634 maybe-configure-m4 \
635 maybe-configure-make \
636 maybe-configure-mmalloc \
637 maybe-configure-patch \
638 maybe-configure-perl \
639 maybe-configure-prms \
640 maybe-configure-rcs \
641 maybe-configure-readline \
642 maybe-configure-release \
643 maybe-configure-recode \
644 maybe-configure-sed \
645 maybe-configure-send-pr \
646 maybe-configure-shellutils \
647 maybe-configure-sid \
648 maybe-configure-sim \
649 maybe-configure-tar \
650 maybe-configure-texinfo \
651 maybe-configure-textutils \
652 maybe-configure-time \
653 maybe-configure-uudecode \
654 maybe-configure-wdiff \
655 maybe-configure-zip \
656 maybe-configure-zlib \
657 maybe-configure-gdb \
658 maybe-configure-expect \
659 maybe-configure-guile \
660 maybe-configure-tk \
661 maybe-configure-libtermcap \
662 maybe-configure-utils \
663 maybe-configure-gnattools
664 .PHONY: configure-target
665 configure-target: \
666 maybe-configure-target-libstdc++-v3 \
667 maybe-configure-target-libmudflap \
668 maybe-configure-target-libssp \
669 maybe-configure-target-newlib \
670 maybe-configure-target-libgcc \
671 maybe-configure-target-libgfortran \
672 maybe-configure-target-libobjc \
673 maybe-configure-target-libtermcap \
674 maybe-configure-target-winsup \
675 maybe-configure-target-libgloss \
676 maybe-configure-target-libiberty \
677 maybe-configure-target-gperf \
678 maybe-configure-target-examples \
679 maybe-configure-target-libffi \
680 maybe-configure-target-libjava \
681 maybe-configure-target-zlib \
682 maybe-configure-target-boehm-gc \
683 maybe-configure-target-qthreads \
684 maybe-configure-target-rda \
685 maybe-configure-target-libada \
686 maybe-configure-target-libgomp
688 # The target built for a native non-bootstrap build.
689 .PHONY: all
690 all:
691 @if gcc-bootstrap
692 [ -f stage_final ] || echo stage3 > stage_final
693 @r=`${PWD_COMMAND}`; export r; \
694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
695 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
696 @endif gcc-bootstrap
697 @: $(MAKE); $(unstage)
698 @r=`${PWD_COMMAND}`; export r; \
699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
700 if [ -f stage_last ]; then \
701 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
702 else \
703 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target; \
706 .PHONY: all-build
708 all-build: maybe-all-build-libiberty
709 all-build: maybe-all-build-bison
710 all-build: maybe-all-build-byacc
711 all-build: maybe-all-build-flex
712 all-build: maybe-all-build-m4
713 all-build: maybe-all-build-texinfo
714 all-build: maybe-all-build-fixincludes
716 .PHONY: all-host
718 all-host: maybe-all-ash
719 all-host: maybe-all-autoconf
720 all-host: maybe-all-automake
721 all-host: maybe-all-bash
722 @if bfd-no-bootstrap
723 all-host: maybe-all-bfd
724 @endif bfd-no-bootstrap
725 @if opcodes-no-bootstrap
726 all-host: maybe-all-opcodes
727 @endif opcodes-no-bootstrap
728 @if binutils-no-bootstrap
729 all-host: maybe-all-binutils
730 @endif binutils-no-bootstrap
731 all-host: maybe-all-bison
732 all-host: maybe-all-byacc
733 all-host: maybe-all-bzip2
734 all-host: maybe-all-dejagnu
735 all-host: maybe-all-diff
736 all-host: maybe-all-dosutils
737 all-host: maybe-all-etc
738 all-host: maybe-all-fastjar
739 all-host: maybe-all-fileutils
740 all-host: maybe-all-findutils
741 all-host: maybe-all-find
742 all-host: maybe-all-fixincludes
743 all-host: maybe-all-flex
744 @if gas-no-bootstrap
745 all-host: maybe-all-gas
746 @endif gas-no-bootstrap
747 @if gcc-no-bootstrap
748 all-host: maybe-all-gcc
749 @endif gcc-no-bootstrap
750 all-host: maybe-all-gawk
751 all-host: maybe-all-gettext
752 @if gmp-no-bootstrap
753 all-host: maybe-all-gmp
754 @endif gmp-no-bootstrap
755 @if mpfr-no-bootstrap
756 all-host: maybe-all-mpfr
757 @endif mpfr-no-bootstrap
758 all-host: maybe-all-gnuserv
759 all-host: maybe-all-gprof
760 all-host: maybe-all-gzip
761 all-host: maybe-all-hello
762 all-host: maybe-all-indent
763 @if intl-no-bootstrap
764 all-host: maybe-all-intl
765 @endif intl-no-bootstrap
766 all-host: maybe-all-tcl
767 all-host: maybe-all-itcl
768 @if ld-no-bootstrap
769 all-host: maybe-all-ld
770 @endif ld-no-bootstrap
771 @if libcpp-no-bootstrap
772 all-host: maybe-all-libcpp
773 @endif libcpp-no-bootstrap
774 @if libdecnumber-no-bootstrap
775 all-host: maybe-all-libdecnumber
776 @endif libdecnumber-no-bootstrap
777 all-host: maybe-all-libgui
778 @if libiberty-no-bootstrap
779 all-host: maybe-all-libiberty
780 @endif libiberty-no-bootstrap
781 all-host: maybe-all-libtool
782 all-host: maybe-all-m4
783 all-host: maybe-all-make
784 all-host: maybe-all-mmalloc
785 all-host: maybe-all-patch
786 all-host: maybe-all-perl
787 all-host: maybe-all-prms
788 all-host: maybe-all-rcs
789 all-host: maybe-all-readline
790 all-host: maybe-all-release
791 all-host: maybe-all-recode
792 all-host: maybe-all-sed
793 all-host: maybe-all-send-pr
794 all-host: maybe-all-shellutils
795 all-host: maybe-all-sid
796 all-host: maybe-all-sim
797 all-host: maybe-all-tar
798 all-host: maybe-all-texinfo
799 all-host: maybe-all-textutils
800 all-host: maybe-all-time
801 all-host: maybe-all-uudecode
802 all-host: maybe-all-wdiff
803 all-host: maybe-all-zip
804 @if zlib-no-bootstrap
805 all-host: maybe-all-zlib
806 @endif zlib-no-bootstrap
807 all-host: maybe-all-gdb
808 all-host: maybe-all-expect
809 all-host: maybe-all-guile
810 all-host: maybe-all-tk
811 all-host: maybe-all-libtermcap
812 all-host: maybe-all-utils
813 all-host: maybe-all-gnattools
815 .PHONY: all-target
817 all-target: maybe-all-target-libstdc++-v3
818 all-target: maybe-all-target-libmudflap
819 all-target: maybe-all-target-libssp
820 all-target: maybe-all-target-newlib
821 @if target-libgcc-no-bootstrap
822 all-target: maybe-all-target-libgcc
823 @endif target-libgcc-no-bootstrap
824 all-target: maybe-all-target-libgfortran
825 all-target: maybe-all-target-libobjc
826 all-target: maybe-all-target-libtermcap
827 all-target: maybe-all-target-winsup
828 all-target: maybe-all-target-libgloss
829 all-target: maybe-all-target-libiberty
830 all-target: maybe-all-target-gperf
831 all-target: maybe-all-target-examples
832 all-target: maybe-all-target-libffi
833 all-target: maybe-all-target-libjava
834 all-target: maybe-all-target-zlib
835 all-target: maybe-all-target-boehm-gc
836 all-target: maybe-all-target-qthreads
837 all-target: maybe-all-target-rda
838 all-target: maybe-all-target-libada
839 all-target: maybe-all-target-libgomp
841 # Do a target for all the subdirectories. A ``make do-X'' will do a
842 # ``make X'' in all subdirectories (because, in general, there is a
843 # dependency (below) of X upon do-X, a ``make X'' will also do this,
844 # but it may do additional work as well).
846 .PHONY: do-info
847 do-info:
848 @: $(MAKE); $(unstage)
849 @r=`${PWD_COMMAND}`; export r; \
850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
851 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
852 info-target
855 .PHONY: info-host
857 info-host: maybe-info-ash
858 info-host: maybe-info-autoconf
859 info-host: maybe-info-automake
860 info-host: maybe-info-bash
861 info-host: maybe-info-bfd
862 info-host: maybe-info-opcodes
863 info-host: maybe-info-binutils
864 info-host: maybe-info-bison
865 info-host: maybe-info-byacc
866 info-host: maybe-info-bzip2
867 info-host: maybe-info-dejagnu
868 info-host: maybe-info-diff
869 info-host: maybe-info-dosutils
870 info-host: maybe-info-etc
871 info-host: maybe-info-fastjar
872 info-host: maybe-info-fileutils
873 info-host: maybe-info-findutils
874 info-host: maybe-info-find
875 info-host: maybe-info-fixincludes
876 info-host: maybe-info-flex
877 info-host: maybe-info-gas
878 info-host: maybe-info-gcc
879 info-host: maybe-info-gawk
880 info-host: maybe-info-gettext
881 info-host: maybe-info-gmp
882 info-host: maybe-info-mpfr
883 info-host: maybe-info-gnuserv
884 info-host: maybe-info-gprof
885 info-host: maybe-info-gzip
886 info-host: maybe-info-hello
887 info-host: maybe-info-indent
888 info-host: maybe-info-intl
889 info-host: maybe-info-tcl
890 info-host: maybe-info-itcl
891 info-host: maybe-info-ld
892 info-host: maybe-info-libcpp
893 info-host: maybe-info-libdecnumber
894 info-host: maybe-info-libgui
895 info-host: maybe-info-libiberty
896 info-host: maybe-info-libtool
897 info-host: maybe-info-m4
898 info-host: maybe-info-make
899 info-host: maybe-info-mmalloc
900 info-host: maybe-info-patch
901 info-host: maybe-info-perl
902 info-host: maybe-info-prms
903 info-host: maybe-info-rcs
904 info-host: maybe-info-readline
905 info-host: maybe-info-release
906 info-host: maybe-info-recode
907 info-host: maybe-info-sed
908 info-host: maybe-info-send-pr
909 info-host: maybe-info-shellutils
910 info-host: maybe-info-sid
911 info-host: maybe-info-sim
912 info-host: maybe-info-tar
913 info-host: maybe-info-texinfo
914 info-host: maybe-info-textutils
915 info-host: maybe-info-time
916 info-host: maybe-info-uudecode
917 info-host: maybe-info-wdiff
918 info-host: maybe-info-zip
919 info-host: maybe-info-zlib
920 info-host: maybe-info-gdb
921 info-host: maybe-info-expect
922 info-host: maybe-info-guile
923 info-host: maybe-info-tk
924 info-host: maybe-info-libtermcap
925 info-host: maybe-info-utils
926 info-host: maybe-info-gnattools
928 .PHONY: info-target
930 info-target: maybe-info-target-libstdc++-v3
931 info-target: maybe-info-target-libmudflap
932 info-target: maybe-info-target-libssp
933 info-target: maybe-info-target-newlib
934 info-target: maybe-info-target-libgcc
935 info-target: maybe-info-target-libgfortran
936 info-target: maybe-info-target-libobjc
937 info-target: maybe-info-target-libtermcap
938 info-target: maybe-info-target-winsup
939 info-target: maybe-info-target-libgloss
940 info-target: maybe-info-target-libiberty
941 info-target: maybe-info-target-gperf
942 info-target: maybe-info-target-examples
943 info-target: maybe-info-target-libffi
944 info-target: maybe-info-target-libjava
945 info-target: maybe-info-target-zlib
946 info-target: maybe-info-target-boehm-gc
947 info-target: maybe-info-target-qthreads
948 info-target: maybe-info-target-rda
949 info-target: maybe-info-target-libada
950 info-target: maybe-info-target-libgomp
952 .PHONY: do-dvi
953 do-dvi:
954 @: $(MAKE); $(unstage)
955 @r=`${PWD_COMMAND}`; export r; \
956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
957 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
958 dvi-target
961 .PHONY: dvi-host
963 dvi-host: maybe-dvi-ash
964 dvi-host: maybe-dvi-autoconf
965 dvi-host: maybe-dvi-automake
966 dvi-host: maybe-dvi-bash
967 dvi-host: maybe-dvi-bfd
968 dvi-host: maybe-dvi-opcodes
969 dvi-host: maybe-dvi-binutils
970 dvi-host: maybe-dvi-bison
971 dvi-host: maybe-dvi-byacc
972 dvi-host: maybe-dvi-bzip2
973 dvi-host: maybe-dvi-dejagnu
974 dvi-host: maybe-dvi-diff
975 dvi-host: maybe-dvi-dosutils
976 dvi-host: maybe-dvi-etc
977 dvi-host: maybe-dvi-fastjar
978 dvi-host: maybe-dvi-fileutils
979 dvi-host: maybe-dvi-findutils
980 dvi-host: maybe-dvi-find
981 dvi-host: maybe-dvi-fixincludes
982 dvi-host: maybe-dvi-flex
983 dvi-host: maybe-dvi-gas
984 dvi-host: maybe-dvi-gcc
985 dvi-host: maybe-dvi-gawk
986 dvi-host: maybe-dvi-gettext
987 dvi-host: maybe-dvi-gmp
988 dvi-host: maybe-dvi-mpfr
989 dvi-host: maybe-dvi-gnuserv
990 dvi-host: maybe-dvi-gprof
991 dvi-host: maybe-dvi-gzip
992 dvi-host: maybe-dvi-hello
993 dvi-host: maybe-dvi-indent
994 dvi-host: maybe-dvi-intl
995 dvi-host: maybe-dvi-tcl
996 dvi-host: maybe-dvi-itcl
997 dvi-host: maybe-dvi-ld
998 dvi-host: maybe-dvi-libcpp
999 dvi-host: maybe-dvi-libdecnumber
1000 dvi-host: maybe-dvi-libgui
1001 dvi-host: maybe-dvi-libiberty
1002 dvi-host: maybe-dvi-libtool
1003 dvi-host: maybe-dvi-m4
1004 dvi-host: maybe-dvi-make
1005 dvi-host: maybe-dvi-mmalloc
1006 dvi-host: maybe-dvi-patch
1007 dvi-host: maybe-dvi-perl
1008 dvi-host: maybe-dvi-prms
1009 dvi-host: maybe-dvi-rcs
1010 dvi-host: maybe-dvi-readline
1011 dvi-host: maybe-dvi-release
1012 dvi-host: maybe-dvi-recode
1013 dvi-host: maybe-dvi-sed
1014 dvi-host: maybe-dvi-send-pr
1015 dvi-host: maybe-dvi-shellutils
1016 dvi-host: maybe-dvi-sid
1017 dvi-host: maybe-dvi-sim
1018 dvi-host: maybe-dvi-tar
1019 dvi-host: maybe-dvi-texinfo
1020 dvi-host: maybe-dvi-textutils
1021 dvi-host: maybe-dvi-time
1022 dvi-host: maybe-dvi-uudecode
1023 dvi-host: maybe-dvi-wdiff
1024 dvi-host: maybe-dvi-zip
1025 dvi-host: maybe-dvi-zlib
1026 dvi-host: maybe-dvi-gdb
1027 dvi-host: maybe-dvi-expect
1028 dvi-host: maybe-dvi-guile
1029 dvi-host: maybe-dvi-tk
1030 dvi-host: maybe-dvi-libtermcap
1031 dvi-host: maybe-dvi-utils
1032 dvi-host: maybe-dvi-gnattools
1034 .PHONY: dvi-target
1036 dvi-target: maybe-dvi-target-libstdc++-v3
1037 dvi-target: maybe-dvi-target-libmudflap
1038 dvi-target: maybe-dvi-target-libssp
1039 dvi-target: maybe-dvi-target-newlib
1040 dvi-target: maybe-dvi-target-libgcc
1041 dvi-target: maybe-dvi-target-libgfortran
1042 dvi-target: maybe-dvi-target-libobjc
1043 dvi-target: maybe-dvi-target-libtermcap
1044 dvi-target: maybe-dvi-target-winsup
1045 dvi-target: maybe-dvi-target-libgloss
1046 dvi-target: maybe-dvi-target-libiberty
1047 dvi-target: maybe-dvi-target-gperf
1048 dvi-target: maybe-dvi-target-examples
1049 dvi-target: maybe-dvi-target-libffi
1050 dvi-target: maybe-dvi-target-libjava
1051 dvi-target: maybe-dvi-target-zlib
1052 dvi-target: maybe-dvi-target-boehm-gc
1053 dvi-target: maybe-dvi-target-qthreads
1054 dvi-target: maybe-dvi-target-rda
1055 dvi-target: maybe-dvi-target-libada
1056 dvi-target: maybe-dvi-target-libgomp
1058 .PHONY: do-pdf
1059 do-pdf:
1060 @: $(MAKE); $(unstage)
1061 @r=`${PWD_COMMAND}`; export r; \
1062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1063 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1064 pdf-target
1067 .PHONY: pdf-host
1069 pdf-host: maybe-pdf-ash
1070 pdf-host: maybe-pdf-autoconf
1071 pdf-host: maybe-pdf-automake
1072 pdf-host: maybe-pdf-bash
1073 pdf-host: maybe-pdf-bfd
1074 pdf-host: maybe-pdf-opcodes
1075 pdf-host: maybe-pdf-binutils
1076 pdf-host: maybe-pdf-bison
1077 pdf-host: maybe-pdf-byacc
1078 pdf-host: maybe-pdf-bzip2
1079 pdf-host: maybe-pdf-dejagnu
1080 pdf-host: maybe-pdf-diff
1081 pdf-host: maybe-pdf-dosutils
1082 pdf-host: maybe-pdf-etc
1083 pdf-host: maybe-pdf-fastjar
1084 pdf-host: maybe-pdf-fileutils
1085 pdf-host: maybe-pdf-findutils
1086 pdf-host: maybe-pdf-find
1087 pdf-host: maybe-pdf-fixincludes
1088 pdf-host: maybe-pdf-flex
1089 pdf-host: maybe-pdf-gas
1090 pdf-host: maybe-pdf-gcc
1091 pdf-host: maybe-pdf-gawk
1092 pdf-host: maybe-pdf-gettext
1093 pdf-host: maybe-pdf-gmp
1094 pdf-host: maybe-pdf-mpfr
1095 pdf-host: maybe-pdf-gnuserv
1096 pdf-host: maybe-pdf-gprof
1097 pdf-host: maybe-pdf-gzip
1098 pdf-host: maybe-pdf-hello
1099 pdf-host: maybe-pdf-indent
1100 pdf-host: maybe-pdf-intl
1101 pdf-host: maybe-pdf-tcl
1102 pdf-host: maybe-pdf-itcl
1103 pdf-host: maybe-pdf-ld
1104 pdf-host: maybe-pdf-libcpp
1105 pdf-host: maybe-pdf-libdecnumber
1106 pdf-host: maybe-pdf-libgui
1107 pdf-host: maybe-pdf-libiberty
1108 pdf-host: maybe-pdf-libtool
1109 pdf-host: maybe-pdf-m4
1110 pdf-host: maybe-pdf-make
1111 pdf-host: maybe-pdf-mmalloc
1112 pdf-host: maybe-pdf-patch
1113 pdf-host: maybe-pdf-perl
1114 pdf-host: maybe-pdf-prms
1115 pdf-host: maybe-pdf-rcs
1116 pdf-host: maybe-pdf-readline
1117 pdf-host: maybe-pdf-release
1118 pdf-host: maybe-pdf-recode
1119 pdf-host: maybe-pdf-sed
1120 pdf-host: maybe-pdf-send-pr
1121 pdf-host: maybe-pdf-shellutils
1122 pdf-host: maybe-pdf-sid
1123 pdf-host: maybe-pdf-sim
1124 pdf-host: maybe-pdf-tar
1125 pdf-host: maybe-pdf-texinfo
1126 pdf-host: maybe-pdf-textutils
1127 pdf-host: maybe-pdf-time
1128 pdf-host: maybe-pdf-uudecode
1129 pdf-host: maybe-pdf-wdiff
1130 pdf-host: maybe-pdf-zip
1131 pdf-host: maybe-pdf-zlib
1132 pdf-host: maybe-pdf-gdb
1133 pdf-host: maybe-pdf-expect
1134 pdf-host: maybe-pdf-guile
1135 pdf-host: maybe-pdf-tk
1136 pdf-host: maybe-pdf-libtermcap
1137 pdf-host: maybe-pdf-utils
1138 pdf-host: maybe-pdf-gnattools
1140 .PHONY: pdf-target
1142 pdf-target: maybe-pdf-target-libstdc++-v3
1143 pdf-target: maybe-pdf-target-libmudflap
1144 pdf-target: maybe-pdf-target-libssp
1145 pdf-target: maybe-pdf-target-newlib
1146 pdf-target: maybe-pdf-target-libgcc
1147 pdf-target: maybe-pdf-target-libgfortran
1148 pdf-target: maybe-pdf-target-libobjc
1149 pdf-target: maybe-pdf-target-libtermcap
1150 pdf-target: maybe-pdf-target-winsup
1151 pdf-target: maybe-pdf-target-libgloss
1152 pdf-target: maybe-pdf-target-libiberty
1153 pdf-target: maybe-pdf-target-gperf
1154 pdf-target: maybe-pdf-target-examples
1155 pdf-target: maybe-pdf-target-libffi
1156 pdf-target: maybe-pdf-target-libjava
1157 pdf-target: maybe-pdf-target-zlib
1158 pdf-target: maybe-pdf-target-boehm-gc
1159 pdf-target: maybe-pdf-target-qthreads
1160 pdf-target: maybe-pdf-target-rda
1161 pdf-target: maybe-pdf-target-libada
1162 pdf-target: maybe-pdf-target-libgomp
1164 .PHONY: do-html
1165 do-html:
1166 @: $(MAKE); $(unstage)
1167 @r=`${PWD_COMMAND}`; export r; \
1168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1169 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1170 html-target
1173 .PHONY: html-host
1175 html-host: maybe-html-ash
1176 html-host: maybe-html-autoconf
1177 html-host: maybe-html-automake
1178 html-host: maybe-html-bash
1179 html-host: maybe-html-bfd
1180 html-host: maybe-html-opcodes
1181 html-host: maybe-html-binutils
1182 html-host: maybe-html-bison
1183 html-host: maybe-html-byacc
1184 html-host: maybe-html-bzip2
1185 html-host: maybe-html-dejagnu
1186 html-host: maybe-html-diff
1187 html-host: maybe-html-dosutils
1188 html-host: maybe-html-etc
1189 html-host: maybe-html-fastjar
1190 html-host: maybe-html-fileutils
1191 html-host: maybe-html-findutils
1192 html-host: maybe-html-find
1193 html-host: maybe-html-fixincludes
1194 html-host: maybe-html-flex
1195 html-host: maybe-html-gas
1196 html-host: maybe-html-gcc
1197 html-host: maybe-html-gawk
1198 html-host: maybe-html-gettext
1199 html-host: maybe-html-gmp
1200 html-host: maybe-html-mpfr
1201 html-host: maybe-html-gnuserv
1202 html-host: maybe-html-gprof
1203 html-host: maybe-html-gzip
1204 html-host: maybe-html-hello
1205 html-host: maybe-html-indent
1206 html-host: maybe-html-intl
1207 html-host: maybe-html-tcl
1208 html-host: maybe-html-itcl
1209 html-host: maybe-html-ld
1210 html-host: maybe-html-libcpp
1211 html-host: maybe-html-libdecnumber
1212 html-host: maybe-html-libgui
1213 html-host: maybe-html-libiberty
1214 html-host: maybe-html-libtool
1215 html-host: maybe-html-m4
1216 html-host: maybe-html-make
1217 html-host: maybe-html-mmalloc
1218 html-host: maybe-html-patch
1219 html-host: maybe-html-perl
1220 html-host: maybe-html-prms
1221 html-host: maybe-html-rcs
1222 html-host: maybe-html-readline
1223 html-host: maybe-html-release
1224 html-host: maybe-html-recode
1225 html-host: maybe-html-sed
1226 html-host: maybe-html-send-pr
1227 html-host: maybe-html-shellutils
1228 html-host: maybe-html-sid
1229 html-host: maybe-html-sim
1230 html-host: maybe-html-tar
1231 html-host: maybe-html-texinfo
1232 html-host: maybe-html-textutils
1233 html-host: maybe-html-time
1234 html-host: maybe-html-uudecode
1235 html-host: maybe-html-wdiff
1236 html-host: maybe-html-zip
1237 html-host: maybe-html-zlib
1238 html-host: maybe-html-gdb
1239 html-host: maybe-html-expect
1240 html-host: maybe-html-guile
1241 html-host: maybe-html-tk
1242 html-host: maybe-html-libtermcap
1243 html-host: maybe-html-utils
1244 html-host: maybe-html-gnattools
1246 .PHONY: html-target
1248 html-target: maybe-html-target-libstdc++-v3
1249 html-target: maybe-html-target-libmudflap
1250 html-target: maybe-html-target-libssp
1251 html-target: maybe-html-target-newlib
1252 html-target: maybe-html-target-libgcc
1253 html-target: maybe-html-target-libgfortran
1254 html-target: maybe-html-target-libobjc
1255 html-target: maybe-html-target-libtermcap
1256 html-target: maybe-html-target-winsup
1257 html-target: maybe-html-target-libgloss
1258 html-target: maybe-html-target-libiberty
1259 html-target: maybe-html-target-gperf
1260 html-target: maybe-html-target-examples
1261 html-target: maybe-html-target-libffi
1262 html-target: maybe-html-target-libjava
1263 html-target: maybe-html-target-zlib
1264 html-target: maybe-html-target-boehm-gc
1265 html-target: maybe-html-target-qthreads
1266 html-target: maybe-html-target-rda
1267 html-target: maybe-html-target-libada
1268 html-target: maybe-html-target-libgomp
1270 .PHONY: do-TAGS
1271 do-TAGS:
1272 @: $(MAKE); $(unstage)
1273 @r=`${PWD_COMMAND}`; export r; \
1274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1275 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1276 TAGS-target
1279 .PHONY: TAGS-host
1281 TAGS-host: maybe-TAGS-ash
1282 TAGS-host: maybe-TAGS-autoconf
1283 TAGS-host: maybe-TAGS-automake
1284 TAGS-host: maybe-TAGS-bash
1285 TAGS-host: maybe-TAGS-bfd
1286 TAGS-host: maybe-TAGS-opcodes
1287 TAGS-host: maybe-TAGS-binutils
1288 TAGS-host: maybe-TAGS-bison
1289 TAGS-host: maybe-TAGS-byacc
1290 TAGS-host: maybe-TAGS-bzip2
1291 TAGS-host: maybe-TAGS-dejagnu
1292 TAGS-host: maybe-TAGS-diff
1293 TAGS-host: maybe-TAGS-dosutils
1294 TAGS-host: maybe-TAGS-etc
1295 TAGS-host: maybe-TAGS-fastjar
1296 TAGS-host: maybe-TAGS-fileutils
1297 TAGS-host: maybe-TAGS-findutils
1298 TAGS-host: maybe-TAGS-find
1299 TAGS-host: maybe-TAGS-fixincludes
1300 TAGS-host: maybe-TAGS-flex
1301 TAGS-host: maybe-TAGS-gas
1302 TAGS-host: maybe-TAGS-gcc
1303 TAGS-host: maybe-TAGS-gawk
1304 TAGS-host: maybe-TAGS-gettext
1305 TAGS-host: maybe-TAGS-gmp
1306 TAGS-host: maybe-TAGS-mpfr
1307 TAGS-host: maybe-TAGS-gnuserv
1308 TAGS-host: maybe-TAGS-gprof
1309 TAGS-host: maybe-TAGS-gzip
1310 TAGS-host: maybe-TAGS-hello
1311 TAGS-host: maybe-TAGS-indent
1312 TAGS-host: maybe-TAGS-intl
1313 TAGS-host: maybe-TAGS-tcl
1314 TAGS-host: maybe-TAGS-itcl
1315 TAGS-host: maybe-TAGS-ld
1316 TAGS-host: maybe-TAGS-libcpp
1317 TAGS-host: maybe-TAGS-libdecnumber
1318 TAGS-host: maybe-TAGS-libgui
1319 TAGS-host: maybe-TAGS-libiberty
1320 TAGS-host: maybe-TAGS-libtool
1321 TAGS-host: maybe-TAGS-m4
1322 TAGS-host: maybe-TAGS-make
1323 TAGS-host: maybe-TAGS-mmalloc
1324 TAGS-host: maybe-TAGS-patch
1325 TAGS-host: maybe-TAGS-perl
1326 TAGS-host: maybe-TAGS-prms
1327 TAGS-host: maybe-TAGS-rcs
1328 TAGS-host: maybe-TAGS-readline
1329 TAGS-host: maybe-TAGS-release
1330 TAGS-host: maybe-TAGS-recode
1331 TAGS-host: maybe-TAGS-sed
1332 TAGS-host: maybe-TAGS-send-pr
1333 TAGS-host: maybe-TAGS-shellutils
1334 TAGS-host: maybe-TAGS-sid
1335 TAGS-host: maybe-TAGS-sim
1336 TAGS-host: maybe-TAGS-tar
1337 TAGS-host: maybe-TAGS-texinfo
1338 TAGS-host: maybe-TAGS-textutils
1339 TAGS-host: maybe-TAGS-time
1340 TAGS-host: maybe-TAGS-uudecode
1341 TAGS-host: maybe-TAGS-wdiff
1342 TAGS-host: maybe-TAGS-zip
1343 TAGS-host: maybe-TAGS-zlib
1344 TAGS-host: maybe-TAGS-gdb
1345 TAGS-host: maybe-TAGS-expect
1346 TAGS-host: maybe-TAGS-guile
1347 TAGS-host: maybe-TAGS-tk
1348 TAGS-host: maybe-TAGS-libtermcap
1349 TAGS-host: maybe-TAGS-utils
1350 TAGS-host: maybe-TAGS-gnattools
1352 .PHONY: TAGS-target
1354 TAGS-target: maybe-TAGS-target-libstdc++-v3
1355 TAGS-target: maybe-TAGS-target-libmudflap
1356 TAGS-target: maybe-TAGS-target-libssp
1357 TAGS-target: maybe-TAGS-target-newlib
1358 TAGS-target: maybe-TAGS-target-libgcc
1359 TAGS-target: maybe-TAGS-target-libgfortran
1360 TAGS-target: maybe-TAGS-target-libobjc
1361 TAGS-target: maybe-TAGS-target-libtermcap
1362 TAGS-target: maybe-TAGS-target-winsup
1363 TAGS-target: maybe-TAGS-target-libgloss
1364 TAGS-target: maybe-TAGS-target-libiberty
1365 TAGS-target: maybe-TAGS-target-gperf
1366 TAGS-target: maybe-TAGS-target-examples
1367 TAGS-target: maybe-TAGS-target-libffi
1368 TAGS-target: maybe-TAGS-target-libjava
1369 TAGS-target: maybe-TAGS-target-zlib
1370 TAGS-target: maybe-TAGS-target-boehm-gc
1371 TAGS-target: maybe-TAGS-target-qthreads
1372 TAGS-target: maybe-TAGS-target-rda
1373 TAGS-target: maybe-TAGS-target-libada
1374 TAGS-target: maybe-TAGS-target-libgomp
1376 .PHONY: do-install-info
1377 do-install-info:
1378 @: $(MAKE); $(unstage)
1379 @r=`${PWD_COMMAND}`; export r; \
1380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1381 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1382 install-info-target
1385 .PHONY: install-info-host
1387 install-info-host: maybe-install-info-ash
1388 install-info-host: maybe-install-info-autoconf
1389 install-info-host: maybe-install-info-automake
1390 install-info-host: maybe-install-info-bash
1391 install-info-host: maybe-install-info-bfd
1392 install-info-host: maybe-install-info-opcodes
1393 install-info-host: maybe-install-info-binutils
1394 install-info-host: maybe-install-info-bison
1395 install-info-host: maybe-install-info-byacc
1396 install-info-host: maybe-install-info-bzip2
1397 install-info-host: maybe-install-info-dejagnu
1398 install-info-host: maybe-install-info-diff
1399 install-info-host: maybe-install-info-dosutils
1400 install-info-host: maybe-install-info-etc
1401 install-info-host: maybe-install-info-fastjar
1402 install-info-host: maybe-install-info-fileutils
1403 install-info-host: maybe-install-info-findutils
1404 install-info-host: maybe-install-info-find
1405 install-info-host: maybe-install-info-fixincludes
1406 install-info-host: maybe-install-info-flex
1407 install-info-host: maybe-install-info-gas
1408 install-info-host: maybe-install-info-gcc
1409 install-info-host: maybe-install-info-gawk
1410 install-info-host: maybe-install-info-gettext
1411 install-info-host: maybe-install-info-gmp
1412 install-info-host: maybe-install-info-mpfr
1413 install-info-host: maybe-install-info-gnuserv
1414 install-info-host: maybe-install-info-gprof
1415 install-info-host: maybe-install-info-gzip
1416 install-info-host: maybe-install-info-hello
1417 install-info-host: maybe-install-info-indent
1418 install-info-host: maybe-install-info-intl
1419 install-info-host: maybe-install-info-tcl
1420 install-info-host: maybe-install-info-itcl
1421 install-info-host: maybe-install-info-ld
1422 install-info-host: maybe-install-info-libcpp
1423 install-info-host: maybe-install-info-libdecnumber
1424 install-info-host: maybe-install-info-libgui
1425 install-info-host: maybe-install-info-libiberty
1426 install-info-host: maybe-install-info-libtool
1427 install-info-host: maybe-install-info-m4
1428 install-info-host: maybe-install-info-make
1429 install-info-host: maybe-install-info-mmalloc
1430 install-info-host: maybe-install-info-patch
1431 install-info-host: maybe-install-info-perl
1432 install-info-host: maybe-install-info-prms
1433 install-info-host: maybe-install-info-rcs
1434 install-info-host: maybe-install-info-readline
1435 install-info-host: maybe-install-info-release
1436 install-info-host: maybe-install-info-recode
1437 install-info-host: maybe-install-info-sed
1438 install-info-host: maybe-install-info-send-pr
1439 install-info-host: maybe-install-info-shellutils
1440 install-info-host: maybe-install-info-sid
1441 install-info-host: maybe-install-info-sim
1442 install-info-host: maybe-install-info-tar
1443 install-info-host: maybe-install-info-texinfo
1444 install-info-host: maybe-install-info-textutils
1445 install-info-host: maybe-install-info-time
1446 install-info-host: maybe-install-info-uudecode
1447 install-info-host: maybe-install-info-wdiff
1448 install-info-host: maybe-install-info-zip
1449 install-info-host: maybe-install-info-zlib
1450 install-info-host: maybe-install-info-gdb
1451 install-info-host: maybe-install-info-expect
1452 install-info-host: maybe-install-info-guile
1453 install-info-host: maybe-install-info-tk
1454 install-info-host: maybe-install-info-libtermcap
1455 install-info-host: maybe-install-info-utils
1456 install-info-host: maybe-install-info-gnattools
1458 .PHONY: install-info-target
1460 install-info-target: maybe-install-info-target-libstdc++-v3
1461 install-info-target: maybe-install-info-target-libmudflap
1462 install-info-target: maybe-install-info-target-libssp
1463 install-info-target: maybe-install-info-target-newlib
1464 install-info-target: maybe-install-info-target-libgcc
1465 install-info-target: maybe-install-info-target-libgfortran
1466 install-info-target: maybe-install-info-target-libobjc
1467 install-info-target: maybe-install-info-target-libtermcap
1468 install-info-target: maybe-install-info-target-winsup
1469 install-info-target: maybe-install-info-target-libgloss
1470 install-info-target: maybe-install-info-target-libiberty
1471 install-info-target: maybe-install-info-target-gperf
1472 install-info-target: maybe-install-info-target-examples
1473 install-info-target: maybe-install-info-target-libffi
1474 install-info-target: maybe-install-info-target-libjava
1475 install-info-target: maybe-install-info-target-zlib
1476 install-info-target: maybe-install-info-target-boehm-gc
1477 install-info-target: maybe-install-info-target-qthreads
1478 install-info-target: maybe-install-info-target-rda
1479 install-info-target: maybe-install-info-target-libada
1480 install-info-target: maybe-install-info-target-libgomp
1482 .PHONY: do-install-html
1483 do-install-html:
1484 @: $(MAKE); $(unstage)
1485 @r=`${PWD_COMMAND}`; export r; \
1486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1487 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1488 install-html-target
1491 .PHONY: install-html-host
1493 install-html-host: maybe-install-html-ash
1494 install-html-host: maybe-install-html-autoconf
1495 install-html-host: maybe-install-html-automake
1496 install-html-host: maybe-install-html-bash
1497 install-html-host: maybe-install-html-bfd
1498 install-html-host: maybe-install-html-opcodes
1499 install-html-host: maybe-install-html-binutils
1500 install-html-host: maybe-install-html-bison
1501 install-html-host: maybe-install-html-byacc
1502 install-html-host: maybe-install-html-bzip2
1503 install-html-host: maybe-install-html-dejagnu
1504 install-html-host: maybe-install-html-diff
1505 install-html-host: maybe-install-html-dosutils
1506 install-html-host: maybe-install-html-etc
1507 install-html-host: maybe-install-html-fastjar
1508 install-html-host: maybe-install-html-fileutils
1509 install-html-host: maybe-install-html-findutils
1510 install-html-host: maybe-install-html-find
1511 install-html-host: maybe-install-html-fixincludes
1512 install-html-host: maybe-install-html-flex
1513 install-html-host: maybe-install-html-gas
1514 install-html-host: maybe-install-html-gcc
1515 install-html-host: maybe-install-html-gawk
1516 install-html-host: maybe-install-html-gettext
1517 install-html-host: maybe-install-html-gmp
1518 install-html-host: maybe-install-html-mpfr
1519 install-html-host: maybe-install-html-gnuserv
1520 install-html-host: maybe-install-html-gprof
1521 install-html-host: maybe-install-html-gzip
1522 install-html-host: maybe-install-html-hello
1523 install-html-host: maybe-install-html-indent
1524 install-html-host: maybe-install-html-intl
1525 install-html-host: maybe-install-html-tcl
1526 install-html-host: maybe-install-html-itcl
1527 install-html-host: maybe-install-html-ld
1528 install-html-host: maybe-install-html-libcpp
1529 install-html-host: maybe-install-html-libdecnumber
1530 install-html-host: maybe-install-html-libgui
1531 install-html-host: maybe-install-html-libiberty
1532 install-html-host: maybe-install-html-libtool
1533 install-html-host: maybe-install-html-m4
1534 install-html-host: maybe-install-html-make
1535 install-html-host: maybe-install-html-mmalloc
1536 install-html-host: maybe-install-html-patch
1537 install-html-host: maybe-install-html-perl
1538 install-html-host: maybe-install-html-prms
1539 install-html-host: maybe-install-html-rcs
1540 install-html-host: maybe-install-html-readline
1541 install-html-host: maybe-install-html-release
1542 install-html-host: maybe-install-html-recode
1543 install-html-host: maybe-install-html-sed
1544 install-html-host: maybe-install-html-send-pr
1545 install-html-host: maybe-install-html-shellutils
1546 install-html-host: maybe-install-html-sid
1547 install-html-host: maybe-install-html-sim
1548 install-html-host: maybe-install-html-tar
1549 install-html-host: maybe-install-html-texinfo
1550 install-html-host: maybe-install-html-textutils
1551 install-html-host: maybe-install-html-time
1552 install-html-host: maybe-install-html-uudecode
1553 install-html-host: maybe-install-html-wdiff
1554 install-html-host: maybe-install-html-zip
1555 install-html-host: maybe-install-html-zlib
1556 install-html-host: maybe-install-html-gdb
1557 install-html-host: maybe-install-html-expect
1558 install-html-host: maybe-install-html-guile
1559 install-html-host: maybe-install-html-tk
1560 install-html-host: maybe-install-html-libtermcap
1561 install-html-host: maybe-install-html-utils
1562 install-html-host: maybe-install-html-gnattools
1564 .PHONY: install-html-target
1566 install-html-target: maybe-install-html-target-libstdc++-v3
1567 install-html-target: maybe-install-html-target-libmudflap
1568 install-html-target: maybe-install-html-target-libssp
1569 install-html-target: maybe-install-html-target-newlib
1570 install-html-target: maybe-install-html-target-libgcc
1571 install-html-target: maybe-install-html-target-libgfortran
1572 install-html-target: maybe-install-html-target-libobjc
1573 install-html-target: maybe-install-html-target-libtermcap
1574 install-html-target: maybe-install-html-target-winsup
1575 install-html-target: maybe-install-html-target-libgloss
1576 install-html-target: maybe-install-html-target-libiberty
1577 install-html-target: maybe-install-html-target-gperf
1578 install-html-target: maybe-install-html-target-examples
1579 install-html-target: maybe-install-html-target-libffi
1580 install-html-target: maybe-install-html-target-libjava
1581 install-html-target: maybe-install-html-target-zlib
1582 install-html-target: maybe-install-html-target-boehm-gc
1583 install-html-target: maybe-install-html-target-qthreads
1584 install-html-target: maybe-install-html-target-rda
1585 install-html-target: maybe-install-html-target-libada
1586 install-html-target: maybe-install-html-target-libgomp
1588 .PHONY: do-installcheck
1589 do-installcheck:
1590 @: $(MAKE); $(unstage)
1591 @r=`${PWD_COMMAND}`; export r; \
1592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1593 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1594 installcheck-target
1597 .PHONY: installcheck-host
1599 installcheck-host: maybe-installcheck-ash
1600 installcheck-host: maybe-installcheck-autoconf
1601 installcheck-host: maybe-installcheck-automake
1602 installcheck-host: maybe-installcheck-bash
1603 installcheck-host: maybe-installcheck-bfd
1604 installcheck-host: maybe-installcheck-opcodes
1605 installcheck-host: maybe-installcheck-binutils
1606 installcheck-host: maybe-installcheck-bison
1607 installcheck-host: maybe-installcheck-byacc
1608 installcheck-host: maybe-installcheck-bzip2
1609 installcheck-host: maybe-installcheck-dejagnu
1610 installcheck-host: maybe-installcheck-diff
1611 installcheck-host: maybe-installcheck-dosutils
1612 installcheck-host: maybe-installcheck-etc
1613 installcheck-host: maybe-installcheck-fastjar
1614 installcheck-host: maybe-installcheck-fileutils
1615 installcheck-host: maybe-installcheck-findutils
1616 installcheck-host: maybe-installcheck-find
1617 installcheck-host: maybe-installcheck-fixincludes
1618 installcheck-host: maybe-installcheck-flex
1619 installcheck-host: maybe-installcheck-gas
1620 installcheck-host: maybe-installcheck-gcc
1621 installcheck-host: maybe-installcheck-gawk
1622 installcheck-host: maybe-installcheck-gettext
1623 installcheck-host: maybe-installcheck-gmp
1624 installcheck-host: maybe-installcheck-mpfr
1625 installcheck-host: maybe-installcheck-gnuserv
1626 installcheck-host: maybe-installcheck-gprof
1627 installcheck-host: maybe-installcheck-gzip
1628 installcheck-host: maybe-installcheck-hello
1629 installcheck-host: maybe-installcheck-indent
1630 installcheck-host: maybe-installcheck-intl
1631 installcheck-host: maybe-installcheck-tcl
1632 installcheck-host: maybe-installcheck-itcl
1633 installcheck-host: maybe-installcheck-ld
1634 installcheck-host: maybe-installcheck-libcpp
1635 installcheck-host: maybe-installcheck-libdecnumber
1636 installcheck-host: maybe-installcheck-libgui
1637 installcheck-host: maybe-installcheck-libiberty
1638 installcheck-host: maybe-installcheck-libtool
1639 installcheck-host: maybe-installcheck-m4
1640 installcheck-host: maybe-installcheck-make
1641 installcheck-host: maybe-installcheck-mmalloc
1642 installcheck-host: maybe-installcheck-patch
1643 installcheck-host: maybe-installcheck-perl
1644 installcheck-host: maybe-installcheck-prms
1645 installcheck-host: maybe-installcheck-rcs
1646 installcheck-host: maybe-installcheck-readline
1647 installcheck-host: maybe-installcheck-release
1648 installcheck-host: maybe-installcheck-recode
1649 installcheck-host: maybe-installcheck-sed
1650 installcheck-host: maybe-installcheck-send-pr
1651 installcheck-host: maybe-installcheck-shellutils
1652 installcheck-host: maybe-installcheck-sid
1653 installcheck-host: maybe-installcheck-sim
1654 installcheck-host: maybe-installcheck-tar
1655 installcheck-host: maybe-installcheck-texinfo
1656 installcheck-host: maybe-installcheck-textutils
1657 installcheck-host: maybe-installcheck-time
1658 installcheck-host: maybe-installcheck-uudecode
1659 installcheck-host: maybe-installcheck-wdiff
1660 installcheck-host: maybe-installcheck-zip
1661 installcheck-host: maybe-installcheck-zlib
1662 installcheck-host: maybe-installcheck-gdb
1663 installcheck-host: maybe-installcheck-expect
1664 installcheck-host: maybe-installcheck-guile
1665 installcheck-host: maybe-installcheck-tk
1666 installcheck-host: maybe-installcheck-libtermcap
1667 installcheck-host: maybe-installcheck-utils
1668 installcheck-host: maybe-installcheck-gnattools
1670 .PHONY: installcheck-target
1672 installcheck-target: maybe-installcheck-target-libstdc++-v3
1673 installcheck-target: maybe-installcheck-target-libmudflap
1674 installcheck-target: maybe-installcheck-target-libssp
1675 installcheck-target: maybe-installcheck-target-newlib
1676 installcheck-target: maybe-installcheck-target-libgcc
1677 installcheck-target: maybe-installcheck-target-libgfortran
1678 installcheck-target: maybe-installcheck-target-libobjc
1679 installcheck-target: maybe-installcheck-target-libtermcap
1680 installcheck-target: maybe-installcheck-target-winsup
1681 installcheck-target: maybe-installcheck-target-libgloss
1682 installcheck-target: maybe-installcheck-target-libiberty
1683 installcheck-target: maybe-installcheck-target-gperf
1684 installcheck-target: maybe-installcheck-target-examples
1685 installcheck-target: maybe-installcheck-target-libffi
1686 installcheck-target: maybe-installcheck-target-libjava
1687 installcheck-target: maybe-installcheck-target-zlib
1688 installcheck-target: maybe-installcheck-target-boehm-gc
1689 installcheck-target: maybe-installcheck-target-qthreads
1690 installcheck-target: maybe-installcheck-target-rda
1691 installcheck-target: maybe-installcheck-target-libada
1692 installcheck-target: maybe-installcheck-target-libgomp
1694 .PHONY: do-mostlyclean
1695 do-mostlyclean:
1696 @: $(MAKE); $(unstage)
1697 @r=`${PWD_COMMAND}`; export r; \
1698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1699 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1700 mostlyclean-target
1703 .PHONY: mostlyclean-host
1705 mostlyclean-host: maybe-mostlyclean-ash
1706 mostlyclean-host: maybe-mostlyclean-autoconf
1707 mostlyclean-host: maybe-mostlyclean-automake
1708 mostlyclean-host: maybe-mostlyclean-bash
1709 mostlyclean-host: maybe-mostlyclean-bfd
1710 mostlyclean-host: maybe-mostlyclean-opcodes
1711 mostlyclean-host: maybe-mostlyclean-binutils
1712 mostlyclean-host: maybe-mostlyclean-bison
1713 mostlyclean-host: maybe-mostlyclean-byacc
1714 mostlyclean-host: maybe-mostlyclean-bzip2
1715 mostlyclean-host: maybe-mostlyclean-dejagnu
1716 mostlyclean-host: maybe-mostlyclean-diff
1717 mostlyclean-host: maybe-mostlyclean-dosutils
1718 mostlyclean-host: maybe-mostlyclean-etc
1719 mostlyclean-host: maybe-mostlyclean-fastjar
1720 mostlyclean-host: maybe-mostlyclean-fileutils
1721 mostlyclean-host: maybe-mostlyclean-findutils
1722 mostlyclean-host: maybe-mostlyclean-find
1723 mostlyclean-host: maybe-mostlyclean-fixincludes
1724 mostlyclean-host: maybe-mostlyclean-flex
1725 mostlyclean-host: maybe-mostlyclean-gas
1726 mostlyclean-host: maybe-mostlyclean-gcc
1727 mostlyclean-host: maybe-mostlyclean-gawk
1728 mostlyclean-host: maybe-mostlyclean-gettext
1729 mostlyclean-host: maybe-mostlyclean-gmp
1730 mostlyclean-host: maybe-mostlyclean-mpfr
1731 mostlyclean-host: maybe-mostlyclean-gnuserv
1732 mostlyclean-host: maybe-mostlyclean-gprof
1733 mostlyclean-host: maybe-mostlyclean-gzip
1734 mostlyclean-host: maybe-mostlyclean-hello
1735 mostlyclean-host: maybe-mostlyclean-indent
1736 mostlyclean-host: maybe-mostlyclean-intl
1737 mostlyclean-host: maybe-mostlyclean-tcl
1738 mostlyclean-host: maybe-mostlyclean-itcl
1739 mostlyclean-host: maybe-mostlyclean-ld
1740 mostlyclean-host: maybe-mostlyclean-libcpp
1741 mostlyclean-host: maybe-mostlyclean-libdecnumber
1742 mostlyclean-host: maybe-mostlyclean-libgui
1743 mostlyclean-host: maybe-mostlyclean-libiberty
1744 mostlyclean-host: maybe-mostlyclean-libtool
1745 mostlyclean-host: maybe-mostlyclean-m4
1746 mostlyclean-host: maybe-mostlyclean-make
1747 mostlyclean-host: maybe-mostlyclean-mmalloc
1748 mostlyclean-host: maybe-mostlyclean-patch
1749 mostlyclean-host: maybe-mostlyclean-perl
1750 mostlyclean-host: maybe-mostlyclean-prms
1751 mostlyclean-host: maybe-mostlyclean-rcs
1752 mostlyclean-host: maybe-mostlyclean-readline
1753 mostlyclean-host: maybe-mostlyclean-release
1754 mostlyclean-host: maybe-mostlyclean-recode
1755 mostlyclean-host: maybe-mostlyclean-sed
1756 mostlyclean-host: maybe-mostlyclean-send-pr
1757 mostlyclean-host: maybe-mostlyclean-shellutils
1758 mostlyclean-host: maybe-mostlyclean-sid
1759 mostlyclean-host: maybe-mostlyclean-sim
1760 mostlyclean-host: maybe-mostlyclean-tar
1761 mostlyclean-host: maybe-mostlyclean-texinfo
1762 mostlyclean-host: maybe-mostlyclean-textutils
1763 mostlyclean-host: maybe-mostlyclean-time
1764 mostlyclean-host: maybe-mostlyclean-uudecode
1765 mostlyclean-host: maybe-mostlyclean-wdiff
1766 mostlyclean-host: maybe-mostlyclean-zip
1767 mostlyclean-host: maybe-mostlyclean-zlib
1768 mostlyclean-host: maybe-mostlyclean-gdb
1769 mostlyclean-host: maybe-mostlyclean-expect
1770 mostlyclean-host: maybe-mostlyclean-guile
1771 mostlyclean-host: maybe-mostlyclean-tk
1772 mostlyclean-host: maybe-mostlyclean-libtermcap
1773 mostlyclean-host: maybe-mostlyclean-utils
1774 mostlyclean-host: maybe-mostlyclean-gnattools
1776 .PHONY: mostlyclean-target
1778 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1779 mostlyclean-target: maybe-mostlyclean-target-libmudflap
1780 mostlyclean-target: maybe-mostlyclean-target-libssp
1781 mostlyclean-target: maybe-mostlyclean-target-newlib
1782 mostlyclean-target: maybe-mostlyclean-target-libgcc
1783 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1784 mostlyclean-target: maybe-mostlyclean-target-libobjc
1785 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1786 mostlyclean-target: maybe-mostlyclean-target-winsup
1787 mostlyclean-target: maybe-mostlyclean-target-libgloss
1788 mostlyclean-target: maybe-mostlyclean-target-libiberty
1789 mostlyclean-target: maybe-mostlyclean-target-gperf
1790 mostlyclean-target: maybe-mostlyclean-target-examples
1791 mostlyclean-target: maybe-mostlyclean-target-libffi
1792 mostlyclean-target: maybe-mostlyclean-target-libjava
1793 mostlyclean-target: maybe-mostlyclean-target-zlib
1794 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1795 mostlyclean-target: maybe-mostlyclean-target-qthreads
1796 mostlyclean-target: maybe-mostlyclean-target-rda
1797 mostlyclean-target: maybe-mostlyclean-target-libada
1798 mostlyclean-target: maybe-mostlyclean-target-libgomp
1800 .PHONY: do-clean
1801 do-clean:
1802 @: $(MAKE); $(unstage)
1803 @r=`${PWD_COMMAND}`; export r; \
1804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1805 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1806 clean-target
1809 .PHONY: clean-host
1811 clean-host: maybe-clean-ash
1812 clean-host: maybe-clean-autoconf
1813 clean-host: maybe-clean-automake
1814 clean-host: maybe-clean-bash
1815 clean-host: maybe-clean-bfd
1816 clean-host: maybe-clean-opcodes
1817 clean-host: maybe-clean-binutils
1818 clean-host: maybe-clean-bison
1819 clean-host: maybe-clean-byacc
1820 clean-host: maybe-clean-bzip2
1821 clean-host: maybe-clean-dejagnu
1822 clean-host: maybe-clean-diff
1823 clean-host: maybe-clean-dosutils
1824 clean-host: maybe-clean-etc
1825 clean-host: maybe-clean-fastjar
1826 clean-host: maybe-clean-fileutils
1827 clean-host: maybe-clean-findutils
1828 clean-host: maybe-clean-find
1829 clean-host: maybe-clean-fixincludes
1830 clean-host: maybe-clean-flex
1831 clean-host: maybe-clean-gas
1832 clean-host: maybe-clean-gcc
1833 clean-host: maybe-clean-gawk
1834 clean-host: maybe-clean-gettext
1835 clean-host: maybe-clean-gmp
1836 clean-host: maybe-clean-mpfr
1837 clean-host: maybe-clean-gnuserv
1838 clean-host: maybe-clean-gprof
1839 clean-host: maybe-clean-gzip
1840 clean-host: maybe-clean-hello
1841 clean-host: maybe-clean-indent
1842 clean-host: maybe-clean-intl
1843 clean-host: maybe-clean-tcl
1844 clean-host: maybe-clean-itcl
1845 clean-host: maybe-clean-ld
1846 clean-host: maybe-clean-libcpp
1847 clean-host: maybe-clean-libdecnumber
1848 clean-host: maybe-clean-libgui
1849 clean-host: maybe-clean-libiberty
1850 clean-host: maybe-clean-libtool
1851 clean-host: maybe-clean-m4
1852 clean-host: maybe-clean-make
1853 clean-host: maybe-clean-mmalloc
1854 clean-host: maybe-clean-patch
1855 clean-host: maybe-clean-perl
1856 clean-host: maybe-clean-prms
1857 clean-host: maybe-clean-rcs
1858 clean-host: maybe-clean-readline
1859 clean-host: maybe-clean-release
1860 clean-host: maybe-clean-recode
1861 clean-host: maybe-clean-sed
1862 clean-host: maybe-clean-send-pr
1863 clean-host: maybe-clean-shellutils
1864 clean-host: maybe-clean-sid
1865 clean-host: maybe-clean-sim
1866 clean-host: maybe-clean-tar
1867 clean-host: maybe-clean-texinfo
1868 clean-host: maybe-clean-textutils
1869 clean-host: maybe-clean-time
1870 clean-host: maybe-clean-uudecode
1871 clean-host: maybe-clean-wdiff
1872 clean-host: maybe-clean-zip
1873 clean-host: maybe-clean-zlib
1874 clean-host: maybe-clean-gdb
1875 clean-host: maybe-clean-expect
1876 clean-host: maybe-clean-guile
1877 clean-host: maybe-clean-tk
1878 clean-host: maybe-clean-libtermcap
1879 clean-host: maybe-clean-utils
1880 clean-host: maybe-clean-gnattools
1882 .PHONY: clean-target
1884 clean-target: maybe-clean-target-libstdc++-v3
1885 clean-target: maybe-clean-target-libmudflap
1886 clean-target: maybe-clean-target-libssp
1887 clean-target: maybe-clean-target-newlib
1888 clean-target: maybe-clean-target-libgcc
1889 clean-target: maybe-clean-target-libgfortran
1890 clean-target: maybe-clean-target-libobjc
1891 clean-target: maybe-clean-target-libtermcap
1892 clean-target: maybe-clean-target-winsup
1893 clean-target: maybe-clean-target-libgloss
1894 clean-target: maybe-clean-target-libiberty
1895 clean-target: maybe-clean-target-gperf
1896 clean-target: maybe-clean-target-examples
1897 clean-target: maybe-clean-target-libffi
1898 clean-target: maybe-clean-target-libjava
1899 clean-target: maybe-clean-target-zlib
1900 clean-target: maybe-clean-target-boehm-gc
1901 clean-target: maybe-clean-target-qthreads
1902 clean-target: maybe-clean-target-rda
1903 clean-target: maybe-clean-target-libada
1904 clean-target: maybe-clean-target-libgomp
1906 .PHONY: do-distclean
1907 do-distclean:
1908 @: $(MAKE); $(unstage)
1909 @r=`${PWD_COMMAND}`; export r; \
1910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1911 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1912 distclean-target
1915 .PHONY: distclean-host
1917 distclean-host: maybe-distclean-ash
1918 distclean-host: maybe-distclean-autoconf
1919 distclean-host: maybe-distclean-automake
1920 distclean-host: maybe-distclean-bash
1921 distclean-host: maybe-distclean-bfd
1922 distclean-host: maybe-distclean-opcodes
1923 distclean-host: maybe-distclean-binutils
1924 distclean-host: maybe-distclean-bison
1925 distclean-host: maybe-distclean-byacc
1926 distclean-host: maybe-distclean-bzip2
1927 distclean-host: maybe-distclean-dejagnu
1928 distclean-host: maybe-distclean-diff
1929 distclean-host: maybe-distclean-dosutils
1930 distclean-host: maybe-distclean-etc
1931 distclean-host: maybe-distclean-fastjar
1932 distclean-host: maybe-distclean-fileutils
1933 distclean-host: maybe-distclean-findutils
1934 distclean-host: maybe-distclean-find
1935 distclean-host: maybe-distclean-fixincludes
1936 distclean-host: maybe-distclean-flex
1937 distclean-host: maybe-distclean-gas
1938 distclean-host: maybe-distclean-gcc
1939 distclean-host: maybe-distclean-gawk
1940 distclean-host: maybe-distclean-gettext
1941 distclean-host: maybe-distclean-gmp
1942 distclean-host: maybe-distclean-mpfr
1943 distclean-host: maybe-distclean-gnuserv
1944 distclean-host: maybe-distclean-gprof
1945 distclean-host: maybe-distclean-gzip
1946 distclean-host: maybe-distclean-hello
1947 distclean-host: maybe-distclean-indent
1948 distclean-host: maybe-distclean-intl
1949 distclean-host: maybe-distclean-tcl
1950 distclean-host: maybe-distclean-itcl
1951 distclean-host: maybe-distclean-ld
1952 distclean-host: maybe-distclean-libcpp
1953 distclean-host: maybe-distclean-libdecnumber
1954 distclean-host: maybe-distclean-libgui
1955 distclean-host: maybe-distclean-libiberty
1956 distclean-host: maybe-distclean-libtool
1957 distclean-host: maybe-distclean-m4
1958 distclean-host: maybe-distclean-make
1959 distclean-host: maybe-distclean-mmalloc
1960 distclean-host: maybe-distclean-patch
1961 distclean-host: maybe-distclean-perl
1962 distclean-host: maybe-distclean-prms
1963 distclean-host: maybe-distclean-rcs
1964 distclean-host: maybe-distclean-readline
1965 distclean-host: maybe-distclean-release
1966 distclean-host: maybe-distclean-recode
1967 distclean-host: maybe-distclean-sed
1968 distclean-host: maybe-distclean-send-pr
1969 distclean-host: maybe-distclean-shellutils
1970 distclean-host: maybe-distclean-sid
1971 distclean-host: maybe-distclean-sim
1972 distclean-host: maybe-distclean-tar
1973 distclean-host: maybe-distclean-texinfo
1974 distclean-host: maybe-distclean-textutils
1975 distclean-host: maybe-distclean-time
1976 distclean-host: maybe-distclean-uudecode
1977 distclean-host: maybe-distclean-wdiff
1978 distclean-host: maybe-distclean-zip
1979 distclean-host: maybe-distclean-zlib
1980 distclean-host: maybe-distclean-gdb
1981 distclean-host: maybe-distclean-expect
1982 distclean-host: maybe-distclean-guile
1983 distclean-host: maybe-distclean-tk
1984 distclean-host: maybe-distclean-libtermcap
1985 distclean-host: maybe-distclean-utils
1986 distclean-host: maybe-distclean-gnattools
1988 .PHONY: distclean-target
1990 distclean-target: maybe-distclean-target-libstdc++-v3
1991 distclean-target: maybe-distclean-target-libmudflap
1992 distclean-target: maybe-distclean-target-libssp
1993 distclean-target: maybe-distclean-target-newlib
1994 distclean-target: maybe-distclean-target-libgcc
1995 distclean-target: maybe-distclean-target-libgfortran
1996 distclean-target: maybe-distclean-target-libobjc
1997 distclean-target: maybe-distclean-target-libtermcap
1998 distclean-target: maybe-distclean-target-winsup
1999 distclean-target: maybe-distclean-target-libgloss
2000 distclean-target: maybe-distclean-target-libiberty
2001 distclean-target: maybe-distclean-target-gperf
2002 distclean-target: maybe-distclean-target-examples
2003 distclean-target: maybe-distclean-target-libffi
2004 distclean-target: maybe-distclean-target-libjava
2005 distclean-target: maybe-distclean-target-zlib
2006 distclean-target: maybe-distclean-target-boehm-gc
2007 distclean-target: maybe-distclean-target-qthreads
2008 distclean-target: maybe-distclean-target-rda
2009 distclean-target: maybe-distclean-target-libada
2010 distclean-target: maybe-distclean-target-libgomp
2012 .PHONY: do-maintainer-clean
2013 do-maintainer-clean:
2014 @: $(MAKE); $(unstage)
2015 @r=`${PWD_COMMAND}`; export r; \
2016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2017 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2018 maintainer-clean-target
2021 .PHONY: maintainer-clean-host
2023 maintainer-clean-host: maybe-maintainer-clean-ash
2024 maintainer-clean-host: maybe-maintainer-clean-autoconf
2025 maintainer-clean-host: maybe-maintainer-clean-automake
2026 maintainer-clean-host: maybe-maintainer-clean-bash
2027 maintainer-clean-host: maybe-maintainer-clean-bfd
2028 maintainer-clean-host: maybe-maintainer-clean-opcodes
2029 maintainer-clean-host: maybe-maintainer-clean-binutils
2030 maintainer-clean-host: maybe-maintainer-clean-bison
2031 maintainer-clean-host: maybe-maintainer-clean-byacc
2032 maintainer-clean-host: maybe-maintainer-clean-bzip2
2033 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2034 maintainer-clean-host: maybe-maintainer-clean-diff
2035 maintainer-clean-host: maybe-maintainer-clean-dosutils
2036 maintainer-clean-host: maybe-maintainer-clean-etc
2037 maintainer-clean-host: maybe-maintainer-clean-fastjar
2038 maintainer-clean-host: maybe-maintainer-clean-fileutils
2039 maintainer-clean-host: maybe-maintainer-clean-findutils
2040 maintainer-clean-host: maybe-maintainer-clean-find
2041 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2042 maintainer-clean-host: maybe-maintainer-clean-flex
2043 maintainer-clean-host: maybe-maintainer-clean-gas
2044 maintainer-clean-host: maybe-maintainer-clean-gcc
2045 maintainer-clean-host: maybe-maintainer-clean-gawk
2046 maintainer-clean-host: maybe-maintainer-clean-gettext
2047 maintainer-clean-host: maybe-maintainer-clean-gmp
2048 maintainer-clean-host: maybe-maintainer-clean-mpfr
2049 maintainer-clean-host: maybe-maintainer-clean-gnuserv
2050 maintainer-clean-host: maybe-maintainer-clean-gprof
2051 maintainer-clean-host: maybe-maintainer-clean-gzip
2052 maintainer-clean-host: maybe-maintainer-clean-hello
2053 maintainer-clean-host: maybe-maintainer-clean-indent
2054 maintainer-clean-host: maybe-maintainer-clean-intl
2055 maintainer-clean-host: maybe-maintainer-clean-tcl
2056 maintainer-clean-host: maybe-maintainer-clean-itcl
2057 maintainer-clean-host: maybe-maintainer-clean-ld
2058 maintainer-clean-host: maybe-maintainer-clean-libcpp
2059 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2060 maintainer-clean-host: maybe-maintainer-clean-libgui
2061 maintainer-clean-host: maybe-maintainer-clean-libiberty
2062 maintainer-clean-host: maybe-maintainer-clean-libtool
2063 maintainer-clean-host: maybe-maintainer-clean-m4
2064 maintainer-clean-host: maybe-maintainer-clean-make
2065 maintainer-clean-host: maybe-maintainer-clean-mmalloc
2066 maintainer-clean-host: maybe-maintainer-clean-patch
2067 maintainer-clean-host: maybe-maintainer-clean-perl
2068 maintainer-clean-host: maybe-maintainer-clean-prms
2069 maintainer-clean-host: maybe-maintainer-clean-rcs
2070 maintainer-clean-host: maybe-maintainer-clean-readline
2071 maintainer-clean-host: maybe-maintainer-clean-release
2072 maintainer-clean-host: maybe-maintainer-clean-recode
2073 maintainer-clean-host: maybe-maintainer-clean-sed
2074 maintainer-clean-host: maybe-maintainer-clean-send-pr
2075 maintainer-clean-host: maybe-maintainer-clean-shellutils
2076 maintainer-clean-host: maybe-maintainer-clean-sid
2077 maintainer-clean-host: maybe-maintainer-clean-sim
2078 maintainer-clean-host: maybe-maintainer-clean-tar
2079 maintainer-clean-host: maybe-maintainer-clean-texinfo
2080 maintainer-clean-host: maybe-maintainer-clean-textutils
2081 maintainer-clean-host: maybe-maintainer-clean-time
2082 maintainer-clean-host: maybe-maintainer-clean-uudecode
2083 maintainer-clean-host: maybe-maintainer-clean-wdiff
2084 maintainer-clean-host: maybe-maintainer-clean-zip
2085 maintainer-clean-host: maybe-maintainer-clean-zlib
2086 maintainer-clean-host: maybe-maintainer-clean-gdb
2087 maintainer-clean-host: maybe-maintainer-clean-expect
2088 maintainer-clean-host: maybe-maintainer-clean-guile
2089 maintainer-clean-host: maybe-maintainer-clean-tk
2090 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2091 maintainer-clean-host: maybe-maintainer-clean-utils
2092 maintainer-clean-host: maybe-maintainer-clean-gnattools
2094 .PHONY: maintainer-clean-target
2096 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2097 maintainer-clean-target: maybe-maintainer-clean-target-libmudflap
2098 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2099 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2100 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2101 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2102 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2103 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2104 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2105 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2106 maintainer-clean-target: maybe-maintainer-clean-target-libiberty
2107 maintainer-clean-target: maybe-maintainer-clean-target-gperf
2108 maintainer-clean-target: maybe-maintainer-clean-target-examples
2109 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2110 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2111 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2112 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2113 maintainer-clean-target: maybe-maintainer-clean-target-qthreads
2114 maintainer-clean-target: maybe-maintainer-clean-target-rda
2115 maintainer-clean-target: maybe-maintainer-clean-target-libada
2116 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2119 # Here are the targets which correspond to the do-X targets.
2121 .PHONY: info installcheck dvi pdf html install-info install-html
2122 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2123 .PHONY: local-clean local-distclean local-maintainer-clean
2124 info: do-info
2125 installcheck: do-installcheck
2126 dvi: do-dvi
2127 pdf: do-pdf
2128 html: do-html
2130 # Make sure makeinfo is built before we do a `make info', if we're
2131 # in fact building texinfo.
2132 do-info: maybe-all-texinfo
2134 install-info: do-install-info dir.info
2135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2136 if [ -f dir.info ] ; then \
2137 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2138 else true ; fi
2140 install-html: do-install-html
2142 local-clean:
2143 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2145 local-distclean:
2146 -rm -f Makefile config.status config.cache mh-frag mt-frag
2147 -rm -f maybedep.tmp serdep.tmp
2148 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2149 rm -rf $(TARGET_SUBDIR); \
2150 else true; fi
2151 -rm -rf $(BUILD_SUBDIR)
2152 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2153 rm -rf $(HOST_SUBDIR); \
2154 else true; fi
2155 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2156 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2157 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2158 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2159 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2161 local-maintainer-clean:
2162 @echo "This command is intended for maintainers to use;"
2163 @echo "it deletes files that may require special tools to rebuild."
2165 clean: do-clean local-clean
2166 mostlyclean: do-mostlyclean local-clean
2167 distclean: do-distclean local-clean local-distclean
2168 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2169 maintainer-clean: local-distclean
2170 realclean: maintainer-clean
2172 # Check target.
2174 .PHONY: check do-check
2175 check: do-check
2177 # Only include modules actually being configured and built.
2178 .PHONY: check-host
2179 check-host: \
2180 maybe-check-ash \
2181 maybe-check-autoconf \
2182 maybe-check-automake \
2183 maybe-check-bash \
2184 maybe-check-bfd \
2185 maybe-check-opcodes \
2186 maybe-check-binutils \
2187 maybe-check-bison \
2188 maybe-check-byacc \
2189 maybe-check-bzip2 \
2190 maybe-check-dejagnu \
2191 maybe-check-diff \
2192 maybe-check-dosutils \
2193 maybe-check-etc \
2194 maybe-check-fastjar \
2195 maybe-check-fileutils \
2196 maybe-check-findutils \
2197 maybe-check-find \
2198 maybe-check-fixincludes \
2199 maybe-check-flex \
2200 maybe-check-gas \
2201 maybe-check-gcc \
2202 maybe-check-gawk \
2203 maybe-check-gettext \
2204 maybe-check-gmp \
2205 maybe-check-mpfr \
2206 maybe-check-gnuserv \
2207 maybe-check-gprof \
2208 maybe-check-gzip \
2209 maybe-check-hello \
2210 maybe-check-indent \
2211 maybe-check-intl \
2212 maybe-check-tcl \
2213 maybe-check-itcl \
2214 maybe-check-ld \
2215 maybe-check-libcpp \
2216 maybe-check-libdecnumber \
2217 maybe-check-libgui \
2218 maybe-check-libiberty \
2219 maybe-check-libtool \
2220 maybe-check-m4 \
2221 maybe-check-make \
2222 maybe-check-mmalloc \
2223 maybe-check-patch \
2224 maybe-check-perl \
2225 maybe-check-prms \
2226 maybe-check-rcs \
2227 maybe-check-readline \
2228 maybe-check-release \
2229 maybe-check-recode \
2230 maybe-check-sed \
2231 maybe-check-send-pr \
2232 maybe-check-shellutils \
2233 maybe-check-sid \
2234 maybe-check-sim \
2235 maybe-check-tar \
2236 maybe-check-texinfo \
2237 maybe-check-textutils \
2238 maybe-check-time \
2239 maybe-check-uudecode \
2240 maybe-check-wdiff \
2241 maybe-check-zip \
2242 maybe-check-zlib \
2243 maybe-check-gdb \
2244 maybe-check-expect \
2245 maybe-check-guile \
2246 maybe-check-tk \
2247 maybe-check-libtermcap \
2248 maybe-check-utils \
2249 maybe-check-gnattools
2251 .PHONY: check-target
2252 check-target: \
2253 maybe-check-target-libstdc++-v3 \
2254 maybe-check-target-libmudflap \
2255 maybe-check-target-libssp \
2256 maybe-check-target-newlib \
2257 maybe-check-target-libgcc \
2258 maybe-check-target-libgfortran \
2259 maybe-check-target-libobjc \
2260 maybe-check-target-libtermcap \
2261 maybe-check-target-winsup \
2262 maybe-check-target-libgloss \
2263 maybe-check-target-libiberty \
2264 maybe-check-target-gperf \
2265 maybe-check-target-examples \
2266 maybe-check-target-libffi \
2267 maybe-check-target-libjava \
2268 maybe-check-target-zlib \
2269 maybe-check-target-boehm-gc \
2270 maybe-check-target-qthreads \
2271 maybe-check-target-rda \
2272 maybe-check-target-libada \
2273 maybe-check-target-libgomp
2275 do-check:
2276 @: $(MAKE); $(unstage)
2277 @r=`${PWD_COMMAND}`; export r; \
2278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2279 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2281 # Automated reporting of test results.
2283 warning.log: build.log
2284 $(srcdir)/contrib/warn_summary build.log > $@
2286 mail-report.log:
2287 if test x'$(BOOT_CFLAGS)' != x''; then \
2288 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2289 fi; \
2290 $(srcdir)/contrib/test_summary -t >$@
2291 chmod +x $@
2292 echo If you really want to send e-mail, run ./$@ now
2294 mail-report-with-warnings.log: warning.log
2295 if test x'$(BOOT_CFLAGS)' != x''; then \
2296 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2297 fi; \
2298 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2299 chmod +x $@
2300 echo If you really want to send e-mail, run ./$@ now
2302 # Installation targets.
2304 .PHONY: install uninstall
2305 install:
2306 @: $(MAKE); $(unstage)
2307 @r=`${PWD_COMMAND}`; export r; \
2308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2309 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2311 .PHONY: install-host-nogcc
2312 install-host-nogcc: \
2313 maybe-install-ash \
2314 maybe-install-autoconf \
2315 maybe-install-automake \
2316 maybe-install-bash \
2317 maybe-install-bfd \
2318 maybe-install-opcodes \
2319 maybe-install-binutils \
2320 maybe-install-bison \
2321 maybe-install-byacc \
2322 maybe-install-bzip2 \
2323 maybe-install-dejagnu \
2324 maybe-install-diff \
2325 maybe-install-dosutils \
2326 maybe-install-etc \
2327 maybe-install-fastjar \
2328 maybe-install-fileutils \
2329 maybe-install-findutils \
2330 maybe-install-find \
2331 maybe-install-fixincludes \
2332 maybe-install-flex \
2333 maybe-install-gas \
2334 maybe-install-gawk \
2335 maybe-install-gettext \
2336 maybe-install-gmp \
2337 maybe-install-mpfr \
2338 maybe-install-gnuserv \
2339 maybe-install-gprof \
2340 maybe-install-gzip \
2341 maybe-install-hello \
2342 maybe-install-indent \
2343 maybe-install-intl \
2344 maybe-install-tcl \
2345 maybe-install-itcl \
2346 maybe-install-ld \
2347 maybe-install-libcpp \
2348 maybe-install-libdecnumber \
2349 maybe-install-libgui \
2350 maybe-install-libiberty \
2351 maybe-install-libtool \
2352 maybe-install-m4 \
2353 maybe-install-make \
2354 maybe-install-mmalloc \
2355 maybe-install-patch \
2356 maybe-install-perl \
2357 maybe-install-prms \
2358 maybe-install-rcs \
2359 maybe-install-readline \
2360 maybe-install-release \
2361 maybe-install-recode \
2362 maybe-install-sed \
2363 maybe-install-send-pr \
2364 maybe-install-shellutils \
2365 maybe-install-sid \
2366 maybe-install-sim \
2367 maybe-install-tar \
2368 maybe-install-texinfo \
2369 maybe-install-textutils \
2370 maybe-install-time \
2371 maybe-install-uudecode \
2372 maybe-install-wdiff \
2373 maybe-install-zip \
2374 maybe-install-zlib \
2375 maybe-install-gdb \
2376 maybe-install-expect \
2377 maybe-install-guile \
2378 maybe-install-tk \
2379 maybe-install-libtermcap \
2380 maybe-install-utils \
2381 maybe-install-gnattools
2383 .PHONY: install-host
2384 install-host: \
2385 maybe-install-ash \
2386 maybe-install-autoconf \
2387 maybe-install-automake \
2388 maybe-install-bash \
2389 maybe-install-bfd \
2390 maybe-install-opcodes \
2391 maybe-install-binutils \
2392 maybe-install-bison \
2393 maybe-install-byacc \
2394 maybe-install-bzip2 \
2395 maybe-install-dejagnu \
2396 maybe-install-diff \
2397 maybe-install-dosutils \
2398 maybe-install-etc \
2399 maybe-install-fastjar \
2400 maybe-install-fileutils \
2401 maybe-install-findutils \
2402 maybe-install-find \
2403 maybe-install-fixincludes \
2404 maybe-install-flex \
2405 maybe-install-gas \
2406 maybe-install-gcc \
2407 maybe-install-gawk \
2408 maybe-install-gettext \
2409 maybe-install-gmp \
2410 maybe-install-mpfr \
2411 maybe-install-gnuserv \
2412 maybe-install-gprof \
2413 maybe-install-gzip \
2414 maybe-install-hello \
2415 maybe-install-indent \
2416 maybe-install-intl \
2417 maybe-install-tcl \
2418 maybe-install-itcl \
2419 maybe-install-ld \
2420 maybe-install-libcpp \
2421 maybe-install-libdecnumber \
2422 maybe-install-libgui \
2423 maybe-install-libiberty \
2424 maybe-install-libtool \
2425 maybe-install-m4 \
2426 maybe-install-make \
2427 maybe-install-mmalloc \
2428 maybe-install-patch \
2429 maybe-install-perl \
2430 maybe-install-prms \
2431 maybe-install-rcs \
2432 maybe-install-readline \
2433 maybe-install-release \
2434 maybe-install-recode \
2435 maybe-install-sed \
2436 maybe-install-send-pr \
2437 maybe-install-shellutils \
2438 maybe-install-sid \
2439 maybe-install-sim \
2440 maybe-install-tar \
2441 maybe-install-texinfo \
2442 maybe-install-textutils \
2443 maybe-install-time \
2444 maybe-install-uudecode \
2445 maybe-install-wdiff \
2446 maybe-install-zip \
2447 maybe-install-zlib \
2448 maybe-install-gdb \
2449 maybe-install-expect \
2450 maybe-install-guile \
2451 maybe-install-tk \
2452 maybe-install-libtermcap \
2453 maybe-install-utils \
2454 maybe-install-gnattools
2456 .PHONY: install-target
2457 install-target: \
2458 maybe-install-target-libstdc++-v3 \
2459 maybe-install-target-libmudflap \
2460 maybe-install-target-libssp \
2461 maybe-install-target-newlib \
2462 maybe-install-target-libgcc \
2463 maybe-install-target-libgfortran \
2464 maybe-install-target-libobjc \
2465 maybe-install-target-libtermcap \
2466 maybe-install-target-winsup \
2467 maybe-install-target-libgloss \
2468 maybe-install-target-libiberty \
2469 maybe-install-target-gperf \
2470 maybe-install-target-examples \
2471 maybe-install-target-libffi \
2472 maybe-install-target-libjava \
2473 maybe-install-target-zlib \
2474 maybe-install-target-boehm-gc \
2475 maybe-install-target-qthreads \
2476 maybe-install-target-rda \
2477 maybe-install-target-libada \
2478 maybe-install-target-libgomp
2480 uninstall:
2481 @echo "the uninstall target is not supported in this tree"
2483 .PHONY: install.all
2484 install.all: install-no-fixedincludes
2485 @if [ -f ./gcc/Makefile ] ; then \
2486 r=`${PWD_COMMAND}` ; export r ; \
2487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2488 $(HOST_EXPORTS) \
2489 (cd ./gcc && \
2490 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2491 else \
2492 true ; \
2495 # install-no-fixedincludes is used because Cygnus can not distribute
2496 # the fixed header files.
2497 .PHONY: install-no-fixedincludes
2498 install-no-fixedincludes: installdirs install-host-nogcc \
2499 install-target gcc-no-fixedincludes
2501 ### other supporting targets
2503 MAKEDIRS= \
2504 $(DESTDIR)$(prefix) \
2505 $(DESTDIR)$(exec_prefix)
2506 .PHONY: installdirs
2507 installdirs: mkinstalldirs
2508 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2510 dir.info: do-install-info
2511 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2512 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2513 mv -f dir.info.new dir.info ; \
2514 else true ; \
2517 dist:
2518 @echo "Building a full distribution of this tree isn't done"
2519 @echo "via 'make dist'. Check out the etc/ subdirectory"
2521 etags tags: TAGS
2523 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2524 # ability to use several tags files at once, so there is probably no need
2525 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2526 # (if we felt like it) have this Makefile write a piece of elisp which
2527 # the user could load to tell emacs19 where all the TAGS files we just
2528 # built are.
2529 TAGS: do-TAGS
2531 # ------------------------------------
2532 # Macros for configure and all targets
2533 # ------------------------------------
2539 # --------------------------------------
2540 # Modules which run on the build machine
2541 # --------------------------------------
2544 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2545 maybe-configure-build-libiberty:
2546 @if gcc-bootstrap
2547 configure-build-libiberty: stage_current
2548 @endif gcc-bootstrap
2549 @if build-libiberty
2550 maybe-configure-build-libiberty: configure-build-libiberty
2551 configure-build-libiberty:
2552 @: $(MAKE); $(unstage)
2553 @r=`${PWD_COMMAND}`; export r; \
2554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2556 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2557 $(BUILD_EXPORTS) \
2558 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2559 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2560 case $(srcdir) in \
2561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2562 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2564 esac; \
2565 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2566 libsrcdir="$$s/libiberty"; \
2567 rm -f no-such-file || : ; \
2568 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2569 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2570 --target=${target_alias} $${srcdiroption} \
2571 || exit 1
2572 @endif build-libiberty
2578 .PHONY: all-build-libiberty maybe-all-build-libiberty
2579 maybe-all-build-libiberty:
2580 @if gcc-bootstrap
2581 all-build-libiberty: stage_current
2582 @endif gcc-bootstrap
2583 @if build-libiberty
2584 TARGET-build-libiberty=all
2585 maybe-all-build-libiberty: all-build-libiberty
2586 all-build-libiberty: configure-build-libiberty
2587 @: $(MAKE); $(unstage)
2588 @r=`${PWD_COMMAND}`; export r; \
2589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2590 $(BUILD_EXPORTS) \
2591 (cd $(BUILD_SUBDIR)/libiberty && \
2592 $(MAKE) $(TARGET-build-libiberty))
2593 @endif build-libiberty
2599 .PHONY: configure-build-bison maybe-configure-build-bison
2600 maybe-configure-build-bison:
2601 @if gcc-bootstrap
2602 configure-build-bison: stage_current
2603 @endif gcc-bootstrap
2604 @if build-bison
2605 maybe-configure-build-bison: configure-build-bison
2606 configure-build-bison:
2607 @: $(MAKE); $(unstage)
2608 @r=`${PWD_COMMAND}`; export r; \
2609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2610 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2611 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2612 $(BUILD_EXPORTS) \
2613 echo Configuring in $(BUILD_SUBDIR)/bison; \
2614 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2615 case $(srcdir) in \
2616 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2617 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2618 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2619 esac; \
2620 srcdiroption="--srcdir=$${topdir}/bison"; \
2621 libsrcdir="$$s/bison"; \
2622 rm -f no-such-file || : ; \
2623 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2624 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2625 --target=${target_alias} $${srcdiroption} \
2626 || exit 1
2627 @endif build-bison
2633 .PHONY: all-build-bison maybe-all-build-bison
2634 maybe-all-build-bison:
2635 @if gcc-bootstrap
2636 all-build-bison: stage_current
2637 @endif gcc-bootstrap
2638 @if build-bison
2639 TARGET-build-bison=all
2640 maybe-all-build-bison: all-build-bison
2641 all-build-bison: configure-build-bison
2642 @: $(MAKE); $(unstage)
2643 @r=`${PWD_COMMAND}`; export r; \
2644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2645 $(BUILD_EXPORTS) \
2646 (cd $(BUILD_SUBDIR)/bison && \
2647 $(MAKE) $(TARGET-build-bison))
2648 @endif build-bison
2654 .PHONY: configure-build-byacc maybe-configure-build-byacc
2655 maybe-configure-build-byacc:
2656 @if gcc-bootstrap
2657 configure-build-byacc: stage_current
2658 @endif gcc-bootstrap
2659 @if build-byacc
2660 maybe-configure-build-byacc: configure-build-byacc
2661 configure-build-byacc:
2662 @: $(MAKE); $(unstage)
2663 @r=`${PWD_COMMAND}`; export r; \
2664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2665 test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2666 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2667 $(BUILD_EXPORTS) \
2668 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2669 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2670 case $(srcdir) in \
2671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2672 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2674 esac; \
2675 srcdiroption="--srcdir=$${topdir}/byacc"; \
2676 libsrcdir="$$s/byacc"; \
2677 rm -f no-such-file || : ; \
2678 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2679 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2680 --target=${target_alias} $${srcdiroption} \
2681 || exit 1
2682 @endif build-byacc
2688 .PHONY: all-build-byacc maybe-all-build-byacc
2689 maybe-all-build-byacc:
2690 @if gcc-bootstrap
2691 all-build-byacc: stage_current
2692 @endif gcc-bootstrap
2693 @if build-byacc
2694 TARGET-build-byacc=all
2695 maybe-all-build-byacc: all-build-byacc
2696 all-build-byacc: configure-build-byacc
2697 @: $(MAKE); $(unstage)
2698 @r=`${PWD_COMMAND}`; export r; \
2699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2700 $(BUILD_EXPORTS) \
2701 (cd $(BUILD_SUBDIR)/byacc && \
2702 $(MAKE) $(TARGET-build-byacc))
2703 @endif build-byacc
2709 .PHONY: configure-build-flex maybe-configure-build-flex
2710 maybe-configure-build-flex:
2711 @if gcc-bootstrap
2712 configure-build-flex: stage_current
2713 @endif gcc-bootstrap
2714 @if build-flex
2715 maybe-configure-build-flex: configure-build-flex
2716 configure-build-flex:
2717 @: $(MAKE); $(unstage)
2718 @r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2720 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2721 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2722 $(BUILD_EXPORTS) \
2723 echo Configuring in $(BUILD_SUBDIR)/flex; \
2724 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2725 case $(srcdir) in \
2726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2727 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2729 esac; \
2730 srcdiroption="--srcdir=$${topdir}/flex"; \
2731 libsrcdir="$$s/flex"; \
2732 rm -f no-such-file || : ; \
2733 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2734 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2735 --target=${target_alias} $${srcdiroption} \
2736 || exit 1
2737 @endif build-flex
2743 .PHONY: all-build-flex maybe-all-build-flex
2744 maybe-all-build-flex:
2745 @if gcc-bootstrap
2746 all-build-flex: stage_current
2747 @endif gcc-bootstrap
2748 @if build-flex
2749 TARGET-build-flex=all
2750 maybe-all-build-flex: all-build-flex
2751 all-build-flex: configure-build-flex
2752 @: $(MAKE); $(unstage)
2753 @r=`${PWD_COMMAND}`; export r; \
2754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2755 $(BUILD_EXPORTS) \
2756 (cd $(BUILD_SUBDIR)/flex && \
2757 $(MAKE) $(TARGET-build-flex))
2758 @endif build-flex
2764 .PHONY: configure-build-m4 maybe-configure-build-m4
2765 maybe-configure-build-m4:
2766 @if gcc-bootstrap
2767 configure-build-m4: stage_current
2768 @endif gcc-bootstrap
2769 @if build-m4
2770 maybe-configure-build-m4: configure-build-m4
2771 configure-build-m4:
2772 @: $(MAKE); $(unstage)
2773 @r=`${PWD_COMMAND}`; export r; \
2774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2775 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2776 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2777 $(BUILD_EXPORTS) \
2778 echo Configuring in $(BUILD_SUBDIR)/m4; \
2779 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2780 case $(srcdir) in \
2781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2782 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2784 esac; \
2785 srcdiroption="--srcdir=$${topdir}/m4"; \
2786 libsrcdir="$$s/m4"; \
2787 rm -f no-such-file || : ; \
2788 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2789 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2790 --target=${target_alias} $${srcdiroption} \
2791 || exit 1
2792 @endif build-m4
2798 .PHONY: all-build-m4 maybe-all-build-m4
2799 maybe-all-build-m4:
2800 @if gcc-bootstrap
2801 all-build-m4: stage_current
2802 @endif gcc-bootstrap
2803 @if build-m4
2804 TARGET-build-m4=all
2805 maybe-all-build-m4: all-build-m4
2806 all-build-m4: configure-build-m4
2807 @: $(MAKE); $(unstage)
2808 @r=`${PWD_COMMAND}`; export r; \
2809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2810 $(BUILD_EXPORTS) \
2811 (cd $(BUILD_SUBDIR)/m4 && \
2812 $(MAKE) $(TARGET-build-m4))
2813 @endif build-m4
2819 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2820 maybe-configure-build-texinfo:
2821 @if gcc-bootstrap
2822 configure-build-texinfo: stage_current
2823 @endif gcc-bootstrap
2824 @if build-texinfo
2825 maybe-configure-build-texinfo: configure-build-texinfo
2826 configure-build-texinfo:
2827 @: $(MAKE); $(unstage)
2828 @r=`${PWD_COMMAND}`; export r; \
2829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2830 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2831 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2832 $(BUILD_EXPORTS) \
2833 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2834 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2835 case $(srcdir) in \
2836 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2837 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2838 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2839 esac; \
2840 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2841 libsrcdir="$$s/texinfo"; \
2842 rm -f no-such-file || : ; \
2843 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2844 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2845 --target=${target_alias} $${srcdiroption} \
2846 || exit 1
2847 @endif build-texinfo
2853 .PHONY: all-build-texinfo maybe-all-build-texinfo
2854 maybe-all-build-texinfo:
2855 @if gcc-bootstrap
2856 all-build-texinfo: stage_current
2857 @endif gcc-bootstrap
2858 @if build-texinfo
2859 TARGET-build-texinfo=all
2860 maybe-all-build-texinfo: all-build-texinfo
2861 all-build-texinfo: configure-build-texinfo
2862 @: $(MAKE); $(unstage)
2863 @r=`${PWD_COMMAND}`; export r; \
2864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2865 $(BUILD_EXPORTS) \
2866 (cd $(BUILD_SUBDIR)/texinfo && \
2867 $(MAKE) $(TARGET-build-texinfo))
2868 @endif build-texinfo
2874 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2875 maybe-configure-build-fixincludes:
2876 @if gcc-bootstrap
2877 configure-build-fixincludes: stage_current
2878 @endif gcc-bootstrap
2879 @if build-fixincludes
2880 maybe-configure-build-fixincludes: configure-build-fixincludes
2881 configure-build-fixincludes:
2882 @: $(MAKE); $(unstage)
2883 @r=`${PWD_COMMAND}`; export r; \
2884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2886 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2887 $(BUILD_EXPORTS) \
2888 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2889 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2890 case $(srcdir) in \
2891 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2892 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2893 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2894 esac; \
2895 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2896 libsrcdir="$$s/fixincludes"; \
2897 rm -f no-such-file || : ; \
2898 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2899 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2900 --target=${target_alias} $${srcdiroption} \
2901 || exit 1
2902 @endif build-fixincludes
2908 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2909 maybe-all-build-fixincludes:
2910 @if gcc-bootstrap
2911 all-build-fixincludes: stage_current
2912 @endif gcc-bootstrap
2913 @if build-fixincludes
2914 TARGET-build-fixincludes=all
2915 maybe-all-build-fixincludes: all-build-fixincludes
2916 all-build-fixincludes: configure-build-fixincludes
2917 @: $(MAKE); $(unstage)
2918 @r=`${PWD_COMMAND}`; export r; \
2919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2920 $(BUILD_EXPORTS) \
2921 (cd $(BUILD_SUBDIR)/fixincludes && \
2922 $(MAKE) $(TARGET-build-fixincludes))
2923 @endif build-fixincludes
2929 # --------------------------------------
2930 # Modules which run on the host machine
2931 # --------------------------------------
2934 .PHONY: configure-ash maybe-configure-ash
2935 maybe-configure-ash:
2936 @if gcc-bootstrap
2937 configure-ash: stage_current
2938 @endif gcc-bootstrap
2939 @if ash
2940 maybe-configure-ash: configure-ash
2941 configure-ash:
2942 @: $(MAKE); $(unstage)
2943 @r=`${PWD_COMMAND}`; export r; \
2944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2945 test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2946 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2947 $(HOST_EXPORTS) \
2948 echo Configuring in $(HOST_SUBDIR)/ash; \
2949 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2950 case $(srcdir) in \
2951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2952 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2954 esac; \
2955 srcdiroption="--srcdir=$${topdir}/ash"; \
2956 libsrcdir="$$s/ash"; \
2957 $(SHELL) $${libsrcdir}/configure \
2958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
2959 --target=${target_alias} $${srcdiroption} \
2960 || exit 1
2961 @endif ash
2967 .PHONY: all-ash maybe-all-ash
2968 maybe-all-ash:
2969 @if gcc-bootstrap
2970 all-ash: stage_current
2971 @endif gcc-bootstrap
2972 @if ash
2973 TARGET-ash=all
2974 maybe-all-ash: all-ash
2975 all-ash: configure-ash
2976 @: $(MAKE); $(unstage)
2977 @r=`${PWD_COMMAND}`; export r; \
2978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2979 $(HOST_EXPORTS) \
2980 (cd $(HOST_SUBDIR)/ash && \
2981 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2982 @endif ash
2987 .PHONY: check-ash maybe-check-ash
2988 maybe-check-ash:
2989 @if ash
2990 maybe-check-ash: check-ash
2992 check-ash:
2993 @: $(MAKE); $(unstage)
2994 @r=`${PWD_COMMAND}`; export r; \
2995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 $(HOST_EXPORTS) \
2997 (cd $(HOST_SUBDIR)/ash && \
2998 $(MAKE) $(FLAGS_TO_PASS) check)
3000 @endif ash
3002 .PHONY: install-ash maybe-install-ash
3003 maybe-install-ash:
3004 @if ash
3005 maybe-install-ash: install-ash
3007 install-ash: installdirs
3008 @: $(MAKE); $(unstage)
3009 @r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3011 $(HOST_EXPORTS) \
3012 (cd $(HOST_SUBDIR)/ash && \
3013 $(MAKE) $(FLAGS_TO_PASS) install)
3015 @endif ash
3017 # Other targets (info, dvi, pdf, etc.)
3019 .PHONY: maybe-info-ash info-ash
3020 maybe-info-ash:
3021 @if ash
3022 maybe-info-ash: info-ash
3024 info-ash: \
3025 configure-ash
3026 @: $(MAKE); $(unstage)
3027 @[ -f ./ash/Makefile ] || exit 0; \
3028 r=`${PWD_COMMAND}`; export r; \
3029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3030 $(HOST_EXPORTS) \
3031 for flag in $(EXTRA_HOST_FLAGS) ; do \
3032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3033 done; \
3034 echo "Doing info in ash" ; \
3035 (cd $(HOST_SUBDIR)/ash && \
3036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3038 "RANLIB=$${RANLIB}" \
3039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3040 info) \
3041 || exit 1
3043 @endif ash
3045 .PHONY: maybe-dvi-ash dvi-ash
3046 maybe-dvi-ash:
3047 @if ash
3048 maybe-dvi-ash: dvi-ash
3050 dvi-ash: \
3051 configure-ash
3052 @: $(MAKE); $(unstage)
3053 @[ -f ./ash/Makefile ] || exit 0; \
3054 r=`${PWD_COMMAND}`; export r; \
3055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3056 $(HOST_EXPORTS) \
3057 for flag in $(EXTRA_HOST_FLAGS) ; do \
3058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3059 done; \
3060 echo "Doing dvi in ash" ; \
3061 (cd $(HOST_SUBDIR)/ash && \
3062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3064 "RANLIB=$${RANLIB}" \
3065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3066 dvi) \
3067 || exit 1
3069 @endif ash
3071 .PHONY: maybe-pdf-ash pdf-ash
3072 maybe-pdf-ash:
3073 @if ash
3074 maybe-pdf-ash: pdf-ash
3076 pdf-ash: \
3077 configure-ash
3078 @: $(MAKE); $(unstage)
3079 @[ -f ./ash/Makefile ] || exit 0; \
3080 r=`${PWD_COMMAND}`; export r; \
3081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082 $(HOST_EXPORTS) \
3083 for flag in $(EXTRA_HOST_FLAGS) ; do \
3084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3085 done; \
3086 echo "Doing pdf in ash" ; \
3087 (cd $(HOST_SUBDIR)/ash && \
3088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3090 "RANLIB=$${RANLIB}" \
3091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3092 pdf) \
3093 || exit 1
3095 @endif ash
3097 .PHONY: maybe-html-ash html-ash
3098 maybe-html-ash:
3099 @if ash
3100 maybe-html-ash: html-ash
3102 html-ash: \
3103 configure-ash
3104 @: $(MAKE); $(unstage)
3105 @[ -f ./ash/Makefile ] || exit 0; \
3106 r=`${PWD_COMMAND}`; export r; \
3107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3108 $(HOST_EXPORTS) \
3109 for flag in $(EXTRA_HOST_FLAGS) ; do \
3110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3111 done; \
3112 echo "Doing html in ash" ; \
3113 (cd $(HOST_SUBDIR)/ash && \
3114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3116 "RANLIB=$${RANLIB}" \
3117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3118 html) \
3119 || exit 1
3121 @endif ash
3123 .PHONY: maybe-TAGS-ash TAGS-ash
3124 maybe-TAGS-ash:
3125 @if ash
3126 maybe-TAGS-ash: TAGS-ash
3128 TAGS-ash: \
3129 configure-ash
3130 @: $(MAKE); $(unstage)
3131 @[ -f ./ash/Makefile ] || exit 0; \
3132 r=`${PWD_COMMAND}`; export r; \
3133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3134 $(HOST_EXPORTS) \
3135 for flag in $(EXTRA_HOST_FLAGS) ; do \
3136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3137 done; \
3138 echo "Doing TAGS in ash" ; \
3139 (cd $(HOST_SUBDIR)/ash && \
3140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3142 "RANLIB=$${RANLIB}" \
3143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3144 TAGS) \
3145 || exit 1
3147 @endif ash
3149 .PHONY: maybe-install-info-ash install-info-ash
3150 maybe-install-info-ash:
3151 @if ash
3152 maybe-install-info-ash: install-info-ash
3154 install-info-ash: \
3155 configure-ash \
3156 info-ash
3157 @: $(MAKE); $(unstage)
3158 @[ -f ./ash/Makefile ] || exit 0; \
3159 r=`${PWD_COMMAND}`; export r; \
3160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3161 $(HOST_EXPORTS) \
3162 for flag in $(EXTRA_HOST_FLAGS) ; do \
3163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3164 done; \
3165 echo "Doing install-info in ash" ; \
3166 (cd $(HOST_SUBDIR)/ash && \
3167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3169 "RANLIB=$${RANLIB}" \
3170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3171 install-info) \
3172 || exit 1
3174 @endif ash
3176 .PHONY: maybe-install-html-ash install-html-ash
3177 maybe-install-html-ash:
3178 @if ash
3179 maybe-install-html-ash: install-html-ash
3181 install-html-ash: \
3182 configure-ash \
3183 html-ash
3184 @: $(MAKE); $(unstage)
3185 @[ -f ./ash/Makefile ] || exit 0; \
3186 r=`${PWD_COMMAND}`; export r; \
3187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3188 $(HOST_EXPORTS) \
3189 for flag in $(EXTRA_HOST_FLAGS) ; do \
3190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3191 done; \
3192 echo "Doing install-html in ash" ; \
3193 (cd $(HOST_SUBDIR)/ash && \
3194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3196 "RANLIB=$${RANLIB}" \
3197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3198 install-html) \
3199 || exit 1
3201 @endif ash
3203 .PHONY: maybe-installcheck-ash installcheck-ash
3204 maybe-installcheck-ash:
3205 @if ash
3206 maybe-installcheck-ash: installcheck-ash
3208 installcheck-ash: \
3209 configure-ash
3210 @: $(MAKE); $(unstage)
3211 @[ -f ./ash/Makefile ] || exit 0; \
3212 r=`${PWD_COMMAND}`; export r; \
3213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3214 $(HOST_EXPORTS) \
3215 for flag in $(EXTRA_HOST_FLAGS) ; do \
3216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3217 done; \
3218 echo "Doing installcheck in ash" ; \
3219 (cd $(HOST_SUBDIR)/ash && \
3220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3222 "RANLIB=$${RANLIB}" \
3223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3224 installcheck) \
3225 || exit 1
3227 @endif ash
3229 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3230 maybe-mostlyclean-ash:
3231 @if ash
3232 maybe-mostlyclean-ash: mostlyclean-ash
3234 mostlyclean-ash:
3235 @: $(MAKE); $(unstage)
3236 @[ -f ./ash/Makefile ] || exit 0; \
3237 r=`${PWD_COMMAND}`; export r; \
3238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3239 $(HOST_EXPORTS) \
3240 for flag in $(EXTRA_HOST_FLAGS) ; do \
3241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3242 done; \
3243 echo "Doing mostlyclean in ash" ; \
3244 (cd $(HOST_SUBDIR)/ash && \
3245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3247 "RANLIB=$${RANLIB}" \
3248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3249 mostlyclean) \
3250 || exit 1
3252 @endif ash
3254 .PHONY: maybe-clean-ash clean-ash
3255 maybe-clean-ash:
3256 @if ash
3257 maybe-clean-ash: clean-ash
3259 clean-ash:
3260 @: $(MAKE); $(unstage)
3261 @[ -f ./ash/Makefile ] || exit 0; \
3262 r=`${PWD_COMMAND}`; export r; \
3263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3264 $(HOST_EXPORTS) \
3265 for flag in $(EXTRA_HOST_FLAGS) ; do \
3266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3267 done; \
3268 echo "Doing clean in ash" ; \
3269 (cd $(HOST_SUBDIR)/ash && \
3270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3272 "RANLIB=$${RANLIB}" \
3273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3274 clean) \
3275 || exit 1
3277 @endif ash
3279 .PHONY: maybe-distclean-ash distclean-ash
3280 maybe-distclean-ash:
3281 @if ash
3282 maybe-distclean-ash: distclean-ash
3284 distclean-ash:
3285 @: $(MAKE); $(unstage)
3286 @[ -f ./ash/Makefile ] || exit 0; \
3287 r=`${PWD_COMMAND}`; export r; \
3288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3289 $(HOST_EXPORTS) \
3290 for flag in $(EXTRA_HOST_FLAGS) ; do \
3291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3292 done; \
3293 echo "Doing distclean in ash" ; \
3294 (cd $(HOST_SUBDIR)/ash && \
3295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3297 "RANLIB=$${RANLIB}" \
3298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3299 distclean) \
3300 || exit 1
3302 @endif ash
3304 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3305 maybe-maintainer-clean-ash:
3306 @if ash
3307 maybe-maintainer-clean-ash: maintainer-clean-ash
3309 maintainer-clean-ash:
3310 @: $(MAKE); $(unstage)
3311 @[ -f ./ash/Makefile ] || exit 0; \
3312 r=`${PWD_COMMAND}`; export r; \
3313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 $(HOST_EXPORTS) \
3315 for flag in $(EXTRA_HOST_FLAGS) ; do \
3316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3317 done; \
3318 echo "Doing maintainer-clean in ash" ; \
3319 (cd $(HOST_SUBDIR)/ash && \
3320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3322 "RANLIB=$${RANLIB}" \
3323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3324 maintainer-clean) \
3325 || exit 1
3327 @endif ash
3331 .PHONY: configure-autoconf maybe-configure-autoconf
3332 maybe-configure-autoconf:
3333 @if gcc-bootstrap
3334 configure-autoconf: stage_current
3335 @endif gcc-bootstrap
3336 @if autoconf
3337 maybe-configure-autoconf: configure-autoconf
3338 configure-autoconf:
3339 @: $(MAKE); $(unstage)
3340 @r=`${PWD_COMMAND}`; export r; \
3341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3342 test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3343 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3344 $(HOST_EXPORTS) \
3345 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3346 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3347 case $(srcdir) in \
3348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3349 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3350 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3351 esac; \
3352 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3353 libsrcdir="$$s/autoconf"; \
3354 $(SHELL) $${libsrcdir}/configure \
3355 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3356 --target=${target_alias} $${srcdiroption} \
3357 || exit 1
3358 @endif autoconf
3364 .PHONY: all-autoconf maybe-all-autoconf
3365 maybe-all-autoconf:
3366 @if gcc-bootstrap
3367 all-autoconf: stage_current
3368 @endif gcc-bootstrap
3369 @if autoconf
3370 TARGET-autoconf=all
3371 maybe-all-autoconf: all-autoconf
3372 all-autoconf: configure-autoconf
3373 @: $(MAKE); $(unstage)
3374 @r=`${PWD_COMMAND}`; export r; \
3375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 $(HOST_EXPORTS) \
3377 (cd $(HOST_SUBDIR)/autoconf && \
3378 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3379 @endif autoconf
3384 .PHONY: check-autoconf maybe-check-autoconf
3385 maybe-check-autoconf:
3386 @if autoconf
3387 maybe-check-autoconf: check-autoconf
3389 check-autoconf:
3390 @: $(MAKE); $(unstage)
3391 @r=`${PWD_COMMAND}`; export r; \
3392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3393 $(HOST_EXPORTS) \
3394 (cd $(HOST_SUBDIR)/autoconf && \
3395 $(MAKE) $(FLAGS_TO_PASS) check)
3397 @endif autoconf
3399 .PHONY: install-autoconf maybe-install-autoconf
3400 maybe-install-autoconf:
3401 @if autoconf
3402 maybe-install-autoconf: install-autoconf
3404 install-autoconf: installdirs
3405 @: $(MAKE); $(unstage)
3406 @r=`${PWD_COMMAND}`; export r; \
3407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3408 $(HOST_EXPORTS) \
3409 (cd $(HOST_SUBDIR)/autoconf && \
3410 $(MAKE) $(FLAGS_TO_PASS) install)
3412 @endif autoconf
3414 # Other targets (info, dvi, pdf, etc.)
3416 .PHONY: maybe-info-autoconf info-autoconf
3417 maybe-info-autoconf:
3418 @if autoconf
3419 maybe-info-autoconf: info-autoconf
3421 info-autoconf: \
3422 configure-autoconf
3423 @: $(MAKE); $(unstage)
3424 @[ -f ./autoconf/Makefile ] || exit 0; \
3425 r=`${PWD_COMMAND}`; export r; \
3426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3427 $(HOST_EXPORTS) \
3428 for flag in $(EXTRA_HOST_FLAGS) ; do \
3429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3430 done; \
3431 echo "Doing info in autoconf" ; \
3432 (cd $(HOST_SUBDIR)/autoconf && \
3433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3435 "RANLIB=$${RANLIB}" \
3436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3437 info) \
3438 || exit 1
3440 @endif autoconf
3442 .PHONY: maybe-dvi-autoconf dvi-autoconf
3443 maybe-dvi-autoconf:
3444 @if autoconf
3445 maybe-dvi-autoconf: dvi-autoconf
3447 dvi-autoconf: \
3448 configure-autoconf
3449 @: $(MAKE); $(unstage)
3450 @[ -f ./autoconf/Makefile ] || exit 0; \
3451 r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 $(HOST_EXPORTS) \
3454 for flag in $(EXTRA_HOST_FLAGS) ; do \
3455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3456 done; \
3457 echo "Doing dvi in autoconf" ; \
3458 (cd $(HOST_SUBDIR)/autoconf && \
3459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3461 "RANLIB=$${RANLIB}" \
3462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 dvi) \
3464 || exit 1
3466 @endif autoconf
3468 .PHONY: maybe-pdf-autoconf pdf-autoconf
3469 maybe-pdf-autoconf:
3470 @if autoconf
3471 maybe-pdf-autoconf: pdf-autoconf
3473 pdf-autoconf: \
3474 configure-autoconf
3475 @: $(MAKE); $(unstage)
3476 @[ -f ./autoconf/Makefile ] || exit 0; \
3477 r=`${PWD_COMMAND}`; export r; \
3478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3479 $(HOST_EXPORTS) \
3480 for flag in $(EXTRA_HOST_FLAGS) ; do \
3481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3482 done; \
3483 echo "Doing pdf in autoconf" ; \
3484 (cd $(HOST_SUBDIR)/autoconf && \
3485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3487 "RANLIB=$${RANLIB}" \
3488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3489 pdf) \
3490 || exit 1
3492 @endif autoconf
3494 .PHONY: maybe-html-autoconf html-autoconf
3495 maybe-html-autoconf:
3496 @if autoconf
3497 maybe-html-autoconf: html-autoconf
3499 html-autoconf: \
3500 configure-autoconf
3501 @: $(MAKE); $(unstage)
3502 @[ -f ./autoconf/Makefile ] || exit 0; \
3503 r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(HOST_EXPORTS) \
3506 for flag in $(EXTRA_HOST_FLAGS) ; do \
3507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3508 done; \
3509 echo "Doing html in autoconf" ; \
3510 (cd $(HOST_SUBDIR)/autoconf && \
3511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3513 "RANLIB=$${RANLIB}" \
3514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3515 html) \
3516 || exit 1
3518 @endif autoconf
3520 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3521 maybe-TAGS-autoconf:
3522 @if autoconf
3523 maybe-TAGS-autoconf: TAGS-autoconf
3525 TAGS-autoconf: \
3526 configure-autoconf
3527 @: $(MAKE); $(unstage)
3528 @[ -f ./autoconf/Makefile ] || exit 0; \
3529 r=`${PWD_COMMAND}`; export r; \
3530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3531 $(HOST_EXPORTS) \
3532 for flag in $(EXTRA_HOST_FLAGS) ; do \
3533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3534 done; \
3535 echo "Doing TAGS in autoconf" ; \
3536 (cd $(HOST_SUBDIR)/autoconf && \
3537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3539 "RANLIB=$${RANLIB}" \
3540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3541 TAGS) \
3542 || exit 1
3544 @endif autoconf
3546 .PHONY: maybe-install-info-autoconf install-info-autoconf
3547 maybe-install-info-autoconf:
3548 @if autoconf
3549 maybe-install-info-autoconf: install-info-autoconf
3551 install-info-autoconf: \
3552 configure-autoconf \
3553 info-autoconf
3554 @: $(MAKE); $(unstage)
3555 @[ -f ./autoconf/Makefile ] || exit 0; \
3556 r=`${PWD_COMMAND}`; export r; \
3557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3558 $(HOST_EXPORTS) \
3559 for flag in $(EXTRA_HOST_FLAGS) ; do \
3560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3561 done; \
3562 echo "Doing install-info in autoconf" ; \
3563 (cd $(HOST_SUBDIR)/autoconf && \
3564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3566 "RANLIB=$${RANLIB}" \
3567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3568 install-info) \
3569 || exit 1
3571 @endif autoconf
3573 .PHONY: maybe-install-html-autoconf install-html-autoconf
3574 maybe-install-html-autoconf:
3575 @if autoconf
3576 maybe-install-html-autoconf: install-html-autoconf
3578 install-html-autoconf: \
3579 configure-autoconf \
3580 html-autoconf
3581 @: $(MAKE); $(unstage)
3582 @[ -f ./autoconf/Makefile ] || exit 0; \
3583 r=`${PWD_COMMAND}`; export r; \
3584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3585 $(HOST_EXPORTS) \
3586 for flag in $(EXTRA_HOST_FLAGS) ; do \
3587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3588 done; \
3589 echo "Doing install-html in autoconf" ; \
3590 (cd $(HOST_SUBDIR)/autoconf && \
3591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3593 "RANLIB=$${RANLIB}" \
3594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3595 install-html) \
3596 || exit 1
3598 @endif autoconf
3600 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3601 maybe-installcheck-autoconf:
3602 @if autoconf
3603 maybe-installcheck-autoconf: installcheck-autoconf
3605 installcheck-autoconf: \
3606 configure-autoconf
3607 @: $(MAKE); $(unstage)
3608 @[ -f ./autoconf/Makefile ] || exit 0; \
3609 r=`${PWD_COMMAND}`; export r; \
3610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3611 $(HOST_EXPORTS) \
3612 for flag in $(EXTRA_HOST_FLAGS) ; do \
3613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3614 done; \
3615 echo "Doing installcheck in autoconf" ; \
3616 (cd $(HOST_SUBDIR)/autoconf && \
3617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3619 "RANLIB=$${RANLIB}" \
3620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3621 installcheck) \
3622 || exit 1
3624 @endif autoconf
3626 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3627 maybe-mostlyclean-autoconf:
3628 @if autoconf
3629 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3631 mostlyclean-autoconf:
3632 @: $(MAKE); $(unstage)
3633 @[ -f ./autoconf/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(HOST_EXPORTS) \
3637 for flag in $(EXTRA_HOST_FLAGS) ; do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3639 done; \
3640 echo "Doing mostlyclean in autoconf" ; \
3641 (cd $(HOST_SUBDIR)/autoconf && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3646 mostlyclean) \
3647 || exit 1
3649 @endif autoconf
3651 .PHONY: maybe-clean-autoconf clean-autoconf
3652 maybe-clean-autoconf:
3653 @if autoconf
3654 maybe-clean-autoconf: clean-autoconf
3656 clean-autoconf:
3657 @: $(MAKE); $(unstage)
3658 @[ -f ./autoconf/Makefile ] || exit 0; \
3659 r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 $(HOST_EXPORTS) \
3662 for flag in $(EXTRA_HOST_FLAGS) ; do \
3663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3664 done; \
3665 echo "Doing clean in autoconf" ; \
3666 (cd $(HOST_SUBDIR)/autoconf && \
3667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3669 "RANLIB=$${RANLIB}" \
3670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3671 clean) \
3672 || exit 1
3674 @endif autoconf
3676 .PHONY: maybe-distclean-autoconf distclean-autoconf
3677 maybe-distclean-autoconf:
3678 @if autoconf
3679 maybe-distclean-autoconf: distclean-autoconf
3681 distclean-autoconf:
3682 @: $(MAKE); $(unstage)
3683 @[ -f ./autoconf/Makefile ] || exit 0; \
3684 r=`${PWD_COMMAND}`; export r; \
3685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3686 $(HOST_EXPORTS) \
3687 for flag in $(EXTRA_HOST_FLAGS) ; do \
3688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3689 done; \
3690 echo "Doing distclean in autoconf" ; \
3691 (cd $(HOST_SUBDIR)/autoconf && \
3692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3694 "RANLIB=$${RANLIB}" \
3695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3696 distclean) \
3697 || exit 1
3699 @endif autoconf
3701 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3702 maybe-maintainer-clean-autoconf:
3703 @if autoconf
3704 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3706 maintainer-clean-autoconf:
3707 @: $(MAKE); $(unstage)
3708 @[ -f ./autoconf/Makefile ] || exit 0; \
3709 r=`${PWD_COMMAND}`; export r; \
3710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3711 $(HOST_EXPORTS) \
3712 for flag in $(EXTRA_HOST_FLAGS) ; do \
3713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3714 done; \
3715 echo "Doing maintainer-clean in autoconf" ; \
3716 (cd $(HOST_SUBDIR)/autoconf && \
3717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3719 "RANLIB=$${RANLIB}" \
3720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3721 maintainer-clean) \
3722 || exit 1
3724 @endif autoconf
3728 .PHONY: configure-automake maybe-configure-automake
3729 maybe-configure-automake:
3730 @if gcc-bootstrap
3731 configure-automake: stage_current
3732 @endif gcc-bootstrap
3733 @if automake
3734 maybe-configure-automake: configure-automake
3735 configure-automake:
3736 @: $(MAKE); $(unstage)
3737 @r=`${PWD_COMMAND}`; export r; \
3738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3739 test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3741 $(HOST_EXPORTS) \
3742 echo Configuring in $(HOST_SUBDIR)/automake; \
3743 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3744 case $(srcdir) in \
3745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3746 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3748 esac; \
3749 srcdiroption="--srcdir=$${topdir}/automake"; \
3750 libsrcdir="$$s/automake"; \
3751 $(SHELL) $${libsrcdir}/configure \
3752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3753 --target=${target_alias} $${srcdiroption} \
3754 || exit 1
3755 @endif automake
3761 .PHONY: all-automake maybe-all-automake
3762 maybe-all-automake:
3763 @if gcc-bootstrap
3764 all-automake: stage_current
3765 @endif gcc-bootstrap
3766 @if automake
3767 TARGET-automake=all
3768 maybe-all-automake: all-automake
3769 all-automake: configure-automake
3770 @: $(MAKE); $(unstage)
3771 @r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(HOST_EXPORTS) \
3774 (cd $(HOST_SUBDIR)/automake && \
3775 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3776 @endif automake
3781 .PHONY: check-automake maybe-check-automake
3782 maybe-check-automake:
3783 @if automake
3784 maybe-check-automake: check-automake
3786 check-automake:
3787 @: $(MAKE); $(unstage)
3788 @r=`${PWD_COMMAND}`; export r; \
3789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3790 $(HOST_EXPORTS) \
3791 (cd $(HOST_SUBDIR)/automake && \
3792 $(MAKE) $(FLAGS_TO_PASS) check)
3794 @endif automake
3796 .PHONY: install-automake maybe-install-automake
3797 maybe-install-automake:
3798 @if automake
3799 maybe-install-automake: install-automake
3801 install-automake: installdirs
3802 @: $(MAKE); $(unstage)
3803 @r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3805 $(HOST_EXPORTS) \
3806 (cd $(HOST_SUBDIR)/automake && \
3807 $(MAKE) $(FLAGS_TO_PASS) install)
3809 @endif automake
3811 # Other targets (info, dvi, pdf, etc.)
3813 .PHONY: maybe-info-automake info-automake
3814 maybe-info-automake:
3815 @if automake
3816 maybe-info-automake: info-automake
3818 info-automake: \
3819 configure-automake
3820 @: $(MAKE); $(unstage)
3821 @[ -f ./automake/Makefile ] || exit 0; \
3822 r=`${PWD_COMMAND}`; export r; \
3823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3824 $(HOST_EXPORTS) \
3825 for flag in $(EXTRA_HOST_FLAGS) ; do \
3826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3827 done; \
3828 echo "Doing info in automake" ; \
3829 (cd $(HOST_SUBDIR)/automake && \
3830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3832 "RANLIB=$${RANLIB}" \
3833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3834 info) \
3835 || exit 1
3837 @endif automake
3839 .PHONY: maybe-dvi-automake dvi-automake
3840 maybe-dvi-automake:
3841 @if automake
3842 maybe-dvi-automake: dvi-automake
3844 dvi-automake: \
3845 configure-automake
3846 @: $(MAKE); $(unstage)
3847 @[ -f ./automake/Makefile ] || exit 0; \
3848 r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3850 $(HOST_EXPORTS) \
3851 for flag in $(EXTRA_HOST_FLAGS) ; do \
3852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3853 done; \
3854 echo "Doing dvi in automake" ; \
3855 (cd $(HOST_SUBDIR)/automake && \
3856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3858 "RANLIB=$${RANLIB}" \
3859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3860 dvi) \
3861 || exit 1
3863 @endif automake
3865 .PHONY: maybe-pdf-automake pdf-automake
3866 maybe-pdf-automake:
3867 @if automake
3868 maybe-pdf-automake: pdf-automake
3870 pdf-automake: \
3871 configure-automake
3872 @: $(MAKE); $(unstage)
3873 @[ -f ./automake/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3876 $(HOST_EXPORTS) \
3877 for flag in $(EXTRA_HOST_FLAGS) ; do \
3878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3879 done; \
3880 echo "Doing pdf in automake" ; \
3881 (cd $(HOST_SUBDIR)/automake && \
3882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3884 "RANLIB=$${RANLIB}" \
3885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3886 pdf) \
3887 || exit 1
3889 @endif automake
3891 .PHONY: maybe-html-automake html-automake
3892 maybe-html-automake:
3893 @if automake
3894 maybe-html-automake: html-automake
3896 html-automake: \
3897 configure-automake
3898 @: $(MAKE); $(unstage)
3899 @[ -f ./automake/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 $(HOST_EXPORTS) \
3903 for flag in $(EXTRA_HOST_FLAGS) ; do \
3904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3905 done; \
3906 echo "Doing html in automake" ; \
3907 (cd $(HOST_SUBDIR)/automake && \
3908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3910 "RANLIB=$${RANLIB}" \
3911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3912 html) \
3913 || exit 1
3915 @endif automake
3917 .PHONY: maybe-TAGS-automake TAGS-automake
3918 maybe-TAGS-automake:
3919 @if automake
3920 maybe-TAGS-automake: TAGS-automake
3922 TAGS-automake: \
3923 configure-automake
3924 @: $(MAKE); $(unstage)
3925 @[ -f ./automake/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3928 $(HOST_EXPORTS) \
3929 for flag in $(EXTRA_HOST_FLAGS) ; do \
3930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3931 done; \
3932 echo "Doing TAGS in automake" ; \
3933 (cd $(HOST_SUBDIR)/automake && \
3934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3936 "RANLIB=$${RANLIB}" \
3937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3938 TAGS) \
3939 || exit 1
3941 @endif automake
3943 .PHONY: maybe-install-info-automake install-info-automake
3944 maybe-install-info-automake:
3945 @if automake
3946 maybe-install-info-automake: install-info-automake
3948 install-info-automake: \
3949 configure-automake \
3950 info-automake
3951 @: $(MAKE); $(unstage)
3952 @[ -f ./automake/Makefile ] || exit 0; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 $(HOST_EXPORTS) \
3956 for flag in $(EXTRA_HOST_FLAGS) ; do \
3957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3958 done; \
3959 echo "Doing install-info in automake" ; \
3960 (cd $(HOST_SUBDIR)/automake && \
3961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3963 "RANLIB=$${RANLIB}" \
3964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3965 install-info) \
3966 || exit 1
3968 @endif automake
3970 .PHONY: maybe-install-html-automake install-html-automake
3971 maybe-install-html-automake:
3972 @if automake
3973 maybe-install-html-automake: install-html-automake
3975 install-html-automake: \
3976 configure-automake \
3977 html-automake
3978 @: $(MAKE); $(unstage)
3979 @[ -f ./automake/Makefile ] || exit 0; \
3980 r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3982 $(HOST_EXPORTS) \
3983 for flag in $(EXTRA_HOST_FLAGS) ; do \
3984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3985 done; \
3986 echo "Doing install-html in automake" ; \
3987 (cd $(HOST_SUBDIR)/automake && \
3988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3990 "RANLIB=$${RANLIB}" \
3991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3992 install-html) \
3993 || exit 1
3995 @endif automake
3997 .PHONY: maybe-installcheck-automake installcheck-automake
3998 maybe-installcheck-automake:
3999 @if automake
4000 maybe-installcheck-automake: installcheck-automake
4002 installcheck-automake: \
4003 configure-automake
4004 @: $(MAKE); $(unstage)
4005 @[ -f ./automake/Makefile ] || exit 0; \
4006 r=`${PWD_COMMAND}`; export r; \
4007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4008 $(HOST_EXPORTS) \
4009 for flag in $(EXTRA_HOST_FLAGS) ; do \
4010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4011 done; \
4012 echo "Doing installcheck in automake" ; \
4013 (cd $(HOST_SUBDIR)/automake && \
4014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4016 "RANLIB=$${RANLIB}" \
4017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4018 installcheck) \
4019 || exit 1
4021 @endif automake
4023 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
4024 maybe-mostlyclean-automake:
4025 @if automake
4026 maybe-mostlyclean-automake: mostlyclean-automake
4028 mostlyclean-automake:
4029 @: $(MAKE); $(unstage)
4030 @[ -f ./automake/Makefile ] || exit 0; \
4031 r=`${PWD_COMMAND}`; export r; \
4032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4033 $(HOST_EXPORTS) \
4034 for flag in $(EXTRA_HOST_FLAGS) ; do \
4035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4036 done; \
4037 echo "Doing mostlyclean in automake" ; \
4038 (cd $(HOST_SUBDIR)/automake && \
4039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4041 "RANLIB=$${RANLIB}" \
4042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4043 mostlyclean) \
4044 || exit 1
4046 @endif automake
4048 .PHONY: maybe-clean-automake clean-automake
4049 maybe-clean-automake:
4050 @if automake
4051 maybe-clean-automake: clean-automake
4053 clean-automake:
4054 @: $(MAKE); $(unstage)
4055 @[ -f ./automake/Makefile ] || exit 0; \
4056 r=`${PWD_COMMAND}`; export r; \
4057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4058 $(HOST_EXPORTS) \
4059 for flag in $(EXTRA_HOST_FLAGS) ; do \
4060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4061 done; \
4062 echo "Doing clean in automake" ; \
4063 (cd $(HOST_SUBDIR)/automake && \
4064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4066 "RANLIB=$${RANLIB}" \
4067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4068 clean) \
4069 || exit 1
4071 @endif automake
4073 .PHONY: maybe-distclean-automake distclean-automake
4074 maybe-distclean-automake:
4075 @if automake
4076 maybe-distclean-automake: distclean-automake
4078 distclean-automake:
4079 @: $(MAKE); $(unstage)
4080 @[ -f ./automake/Makefile ] || exit 0; \
4081 r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 $(HOST_EXPORTS) \
4084 for flag in $(EXTRA_HOST_FLAGS) ; do \
4085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4086 done; \
4087 echo "Doing distclean in automake" ; \
4088 (cd $(HOST_SUBDIR)/automake && \
4089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4091 "RANLIB=$${RANLIB}" \
4092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4093 distclean) \
4094 || exit 1
4096 @endif automake
4098 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
4099 maybe-maintainer-clean-automake:
4100 @if automake
4101 maybe-maintainer-clean-automake: maintainer-clean-automake
4103 maintainer-clean-automake:
4104 @: $(MAKE); $(unstage)
4105 @[ -f ./automake/Makefile ] || exit 0; \
4106 r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4108 $(HOST_EXPORTS) \
4109 for flag in $(EXTRA_HOST_FLAGS) ; do \
4110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4111 done; \
4112 echo "Doing maintainer-clean in automake" ; \
4113 (cd $(HOST_SUBDIR)/automake && \
4114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4116 "RANLIB=$${RANLIB}" \
4117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4118 maintainer-clean) \
4119 || exit 1
4121 @endif automake
4125 .PHONY: configure-bash maybe-configure-bash
4126 maybe-configure-bash:
4127 @if gcc-bootstrap
4128 configure-bash: stage_current
4129 @endif gcc-bootstrap
4130 @if bash
4131 maybe-configure-bash: configure-bash
4132 configure-bash:
4133 @: $(MAKE); $(unstage)
4134 @r=`${PWD_COMMAND}`; export r; \
4135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4136 test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
4137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
4138 $(HOST_EXPORTS) \
4139 echo Configuring in $(HOST_SUBDIR)/bash; \
4140 cd "$(HOST_SUBDIR)/bash" || exit 1; \
4141 case $(srcdir) in \
4142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4143 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
4144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4145 esac; \
4146 srcdiroption="--srcdir=$${topdir}/bash"; \
4147 libsrcdir="$$s/bash"; \
4148 $(SHELL) $${libsrcdir}/configure \
4149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4150 --target=${target_alias} $${srcdiroption} \
4151 || exit 1
4152 @endif bash
4158 .PHONY: all-bash maybe-all-bash
4159 maybe-all-bash:
4160 @if gcc-bootstrap
4161 all-bash: stage_current
4162 @endif gcc-bootstrap
4163 @if bash
4164 TARGET-bash=all
4165 maybe-all-bash: all-bash
4166 all-bash: configure-bash
4167 @: $(MAKE); $(unstage)
4168 @r=`${PWD_COMMAND}`; export r; \
4169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 $(HOST_EXPORTS) \
4171 (cd $(HOST_SUBDIR)/bash && \
4172 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
4173 @endif bash
4178 .PHONY: check-bash maybe-check-bash
4179 maybe-check-bash:
4180 @if bash
4181 maybe-check-bash: check-bash
4183 check-bash:
4184 @: $(MAKE); $(unstage)
4185 @r=`${PWD_COMMAND}`; export r; \
4186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4187 $(HOST_EXPORTS) \
4188 (cd $(HOST_SUBDIR)/bash && \
4189 $(MAKE) $(FLAGS_TO_PASS) check)
4191 @endif bash
4193 .PHONY: install-bash maybe-install-bash
4194 maybe-install-bash:
4195 @if bash
4196 maybe-install-bash: install-bash
4198 install-bash: installdirs
4199 @: $(MAKE); $(unstage)
4200 @r=`${PWD_COMMAND}`; export r; \
4201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4202 $(HOST_EXPORTS) \
4203 (cd $(HOST_SUBDIR)/bash && \
4204 $(MAKE) $(FLAGS_TO_PASS) install)
4206 @endif bash
4208 # Other targets (info, dvi, pdf, etc.)
4210 .PHONY: maybe-info-bash info-bash
4211 maybe-info-bash:
4212 @if bash
4213 maybe-info-bash: info-bash
4215 info-bash: \
4216 configure-bash
4217 @: $(MAKE); $(unstage)
4218 @[ -f ./bash/Makefile ] || exit 0; \
4219 r=`${PWD_COMMAND}`; export r; \
4220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4221 $(HOST_EXPORTS) \
4222 for flag in $(EXTRA_HOST_FLAGS) ; do \
4223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4224 done; \
4225 echo "Doing info in bash" ; \
4226 (cd $(HOST_SUBDIR)/bash && \
4227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4229 "RANLIB=$${RANLIB}" \
4230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4231 info) \
4232 || exit 1
4234 @endif bash
4236 .PHONY: maybe-dvi-bash dvi-bash
4237 maybe-dvi-bash:
4238 @if bash
4239 maybe-dvi-bash: dvi-bash
4241 dvi-bash: \
4242 configure-bash
4243 @: $(MAKE); $(unstage)
4244 @[ -f ./bash/Makefile ] || exit 0; \
4245 r=`${PWD_COMMAND}`; export r; \
4246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4247 $(HOST_EXPORTS) \
4248 for flag in $(EXTRA_HOST_FLAGS) ; do \
4249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4250 done; \
4251 echo "Doing dvi in bash" ; \
4252 (cd $(HOST_SUBDIR)/bash && \
4253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4255 "RANLIB=$${RANLIB}" \
4256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4257 dvi) \
4258 || exit 1
4260 @endif bash
4262 .PHONY: maybe-pdf-bash pdf-bash
4263 maybe-pdf-bash:
4264 @if bash
4265 maybe-pdf-bash: pdf-bash
4267 pdf-bash: \
4268 configure-bash
4269 @: $(MAKE); $(unstage)
4270 @[ -f ./bash/Makefile ] || exit 0; \
4271 r=`${PWD_COMMAND}`; export r; \
4272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4273 $(HOST_EXPORTS) \
4274 for flag in $(EXTRA_HOST_FLAGS) ; do \
4275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4276 done; \
4277 echo "Doing pdf in bash" ; \
4278 (cd $(HOST_SUBDIR)/bash && \
4279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4281 "RANLIB=$${RANLIB}" \
4282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4283 pdf) \
4284 || exit 1
4286 @endif bash
4288 .PHONY: maybe-html-bash html-bash
4289 maybe-html-bash:
4290 @if bash
4291 maybe-html-bash: html-bash
4293 html-bash: \
4294 configure-bash
4295 @: $(MAKE); $(unstage)
4296 @[ -f ./bash/Makefile ] || exit 0; \
4297 r=`${PWD_COMMAND}`; export r; \
4298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4299 $(HOST_EXPORTS) \
4300 for flag in $(EXTRA_HOST_FLAGS) ; do \
4301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4302 done; \
4303 echo "Doing html in bash" ; \
4304 (cd $(HOST_SUBDIR)/bash && \
4305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4307 "RANLIB=$${RANLIB}" \
4308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4309 html) \
4310 || exit 1
4312 @endif bash
4314 .PHONY: maybe-TAGS-bash TAGS-bash
4315 maybe-TAGS-bash:
4316 @if bash
4317 maybe-TAGS-bash: TAGS-bash
4319 TAGS-bash: \
4320 configure-bash
4321 @: $(MAKE); $(unstage)
4322 @[ -f ./bash/Makefile ] || exit 0; \
4323 r=`${PWD_COMMAND}`; export r; \
4324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4325 $(HOST_EXPORTS) \
4326 for flag in $(EXTRA_HOST_FLAGS) ; do \
4327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4328 done; \
4329 echo "Doing TAGS in bash" ; \
4330 (cd $(HOST_SUBDIR)/bash && \
4331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4333 "RANLIB=$${RANLIB}" \
4334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4335 TAGS) \
4336 || exit 1
4338 @endif bash
4340 .PHONY: maybe-install-info-bash install-info-bash
4341 maybe-install-info-bash:
4342 @if bash
4343 maybe-install-info-bash: install-info-bash
4345 install-info-bash: \
4346 configure-bash \
4347 info-bash
4348 @: $(MAKE); $(unstage)
4349 @[ -f ./bash/Makefile ] || exit 0; \
4350 r=`${PWD_COMMAND}`; export r; \
4351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4352 $(HOST_EXPORTS) \
4353 for flag in $(EXTRA_HOST_FLAGS) ; do \
4354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4355 done; \
4356 echo "Doing install-info in bash" ; \
4357 (cd $(HOST_SUBDIR)/bash && \
4358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4360 "RANLIB=$${RANLIB}" \
4361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4362 install-info) \
4363 || exit 1
4365 @endif bash
4367 .PHONY: maybe-install-html-bash install-html-bash
4368 maybe-install-html-bash:
4369 @if bash
4370 maybe-install-html-bash: install-html-bash
4372 install-html-bash: \
4373 configure-bash \
4374 html-bash
4375 @: $(MAKE); $(unstage)
4376 @[ -f ./bash/Makefile ] || exit 0; \
4377 r=`${PWD_COMMAND}`; export r; \
4378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4379 $(HOST_EXPORTS) \
4380 for flag in $(EXTRA_HOST_FLAGS) ; do \
4381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4382 done; \
4383 echo "Doing install-html in bash" ; \
4384 (cd $(HOST_SUBDIR)/bash && \
4385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4387 "RANLIB=$${RANLIB}" \
4388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4389 install-html) \
4390 || exit 1
4392 @endif bash
4394 .PHONY: maybe-installcheck-bash installcheck-bash
4395 maybe-installcheck-bash:
4396 @if bash
4397 maybe-installcheck-bash: installcheck-bash
4399 installcheck-bash: \
4400 configure-bash
4401 @: $(MAKE); $(unstage)
4402 @[ -f ./bash/Makefile ] || exit 0; \
4403 r=`${PWD_COMMAND}`; export r; \
4404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4405 $(HOST_EXPORTS) \
4406 for flag in $(EXTRA_HOST_FLAGS) ; do \
4407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4408 done; \
4409 echo "Doing installcheck in bash" ; \
4410 (cd $(HOST_SUBDIR)/bash && \
4411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4413 "RANLIB=$${RANLIB}" \
4414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4415 installcheck) \
4416 || exit 1
4418 @endif bash
4420 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4421 maybe-mostlyclean-bash:
4422 @if bash
4423 maybe-mostlyclean-bash: mostlyclean-bash
4425 mostlyclean-bash:
4426 @: $(MAKE); $(unstage)
4427 @[ -f ./bash/Makefile ] || exit 0; \
4428 r=`${PWD_COMMAND}`; export r; \
4429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4430 $(HOST_EXPORTS) \
4431 for flag in $(EXTRA_HOST_FLAGS) ; do \
4432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4433 done; \
4434 echo "Doing mostlyclean in bash" ; \
4435 (cd $(HOST_SUBDIR)/bash && \
4436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4438 "RANLIB=$${RANLIB}" \
4439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4440 mostlyclean) \
4441 || exit 1
4443 @endif bash
4445 .PHONY: maybe-clean-bash clean-bash
4446 maybe-clean-bash:
4447 @if bash
4448 maybe-clean-bash: clean-bash
4450 clean-bash:
4451 @: $(MAKE); $(unstage)
4452 @[ -f ./bash/Makefile ] || exit 0; \
4453 r=`${PWD_COMMAND}`; export r; \
4454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4455 $(HOST_EXPORTS) \
4456 for flag in $(EXTRA_HOST_FLAGS) ; do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 done; \
4459 echo "Doing clean in bash" ; \
4460 (cd $(HOST_SUBDIR)/bash && \
4461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4463 "RANLIB=$${RANLIB}" \
4464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4465 clean) \
4466 || exit 1
4468 @endif bash
4470 .PHONY: maybe-distclean-bash distclean-bash
4471 maybe-distclean-bash:
4472 @if bash
4473 maybe-distclean-bash: distclean-bash
4475 distclean-bash:
4476 @: $(MAKE); $(unstage)
4477 @[ -f ./bash/Makefile ] || exit 0; \
4478 r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4480 $(HOST_EXPORTS) \
4481 for flag in $(EXTRA_HOST_FLAGS) ; do \
4482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4483 done; \
4484 echo "Doing distclean in bash" ; \
4485 (cd $(HOST_SUBDIR)/bash && \
4486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488 "RANLIB=$${RANLIB}" \
4489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4490 distclean) \
4491 || exit 1
4493 @endif bash
4495 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4496 maybe-maintainer-clean-bash:
4497 @if bash
4498 maybe-maintainer-clean-bash: maintainer-clean-bash
4500 maintainer-clean-bash:
4501 @: $(MAKE); $(unstage)
4502 @[ -f ./bash/Makefile ] || exit 0; \
4503 r=`${PWD_COMMAND}`; export r; \
4504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4505 $(HOST_EXPORTS) \
4506 for flag in $(EXTRA_HOST_FLAGS) ; do \
4507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4508 done; \
4509 echo "Doing maintainer-clean in bash" ; \
4510 (cd $(HOST_SUBDIR)/bash && \
4511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4513 "RANLIB=$${RANLIB}" \
4514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4515 maintainer-clean) \
4516 || exit 1
4518 @endif bash
4522 .PHONY: configure-bfd maybe-configure-bfd
4523 maybe-configure-bfd:
4524 @if gcc-bootstrap
4525 configure-bfd: stage_current
4526 @endif gcc-bootstrap
4527 @if bfd
4528 maybe-configure-bfd: configure-bfd
4529 configure-bfd:
4530 @r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4534 $(HOST_EXPORTS) \
4535 echo Configuring in $(HOST_SUBDIR)/bfd; \
4536 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4537 case $(srcdir) in \
4538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4539 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4541 esac; \
4542 srcdiroption="--srcdir=$${topdir}/bfd"; \
4543 libsrcdir="$$s/bfd"; \
4544 $(SHELL) $${libsrcdir}/configure \
4545 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4546 --target=${target_alias} $${srcdiroption} \
4547 || exit 1
4548 @endif bfd
4552 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4553 maybe-configure-stage1-bfd:
4554 @if bfd-bootstrap
4555 maybe-configure-stage1-bfd: configure-stage1-bfd
4556 configure-stage1-bfd:
4557 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4558 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4559 @r=`${PWD_COMMAND}`; export r; \
4560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4561 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4562 $(HOST_EXPORTS) \
4563 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4564 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4565 cd $(HOST_SUBDIR)/bfd || exit 1; \
4566 case $(srcdir) in \
4567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4568 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4570 esac; \
4571 srcdiroption="--srcdir=$${topdir}/bfd"; \
4572 libsrcdir="$$s/bfd"; \
4573 $(SHELL) $${libsrcdir}/configure \
4574 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4575 --target=${target_alias} $${srcdiroption} \
4577 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4578 @endif bfd-bootstrap
4580 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4581 maybe-configure-stage2-bfd:
4582 @if bfd-bootstrap
4583 maybe-configure-stage2-bfd: configure-stage2-bfd
4584 configure-stage2-bfd:
4585 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4586 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4587 @r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4590 $(HOST_EXPORTS) \
4591 $(POSTSTAGE1_HOST_EXPORTS) \
4592 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4594 cd $(HOST_SUBDIR)/bfd || exit 1; \
4595 case $(srcdir) in \
4596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4597 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4599 esac; \
4600 srcdiroption="--srcdir=$${topdir}/bfd"; \
4601 libsrcdir="$$s/bfd"; \
4602 $(SHELL) $${libsrcdir}/configure \
4603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4604 --target=${target_alias} $${srcdiroption} \
4605 --with-build-libsubdir=$(HOST_SUBDIR) \
4606 @stage2_werror_flag@
4607 @endif bfd-bootstrap
4609 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4610 maybe-configure-stage3-bfd:
4611 @if bfd-bootstrap
4612 maybe-configure-stage3-bfd: configure-stage3-bfd
4613 configure-stage3-bfd:
4614 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4615 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4616 @r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4619 $(HOST_EXPORTS) \
4620 $(POSTSTAGE1_HOST_EXPORTS) \
4621 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4623 cd $(HOST_SUBDIR)/bfd || exit 1; \
4624 case $(srcdir) in \
4625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4626 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4628 esac; \
4629 srcdiroption="--srcdir=$${topdir}/bfd"; \
4630 libsrcdir="$$s/bfd"; \
4631 $(SHELL) $${libsrcdir}/configure \
4632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4633 --target=${target_alias} $${srcdiroption} \
4634 --with-build-libsubdir=$(HOST_SUBDIR) \
4635 @stage2_werror_flag@
4636 @endif bfd-bootstrap
4638 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4639 maybe-configure-stage4-bfd:
4640 @if bfd-bootstrap
4641 maybe-configure-stage4-bfd: configure-stage4-bfd
4642 configure-stage4-bfd:
4643 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4644 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4645 @r=`${PWD_COMMAND}`; export r; \
4646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4647 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4648 $(HOST_EXPORTS) \
4649 $(POSTSTAGE1_HOST_EXPORTS) \
4650 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4652 cd $(HOST_SUBDIR)/bfd || exit 1; \
4653 case $(srcdir) in \
4654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4655 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4657 esac; \
4658 srcdiroption="--srcdir=$${topdir}/bfd"; \
4659 libsrcdir="$$s/bfd"; \
4660 $(SHELL) $${libsrcdir}/configure \
4661 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4662 --target=${target_alias} $${srcdiroption} \
4663 --with-build-libsubdir=$(HOST_SUBDIR) \
4664 @stage2_werror_flag@
4665 @endif bfd-bootstrap
4667 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4668 maybe-configure-stageprofile-bfd:
4669 @if bfd-bootstrap
4670 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4671 configure-stageprofile-bfd:
4672 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4673 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4674 @r=`${PWD_COMMAND}`; export r; \
4675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4677 $(HOST_EXPORTS) \
4678 $(POSTSTAGE1_HOST_EXPORTS) \
4679 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4681 cd $(HOST_SUBDIR)/bfd || exit 1; \
4682 case $(srcdir) in \
4683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4684 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4686 esac; \
4687 srcdiroption="--srcdir=$${topdir}/bfd"; \
4688 libsrcdir="$$s/bfd"; \
4689 $(SHELL) $${libsrcdir}/configure \
4690 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4691 --target=${target_alias} $${srcdiroption} \
4692 --with-build-libsubdir=$(HOST_SUBDIR) \
4693 @stage2_werror_flag@
4694 @endif bfd-bootstrap
4696 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4697 maybe-configure-stagefeedback-bfd:
4698 @if bfd-bootstrap
4699 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4700 configure-stagefeedback-bfd:
4701 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4702 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
4703 @r=`${PWD_COMMAND}`; export r; \
4704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4705 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4706 $(HOST_EXPORTS) \
4707 $(POSTSTAGE1_HOST_EXPORTS) \
4708 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4710 cd $(HOST_SUBDIR)/bfd || exit 1; \
4711 case $(srcdir) in \
4712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4713 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4715 esac; \
4716 srcdiroption="--srcdir=$${topdir}/bfd"; \
4717 libsrcdir="$$s/bfd"; \
4718 $(SHELL) $${libsrcdir}/configure \
4719 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4720 --target=${target_alias} $${srcdiroption} \
4721 --with-build-libsubdir=$(HOST_SUBDIR) \
4722 @stage2_werror_flag@
4723 @endif bfd-bootstrap
4729 .PHONY: all-bfd maybe-all-bfd
4730 maybe-all-bfd:
4731 @if gcc-bootstrap
4732 all-bfd: stage_current
4733 @endif gcc-bootstrap
4734 @if bfd
4735 TARGET-bfd=all
4736 maybe-all-bfd: all-bfd
4737 all-bfd: configure-bfd
4738 @r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 $(HOST_EXPORTS) \
4741 (cd $(HOST_SUBDIR)/bfd && \
4742 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4743 @endif bfd
4747 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4748 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4749 maybe-all-stage1-bfd:
4750 maybe-clean-stage1-bfd:
4751 @if bfd-bootstrap
4752 maybe-all-stage1-bfd: all-stage1-bfd
4753 all-stage1: all-stage1-bfd
4754 TARGET-stage1-bfd = $(TARGET-bfd)
4755 all-stage1-bfd: configure-stage1-bfd
4756 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4757 @r=`${PWD_COMMAND}`; export r; \
4758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4759 $(HOST_EXPORTS) \
4760 cd $(HOST_SUBDIR)/bfd && \
4761 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
4762 $(TARGET-stage1-bfd)
4764 maybe-clean-stage1-bfd: clean-stage1-bfd
4765 clean-stage1: clean-stage1-bfd
4766 clean-stage1-bfd:
4767 @if [ $(current_stage) = stage1 ]; then \
4768 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4769 else \
4770 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
4771 $(MAKE) stage1-start; \
4772 fi; \
4773 cd $(HOST_SUBDIR)/bfd && \
4774 $(MAKE) $(FLAGS_TO_PASS) \
4775 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
4776 @endif bfd-bootstrap
4779 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4780 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4781 maybe-all-stage2-bfd:
4782 maybe-clean-stage2-bfd:
4783 @if bfd-bootstrap
4784 maybe-all-stage2-bfd: all-stage2-bfd
4785 all-stage2: all-stage2-bfd
4786 TARGET-stage2-bfd = $(TARGET-bfd)
4787 all-stage2-bfd: configure-stage2-bfd
4788 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4789 @r=`${PWD_COMMAND}`; export r; \
4790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4791 $(HOST_EXPORTS) \
4792 $(POSTSTAGE1_HOST_EXPORTS) \
4793 cd $(HOST_SUBDIR)/bfd && \
4794 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4795 $(TARGET-stage2-bfd)
4797 maybe-clean-stage2-bfd: clean-stage2-bfd
4798 clean-stage2: clean-stage2-bfd
4799 clean-stage2-bfd:
4800 @if [ $(current_stage) = stage2 ]; then \
4801 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4802 else \
4803 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
4804 $(MAKE) stage2-start; \
4805 fi; \
4806 cd $(HOST_SUBDIR)/bfd && \
4807 $(MAKE) $(FLAGS_TO_PASS) \
4808 $(POSTSTAGE1_FLAGS_TO_PASS) \
4809 clean
4810 @endif bfd-bootstrap
4813 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4814 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4815 maybe-all-stage3-bfd:
4816 maybe-clean-stage3-bfd:
4817 @if bfd-bootstrap
4818 maybe-all-stage3-bfd: all-stage3-bfd
4819 all-stage3: all-stage3-bfd
4820 TARGET-stage3-bfd = $(TARGET-bfd)
4821 all-stage3-bfd: configure-stage3-bfd
4822 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4823 @r=`${PWD_COMMAND}`; export r; \
4824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4825 $(HOST_EXPORTS) \
4826 $(POSTSTAGE1_HOST_EXPORTS) \
4827 cd $(HOST_SUBDIR)/bfd && \
4828 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4829 $(TARGET-stage3-bfd)
4831 maybe-clean-stage3-bfd: clean-stage3-bfd
4832 clean-stage3: clean-stage3-bfd
4833 clean-stage3-bfd:
4834 @if [ $(current_stage) = stage3 ]; then \
4835 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4836 else \
4837 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
4838 $(MAKE) stage3-start; \
4839 fi; \
4840 cd $(HOST_SUBDIR)/bfd && \
4841 $(MAKE) $(FLAGS_TO_PASS) \
4842 $(POSTSTAGE1_FLAGS_TO_PASS) \
4843 clean
4844 @endif bfd-bootstrap
4847 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4848 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4849 maybe-all-stage4-bfd:
4850 maybe-clean-stage4-bfd:
4851 @if bfd-bootstrap
4852 maybe-all-stage4-bfd: all-stage4-bfd
4853 all-stage4: all-stage4-bfd
4854 TARGET-stage4-bfd = $(TARGET-bfd)
4855 all-stage4-bfd: configure-stage4-bfd
4856 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4857 @r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 $(HOST_EXPORTS) \
4860 $(POSTSTAGE1_HOST_EXPORTS) \
4861 cd $(HOST_SUBDIR)/bfd && \
4862 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4863 $(TARGET-stage4-bfd)
4865 maybe-clean-stage4-bfd: clean-stage4-bfd
4866 clean-stage4: clean-stage4-bfd
4867 clean-stage4-bfd:
4868 @if [ $(current_stage) = stage4 ]; then \
4869 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4870 else \
4871 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
4872 $(MAKE) stage4-start; \
4873 fi; \
4874 cd $(HOST_SUBDIR)/bfd && \
4875 $(MAKE) $(FLAGS_TO_PASS) \
4876 $(POSTSTAGE1_FLAGS_TO_PASS) \
4877 clean
4878 @endif bfd-bootstrap
4881 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4882 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4883 maybe-all-stageprofile-bfd:
4884 maybe-clean-stageprofile-bfd:
4885 @if bfd-bootstrap
4886 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4887 all-stageprofile: all-stageprofile-bfd
4888 TARGET-stageprofile-bfd = $(TARGET-bfd)
4889 all-stageprofile-bfd: configure-stageprofile-bfd
4890 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4891 @r=`${PWD_COMMAND}`; export r; \
4892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4893 $(HOST_EXPORTS) \
4894 $(POSTSTAGE1_HOST_EXPORTS) \
4895 cd $(HOST_SUBDIR)/bfd && \
4896 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4897 $(TARGET-stageprofile-bfd)
4899 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4900 clean-stageprofile: clean-stageprofile-bfd
4901 clean-stageprofile-bfd:
4902 @if [ $(current_stage) = stageprofile ]; then \
4903 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4904 else \
4905 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
4906 $(MAKE) stageprofile-start; \
4907 fi; \
4908 cd $(HOST_SUBDIR)/bfd && \
4909 $(MAKE) $(FLAGS_TO_PASS) \
4910 $(POSTSTAGE1_FLAGS_TO_PASS) \
4911 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4912 @endif bfd-bootstrap
4915 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4916 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4917 maybe-all-stagefeedback-bfd:
4918 maybe-clean-stagefeedback-bfd:
4919 @if bfd-bootstrap
4920 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4921 all-stagefeedback: all-stagefeedback-bfd
4922 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4923 all-stagefeedback-bfd: configure-stagefeedback-bfd
4924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4925 @r=`${PWD_COMMAND}`; export r; \
4926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4927 $(HOST_EXPORTS) \
4928 $(POSTSTAGE1_HOST_EXPORTS) \
4929 cd $(HOST_SUBDIR)/bfd && \
4930 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4931 $(TARGET-stagefeedback-bfd)
4933 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4934 clean-stagefeedback: clean-stagefeedback-bfd
4935 clean-stagefeedback-bfd:
4936 @if [ $(current_stage) = stagefeedback ]; then \
4937 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
4938 else \
4939 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
4940 $(MAKE) stagefeedback-start; \
4941 fi; \
4942 cd $(HOST_SUBDIR)/bfd && \
4943 $(MAKE) $(FLAGS_TO_PASS) \
4944 $(POSTSTAGE1_FLAGS_TO_PASS) \
4945 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4946 @endif bfd-bootstrap
4952 .PHONY: check-bfd maybe-check-bfd
4953 maybe-check-bfd:
4954 @if bfd
4955 maybe-check-bfd: check-bfd
4957 check-bfd:
4958 @: $(MAKE); $(unstage)
4959 @r=`${PWD_COMMAND}`; export r; \
4960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4961 $(HOST_EXPORTS) \
4962 (cd $(HOST_SUBDIR)/bfd && \
4963 $(MAKE) $(FLAGS_TO_PASS) check)
4965 @endif bfd
4967 .PHONY: install-bfd maybe-install-bfd
4968 maybe-install-bfd:
4969 @if bfd
4970 maybe-install-bfd: install-bfd
4972 install-bfd: installdirs
4973 @: $(MAKE); $(unstage)
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4976 $(HOST_EXPORTS) \
4977 (cd $(HOST_SUBDIR)/bfd && \
4978 $(MAKE) $(FLAGS_TO_PASS) install)
4980 @endif bfd
4982 # Other targets (info, dvi, pdf, etc.)
4984 .PHONY: maybe-info-bfd info-bfd
4985 maybe-info-bfd:
4986 @if bfd
4987 maybe-info-bfd: info-bfd
4989 info-bfd: \
4990 configure-bfd
4991 @[ -f ./bfd/Makefile ] || exit 0; \
4992 r=`${PWD_COMMAND}`; export r; \
4993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4994 $(HOST_EXPORTS) \
4995 for flag in $(EXTRA_HOST_FLAGS) ; do \
4996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4997 done; \
4998 echo "Doing info in bfd" ; \
4999 (cd $(HOST_SUBDIR)/bfd && \
5000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5002 "RANLIB=$${RANLIB}" \
5003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5004 info) \
5005 || exit 1
5007 @endif bfd
5009 .PHONY: maybe-dvi-bfd dvi-bfd
5010 maybe-dvi-bfd:
5011 @if bfd
5012 maybe-dvi-bfd: dvi-bfd
5014 dvi-bfd: \
5015 configure-bfd
5016 @[ -f ./bfd/Makefile ] || exit 0; \
5017 r=`${PWD_COMMAND}`; export r; \
5018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5019 $(HOST_EXPORTS) \
5020 for flag in $(EXTRA_HOST_FLAGS) ; do \
5021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5022 done; \
5023 echo "Doing dvi in bfd" ; \
5024 (cd $(HOST_SUBDIR)/bfd && \
5025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5027 "RANLIB=$${RANLIB}" \
5028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5029 dvi) \
5030 || exit 1
5032 @endif bfd
5034 .PHONY: maybe-pdf-bfd pdf-bfd
5035 maybe-pdf-bfd:
5036 @if bfd
5037 maybe-pdf-bfd: pdf-bfd
5039 pdf-bfd: \
5040 configure-bfd
5041 @[ -f ./bfd/Makefile ] || exit 0; \
5042 r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 $(HOST_EXPORTS) \
5045 for flag in $(EXTRA_HOST_FLAGS) ; do \
5046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5047 done; \
5048 echo "Doing pdf in bfd" ; \
5049 (cd $(HOST_SUBDIR)/bfd && \
5050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5052 "RANLIB=$${RANLIB}" \
5053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5054 pdf) \
5055 || exit 1
5057 @endif bfd
5059 .PHONY: maybe-html-bfd html-bfd
5060 maybe-html-bfd:
5061 @if bfd
5062 maybe-html-bfd: html-bfd
5064 html-bfd: \
5065 configure-bfd
5066 @[ -f ./bfd/Makefile ] || exit 0; \
5067 r=`${PWD_COMMAND}`; export r; \
5068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5069 $(HOST_EXPORTS) \
5070 for flag in $(EXTRA_HOST_FLAGS) ; do \
5071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5072 done; \
5073 echo "Doing html in bfd" ; \
5074 (cd $(HOST_SUBDIR)/bfd && \
5075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5077 "RANLIB=$${RANLIB}" \
5078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5079 html) \
5080 || exit 1
5082 @endif bfd
5084 .PHONY: maybe-TAGS-bfd TAGS-bfd
5085 maybe-TAGS-bfd:
5086 @if bfd
5087 maybe-TAGS-bfd: TAGS-bfd
5089 TAGS-bfd: \
5090 configure-bfd
5091 @[ -f ./bfd/Makefile ] || exit 0; \
5092 r=`${PWD_COMMAND}`; export r; \
5093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5094 $(HOST_EXPORTS) \
5095 for flag in $(EXTRA_HOST_FLAGS) ; do \
5096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5097 done; \
5098 echo "Doing TAGS in bfd" ; \
5099 (cd $(HOST_SUBDIR)/bfd && \
5100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5102 "RANLIB=$${RANLIB}" \
5103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5104 TAGS) \
5105 || exit 1
5107 @endif bfd
5109 .PHONY: maybe-install-info-bfd install-info-bfd
5110 maybe-install-info-bfd:
5111 @if bfd
5112 maybe-install-info-bfd: install-info-bfd
5114 install-info-bfd: \
5115 configure-bfd \
5116 info-bfd
5117 @[ -f ./bfd/Makefile ] || exit 0; \
5118 r=`${PWD_COMMAND}`; export r; \
5119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5120 $(HOST_EXPORTS) \
5121 for flag in $(EXTRA_HOST_FLAGS) ; do \
5122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5123 done; \
5124 echo "Doing install-info in bfd" ; \
5125 (cd $(HOST_SUBDIR)/bfd && \
5126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5128 "RANLIB=$${RANLIB}" \
5129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5130 install-info) \
5131 || exit 1
5133 @endif bfd
5135 .PHONY: maybe-install-html-bfd install-html-bfd
5136 maybe-install-html-bfd:
5137 @if bfd
5138 maybe-install-html-bfd: install-html-bfd
5140 install-html-bfd: \
5141 configure-bfd \
5142 html-bfd
5143 @[ -f ./bfd/Makefile ] || exit 0; \
5144 r=`${PWD_COMMAND}`; export r; \
5145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5146 $(HOST_EXPORTS) \
5147 for flag in $(EXTRA_HOST_FLAGS) ; do \
5148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5149 done; \
5150 echo "Doing install-html in bfd" ; \
5151 (cd $(HOST_SUBDIR)/bfd && \
5152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5154 "RANLIB=$${RANLIB}" \
5155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5156 install-html) \
5157 || exit 1
5159 @endif bfd
5161 .PHONY: maybe-installcheck-bfd installcheck-bfd
5162 maybe-installcheck-bfd:
5163 @if bfd
5164 maybe-installcheck-bfd: installcheck-bfd
5166 installcheck-bfd: \
5167 configure-bfd
5168 @[ -f ./bfd/Makefile ] || exit 0; \
5169 r=`${PWD_COMMAND}`; export r; \
5170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5171 $(HOST_EXPORTS) \
5172 for flag in $(EXTRA_HOST_FLAGS) ; do \
5173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5174 done; \
5175 echo "Doing installcheck in bfd" ; \
5176 (cd $(HOST_SUBDIR)/bfd && \
5177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5179 "RANLIB=$${RANLIB}" \
5180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5181 installcheck) \
5182 || exit 1
5184 @endif bfd
5186 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
5187 maybe-mostlyclean-bfd:
5188 @if bfd
5189 maybe-mostlyclean-bfd: mostlyclean-bfd
5191 mostlyclean-bfd:
5192 @[ -f ./bfd/Makefile ] || exit 0; \
5193 r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5195 $(HOST_EXPORTS) \
5196 for flag in $(EXTRA_HOST_FLAGS) ; do \
5197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5198 done; \
5199 echo "Doing mostlyclean in bfd" ; \
5200 (cd $(HOST_SUBDIR)/bfd && \
5201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5203 "RANLIB=$${RANLIB}" \
5204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5205 mostlyclean) \
5206 || exit 1
5208 @endif bfd
5210 .PHONY: maybe-clean-bfd clean-bfd
5211 maybe-clean-bfd:
5212 @if bfd
5213 maybe-clean-bfd: clean-bfd
5215 clean-bfd:
5216 @[ -f ./bfd/Makefile ] || exit 0; \
5217 r=`${PWD_COMMAND}`; export r; \
5218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 $(HOST_EXPORTS) \
5220 for flag in $(EXTRA_HOST_FLAGS) ; do \
5221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 done; \
5223 echo "Doing clean in bfd" ; \
5224 (cd $(HOST_SUBDIR)/bfd && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5227 "RANLIB=$${RANLIB}" \
5228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5229 clean) \
5230 || exit 1
5232 @endif bfd
5234 .PHONY: maybe-distclean-bfd distclean-bfd
5235 maybe-distclean-bfd:
5236 @if bfd
5237 maybe-distclean-bfd: distclean-bfd
5239 distclean-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 distclean 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 distclean) \
5254 || exit 1
5256 @endif bfd
5258 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
5259 maybe-maintainer-clean-bfd:
5260 @if bfd
5261 maybe-maintainer-clean-bfd: maintainer-clean-bfd
5263 maintainer-clean-bfd:
5264 @[ -f ./bfd/Makefile ] || exit 0; \
5265 r=`${PWD_COMMAND}`; export r; \
5266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5267 $(HOST_EXPORTS) \
5268 for flag in $(EXTRA_HOST_FLAGS) ; do \
5269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5270 done; \
5271 echo "Doing maintainer-clean in bfd" ; \
5272 (cd $(HOST_SUBDIR)/bfd && \
5273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5275 "RANLIB=$${RANLIB}" \
5276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5277 maintainer-clean) \
5278 || exit 1
5280 @endif bfd
5284 .PHONY: configure-opcodes maybe-configure-opcodes
5285 maybe-configure-opcodes:
5286 @if gcc-bootstrap
5287 configure-opcodes: stage_current
5288 @endif gcc-bootstrap
5289 @if opcodes
5290 maybe-configure-opcodes: configure-opcodes
5291 configure-opcodes:
5292 @r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5295 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5296 $(HOST_EXPORTS) \
5297 echo Configuring in $(HOST_SUBDIR)/opcodes; \
5298 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
5299 case $(srcdir) in \
5300 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5301 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5302 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5303 esac; \
5304 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5305 libsrcdir="$$s/opcodes"; \
5306 $(SHELL) $${libsrcdir}/configure \
5307 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5308 --target=${target_alias} $${srcdiroption} \
5309 || exit 1
5310 @endif opcodes
5314 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
5315 maybe-configure-stage1-opcodes:
5316 @if opcodes-bootstrap
5317 maybe-configure-stage1-opcodes: configure-stage1-opcodes
5318 configure-stage1-opcodes:
5319 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5320 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5321 @r=`${PWD_COMMAND}`; export r; \
5322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5323 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5324 $(HOST_EXPORTS) \
5325 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
5326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5327 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5328 case $(srcdir) in \
5329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5330 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5332 esac; \
5333 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5334 libsrcdir="$$s/opcodes"; \
5335 $(SHELL) $${libsrcdir}/configure \
5336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5337 --target=${target_alias} $${srcdiroption} \
5339 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5340 @endif opcodes-bootstrap
5342 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
5343 maybe-configure-stage2-opcodes:
5344 @if opcodes-bootstrap
5345 maybe-configure-stage2-opcodes: configure-stage2-opcodes
5346 configure-stage2-opcodes:
5347 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5349 @r=`${PWD_COMMAND}`; export r; \
5350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5351 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5352 $(HOST_EXPORTS) \
5353 $(POSTSTAGE1_HOST_EXPORTS) \
5354 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
5355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5356 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5357 case $(srcdir) in \
5358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5359 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5361 esac; \
5362 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5363 libsrcdir="$$s/opcodes"; \
5364 $(SHELL) $${libsrcdir}/configure \
5365 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5366 --target=${target_alias} $${srcdiroption} \
5367 --with-build-libsubdir=$(HOST_SUBDIR) \
5368 @stage2_werror_flag@
5369 @endif opcodes-bootstrap
5371 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
5372 maybe-configure-stage3-opcodes:
5373 @if opcodes-bootstrap
5374 maybe-configure-stage3-opcodes: configure-stage3-opcodes
5375 configure-stage3-opcodes:
5376 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5378 @r=`${PWD_COMMAND}`; export r; \
5379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5380 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5381 $(HOST_EXPORTS) \
5382 $(POSTSTAGE1_HOST_EXPORTS) \
5383 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
5384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5385 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5386 case $(srcdir) in \
5387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5388 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5390 esac; \
5391 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5392 libsrcdir="$$s/opcodes"; \
5393 $(SHELL) $${libsrcdir}/configure \
5394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5395 --target=${target_alias} $${srcdiroption} \
5396 --with-build-libsubdir=$(HOST_SUBDIR) \
5397 @stage2_werror_flag@
5398 @endif opcodes-bootstrap
5400 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
5401 maybe-configure-stage4-opcodes:
5402 @if opcodes-bootstrap
5403 maybe-configure-stage4-opcodes: configure-stage4-opcodes
5404 configure-stage4-opcodes:
5405 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5407 @r=`${PWD_COMMAND}`; export r; \
5408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5409 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5410 $(HOST_EXPORTS) \
5411 $(POSTSTAGE1_HOST_EXPORTS) \
5412 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
5413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5414 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5415 case $(srcdir) in \
5416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5417 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5419 esac; \
5420 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5421 libsrcdir="$$s/opcodes"; \
5422 $(SHELL) $${libsrcdir}/configure \
5423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5424 --target=${target_alias} $${srcdiroption} \
5425 --with-build-libsubdir=$(HOST_SUBDIR) \
5426 @stage2_werror_flag@
5427 @endif opcodes-bootstrap
5429 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
5430 maybe-configure-stageprofile-opcodes:
5431 @if opcodes-bootstrap
5432 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
5433 configure-stageprofile-opcodes:
5434 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5436 @r=`${PWD_COMMAND}`; export r; \
5437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5438 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5439 $(HOST_EXPORTS) \
5440 $(POSTSTAGE1_HOST_EXPORTS) \
5441 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
5442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5443 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5444 case $(srcdir) in \
5445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5446 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5448 esac; \
5449 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5450 libsrcdir="$$s/opcodes"; \
5451 $(SHELL) $${libsrcdir}/configure \
5452 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5453 --target=${target_alias} $${srcdiroption} \
5454 --with-build-libsubdir=$(HOST_SUBDIR) \
5455 @stage2_werror_flag@
5456 @endif opcodes-bootstrap
5458 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
5459 maybe-configure-stagefeedback-opcodes:
5460 @if opcodes-bootstrap
5461 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
5462 configure-stagefeedback-opcodes:
5463 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5464 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
5465 @r=`${PWD_COMMAND}`; export r; \
5466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5467 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
5468 $(HOST_EXPORTS) \
5469 $(POSTSTAGE1_HOST_EXPORTS) \
5470 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
5471 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
5472 cd $(HOST_SUBDIR)/opcodes || exit 1; \
5473 case $(srcdir) in \
5474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5475 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
5476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5477 esac; \
5478 srcdiroption="--srcdir=$${topdir}/opcodes"; \
5479 libsrcdir="$$s/opcodes"; \
5480 $(SHELL) $${libsrcdir}/configure \
5481 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5482 --target=${target_alias} $${srcdiroption} \
5483 --with-build-libsubdir=$(HOST_SUBDIR) \
5484 @stage2_werror_flag@
5485 @endif opcodes-bootstrap
5491 .PHONY: all-opcodes maybe-all-opcodes
5492 maybe-all-opcodes:
5493 @if gcc-bootstrap
5494 all-opcodes: stage_current
5495 @endif gcc-bootstrap
5496 @if opcodes
5497 TARGET-opcodes=all
5498 maybe-all-opcodes: all-opcodes
5499 all-opcodes: configure-opcodes
5500 @r=`${PWD_COMMAND}`; export r; \
5501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 $(HOST_EXPORTS) \
5503 (cd $(HOST_SUBDIR)/opcodes && \
5504 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
5505 @endif opcodes
5509 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5510 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5511 maybe-all-stage1-opcodes:
5512 maybe-clean-stage1-opcodes:
5513 @if opcodes-bootstrap
5514 maybe-all-stage1-opcodes: all-stage1-opcodes
5515 all-stage1: all-stage1-opcodes
5516 TARGET-stage1-opcodes = $(TARGET-opcodes)
5517 all-stage1-opcodes: configure-stage1-opcodes
5518 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5519 @r=`${PWD_COMMAND}`; export r; \
5520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 $(HOST_EXPORTS) \
5522 cd $(HOST_SUBDIR)/opcodes && \
5523 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
5524 $(TARGET-stage1-opcodes)
5526 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5527 clean-stage1: clean-stage1-opcodes
5528 clean-stage1-opcodes:
5529 @if [ $(current_stage) = stage1 ]; then \
5530 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5531 else \
5532 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
5533 $(MAKE) stage1-start; \
5534 fi; \
5535 cd $(HOST_SUBDIR)/opcodes && \
5536 $(MAKE) $(FLAGS_TO_PASS) \
5537 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
5538 @endif opcodes-bootstrap
5541 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5542 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5543 maybe-all-stage2-opcodes:
5544 maybe-clean-stage2-opcodes:
5545 @if opcodes-bootstrap
5546 maybe-all-stage2-opcodes: all-stage2-opcodes
5547 all-stage2: all-stage2-opcodes
5548 TARGET-stage2-opcodes = $(TARGET-opcodes)
5549 all-stage2-opcodes: configure-stage2-opcodes
5550 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5551 @r=`${PWD_COMMAND}`; export r; \
5552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5553 $(HOST_EXPORTS) \
5554 $(POSTSTAGE1_HOST_EXPORTS) \
5555 cd $(HOST_SUBDIR)/opcodes && \
5556 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5557 $(TARGET-stage2-opcodes)
5559 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5560 clean-stage2: clean-stage2-opcodes
5561 clean-stage2-opcodes:
5562 @if [ $(current_stage) = stage2 ]; then \
5563 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5564 else \
5565 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
5566 $(MAKE) stage2-start; \
5567 fi; \
5568 cd $(HOST_SUBDIR)/opcodes && \
5569 $(MAKE) $(FLAGS_TO_PASS) \
5570 $(POSTSTAGE1_FLAGS_TO_PASS) \
5571 clean
5572 @endif opcodes-bootstrap
5575 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5576 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5577 maybe-all-stage3-opcodes:
5578 maybe-clean-stage3-opcodes:
5579 @if opcodes-bootstrap
5580 maybe-all-stage3-opcodes: all-stage3-opcodes
5581 all-stage3: all-stage3-opcodes
5582 TARGET-stage3-opcodes = $(TARGET-opcodes)
5583 all-stage3-opcodes: configure-stage3-opcodes
5584 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5585 @r=`${PWD_COMMAND}`; export r; \
5586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5587 $(HOST_EXPORTS) \
5588 $(POSTSTAGE1_HOST_EXPORTS) \
5589 cd $(HOST_SUBDIR)/opcodes && \
5590 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5591 $(TARGET-stage3-opcodes)
5593 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5594 clean-stage3: clean-stage3-opcodes
5595 clean-stage3-opcodes:
5596 @if [ $(current_stage) = stage3 ]; then \
5597 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5598 else \
5599 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
5600 $(MAKE) stage3-start; \
5601 fi; \
5602 cd $(HOST_SUBDIR)/opcodes && \
5603 $(MAKE) $(FLAGS_TO_PASS) \
5604 $(POSTSTAGE1_FLAGS_TO_PASS) \
5605 clean
5606 @endif opcodes-bootstrap
5609 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5610 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5611 maybe-all-stage4-opcodes:
5612 maybe-clean-stage4-opcodes:
5613 @if opcodes-bootstrap
5614 maybe-all-stage4-opcodes: all-stage4-opcodes
5615 all-stage4: all-stage4-opcodes
5616 TARGET-stage4-opcodes = $(TARGET-opcodes)
5617 all-stage4-opcodes: configure-stage4-opcodes
5618 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5619 @r=`${PWD_COMMAND}`; export r; \
5620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5621 $(HOST_EXPORTS) \
5622 $(POSTSTAGE1_HOST_EXPORTS) \
5623 cd $(HOST_SUBDIR)/opcodes && \
5624 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5625 $(TARGET-stage4-opcodes)
5627 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5628 clean-stage4: clean-stage4-opcodes
5629 clean-stage4-opcodes:
5630 @if [ $(current_stage) = stage4 ]; then \
5631 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5632 else \
5633 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
5634 $(MAKE) stage4-start; \
5635 fi; \
5636 cd $(HOST_SUBDIR)/opcodes && \
5637 $(MAKE) $(FLAGS_TO_PASS) \
5638 $(POSTSTAGE1_FLAGS_TO_PASS) \
5639 clean
5640 @endif opcodes-bootstrap
5643 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5644 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5645 maybe-all-stageprofile-opcodes:
5646 maybe-clean-stageprofile-opcodes:
5647 @if opcodes-bootstrap
5648 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5649 all-stageprofile: all-stageprofile-opcodes
5650 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5651 all-stageprofile-opcodes: configure-stageprofile-opcodes
5652 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5653 @r=`${PWD_COMMAND}`; export r; \
5654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5655 $(HOST_EXPORTS) \
5656 $(POSTSTAGE1_HOST_EXPORTS) \
5657 cd $(HOST_SUBDIR)/opcodes && \
5658 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5659 $(TARGET-stageprofile-opcodes)
5661 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5662 clean-stageprofile: clean-stageprofile-opcodes
5663 clean-stageprofile-opcodes:
5664 @if [ $(current_stage) = stageprofile ]; then \
5665 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5666 else \
5667 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
5668 $(MAKE) stageprofile-start; \
5669 fi; \
5670 cd $(HOST_SUBDIR)/opcodes && \
5671 $(MAKE) $(FLAGS_TO_PASS) \
5672 $(POSTSTAGE1_FLAGS_TO_PASS) \
5673 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5674 @endif opcodes-bootstrap
5677 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5678 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5679 maybe-all-stagefeedback-opcodes:
5680 maybe-clean-stagefeedback-opcodes:
5681 @if opcodes-bootstrap
5682 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5683 all-stagefeedback: all-stagefeedback-opcodes
5684 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5685 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5686 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5687 @r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 $(HOST_EXPORTS) \
5690 $(POSTSTAGE1_HOST_EXPORTS) \
5691 cd $(HOST_SUBDIR)/opcodes && \
5692 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5693 $(TARGET-stagefeedback-opcodes)
5695 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5696 clean-stagefeedback: clean-stagefeedback-opcodes
5697 clean-stagefeedback-opcodes:
5698 @if [ $(current_stage) = stagefeedback ]; then \
5699 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
5700 else \
5701 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
5702 $(MAKE) stagefeedback-start; \
5703 fi; \
5704 cd $(HOST_SUBDIR)/opcodes && \
5705 $(MAKE) $(FLAGS_TO_PASS) \
5706 $(POSTSTAGE1_FLAGS_TO_PASS) \
5707 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5708 @endif opcodes-bootstrap
5714 .PHONY: check-opcodes maybe-check-opcodes
5715 maybe-check-opcodes:
5716 @if opcodes
5717 maybe-check-opcodes: check-opcodes
5719 check-opcodes:
5720 @: $(MAKE); $(unstage)
5721 @r=`${PWD_COMMAND}`; export r; \
5722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5723 $(HOST_EXPORTS) \
5724 (cd $(HOST_SUBDIR)/opcodes && \
5725 $(MAKE) $(FLAGS_TO_PASS) check)
5727 @endif opcodes
5729 .PHONY: install-opcodes maybe-install-opcodes
5730 maybe-install-opcodes:
5731 @if opcodes
5732 maybe-install-opcodes: install-opcodes
5734 install-opcodes: installdirs
5735 @: $(MAKE); $(unstage)
5736 @r=`${PWD_COMMAND}`; export r; \
5737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5738 $(HOST_EXPORTS) \
5739 (cd $(HOST_SUBDIR)/opcodes && \
5740 $(MAKE) $(FLAGS_TO_PASS) install)
5742 @endif opcodes
5744 # Other targets (info, dvi, pdf, etc.)
5746 .PHONY: maybe-info-opcodes info-opcodes
5747 maybe-info-opcodes:
5748 @if opcodes
5749 maybe-info-opcodes: info-opcodes
5751 info-opcodes: \
5752 configure-opcodes
5753 @[ -f ./opcodes/Makefile ] || exit 0; \
5754 r=`${PWD_COMMAND}`; export r; \
5755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 $(HOST_EXPORTS) \
5757 for flag in $(EXTRA_HOST_FLAGS) ; do \
5758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5759 done; \
5760 echo "Doing info in opcodes" ; \
5761 (cd $(HOST_SUBDIR)/opcodes && \
5762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5764 "RANLIB=$${RANLIB}" \
5765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5766 info) \
5767 || exit 1
5769 @endif opcodes
5771 .PHONY: maybe-dvi-opcodes dvi-opcodes
5772 maybe-dvi-opcodes:
5773 @if opcodes
5774 maybe-dvi-opcodes: dvi-opcodes
5776 dvi-opcodes: \
5777 configure-opcodes
5778 @[ -f ./opcodes/Makefile ] || exit 0; \
5779 r=`${PWD_COMMAND}`; export r; \
5780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5781 $(HOST_EXPORTS) \
5782 for flag in $(EXTRA_HOST_FLAGS) ; do \
5783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5784 done; \
5785 echo "Doing dvi in opcodes" ; \
5786 (cd $(HOST_SUBDIR)/opcodes && \
5787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5789 "RANLIB=$${RANLIB}" \
5790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5791 dvi) \
5792 || exit 1
5794 @endif opcodes
5796 .PHONY: maybe-pdf-opcodes pdf-opcodes
5797 maybe-pdf-opcodes:
5798 @if opcodes
5799 maybe-pdf-opcodes: pdf-opcodes
5801 pdf-opcodes: \
5802 configure-opcodes
5803 @[ -f ./opcodes/Makefile ] || exit 0; \
5804 r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 for flag in $(EXTRA_HOST_FLAGS) ; do \
5808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5809 done; \
5810 echo "Doing pdf in opcodes" ; \
5811 (cd $(HOST_SUBDIR)/opcodes && \
5812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5814 "RANLIB=$${RANLIB}" \
5815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5816 pdf) \
5817 || exit 1
5819 @endif opcodes
5821 .PHONY: maybe-html-opcodes html-opcodes
5822 maybe-html-opcodes:
5823 @if opcodes
5824 maybe-html-opcodes: html-opcodes
5826 html-opcodes: \
5827 configure-opcodes
5828 @[ -f ./opcodes/Makefile ] || exit 0; \
5829 r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 $(HOST_EXPORTS) \
5832 for flag in $(EXTRA_HOST_FLAGS) ; do \
5833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5834 done; \
5835 echo "Doing html in opcodes" ; \
5836 (cd $(HOST_SUBDIR)/opcodes && \
5837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5839 "RANLIB=$${RANLIB}" \
5840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5841 html) \
5842 || exit 1
5844 @endif opcodes
5846 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5847 maybe-TAGS-opcodes:
5848 @if opcodes
5849 maybe-TAGS-opcodes: TAGS-opcodes
5851 TAGS-opcodes: \
5852 configure-opcodes
5853 @[ -f ./opcodes/Makefile ] || exit 0; \
5854 r=`${PWD_COMMAND}`; export r; \
5855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 $(HOST_EXPORTS) \
5857 for flag in $(EXTRA_HOST_FLAGS) ; do \
5858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5859 done; \
5860 echo "Doing TAGS in opcodes" ; \
5861 (cd $(HOST_SUBDIR)/opcodes && \
5862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5864 "RANLIB=$${RANLIB}" \
5865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5866 TAGS) \
5867 || exit 1
5869 @endif opcodes
5871 .PHONY: maybe-install-info-opcodes install-info-opcodes
5872 maybe-install-info-opcodes:
5873 @if opcodes
5874 maybe-install-info-opcodes: install-info-opcodes
5876 install-info-opcodes: \
5877 configure-opcodes \
5878 info-opcodes
5879 @[ -f ./opcodes/Makefile ] || exit 0; \
5880 r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 $(HOST_EXPORTS) \
5883 for flag in $(EXTRA_HOST_FLAGS) ; do \
5884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5885 done; \
5886 echo "Doing install-info in opcodes" ; \
5887 (cd $(HOST_SUBDIR)/opcodes && \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5890 "RANLIB=$${RANLIB}" \
5891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5892 install-info) \
5893 || exit 1
5895 @endif opcodes
5897 .PHONY: maybe-install-html-opcodes install-html-opcodes
5898 maybe-install-html-opcodes:
5899 @if opcodes
5900 maybe-install-html-opcodes: install-html-opcodes
5902 install-html-opcodes: \
5903 configure-opcodes \
5904 html-opcodes
5905 @[ -f ./opcodes/Makefile ] || exit 0; \
5906 r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 $(HOST_EXPORTS) \
5909 for flag in $(EXTRA_HOST_FLAGS) ; do \
5910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5911 done; \
5912 echo "Doing install-html in opcodes" ; \
5913 (cd $(HOST_SUBDIR)/opcodes && \
5914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5916 "RANLIB=$${RANLIB}" \
5917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5918 install-html) \
5919 || exit 1
5921 @endif opcodes
5923 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5924 maybe-installcheck-opcodes:
5925 @if opcodes
5926 maybe-installcheck-opcodes: installcheck-opcodes
5928 installcheck-opcodes: \
5929 configure-opcodes
5930 @[ -f ./opcodes/Makefile ] || exit 0; \
5931 r=`${PWD_COMMAND}`; export r; \
5932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5933 $(HOST_EXPORTS) \
5934 for flag in $(EXTRA_HOST_FLAGS) ; do \
5935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5936 done; \
5937 echo "Doing installcheck in opcodes" ; \
5938 (cd $(HOST_SUBDIR)/opcodes && \
5939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5941 "RANLIB=$${RANLIB}" \
5942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5943 installcheck) \
5944 || exit 1
5946 @endif opcodes
5948 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5949 maybe-mostlyclean-opcodes:
5950 @if opcodes
5951 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5953 mostlyclean-opcodes:
5954 @[ -f ./opcodes/Makefile ] || exit 0; \
5955 r=`${PWD_COMMAND}`; export r; \
5956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5957 $(HOST_EXPORTS) \
5958 for flag in $(EXTRA_HOST_FLAGS) ; do \
5959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5960 done; \
5961 echo "Doing mostlyclean in opcodes" ; \
5962 (cd $(HOST_SUBDIR)/opcodes && \
5963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5965 "RANLIB=$${RANLIB}" \
5966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5967 mostlyclean) \
5968 || exit 1
5970 @endif opcodes
5972 .PHONY: maybe-clean-opcodes clean-opcodes
5973 maybe-clean-opcodes:
5974 @if opcodes
5975 maybe-clean-opcodes: clean-opcodes
5977 clean-opcodes:
5978 @[ -f ./opcodes/Makefile ] || exit 0; \
5979 r=`${PWD_COMMAND}`; export r; \
5980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 $(HOST_EXPORTS) \
5982 for flag in $(EXTRA_HOST_FLAGS) ; do \
5983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5984 done; \
5985 echo "Doing clean in opcodes" ; \
5986 (cd $(HOST_SUBDIR)/opcodes && \
5987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5989 "RANLIB=$${RANLIB}" \
5990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5991 clean) \
5992 || exit 1
5994 @endif opcodes
5996 .PHONY: maybe-distclean-opcodes distclean-opcodes
5997 maybe-distclean-opcodes:
5998 @if opcodes
5999 maybe-distclean-opcodes: distclean-opcodes
6001 distclean-opcodes:
6002 @[ -f ./opcodes/Makefile ] || exit 0; \
6003 r=`${PWD_COMMAND}`; export r; \
6004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6005 $(HOST_EXPORTS) \
6006 for flag in $(EXTRA_HOST_FLAGS) ; do \
6007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6008 done; \
6009 echo "Doing distclean in opcodes" ; \
6010 (cd $(HOST_SUBDIR)/opcodes && \
6011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6013 "RANLIB=$${RANLIB}" \
6014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6015 distclean) \
6016 || exit 1
6018 @endif opcodes
6020 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
6021 maybe-maintainer-clean-opcodes:
6022 @if opcodes
6023 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
6025 maintainer-clean-opcodes:
6026 @[ -f ./opcodes/Makefile ] || exit 0; \
6027 r=`${PWD_COMMAND}`; export r; \
6028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6029 $(HOST_EXPORTS) \
6030 for flag in $(EXTRA_HOST_FLAGS) ; do \
6031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6032 done; \
6033 echo "Doing maintainer-clean in opcodes" ; \
6034 (cd $(HOST_SUBDIR)/opcodes && \
6035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6037 "RANLIB=$${RANLIB}" \
6038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6039 maintainer-clean) \
6040 || exit 1
6042 @endif opcodes
6046 .PHONY: configure-binutils maybe-configure-binutils
6047 maybe-configure-binutils:
6048 @if gcc-bootstrap
6049 configure-binutils: stage_current
6050 @endif gcc-bootstrap
6051 @if binutils
6052 maybe-configure-binutils: configure-binutils
6053 configure-binutils:
6054 @r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6057 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6058 $(HOST_EXPORTS) \
6059 echo Configuring in $(HOST_SUBDIR)/binutils; \
6060 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
6061 case $(srcdir) in \
6062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6063 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6065 esac; \
6066 srcdiroption="--srcdir=$${topdir}/binutils"; \
6067 libsrcdir="$$s/binutils"; \
6068 $(SHELL) $${libsrcdir}/configure \
6069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6070 --target=${target_alias} $${srcdiroption} \
6071 || exit 1
6072 @endif binutils
6076 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
6077 maybe-configure-stage1-binutils:
6078 @if binutils-bootstrap
6079 maybe-configure-stage1-binutils: configure-stage1-binutils
6080 configure-stage1-binutils:
6081 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6083 @r=`${PWD_COMMAND}`; export r; \
6084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6085 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6086 $(HOST_EXPORTS) \
6087 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
6088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6089 cd $(HOST_SUBDIR)/binutils || exit 1; \
6090 case $(srcdir) in \
6091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6092 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6094 esac; \
6095 srcdiroption="--srcdir=$${topdir}/binutils"; \
6096 libsrcdir="$$s/binutils"; \
6097 $(SHELL) $${libsrcdir}/configure \
6098 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6099 --target=${target_alias} $${srcdiroption} \
6101 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
6102 @endif binutils-bootstrap
6104 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
6105 maybe-configure-stage2-binutils:
6106 @if binutils-bootstrap
6107 maybe-configure-stage2-binutils: configure-stage2-binutils
6108 configure-stage2-binutils:
6109 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6110 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6111 @r=`${PWD_COMMAND}`; export r; \
6112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6113 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6114 $(HOST_EXPORTS) \
6115 $(POSTSTAGE1_HOST_EXPORTS) \
6116 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
6117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6118 cd $(HOST_SUBDIR)/binutils || exit 1; \
6119 case $(srcdir) in \
6120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6121 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6123 esac; \
6124 srcdiroption="--srcdir=$${topdir}/binutils"; \
6125 libsrcdir="$$s/binutils"; \
6126 $(SHELL) $${libsrcdir}/configure \
6127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6128 --target=${target_alias} $${srcdiroption} \
6129 --with-build-libsubdir=$(HOST_SUBDIR) \
6130 @stage2_werror_flag@
6131 @endif binutils-bootstrap
6133 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
6134 maybe-configure-stage3-binutils:
6135 @if binutils-bootstrap
6136 maybe-configure-stage3-binutils: configure-stage3-binutils
6137 configure-stage3-binutils:
6138 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6139 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6140 @r=`${PWD_COMMAND}`; export r; \
6141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6142 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6143 $(HOST_EXPORTS) \
6144 $(POSTSTAGE1_HOST_EXPORTS) \
6145 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
6146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6147 cd $(HOST_SUBDIR)/binutils || exit 1; \
6148 case $(srcdir) in \
6149 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6150 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6151 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6152 esac; \
6153 srcdiroption="--srcdir=$${topdir}/binutils"; \
6154 libsrcdir="$$s/binutils"; \
6155 $(SHELL) $${libsrcdir}/configure \
6156 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6157 --target=${target_alias} $${srcdiroption} \
6158 --with-build-libsubdir=$(HOST_SUBDIR) \
6159 @stage2_werror_flag@
6160 @endif binutils-bootstrap
6162 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
6163 maybe-configure-stage4-binutils:
6164 @if binutils-bootstrap
6165 maybe-configure-stage4-binutils: configure-stage4-binutils
6166 configure-stage4-binutils:
6167 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6168 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6169 @r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6172 $(HOST_EXPORTS) \
6173 $(POSTSTAGE1_HOST_EXPORTS) \
6174 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
6175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6176 cd $(HOST_SUBDIR)/binutils || exit 1; \
6177 case $(srcdir) in \
6178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6179 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6181 esac; \
6182 srcdiroption="--srcdir=$${topdir}/binutils"; \
6183 libsrcdir="$$s/binutils"; \
6184 $(SHELL) $${libsrcdir}/configure \
6185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6186 --target=${target_alias} $${srcdiroption} \
6187 --with-build-libsubdir=$(HOST_SUBDIR) \
6188 @stage2_werror_flag@
6189 @endif binutils-bootstrap
6191 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
6192 maybe-configure-stageprofile-binutils:
6193 @if binutils-bootstrap
6194 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
6195 configure-stageprofile-binutils:
6196 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6197 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6198 @r=`${PWD_COMMAND}`; export r; \
6199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6200 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6201 $(HOST_EXPORTS) \
6202 $(POSTSTAGE1_HOST_EXPORTS) \
6203 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
6204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6205 cd $(HOST_SUBDIR)/binutils || exit 1; \
6206 case $(srcdir) in \
6207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6208 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6210 esac; \
6211 srcdiroption="--srcdir=$${topdir}/binutils"; \
6212 libsrcdir="$$s/binutils"; \
6213 $(SHELL) $${libsrcdir}/configure \
6214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6215 --target=${target_alias} $${srcdiroption} \
6216 --with-build-libsubdir=$(HOST_SUBDIR) \
6217 @stage2_werror_flag@
6218 @endif binutils-bootstrap
6220 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
6221 maybe-configure-stagefeedback-binutils:
6222 @if binutils-bootstrap
6223 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
6224 configure-stagefeedback-binutils:
6225 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
6227 @r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
6230 $(HOST_EXPORTS) \
6231 $(POSTSTAGE1_HOST_EXPORTS) \
6232 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
6233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
6234 cd $(HOST_SUBDIR)/binutils || exit 1; \
6235 case $(srcdir) in \
6236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6237 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
6238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6239 esac; \
6240 srcdiroption="--srcdir=$${topdir}/binutils"; \
6241 libsrcdir="$$s/binutils"; \
6242 $(SHELL) $${libsrcdir}/configure \
6243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6244 --target=${target_alias} $${srcdiroption} \
6245 --with-build-libsubdir=$(HOST_SUBDIR) \
6246 @stage2_werror_flag@
6247 @endif binutils-bootstrap
6253 .PHONY: all-binutils maybe-all-binutils
6254 maybe-all-binutils:
6255 @if gcc-bootstrap
6256 all-binutils: stage_current
6257 @endif gcc-bootstrap
6258 @if binutils
6259 TARGET-binutils=all
6260 maybe-all-binutils: all-binutils
6261 all-binutils: configure-binutils
6262 @r=`${PWD_COMMAND}`; export r; \
6263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6264 $(HOST_EXPORTS) \
6265 (cd $(HOST_SUBDIR)/binutils && \
6266 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
6267 @endif binutils
6271 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
6272 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
6273 maybe-all-stage1-binutils:
6274 maybe-clean-stage1-binutils:
6275 @if binutils-bootstrap
6276 maybe-all-stage1-binutils: all-stage1-binutils
6277 all-stage1: all-stage1-binutils
6278 TARGET-stage1-binutils = $(TARGET-binutils)
6279 all-stage1-binutils: configure-stage1-binutils
6280 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
6281 @r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(HOST_EXPORTS) \
6284 cd $(HOST_SUBDIR)/binutils && \
6285 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
6286 $(TARGET-stage1-binutils)
6288 maybe-clean-stage1-binutils: clean-stage1-binutils
6289 clean-stage1: clean-stage1-binutils
6290 clean-stage1-binutils:
6291 @if [ $(current_stage) = stage1 ]; then \
6292 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6293 else \
6294 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
6295 $(MAKE) stage1-start; \
6296 fi; \
6297 cd $(HOST_SUBDIR)/binutils && \
6298 $(MAKE) $(FLAGS_TO_PASS) \
6299 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
6300 @endif binutils-bootstrap
6303 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
6304 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
6305 maybe-all-stage2-binutils:
6306 maybe-clean-stage2-binutils:
6307 @if binutils-bootstrap
6308 maybe-all-stage2-binutils: all-stage2-binutils
6309 all-stage2: all-stage2-binutils
6310 TARGET-stage2-binutils = $(TARGET-binutils)
6311 all-stage2-binutils: configure-stage2-binutils
6312 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
6313 @r=`${PWD_COMMAND}`; export r; \
6314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6315 $(HOST_EXPORTS) \
6316 $(POSTSTAGE1_HOST_EXPORTS) \
6317 cd $(HOST_SUBDIR)/binutils && \
6318 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6319 $(TARGET-stage2-binutils)
6321 maybe-clean-stage2-binutils: clean-stage2-binutils
6322 clean-stage2: clean-stage2-binutils
6323 clean-stage2-binutils:
6324 @if [ $(current_stage) = stage2 ]; then \
6325 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6326 else \
6327 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
6328 $(MAKE) stage2-start; \
6329 fi; \
6330 cd $(HOST_SUBDIR)/binutils && \
6331 $(MAKE) $(FLAGS_TO_PASS) \
6332 $(POSTSTAGE1_FLAGS_TO_PASS) \
6333 clean
6334 @endif binutils-bootstrap
6337 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
6338 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
6339 maybe-all-stage3-binutils:
6340 maybe-clean-stage3-binutils:
6341 @if binutils-bootstrap
6342 maybe-all-stage3-binutils: all-stage3-binutils
6343 all-stage3: all-stage3-binutils
6344 TARGET-stage3-binutils = $(TARGET-binutils)
6345 all-stage3-binutils: configure-stage3-binutils
6346 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
6347 @r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6349 $(HOST_EXPORTS) \
6350 $(POSTSTAGE1_HOST_EXPORTS) \
6351 cd $(HOST_SUBDIR)/binutils && \
6352 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6353 $(TARGET-stage3-binutils)
6355 maybe-clean-stage3-binutils: clean-stage3-binutils
6356 clean-stage3: clean-stage3-binutils
6357 clean-stage3-binutils:
6358 @if [ $(current_stage) = stage3 ]; then \
6359 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6360 else \
6361 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
6362 $(MAKE) stage3-start; \
6363 fi; \
6364 cd $(HOST_SUBDIR)/binutils && \
6365 $(MAKE) $(FLAGS_TO_PASS) \
6366 $(POSTSTAGE1_FLAGS_TO_PASS) \
6367 clean
6368 @endif binutils-bootstrap
6371 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
6372 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
6373 maybe-all-stage4-binutils:
6374 maybe-clean-stage4-binutils:
6375 @if binutils-bootstrap
6376 maybe-all-stage4-binutils: all-stage4-binutils
6377 all-stage4: all-stage4-binutils
6378 TARGET-stage4-binutils = $(TARGET-binutils)
6379 all-stage4-binutils: configure-stage4-binutils
6380 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
6381 @r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(HOST_EXPORTS) \
6384 $(POSTSTAGE1_HOST_EXPORTS) \
6385 cd $(HOST_SUBDIR)/binutils && \
6386 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
6387 $(TARGET-stage4-binutils)
6389 maybe-clean-stage4-binutils: clean-stage4-binutils
6390 clean-stage4: clean-stage4-binutils
6391 clean-stage4-binutils:
6392 @if [ $(current_stage) = stage4 ]; then \
6393 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6394 else \
6395 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
6396 $(MAKE) stage4-start; \
6397 fi; \
6398 cd $(HOST_SUBDIR)/binutils && \
6399 $(MAKE) $(FLAGS_TO_PASS) \
6400 $(POSTSTAGE1_FLAGS_TO_PASS) \
6401 clean
6402 @endif binutils-bootstrap
6405 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
6406 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
6407 maybe-all-stageprofile-binutils:
6408 maybe-clean-stageprofile-binutils:
6409 @if binutils-bootstrap
6410 maybe-all-stageprofile-binutils: all-stageprofile-binutils
6411 all-stageprofile: all-stageprofile-binutils
6412 TARGET-stageprofile-binutils = $(TARGET-binutils)
6413 all-stageprofile-binutils: configure-stageprofile-binutils
6414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
6415 @r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(HOST_EXPORTS) \
6418 $(POSTSTAGE1_HOST_EXPORTS) \
6419 cd $(HOST_SUBDIR)/binutils && \
6420 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
6421 $(TARGET-stageprofile-binutils)
6423 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
6424 clean-stageprofile: clean-stageprofile-binutils
6425 clean-stageprofile-binutils:
6426 @if [ $(current_stage) = stageprofile ]; then \
6427 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6428 else \
6429 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
6430 $(MAKE) stageprofile-start; \
6431 fi; \
6432 cd $(HOST_SUBDIR)/binutils && \
6433 $(MAKE) $(FLAGS_TO_PASS) \
6434 $(POSTSTAGE1_FLAGS_TO_PASS) \
6435 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
6436 @endif binutils-bootstrap
6439 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
6440 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
6441 maybe-all-stagefeedback-binutils:
6442 maybe-clean-stagefeedback-binutils:
6443 @if binutils-bootstrap
6444 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
6445 all-stagefeedback: all-stagefeedback-binutils
6446 TARGET-stagefeedback-binutils = $(TARGET-binutils)
6447 all-stagefeedback-binutils: configure-stagefeedback-binutils
6448 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
6449 @r=`${PWD_COMMAND}`; export r; \
6450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6451 $(HOST_EXPORTS) \
6452 $(POSTSTAGE1_HOST_EXPORTS) \
6453 cd $(HOST_SUBDIR)/binutils && \
6454 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
6455 $(TARGET-stagefeedback-binutils)
6457 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
6458 clean-stagefeedback: clean-stagefeedback-binutils
6459 clean-stagefeedback-binutils:
6460 @if [ $(current_stage) = stagefeedback ]; then \
6461 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
6462 else \
6463 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
6464 $(MAKE) stagefeedback-start; \
6465 fi; \
6466 cd $(HOST_SUBDIR)/binutils && \
6467 $(MAKE) $(FLAGS_TO_PASS) \
6468 $(POSTSTAGE1_FLAGS_TO_PASS) \
6469 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
6470 @endif binutils-bootstrap
6476 .PHONY: check-binutils maybe-check-binutils
6477 maybe-check-binutils:
6478 @if binutils
6479 maybe-check-binutils: check-binutils
6481 check-binutils:
6482 @: $(MAKE); $(unstage)
6483 @r=`${PWD_COMMAND}`; export r; \
6484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6485 $(HOST_EXPORTS) \
6486 (cd $(HOST_SUBDIR)/binutils && \
6487 $(MAKE) $(FLAGS_TO_PASS) check)
6489 @endif binutils
6491 .PHONY: install-binutils maybe-install-binutils
6492 maybe-install-binutils:
6493 @if binutils
6494 maybe-install-binutils: install-binutils
6496 install-binutils: installdirs
6497 @: $(MAKE); $(unstage)
6498 @r=`${PWD_COMMAND}`; export r; \
6499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6500 $(HOST_EXPORTS) \
6501 (cd $(HOST_SUBDIR)/binutils && \
6502 $(MAKE) $(FLAGS_TO_PASS) install)
6504 @endif binutils
6506 # Other targets (info, dvi, pdf, etc.)
6508 .PHONY: maybe-info-binutils info-binutils
6509 maybe-info-binutils:
6510 @if binutils
6511 maybe-info-binutils: info-binutils
6513 info-binutils: \
6514 configure-binutils
6515 @[ -f ./binutils/Makefile ] || exit 0; \
6516 r=`${PWD_COMMAND}`; export r; \
6517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6518 $(HOST_EXPORTS) \
6519 for flag in $(EXTRA_HOST_FLAGS) ; do \
6520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6521 done; \
6522 echo "Doing info in binutils" ; \
6523 (cd $(HOST_SUBDIR)/binutils && \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6526 "RANLIB=$${RANLIB}" \
6527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6528 info) \
6529 || exit 1
6531 @endif binutils
6533 .PHONY: maybe-dvi-binutils dvi-binutils
6534 maybe-dvi-binutils:
6535 @if binutils
6536 maybe-dvi-binutils: dvi-binutils
6538 dvi-binutils: \
6539 configure-binutils
6540 @[ -f ./binutils/Makefile ] || exit 0; \
6541 r=`${PWD_COMMAND}`; export r; \
6542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6543 $(HOST_EXPORTS) \
6544 for flag in $(EXTRA_HOST_FLAGS) ; do \
6545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6546 done; \
6547 echo "Doing dvi in binutils" ; \
6548 (cd $(HOST_SUBDIR)/binutils && \
6549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6551 "RANLIB=$${RANLIB}" \
6552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6553 dvi) \
6554 || exit 1
6556 @endif binutils
6558 .PHONY: maybe-pdf-binutils pdf-binutils
6559 maybe-pdf-binutils:
6560 @if binutils
6561 maybe-pdf-binutils: pdf-binutils
6563 pdf-binutils: \
6564 configure-binutils
6565 @[ -f ./binutils/Makefile ] || exit 0; \
6566 r=`${PWD_COMMAND}`; export r; \
6567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6568 $(HOST_EXPORTS) \
6569 for flag in $(EXTRA_HOST_FLAGS) ; do \
6570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6571 done; \
6572 echo "Doing pdf in binutils" ; \
6573 (cd $(HOST_SUBDIR)/binutils && \
6574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6576 "RANLIB=$${RANLIB}" \
6577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6578 pdf) \
6579 || exit 1
6581 @endif binutils
6583 .PHONY: maybe-html-binutils html-binutils
6584 maybe-html-binutils:
6585 @if binutils
6586 maybe-html-binutils: html-binutils
6588 html-binutils: \
6589 configure-binutils
6590 @[ -f ./binutils/Makefile ] || exit 0; \
6591 r=`${PWD_COMMAND}`; export r; \
6592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6593 $(HOST_EXPORTS) \
6594 for flag in $(EXTRA_HOST_FLAGS) ; do \
6595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6596 done; \
6597 echo "Doing html in binutils" ; \
6598 (cd $(HOST_SUBDIR)/binutils && \
6599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6601 "RANLIB=$${RANLIB}" \
6602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6603 html) \
6604 || exit 1
6606 @endif binutils
6608 .PHONY: maybe-TAGS-binutils TAGS-binutils
6609 maybe-TAGS-binutils:
6610 @if binutils
6611 maybe-TAGS-binutils: TAGS-binutils
6613 TAGS-binutils: \
6614 configure-binutils
6615 @[ -f ./binutils/Makefile ] || exit 0; \
6616 r=`${PWD_COMMAND}`; export r; \
6617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 $(HOST_EXPORTS) \
6619 for flag in $(EXTRA_HOST_FLAGS) ; do \
6620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6621 done; \
6622 echo "Doing TAGS in binutils" ; \
6623 (cd $(HOST_SUBDIR)/binutils && \
6624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6626 "RANLIB=$${RANLIB}" \
6627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6628 TAGS) \
6629 || exit 1
6631 @endif binutils
6633 .PHONY: maybe-install-info-binutils install-info-binutils
6634 maybe-install-info-binutils:
6635 @if binutils
6636 maybe-install-info-binutils: install-info-binutils
6638 install-info-binutils: \
6639 configure-binutils \
6640 info-binutils
6641 @[ -f ./binutils/Makefile ] || exit 0; \
6642 r=`${PWD_COMMAND}`; export r; \
6643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6644 $(HOST_EXPORTS) \
6645 for flag in $(EXTRA_HOST_FLAGS) ; do \
6646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6647 done; \
6648 echo "Doing install-info in binutils" ; \
6649 (cd $(HOST_SUBDIR)/binutils && \
6650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6652 "RANLIB=$${RANLIB}" \
6653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6654 install-info) \
6655 || exit 1
6657 @endif binutils
6659 .PHONY: maybe-install-html-binutils install-html-binutils
6660 maybe-install-html-binutils:
6661 @if binutils
6662 maybe-install-html-binutils: install-html-binutils
6664 install-html-binutils: \
6665 configure-binutils \
6666 html-binutils
6667 @[ -f ./binutils/Makefile ] || exit 0; \
6668 r=`${PWD_COMMAND}`; export r; \
6669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6670 $(HOST_EXPORTS) \
6671 for flag in $(EXTRA_HOST_FLAGS) ; do \
6672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6673 done; \
6674 echo "Doing install-html in binutils" ; \
6675 (cd $(HOST_SUBDIR)/binutils && \
6676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6678 "RANLIB=$${RANLIB}" \
6679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6680 install-html) \
6681 || exit 1
6683 @endif binutils
6685 .PHONY: maybe-installcheck-binutils installcheck-binutils
6686 maybe-installcheck-binutils:
6687 @if binutils
6688 maybe-installcheck-binutils: installcheck-binutils
6690 installcheck-binutils: \
6691 configure-binutils
6692 @[ -f ./binutils/Makefile ] || exit 0; \
6693 r=`${PWD_COMMAND}`; export r; \
6694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6695 $(HOST_EXPORTS) \
6696 for flag in $(EXTRA_HOST_FLAGS) ; do \
6697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6698 done; \
6699 echo "Doing installcheck in binutils" ; \
6700 (cd $(HOST_SUBDIR)/binutils && \
6701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6703 "RANLIB=$${RANLIB}" \
6704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6705 installcheck) \
6706 || exit 1
6708 @endif binutils
6710 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6711 maybe-mostlyclean-binutils:
6712 @if binutils
6713 maybe-mostlyclean-binutils: mostlyclean-binutils
6715 mostlyclean-binutils:
6716 @[ -f ./binutils/Makefile ] || exit 0; \
6717 r=`${PWD_COMMAND}`; export r; \
6718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6719 $(HOST_EXPORTS) \
6720 for flag in $(EXTRA_HOST_FLAGS) ; do \
6721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6722 done; \
6723 echo "Doing mostlyclean in binutils" ; \
6724 (cd $(HOST_SUBDIR)/binutils && \
6725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6727 "RANLIB=$${RANLIB}" \
6728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6729 mostlyclean) \
6730 || exit 1
6732 @endif binutils
6734 .PHONY: maybe-clean-binutils clean-binutils
6735 maybe-clean-binutils:
6736 @if binutils
6737 maybe-clean-binutils: clean-binutils
6739 clean-binutils:
6740 @[ -f ./binutils/Makefile ] || exit 0; \
6741 r=`${PWD_COMMAND}`; export r; \
6742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6743 $(HOST_EXPORTS) \
6744 for flag in $(EXTRA_HOST_FLAGS) ; do \
6745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6746 done; \
6747 echo "Doing clean in binutils" ; \
6748 (cd $(HOST_SUBDIR)/binutils && \
6749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6751 "RANLIB=$${RANLIB}" \
6752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6753 clean) \
6754 || exit 1
6756 @endif binutils
6758 .PHONY: maybe-distclean-binutils distclean-binutils
6759 maybe-distclean-binutils:
6760 @if binutils
6761 maybe-distclean-binutils: distclean-binutils
6763 distclean-binutils:
6764 @[ -f ./binutils/Makefile ] || exit 0; \
6765 r=`${PWD_COMMAND}`; export r; \
6766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6767 $(HOST_EXPORTS) \
6768 for flag in $(EXTRA_HOST_FLAGS) ; do \
6769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6770 done; \
6771 echo "Doing distclean in binutils" ; \
6772 (cd $(HOST_SUBDIR)/binutils && \
6773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6775 "RANLIB=$${RANLIB}" \
6776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6777 distclean) \
6778 || exit 1
6780 @endif binutils
6782 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6783 maybe-maintainer-clean-binutils:
6784 @if binutils
6785 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6787 maintainer-clean-binutils:
6788 @[ -f ./binutils/Makefile ] || exit 0; \
6789 r=`${PWD_COMMAND}`; export r; \
6790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 $(HOST_EXPORTS) \
6792 for flag in $(EXTRA_HOST_FLAGS) ; do \
6793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6794 done; \
6795 echo "Doing maintainer-clean in binutils" ; \
6796 (cd $(HOST_SUBDIR)/binutils && \
6797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6799 "RANLIB=$${RANLIB}" \
6800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6801 maintainer-clean) \
6802 || exit 1
6804 @endif binutils
6808 .PHONY: configure-bison maybe-configure-bison
6809 maybe-configure-bison:
6810 @if gcc-bootstrap
6811 configure-bison: stage_current
6812 @endif gcc-bootstrap
6813 @if bison
6814 maybe-configure-bison: configure-bison
6815 configure-bison:
6816 @: $(MAKE); $(unstage)
6817 @r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6821 $(HOST_EXPORTS) \
6822 echo Configuring in $(HOST_SUBDIR)/bison; \
6823 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6824 case $(srcdir) in \
6825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6826 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6828 esac; \
6829 srcdiroption="--srcdir=$${topdir}/bison"; \
6830 libsrcdir="$$s/bison"; \
6831 $(SHELL) $${libsrcdir}/configure \
6832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6833 --target=${target_alias} $${srcdiroption} \
6834 || exit 1
6835 @endif bison
6841 .PHONY: all-bison maybe-all-bison
6842 maybe-all-bison:
6843 @if gcc-bootstrap
6844 all-bison: stage_current
6845 @endif gcc-bootstrap
6846 @if bison
6847 TARGET-bison=all
6848 maybe-all-bison: all-bison
6849 all-bison: configure-bison
6850 @: $(MAKE); $(unstage)
6851 @r=`${PWD_COMMAND}`; export r; \
6852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6853 $(HOST_EXPORTS) \
6854 (cd $(HOST_SUBDIR)/bison && \
6855 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6856 @endif bison
6861 .PHONY: check-bison maybe-check-bison
6862 maybe-check-bison:
6863 @if bison
6864 maybe-check-bison: check-bison
6866 # This module is only tested in a native toolchain.
6867 check-bison:
6868 @: $(MAKE); $(unstage)
6869 @if [ '$(host)' = '$(target)' ] ; then \
6870 r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(HOST_EXPORTS) \
6873 (cd $(HOST_SUBDIR)/bison && \
6874 $(MAKE) $(FLAGS_TO_PASS) check); \
6877 @endif bison
6879 .PHONY: install-bison maybe-install-bison
6880 maybe-install-bison:
6881 @if bison
6882 maybe-install-bison: install-bison
6884 install-bison: installdirs
6885 @: $(MAKE); $(unstage)
6886 @r=`${PWD_COMMAND}`; export r; \
6887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6888 $(HOST_EXPORTS) \
6889 (cd $(HOST_SUBDIR)/bison && \
6890 $(MAKE) $(FLAGS_TO_PASS) install)
6892 @endif bison
6894 # Other targets (info, dvi, pdf, etc.)
6896 .PHONY: maybe-info-bison info-bison
6897 maybe-info-bison:
6898 @if bison
6899 maybe-info-bison: info-bison
6901 info-bison: \
6902 configure-bison
6903 @: $(MAKE); $(unstage)
6904 @[ -f ./bison/Makefile ] || exit 0; \
6905 r=`${PWD_COMMAND}`; export r; \
6906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907 $(HOST_EXPORTS) \
6908 for flag in $(EXTRA_HOST_FLAGS) ; do \
6909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6910 done; \
6911 echo "Doing info in bison" ; \
6912 (cd $(HOST_SUBDIR)/bison && \
6913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6915 "RANLIB=$${RANLIB}" \
6916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6917 info) \
6918 || exit 1
6920 @endif bison
6922 .PHONY: maybe-dvi-bison dvi-bison
6923 maybe-dvi-bison:
6924 @if bison
6925 maybe-dvi-bison: dvi-bison
6927 dvi-bison: \
6928 configure-bison
6929 @: $(MAKE); $(unstage)
6930 @[ -f ./bison/Makefile ] || exit 0; \
6931 r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 $(HOST_EXPORTS) \
6934 for flag in $(EXTRA_HOST_FLAGS) ; do \
6935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6936 done; \
6937 echo "Doing dvi in bison" ; \
6938 (cd $(HOST_SUBDIR)/bison && \
6939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6941 "RANLIB=$${RANLIB}" \
6942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6943 dvi) \
6944 || exit 1
6946 @endif bison
6948 .PHONY: maybe-pdf-bison pdf-bison
6949 maybe-pdf-bison:
6950 @if bison
6951 maybe-pdf-bison: pdf-bison
6953 pdf-bison: \
6954 configure-bison
6955 @: $(MAKE); $(unstage)
6956 @[ -f ./bison/Makefile ] || exit 0; \
6957 r=`${PWD_COMMAND}`; export r; \
6958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6959 $(HOST_EXPORTS) \
6960 for flag in $(EXTRA_HOST_FLAGS) ; do \
6961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6962 done; \
6963 echo "Doing pdf in bison" ; \
6964 (cd $(HOST_SUBDIR)/bison && \
6965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6967 "RANLIB=$${RANLIB}" \
6968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6969 pdf) \
6970 || exit 1
6972 @endif bison
6974 .PHONY: maybe-html-bison html-bison
6975 maybe-html-bison:
6976 @if bison
6977 maybe-html-bison: html-bison
6979 html-bison: \
6980 configure-bison
6981 @: $(MAKE); $(unstage)
6982 @[ -f ./bison/Makefile ] || exit 0; \
6983 r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985 $(HOST_EXPORTS) \
6986 for flag in $(EXTRA_HOST_FLAGS) ; do \
6987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6988 done; \
6989 echo "Doing html in bison" ; \
6990 (cd $(HOST_SUBDIR)/bison && \
6991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6993 "RANLIB=$${RANLIB}" \
6994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6995 html) \
6996 || exit 1
6998 @endif bison
7000 .PHONY: maybe-TAGS-bison TAGS-bison
7001 maybe-TAGS-bison:
7002 @if bison
7003 maybe-TAGS-bison: TAGS-bison
7005 TAGS-bison: \
7006 configure-bison
7007 @: $(MAKE); $(unstage)
7008 @[ -f ./bison/Makefile ] || exit 0; \
7009 r=`${PWD_COMMAND}`; export r; \
7010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7011 $(HOST_EXPORTS) \
7012 for flag in $(EXTRA_HOST_FLAGS) ; do \
7013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7014 done; \
7015 echo "Doing TAGS in bison" ; \
7016 (cd $(HOST_SUBDIR)/bison && \
7017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7019 "RANLIB=$${RANLIB}" \
7020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7021 TAGS) \
7022 || exit 1
7024 @endif bison
7026 .PHONY: maybe-install-info-bison install-info-bison
7027 maybe-install-info-bison:
7028 @if bison
7029 maybe-install-info-bison: install-info-bison
7031 install-info-bison: \
7032 configure-bison \
7033 info-bison
7034 @: $(MAKE); $(unstage)
7035 @[ -f ./bison/Makefile ] || exit 0; \
7036 r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(HOST_EXPORTS) \
7039 for flag in $(EXTRA_HOST_FLAGS) ; do \
7040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7041 done; \
7042 echo "Doing install-info in bison" ; \
7043 (cd $(HOST_SUBDIR)/bison && \
7044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7046 "RANLIB=$${RANLIB}" \
7047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7048 install-info) \
7049 || exit 1
7051 @endif bison
7053 .PHONY: maybe-install-html-bison install-html-bison
7054 maybe-install-html-bison:
7055 @if bison
7056 maybe-install-html-bison: install-html-bison
7058 install-html-bison: \
7059 configure-bison \
7060 html-bison
7061 @: $(MAKE); $(unstage)
7062 @[ -f ./bison/Makefile ] || exit 0; \
7063 r=`${PWD_COMMAND}`; export r; \
7064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7065 $(HOST_EXPORTS) \
7066 for flag in $(EXTRA_HOST_FLAGS) ; do \
7067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7068 done; \
7069 echo "Doing install-html in bison" ; \
7070 (cd $(HOST_SUBDIR)/bison && \
7071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7073 "RANLIB=$${RANLIB}" \
7074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7075 install-html) \
7076 || exit 1
7078 @endif bison
7080 .PHONY: maybe-installcheck-bison installcheck-bison
7081 maybe-installcheck-bison:
7082 @if bison
7083 maybe-installcheck-bison: installcheck-bison
7085 installcheck-bison: \
7086 configure-bison
7087 @: $(MAKE); $(unstage)
7088 @[ -f ./bison/Makefile ] || exit 0; \
7089 r=`${PWD_COMMAND}`; export r; \
7090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7091 $(HOST_EXPORTS) \
7092 for flag in $(EXTRA_HOST_FLAGS) ; do \
7093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7094 done; \
7095 echo "Doing installcheck in bison" ; \
7096 (cd $(HOST_SUBDIR)/bison && \
7097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7099 "RANLIB=$${RANLIB}" \
7100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7101 installcheck) \
7102 || exit 1
7104 @endif bison
7106 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
7107 maybe-mostlyclean-bison:
7108 @if bison
7109 maybe-mostlyclean-bison: mostlyclean-bison
7111 mostlyclean-bison:
7112 @: $(MAKE); $(unstage)
7113 @[ -f ./bison/Makefile ] || exit 0; \
7114 r=`${PWD_COMMAND}`; export r; \
7115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7116 $(HOST_EXPORTS) \
7117 for flag in $(EXTRA_HOST_FLAGS) ; do \
7118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7119 done; \
7120 echo "Doing mostlyclean in bison" ; \
7121 (cd $(HOST_SUBDIR)/bison && \
7122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7124 "RANLIB=$${RANLIB}" \
7125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7126 mostlyclean) \
7127 || exit 1
7129 @endif bison
7131 .PHONY: maybe-clean-bison clean-bison
7132 maybe-clean-bison:
7133 @if bison
7134 maybe-clean-bison: clean-bison
7136 clean-bison:
7137 @: $(MAKE); $(unstage)
7138 @[ -f ./bison/Makefile ] || exit 0; \
7139 r=`${PWD_COMMAND}`; export r; \
7140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7141 $(HOST_EXPORTS) \
7142 for flag in $(EXTRA_HOST_FLAGS) ; do \
7143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7144 done; \
7145 echo "Doing clean in bison" ; \
7146 (cd $(HOST_SUBDIR)/bison && \
7147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7149 "RANLIB=$${RANLIB}" \
7150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7151 clean) \
7152 || exit 1
7154 @endif bison
7156 .PHONY: maybe-distclean-bison distclean-bison
7157 maybe-distclean-bison:
7158 @if bison
7159 maybe-distclean-bison: distclean-bison
7161 distclean-bison:
7162 @: $(MAKE); $(unstage)
7163 @[ -f ./bison/Makefile ] || exit 0; \
7164 r=`${PWD_COMMAND}`; export r; \
7165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7166 $(HOST_EXPORTS) \
7167 for flag in $(EXTRA_HOST_FLAGS) ; do \
7168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7169 done; \
7170 echo "Doing distclean in bison" ; \
7171 (cd $(HOST_SUBDIR)/bison && \
7172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7174 "RANLIB=$${RANLIB}" \
7175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7176 distclean) \
7177 || exit 1
7179 @endif bison
7181 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
7182 maybe-maintainer-clean-bison:
7183 @if bison
7184 maybe-maintainer-clean-bison: maintainer-clean-bison
7186 maintainer-clean-bison:
7187 @: $(MAKE); $(unstage)
7188 @[ -f ./bison/Makefile ] || exit 0; \
7189 r=`${PWD_COMMAND}`; export r; \
7190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7191 $(HOST_EXPORTS) \
7192 for flag in $(EXTRA_HOST_FLAGS) ; do \
7193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7194 done; \
7195 echo "Doing maintainer-clean in bison" ; \
7196 (cd $(HOST_SUBDIR)/bison && \
7197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7199 "RANLIB=$${RANLIB}" \
7200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7201 maintainer-clean) \
7202 || exit 1
7204 @endif bison
7208 .PHONY: configure-byacc maybe-configure-byacc
7209 maybe-configure-byacc:
7210 @if gcc-bootstrap
7211 configure-byacc: stage_current
7212 @endif gcc-bootstrap
7213 @if byacc
7214 maybe-configure-byacc: configure-byacc
7215 configure-byacc:
7216 @: $(MAKE); $(unstage)
7217 @r=`${PWD_COMMAND}`; export r; \
7218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7219 test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
7220 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
7221 $(HOST_EXPORTS) \
7222 echo Configuring in $(HOST_SUBDIR)/byacc; \
7223 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
7224 case $(srcdir) in \
7225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7226 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
7227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7228 esac; \
7229 srcdiroption="--srcdir=$${topdir}/byacc"; \
7230 libsrcdir="$$s/byacc"; \
7231 $(SHELL) $${libsrcdir}/configure \
7232 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7233 --target=${target_alias} $${srcdiroption} \
7234 || exit 1
7235 @endif byacc
7241 .PHONY: all-byacc maybe-all-byacc
7242 maybe-all-byacc:
7243 @if gcc-bootstrap
7244 all-byacc: stage_current
7245 @endif gcc-bootstrap
7246 @if byacc
7247 TARGET-byacc=all
7248 maybe-all-byacc: all-byacc
7249 all-byacc: configure-byacc
7250 @: $(MAKE); $(unstage)
7251 @r=`${PWD_COMMAND}`; export r; \
7252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7253 $(HOST_EXPORTS) \
7254 (cd $(HOST_SUBDIR)/byacc && \
7255 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
7256 @endif byacc
7261 .PHONY: check-byacc maybe-check-byacc
7262 maybe-check-byacc:
7263 @if byacc
7264 maybe-check-byacc: check-byacc
7266 # This module is only tested in a native toolchain.
7267 check-byacc:
7268 @: $(MAKE); $(unstage)
7269 @if [ '$(host)' = '$(target)' ] ; then \
7270 r=`${PWD_COMMAND}`; export r; \
7271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7272 $(HOST_EXPORTS) \
7273 (cd $(HOST_SUBDIR)/byacc && \
7274 $(MAKE) $(FLAGS_TO_PASS) check); \
7277 @endif byacc
7279 .PHONY: install-byacc maybe-install-byacc
7280 maybe-install-byacc:
7281 @if byacc
7282 maybe-install-byacc: install-byacc
7284 install-byacc: installdirs
7285 @: $(MAKE); $(unstage)
7286 @r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(HOST_EXPORTS) \
7289 (cd $(HOST_SUBDIR)/byacc && \
7290 $(MAKE) $(FLAGS_TO_PASS) install)
7292 @endif byacc
7294 # Other targets (info, dvi, pdf, etc.)
7296 .PHONY: maybe-info-byacc info-byacc
7297 maybe-info-byacc:
7298 @if byacc
7299 maybe-info-byacc: info-byacc
7301 info-byacc: \
7302 configure-byacc
7303 @: $(MAKE); $(unstage)
7304 @[ -f ./byacc/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307 $(HOST_EXPORTS) \
7308 for flag in $(EXTRA_HOST_FLAGS) ; do \
7309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7310 done; \
7311 echo "Doing info in byacc" ; \
7312 (cd $(HOST_SUBDIR)/byacc && \
7313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7315 "RANLIB=$${RANLIB}" \
7316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7317 info) \
7318 || exit 1
7320 @endif byacc
7322 .PHONY: maybe-dvi-byacc dvi-byacc
7323 maybe-dvi-byacc:
7324 @if byacc
7325 maybe-dvi-byacc: dvi-byacc
7327 dvi-byacc: \
7328 configure-byacc
7329 @: $(MAKE); $(unstage)
7330 @[ -f ./byacc/Makefile ] || exit 0; \
7331 r=`${PWD_COMMAND}`; export r; \
7332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7333 $(HOST_EXPORTS) \
7334 for flag in $(EXTRA_HOST_FLAGS) ; do \
7335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7336 done; \
7337 echo "Doing dvi in byacc" ; \
7338 (cd $(HOST_SUBDIR)/byacc && \
7339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7341 "RANLIB=$${RANLIB}" \
7342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7343 dvi) \
7344 || exit 1
7346 @endif byacc
7348 .PHONY: maybe-pdf-byacc pdf-byacc
7349 maybe-pdf-byacc:
7350 @if byacc
7351 maybe-pdf-byacc: pdf-byacc
7353 pdf-byacc: \
7354 configure-byacc
7355 @: $(MAKE); $(unstage)
7356 @[ -f ./byacc/Makefile ] || exit 0; \
7357 r=`${PWD_COMMAND}`; export r; \
7358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7359 $(HOST_EXPORTS) \
7360 for flag in $(EXTRA_HOST_FLAGS) ; do \
7361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7362 done; \
7363 echo "Doing pdf in byacc" ; \
7364 (cd $(HOST_SUBDIR)/byacc && \
7365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7367 "RANLIB=$${RANLIB}" \
7368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7369 pdf) \
7370 || exit 1
7372 @endif byacc
7374 .PHONY: maybe-html-byacc html-byacc
7375 maybe-html-byacc:
7376 @if byacc
7377 maybe-html-byacc: html-byacc
7379 html-byacc: \
7380 configure-byacc
7381 @: $(MAKE); $(unstage)
7382 @[ -f ./byacc/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing html in byacc" ; \
7390 (cd $(HOST_SUBDIR)/byacc && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7395 html) \
7396 || exit 1
7398 @endif byacc
7400 .PHONY: maybe-TAGS-byacc TAGS-byacc
7401 maybe-TAGS-byacc:
7402 @if byacc
7403 maybe-TAGS-byacc: TAGS-byacc
7405 TAGS-byacc: \
7406 configure-byacc
7407 @: $(MAKE); $(unstage)
7408 @[ -f ./byacc/Makefile ] || exit 0; \
7409 r=`${PWD_COMMAND}`; export r; \
7410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7411 $(HOST_EXPORTS) \
7412 for flag in $(EXTRA_HOST_FLAGS) ; do \
7413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7414 done; \
7415 echo "Doing TAGS in byacc" ; \
7416 (cd $(HOST_SUBDIR)/byacc && \
7417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7419 "RANLIB=$${RANLIB}" \
7420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7421 TAGS) \
7422 || exit 1
7424 @endif byacc
7426 .PHONY: maybe-install-info-byacc install-info-byacc
7427 maybe-install-info-byacc:
7428 @if byacc
7429 maybe-install-info-byacc: install-info-byacc
7431 install-info-byacc: \
7432 configure-byacc \
7433 info-byacc
7434 @: $(MAKE); $(unstage)
7435 @[ -f ./byacc/Makefile ] || exit 0; \
7436 r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS) ; do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing install-info in byacc" ; \
7443 (cd $(HOST_SUBDIR)/byacc && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 install-info) \
7449 || exit 1
7451 @endif byacc
7453 .PHONY: maybe-install-html-byacc install-html-byacc
7454 maybe-install-html-byacc:
7455 @if byacc
7456 maybe-install-html-byacc: install-html-byacc
7458 install-html-byacc: \
7459 configure-byacc \
7460 html-byacc
7461 @: $(MAKE); $(unstage)
7462 @[ -f ./byacc/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(HOST_EXPORTS) \
7466 for flag in $(EXTRA_HOST_FLAGS) ; do \
7467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7468 done; \
7469 echo "Doing install-html in byacc" ; \
7470 (cd $(HOST_SUBDIR)/byacc && \
7471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7473 "RANLIB=$${RANLIB}" \
7474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7475 install-html) \
7476 || exit 1
7478 @endif byacc
7480 .PHONY: maybe-installcheck-byacc installcheck-byacc
7481 maybe-installcheck-byacc:
7482 @if byacc
7483 maybe-installcheck-byacc: installcheck-byacc
7485 installcheck-byacc: \
7486 configure-byacc
7487 @: $(MAKE); $(unstage)
7488 @[ -f ./byacc/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(HOST_EXPORTS) \
7492 for flag in $(EXTRA_HOST_FLAGS) ; do \
7493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7494 done; \
7495 echo "Doing installcheck in byacc" ; \
7496 (cd $(HOST_SUBDIR)/byacc && \
7497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7499 "RANLIB=$${RANLIB}" \
7500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7501 installcheck) \
7502 || exit 1
7504 @endif byacc
7506 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
7507 maybe-mostlyclean-byacc:
7508 @if byacc
7509 maybe-mostlyclean-byacc: mostlyclean-byacc
7511 mostlyclean-byacc:
7512 @: $(MAKE); $(unstage)
7513 @[ -f ./byacc/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing mostlyclean in byacc" ; \
7521 (cd $(HOST_SUBDIR)/byacc && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 mostlyclean) \
7527 || exit 1
7529 @endif byacc
7531 .PHONY: maybe-clean-byacc clean-byacc
7532 maybe-clean-byacc:
7533 @if byacc
7534 maybe-clean-byacc: clean-byacc
7536 clean-byacc:
7537 @: $(MAKE); $(unstage)
7538 @[ -f ./byacc/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing clean in byacc" ; \
7546 (cd $(HOST_SUBDIR)/byacc && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7551 clean) \
7552 || exit 1
7554 @endif byacc
7556 .PHONY: maybe-distclean-byacc distclean-byacc
7557 maybe-distclean-byacc:
7558 @if byacc
7559 maybe-distclean-byacc: distclean-byacc
7561 distclean-byacc:
7562 @: $(MAKE); $(unstage)
7563 @[ -f ./byacc/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing distclean in byacc" ; \
7571 (cd $(HOST_SUBDIR)/byacc && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7576 distclean) \
7577 || exit 1
7579 @endif byacc
7581 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
7582 maybe-maintainer-clean-byacc:
7583 @if byacc
7584 maybe-maintainer-clean-byacc: maintainer-clean-byacc
7586 maintainer-clean-byacc:
7587 @: $(MAKE); $(unstage)
7588 @[ -f ./byacc/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing maintainer-clean in byacc" ; \
7596 (cd $(HOST_SUBDIR)/byacc && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7601 maintainer-clean) \
7602 || exit 1
7604 @endif byacc
7608 .PHONY: configure-bzip2 maybe-configure-bzip2
7609 maybe-configure-bzip2:
7610 @if gcc-bootstrap
7611 configure-bzip2: stage_current
7612 @endif gcc-bootstrap
7613 @if bzip2
7614 maybe-configure-bzip2: configure-bzip2
7615 configure-bzip2:
7616 @: $(MAKE); $(unstage)
7617 @r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
7620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
7621 $(HOST_EXPORTS) \
7622 echo Configuring in $(HOST_SUBDIR)/bzip2; \
7623 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
7624 case $(srcdir) in \
7625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7626 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
7627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7628 esac; \
7629 srcdiroption="--srcdir=$${topdir}/bzip2"; \
7630 libsrcdir="$$s/bzip2"; \
7631 $(SHELL) $${libsrcdir}/configure \
7632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7633 --target=${target_alias} $${srcdiroption} \
7634 || exit 1
7635 @endif bzip2
7641 .PHONY: all-bzip2 maybe-all-bzip2
7642 maybe-all-bzip2:
7643 @if gcc-bootstrap
7644 all-bzip2: stage_current
7645 @endif gcc-bootstrap
7646 @if bzip2
7647 TARGET-bzip2=all
7648 maybe-all-bzip2: all-bzip2
7649 all-bzip2: configure-bzip2
7650 @: $(MAKE); $(unstage)
7651 @r=`${PWD_COMMAND}`; export r; \
7652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 $(HOST_EXPORTS) \
7654 (cd $(HOST_SUBDIR)/bzip2 && \
7655 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
7656 @endif bzip2
7661 .PHONY: check-bzip2 maybe-check-bzip2
7662 maybe-check-bzip2:
7663 @if bzip2
7664 maybe-check-bzip2: check-bzip2
7666 check-bzip2:
7667 @: $(MAKE); $(unstage)
7668 @r=`${PWD_COMMAND}`; export r; \
7669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7670 $(HOST_EXPORTS) \
7671 (cd $(HOST_SUBDIR)/bzip2 && \
7672 $(MAKE) $(FLAGS_TO_PASS) check)
7674 @endif bzip2
7676 .PHONY: install-bzip2 maybe-install-bzip2
7677 maybe-install-bzip2:
7678 @if bzip2
7679 maybe-install-bzip2: install-bzip2
7681 install-bzip2: installdirs
7682 @: $(MAKE); $(unstage)
7683 @r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(HOST_EXPORTS) \
7686 (cd $(HOST_SUBDIR)/bzip2 && \
7687 $(MAKE) $(FLAGS_TO_PASS) install)
7689 @endif bzip2
7691 # Other targets (info, dvi, pdf, etc.)
7693 .PHONY: maybe-info-bzip2 info-bzip2
7694 maybe-info-bzip2:
7695 @if bzip2
7696 maybe-info-bzip2: info-bzip2
7698 info-bzip2: \
7699 configure-bzip2
7700 @: $(MAKE); $(unstage)
7701 @[ -f ./bzip2/Makefile ] || exit 0; \
7702 r=`${PWD_COMMAND}`; export r; \
7703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 $(HOST_EXPORTS) \
7705 for flag in $(EXTRA_HOST_FLAGS) ; do \
7706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7707 done; \
7708 echo "Doing info in bzip2" ; \
7709 (cd $(HOST_SUBDIR)/bzip2 && \
7710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7712 "RANLIB=$${RANLIB}" \
7713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7714 info) \
7715 || exit 1
7717 @endif bzip2
7719 .PHONY: maybe-dvi-bzip2 dvi-bzip2
7720 maybe-dvi-bzip2:
7721 @if bzip2
7722 maybe-dvi-bzip2: dvi-bzip2
7724 dvi-bzip2: \
7725 configure-bzip2
7726 @: $(MAKE); $(unstage)
7727 @[ -f ./bzip2/Makefile ] || exit 0; \
7728 r=`${PWD_COMMAND}`; export r; \
7729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7730 $(HOST_EXPORTS) \
7731 for flag in $(EXTRA_HOST_FLAGS) ; do \
7732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7733 done; \
7734 echo "Doing dvi in bzip2" ; \
7735 (cd $(HOST_SUBDIR)/bzip2 && \
7736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7738 "RANLIB=$${RANLIB}" \
7739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7740 dvi) \
7741 || exit 1
7743 @endif bzip2
7745 .PHONY: maybe-pdf-bzip2 pdf-bzip2
7746 maybe-pdf-bzip2:
7747 @if bzip2
7748 maybe-pdf-bzip2: pdf-bzip2
7750 pdf-bzip2: \
7751 configure-bzip2
7752 @: $(MAKE); $(unstage)
7753 @[ -f ./bzip2/Makefile ] || exit 0; \
7754 r=`${PWD_COMMAND}`; export r; \
7755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756 $(HOST_EXPORTS) \
7757 for flag in $(EXTRA_HOST_FLAGS) ; do \
7758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7759 done; \
7760 echo "Doing pdf in bzip2" ; \
7761 (cd $(HOST_SUBDIR)/bzip2 && \
7762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7764 "RANLIB=$${RANLIB}" \
7765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7766 pdf) \
7767 || exit 1
7769 @endif bzip2
7771 .PHONY: maybe-html-bzip2 html-bzip2
7772 maybe-html-bzip2:
7773 @if bzip2
7774 maybe-html-bzip2: html-bzip2
7776 html-bzip2: \
7777 configure-bzip2
7778 @: $(MAKE); $(unstage)
7779 @[ -f ./bzip2/Makefile ] || exit 0; \
7780 r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 $(HOST_EXPORTS) \
7783 for flag in $(EXTRA_HOST_FLAGS) ; do \
7784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7785 done; \
7786 echo "Doing html in bzip2" ; \
7787 (cd $(HOST_SUBDIR)/bzip2 && \
7788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7790 "RANLIB=$${RANLIB}" \
7791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7792 html) \
7793 || exit 1
7795 @endif bzip2
7797 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
7798 maybe-TAGS-bzip2:
7799 @if bzip2
7800 maybe-TAGS-bzip2: TAGS-bzip2
7802 TAGS-bzip2: \
7803 configure-bzip2
7804 @: $(MAKE); $(unstage)
7805 @[ -f ./bzip2/Makefile ] || exit 0; \
7806 r=`${PWD_COMMAND}`; export r; \
7807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing TAGS in bzip2" ; \
7813 (cd $(HOST_SUBDIR)/bzip2 && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 TAGS) \
7819 || exit 1
7821 @endif bzip2
7823 .PHONY: maybe-install-info-bzip2 install-info-bzip2
7824 maybe-install-info-bzip2:
7825 @if bzip2
7826 maybe-install-info-bzip2: install-info-bzip2
7828 install-info-bzip2: \
7829 configure-bzip2 \
7830 info-bzip2
7831 @: $(MAKE); $(unstage)
7832 @[ -f ./bzip2/Makefile ] || exit 0; \
7833 r=`${PWD_COMMAND}`; export r; \
7834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7835 $(HOST_EXPORTS) \
7836 for flag in $(EXTRA_HOST_FLAGS) ; do \
7837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7838 done; \
7839 echo "Doing install-info in bzip2" ; \
7840 (cd $(HOST_SUBDIR)/bzip2 && \
7841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7843 "RANLIB=$${RANLIB}" \
7844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7845 install-info) \
7846 || exit 1
7848 @endif bzip2
7850 .PHONY: maybe-install-html-bzip2 install-html-bzip2
7851 maybe-install-html-bzip2:
7852 @if bzip2
7853 maybe-install-html-bzip2: install-html-bzip2
7855 install-html-bzip2: \
7856 configure-bzip2 \
7857 html-bzip2
7858 @: $(MAKE); $(unstage)
7859 @[ -f ./bzip2/Makefile ] || exit 0; \
7860 r=`${PWD_COMMAND}`; export r; \
7861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7862 $(HOST_EXPORTS) \
7863 for flag in $(EXTRA_HOST_FLAGS) ; do \
7864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7865 done; \
7866 echo "Doing install-html in bzip2" ; \
7867 (cd $(HOST_SUBDIR)/bzip2 && \
7868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7870 "RANLIB=$${RANLIB}" \
7871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7872 install-html) \
7873 || exit 1
7875 @endif bzip2
7877 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7878 maybe-installcheck-bzip2:
7879 @if bzip2
7880 maybe-installcheck-bzip2: installcheck-bzip2
7882 installcheck-bzip2: \
7883 configure-bzip2
7884 @: $(MAKE); $(unstage)
7885 @[ -f ./bzip2/Makefile ] || exit 0; \
7886 r=`${PWD_COMMAND}`; export r; \
7887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7888 $(HOST_EXPORTS) \
7889 for flag in $(EXTRA_HOST_FLAGS) ; do \
7890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7891 done; \
7892 echo "Doing installcheck in bzip2" ; \
7893 (cd $(HOST_SUBDIR)/bzip2 && \
7894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7896 "RANLIB=$${RANLIB}" \
7897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7898 installcheck) \
7899 || exit 1
7901 @endif bzip2
7903 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7904 maybe-mostlyclean-bzip2:
7905 @if bzip2
7906 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7908 mostlyclean-bzip2:
7909 @: $(MAKE); $(unstage)
7910 @[ -f ./bzip2/Makefile ] || exit 0; \
7911 r=`${PWD_COMMAND}`; export r; \
7912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7913 $(HOST_EXPORTS) \
7914 for flag in $(EXTRA_HOST_FLAGS) ; do \
7915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7916 done; \
7917 echo "Doing mostlyclean in bzip2" ; \
7918 (cd $(HOST_SUBDIR)/bzip2 && \
7919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7921 "RANLIB=$${RANLIB}" \
7922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7923 mostlyclean) \
7924 || exit 1
7926 @endif bzip2
7928 .PHONY: maybe-clean-bzip2 clean-bzip2
7929 maybe-clean-bzip2:
7930 @if bzip2
7931 maybe-clean-bzip2: clean-bzip2
7933 clean-bzip2:
7934 @: $(MAKE); $(unstage)
7935 @[ -f ./bzip2/Makefile ] || exit 0; \
7936 r=`${PWD_COMMAND}`; export r; \
7937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7938 $(HOST_EXPORTS) \
7939 for flag in $(EXTRA_HOST_FLAGS) ; do \
7940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7941 done; \
7942 echo "Doing clean in bzip2" ; \
7943 (cd $(HOST_SUBDIR)/bzip2 && \
7944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7946 "RANLIB=$${RANLIB}" \
7947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7948 clean) \
7949 || exit 1
7951 @endif bzip2
7953 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7954 maybe-distclean-bzip2:
7955 @if bzip2
7956 maybe-distclean-bzip2: distclean-bzip2
7958 distclean-bzip2:
7959 @: $(MAKE); $(unstage)
7960 @[ -f ./bzip2/Makefile ] || exit 0; \
7961 r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 $(HOST_EXPORTS) \
7964 for flag in $(EXTRA_HOST_FLAGS) ; do \
7965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7966 done; \
7967 echo "Doing distclean in bzip2" ; \
7968 (cd $(HOST_SUBDIR)/bzip2 && \
7969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7971 "RANLIB=$${RANLIB}" \
7972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7973 distclean) \
7974 || exit 1
7976 @endif bzip2
7978 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7979 maybe-maintainer-clean-bzip2:
7980 @if bzip2
7981 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7983 maintainer-clean-bzip2:
7984 @: $(MAKE); $(unstage)
7985 @[ -f ./bzip2/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing maintainer-clean in bzip2" ; \
7993 (cd $(HOST_SUBDIR)/bzip2 && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7998 maintainer-clean) \
7999 || exit 1
8001 @endif bzip2
8005 .PHONY: configure-dejagnu maybe-configure-dejagnu
8006 maybe-configure-dejagnu:
8007 @if gcc-bootstrap
8008 configure-dejagnu: stage_current
8009 @endif gcc-bootstrap
8010 @if dejagnu
8011 maybe-configure-dejagnu: configure-dejagnu
8012 configure-dejagnu:
8013 @: $(MAKE); $(unstage)
8014 @r=`${PWD_COMMAND}`; export r; \
8015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8016 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
8017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
8018 $(HOST_EXPORTS) \
8019 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
8020 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
8021 case $(srcdir) in \
8022 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8023 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
8024 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8025 esac; \
8026 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
8027 libsrcdir="$$s/dejagnu"; \
8028 $(SHELL) $${libsrcdir}/configure \
8029 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8030 --target=${target_alias} $${srcdiroption} \
8031 || exit 1
8032 @endif dejagnu
8038 .PHONY: all-dejagnu maybe-all-dejagnu
8039 maybe-all-dejagnu:
8040 @if gcc-bootstrap
8041 all-dejagnu: stage_current
8042 @endif gcc-bootstrap
8043 @if dejagnu
8044 TARGET-dejagnu=all
8045 maybe-all-dejagnu: all-dejagnu
8046 all-dejagnu: configure-dejagnu
8047 @: $(MAKE); $(unstage)
8048 @r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 $(HOST_EXPORTS) \
8051 (cd $(HOST_SUBDIR)/dejagnu && \
8052 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
8053 @endif dejagnu
8058 .PHONY: check-dejagnu maybe-check-dejagnu
8059 maybe-check-dejagnu:
8060 @if dejagnu
8061 maybe-check-dejagnu: check-dejagnu
8063 check-dejagnu:
8064 @: $(MAKE); $(unstage)
8065 @r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 $(HOST_EXPORTS) \
8068 (cd $(HOST_SUBDIR)/dejagnu && \
8069 $(MAKE) $(FLAGS_TO_PASS) check)
8071 @endif dejagnu
8073 .PHONY: install-dejagnu maybe-install-dejagnu
8074 maybe-install-dejagnu:
8075 @if dejagnu
8076 maybe-install-dejagnu: install-dejagnu
8078 install-dejagnu: installdirs
8079 @: $(MAKE); $(unstage)
8080 @r=`${PWD_COMMAND}`; export r; \
8081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8082 $(HOST_EXPORTS) \
8083 (cd $(HOST_SUBDIR)/dejagnu && \
8084 $(MAKE) $(FLAGS_TO_PASS) install)
8086 @endif dejagnu
8088 # Other targets (info, dvi, pdf, etc.)
8090 .PHONY: maybe-info-dejagnu info-dejagnu
8091 maybe-info-dejagnu:
8092 @if dejagnu
8093 maybe-info-dejagnu: info-dejagnu
8095 info-dejagnu: \
8096 configure-dejagnu
8097 @: $(MAKE); $(unstage)
8098 @[ -f ./dejagnu/Makefile ] || exit 0; \
8099 r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(HOST_EXPORTS) \
8102 for flag in $(EXTRA_HOST_FLAGS) ; do \
8103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8104 done; \
8105 echo "Doing info in dejagnu" ; \
8106 (cd $(HOST_SUBDIR)/dejagnu && \
8107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8109 "RANLIB=$${RANLIB}" \
8110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8111 info) \
8112 || exit 1
8114 @endif dejagnu
8116 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
8117 maybe-dvi-dejagnu:
8118 @if dejagnu
8119 maybe-dvi-dejagnu: dvi-dejagnu
8121 dvi-dejagnu: \
8122 configure-dejagnu
8123 @: $(MAKE); $(unstage)
8124 @[ -f ./dejagnu/Makefile ] || exit 0; \
8125 r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8127 $(HOST_EXPORTS) \
8128 for flag in $(EXTRA_HOST_FLAGS) ; do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 echo "Doing dvi in dejagnu" ; \
8132 (cd $(HOST_SUBDIR)/dejagnu && \
8133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8135 "RANLIB=$${RANLIB}" \
8136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8137 dvi) \
8138 || exit 1
8140 @endif dejagnu
8142 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
8143 maybe-pdf-dejagnu:
8144 @if dejagnu
8145 maybe-pdf-dejagnu: pdf-dejagnu
8147 pdf-dejagnu: \
8148 configure-dejagnu
8149 @: $(MAKE); $(unstage)
8150 @[ -f ./dejagnu/Makefile ] || exit 0; \
8151 r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8153 $(HOST_EXPORTS) \
8154 for flag in $(EXTRA_HOST_FLAGS) ; do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8156 done; \
8157 echo "Doing pdf in dejagnu" ; \
8158 (cd $(HOST_SUBDIR)/dejagnu && \
8159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161 "RANLIB=$${RANLIB}" \
8162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8163 pdf) \
8164 || exit 1
8166 @endif dejagnu
8168 .PHONY: maybe-html-dejagnu html-dejagnu
8169 maybe-html-dejagnu:
8170 @if dejagnu
8171 maybe-html-dejagnu: html-dejagnu
8173 html-dejagnu: \
8174 configure-dejagnu
8175 @: $(MAKE); $(unstage)
8176 @[ -f ./dejagnu/Makefile ] || exit 0; \
8177 r=`${PWD_COMMAND}`; export r; \
8178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8179 $(HOST_EXPORTS) \
8180 for flag in $(EXTRA_HOST_FLAGS) ; do \
8181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8182 done; \
8183 echo "Doing html in dejagnu" ; \
8184 (cd $(HOST_SUBDIR)/dejagnu && \
8185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8187 "RANLIB=$${RANLIB}" \
8188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8189 html) \
8190 || exit 1
8192 @endif dejagnu
8194 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
8195 maybe-TAGS-dejagnu:
8196 @if dejagnu
8197 maybe-TAGS-dejagnu: TAGS-dejagnu
8199 TAGS-dejagnu: \
8200 configure-dejagnu
8201 @: $(MAKE); $(unstage)
8202 @[ -f ./dejagnu/Makefile ] || exit 0; \
8203 r=`${PWD_COMMAND}`; export r; \
8204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 $(HOST_EXPORTS) \
8206 for flag in $(EXTRA_HOST_FLAGS) ; do \
8207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8208 done; \
8209 echo "Doing TAGS in dejagnu" ; \
8210 (cd $(HOST_SUBDIR)/dejagnu && \
8211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8213 "RANLIB=$${RANLIB}" \
8214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8215 TAGS) \
8216 || exit 1
8218 @endif dejagnu
8220 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
8221 maybe-install-info-dejagnu:
8222 @if dejagnu
8223 maybe-install-info-dejagnu: install-info-dejagnu
8225 install-info-dejagnu: \
8226 configure-dejagnu \
8227 info-dejagnu
8228 @: $(MAKE); $(unstage)
8229 @[ -f ./dejagnu/Makefile ] || exit 0; \
8230 r=`${PWD_COMMAND}`; export r; \
8231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8232 $(HOST_EXPORTS) \
8233 for flag in $(EXTRA_HOST_FLAGS) ; do \
8234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8235 done; \
8236 echo "Doing install-info in dejagnu" ; \
8237 (cd $(HOST_SUBDIR)/dejagnu && \
8238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8240 "RANLIB=$${RANLIB}" \
8241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8242 install-info) \
8243 || exit 1
8245 @endif dejagnu
8247 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
8248 maybe-install-html-dejagnu:
8249 @if dejagnu
8250 maybe-install-html-dejagnu: install-html-dejagnu
8252 install-html-dejagnu: \
8253 configure-dejagnu \
8254 html-dejagnu
8255 @: $(MAKE); $(unstage)
8256 @[ -f ./dejagnu/Makefile ] || exit 0; \
8257 r=`${PWD_COMMAND}`; export r; \
8258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8259 $(HOST_EXPORTS) \
8260 for flag in $(EXTRA_HOST_FLAGS) ; do \
8261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8262 done; \
8263 echo "Doing install-html in dejagnu" ; \
8264 (cd $(HOST_SUBDIR)/dejagnu && \
8265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8267 "RANLIB=$${RANLIB}" \
8268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8269 install-html) \
8270 || exit 1
8272 @endif dejagnu
8274 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
8275 maybe-installcheck-dejagnu:
8276 @if dejagnu
8277 maybe-installcheck-dejagnu: installcheck-dejagnu
8279 installcheck-dejagnu: \
8280 configure-dejagnu
8281 @: $(MAKE); $(unstage)
8282 @[ -f ./dejagnu/Makefile ] || exit 0; \
8283 r=`${PWD_COMMAND}`; export r; \
8284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8285 $(HOST_EXPORTS) \
8286 for flag in $(EXTRA_HOST_FLAGS) ; do \
8287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8288 done; \
8289 echo "Doing installcheck in dejagnu" ; \
8290 (cd $(HOST_SUBDIR)/dejagnu && \
8291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8293 "RANLIB=$${RANLIB}" \
8294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8295 installcheck) \
8296 || exit 1
8298 @endif dejagnu
8300 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
8301 maybe-mostlyclean-dejagnu:
8302 @if dejagnu
8303 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
8305 mostlyclean-dejagnu:
8306 @: $(MAKE); $(unstage)
8307 @[ -f ./dejagnu/Makefile ] || exit 0; \
8308 r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 $(HOST_EXPORTS) \
8311 for flag in $(EXTRA_HOST_FLAGS) ; do \
8312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8313 done; \
8314 echo "Doing mostlyclean in dejagnu" ; \
8315 (cd $(HOST_SUBDIR)/dejagnu && \
8316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8318 "RANLIB=$${RANLIB}" \
8319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8320 mostlyclean) \
8321 || exit 1
8323 @endif dejagnu
8325 .PHONY: maybe-clean-dejagnu clean-dejagnu
8326 maybe-clean-dejagnu:
8327 @if dejagnu
8328 maybe-clean-dejagnu: clean-dejagnu
8330 clean-dejagnu:
8331 @: $(MAKE); $(unstage)
8332 @[ -f ./dejagnu/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8335 $(HOST_EXPORTS) \
8336 for flag in $(EXTRA_HOST_FLAGS) ; do \
8337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8338 done; \
8339 echo "Doing clean in dejagnu" ; \
8340 (cd $(HOST_SUBDIR)/dejagnu && \
8341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8343 "RANLIB=$${RANLIB}" \
8344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8345 clean) \
8346 || exit 1
8348 @endif dejagnu
8350 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
8351 maybe-distclean-dejagnu:
8352 @if dejagnu
8353 maybe-distclean-dejagnu: distclean-dejagnu
8355 distclean-dejagnu:
8356 @: $(MAKE); $(unstage)
8357 @[ -f ./dejagnu/Makefile ] || exit 0; \
8358 r=`${PWD_COMMAND}`; export r; \
8359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8360 $(HOST_EXPORTS) \
8361 for flag in $(EXTRA_HOST_FLAGS) ; do \
8362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8363 done; \
8364 echo "Doing distclean in dejagnu" ; \
8365 (cd $(HOST_SUBDIR)/dejagnu && \
8366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8368 "RANLIB=$${RANLIB}" \
8369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8370 distclean) \
8371 || exit 1
8373 @endif dejagnu
8375 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
8376 maybe-maintainer-clean-dejagnu:
8377 @if dejagnu
8378 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
8380 maintainer-clean-dejagnu:
8381 @: $(MAKE); $(unstage)
8382 @[ -f ./dejagnu/Makefile ] || exit 0; \
8383 r=`${PWD_COMMAND}`; export r; \
8384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8385 $(HOST_EXPORTS) \
8386 for flag in $(EXTRA_HOST_FLAGS) ; do \
8387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8388 done; \
8389 echo "Doing maintainer-clean in dejagnu" ; \
8390 (cd $(HOST_SUBDIR)/dejagnu && \
8391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8393 "RANLIB=$${RANLIB}" \
8394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8395 maintainer-clean) \
8396 || exit 1
8398 @endif dejagnu
8402 .PHONY: configure-diff maybe-configure-diff
8403 maybe-configure-diff:
8404 @if gcc-bootstrap
8405 configure-diff: stage_current
8406 @endif gcc-bootstrap
8407 @if diff
8408 maybe-configure-diff: configure-diff
8409 configure-diff:
8410 @: $(MAKE); $(unstage)
8411 @r=`${PWD_COMMAND}`; export r; \
8412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8413 test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
8414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
8415 $(HOST_EXPORTS) \
8416 echo Configuring in $(HOST_SUBDIR)/diff; \
8417 cd "$(HOST_SUBDIR)/diff" || exit 1; \
8418 case $(srcdir) in \
8419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8420 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
8421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8422 esac; \
8423 srcdiroption="--srcdir=$${topdir}/diff"; \
8424 libsrcdir="$$s/diff"; \
8425 $(SHELL) $${libsrcdir}/configure \
8426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8427 --target=${target_alias} $${srcdiroption} \
8428 || exit 1
8429 @endif diff
8435 .PHONY: all-diff maybe-all-diff
8436 maybe-all-diff:
8437 @if gcc-bootstrap
8438 all-diff: stage_current
8439 @endif gcc-bootstrap
8440 @if diff
8441 TARGET-diff=all
8442 maybe-all-diff: all-diff
8443 all-diff: configure-diff
8444 @: $(MAKE); $(unstage)
8445 @r=`${PWD_COMMAND}`; export r; \
8446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8447 $(HOST_EXPORTS) \
8448 (cd $(HOST_SUBDIR)/diff && \
8449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
8450 @endif diff
8455 .PHONY: check-diff maybe-check-diff
8456 maybe-check-diff:
8457 @if diff
8458 maybe-check-diff: check-diff
8460 check-diff:
8461 @: $(MAKE); $(unstage)
8462 @r=`${PWD_COMMAND}`; export r; \
8463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8464 $(HOST_EXPORTS) \
8465 (cd $(HOST_SUBDIR)/diff && \
8466 $(MAKE) $(FLAGS_TO_PASS) check)
8468 @endif diff
8470 .PHONY: install-diff maybe-install-diff
8471 maybe-install-diff:
8472 @if diff
8473 maybe-install-diff: install-diff
8475 install-diff: installdirs
8476 @: $(MAKE); $(unstage)
8477 @r=`${PWD_COMMAND}`; export r; \
8478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8479 $(HOST_EXPORTS) \
8480 (cd $(HOST_SUBDIR)/diff && \
8481 $(MAKE) $(FLAGS_TO_PASS) install)
8483 @endif diff
8485 # Other targets (info, dvi, pdf, etc.)
8487 .PHONY: maybe-info-diff info-diff
8488 maybe-info-diff:
8489 @if diff
8490 maybe-info-diff: info-diff
8492 info-diff: \
8493 configure-diff
8494 @: $(MAKE); $(unstage)
8495 @[ -f ./diff/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(HOST_EXPORTS) \
8499 for flag in $(EXTRA_HOST_FLAGS) ; do \
8500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8501 done; \
8502 echo "Doing info in diff" ; \
8503 (cd $(HOST_SUBDIR)/diff && \
8504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8506 "RANLIB=$${RANLIB}" \
8507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8508 info) \
8509 || exit 1
8511 @endif diff
8513 .PHONY: maybe-dvi-diff dvi-diff
8514 maybe-dvi-diff:
8515 @if diff
8516 maybe-dvi-diff: dvi-diff
8518 dvi-diff: \
8519 configure-diff
8520 @: $(MAKE); $(unstage)
8521 @[ -f ./diff/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8524 $(HOST_EXPORTS) \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8527 done; \
8528 echo "Doing dvi in diff" ; \
8529 (cd $(HOST_SUBDIR)/diff && \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8534 dvi) \
8535 || exit 1
8537 @endif diff
8539 .PHONY: maybe-pdf-diff pdf-diff
8540 maybe-pdf-diff:
8541 @if diff
8542 maybe-pdf-diff: pdf-diff
8544 pdf-diff: \
8545 configure-diff
8546 @: $(MAKE); $(unstage)
8547 @[ -f ./diff/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8550 $(HOST_EXPORTS) \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8553 done; \
8554 echo "Doing pdf in diff" ; \
8555 (cd $(HOST_SUBDIR)/diff && \
8556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8558 "RANLIB=$${RANLIB}" \
8559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8560 pdf) \
8561 || exit 1
8563 @endif diff
8565 .PHONY: maybe-html-diff html-diff
8566 maybe-html-diff:
8567 @if diff
8568 maybe-html-diff: html-diff
8570 html-diff: \
8571 configure-diff
8572 @: $(MAKE); $(unstage)
8573 @[ -f ./diff/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 $(HOST_EXPORTS) \
8577 for flag in $(EXTRA_HOST_FLAGS) ; do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579 done; \
8580 echo "Doing html in diff" ; \
8581 (cd $(HOST_SUBDIR)/diff && \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8586 html) \
8587 || exit 1
8589 @endif diff
8591 .PHONY: maybe-TAGS-diff TAGS-diff
8592 maybe-TAGS-diff:
8593 @if diff
8594 maybe-TAGS-diff: TAGS-diff
8596 TAGS-diff: \
8597 configure-diff
8598 @: $(MAKE); $(unstage)
8599 @[ -f ./diff/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 $(HOST_EXPORTS) \
8603 for flag in $(EXTRA_HOST_FLAGS) ; do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 done; \
8606 echo "Doing TAGS in diff" ; \
8607 (cd $(HOST_SUBDIR)/diff && \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8612 TAGS) \
8613 || exit 1
8615 @endif diff
8617 .PHONY: maybe-install-info-diff install-info-diff
8618 maybe-install-info-diff:
8619 @if diff
8620 maybe-install-info-diff: install-info-diff
8622 install-info-diff: \
8623 configure-diff \
8624 info-diff
8625 @: $(MAKE); $(unstage)
8626 @[ -f ./diff/Makefile ] || exit 0; \
8627 r=`${PWD_COMMAND}`; export r; \
8628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8629 $(HOST_EXPORTS) \
8630 for flag in $(EXTRA_HOST_FLAGS) ; do \
8631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8632 done; \
8633 echo "Doing install-info in diff" ; \
8634 (cd $(HOST_SUBDIR)/diff && \
8635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8637 "RANLIB=$${RANLIB}" \
8638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8639 install-info) \
8640 || exit 1
8642 @endif diff
8644 .PHONY: maybe-install-html-diff install-html-diff
8645 maybe-install-html-diff:
8646 @if diff
8647 maybe-install-html-diff: install-html-diff
8649 install-html-diff: \
8650 configure-diff \
8651 html-diff
8652 @: $(MAKE); $(unstage)
8653 @[ -f ./diff/Makefile ] || exit 0; \
8654 r=`${PWD_COMMAND}`; export r; \
8655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8656 $(HOST_EXPORTS) \
8657 for flag in $(EXTRA_HOST_FLAGS) ; do \
8658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8659 done; \
8660 echo "Doing install-html in diff" ; \
8661 (cd $(HOST_SUBDIR)/diff && \
8662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8664 "RANLIB=$${RANLIB}" \
8665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8666 install-html) \
8667 || exit 1
8669 @endif diff
8671 .PHONY: maybe-installcheck-diff installcheck-diff
8672 maybe-installcheck-diff:
8673 @if diff
8674 maybe-installcheck-diff: installcheck-diff
8676 installcheck-diff: \
8677 configure-diff
8678 @: $(MAKE); $(unstage)
8679 @[ -f ./diff/Makefile ] || exit 0; \
8680 r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 $(HOST_EXPORTS) \
8683 for flag in $(EXTRA_HOST_FLAGS) ; do \
8684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8685 done; \
8686 echo "Doing installcheck in diff" ; \
8687 (cd $(HOST_SUBDIR)/diff && \
8688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8690 "RANLIB=$${RANLIB}" \
8691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8692 installcheck) \
8693 || exit 1
8695 @endif diff
8697 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
8698 maybe-mostlyclean-diff:
8699 @if diff
8700 maybe-mostlyclean-diff: mostlyclean-diff
8702 mostlyclean-diff:
8703 @: $(MAKE); $(unstage)
8704 @[ -f ./diff/Makefile ] || exit 0; \
8705 r=`${PWD_COMMAND}`; export r; \
8706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8707 $(HOST_EXPORTS) \
8708 for flag in $(EXTRA_HOST_FLAGS) ; do \
8709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8710 done; \
8711 echo "Doing mostlyclean in diff" ; \
8712 (cd $(HOST_SUBDIR)/diff && \
8713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8715 "RANLIB=$${RANLIB}" \
8716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8717 mostlyclean) \
8718 || exit 1
8720 @endif diff
8722 .PHONY: maybe-clean-diff clean-diff
8723 maybe-clean-diff:
8724 @if diff
8725 maybe-clean-diff: clean-diff
8727 clean-diff:
8728 @: $(MAKE); $(unstage)
8729 @[ -f ./diff/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(HOST_EXPORTS) \
8733 for flag in $(EXTRA_HOST_FLAGS) ; do \
8734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8735 done; \
8736 echo "Doing clean in diff" ; \
8737 (cd $(HOST_SUBDIR)/diff && \
8738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8740 "RANLIB=$${RANLIB}" \
8741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8742 clean) \
8743 || exit 1
8745 @endif diff
8747 .PHONY: maybe-distclean-diff distclean-diff
8748 maybe-distclean-diff:
8749 @if diff
8750 maybe-distclean-diff: distclean-diff
8752 distclean-diff:
8753 @: $(MAKE); $(unstage)
8754 @[ -f ./diff/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 $(HOST_EXPORTS) \
8758 for flag in $(EXTRA_HOST_FLAGS) ; do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8760 done; \
8761 echo "Doing distclean in diff" ; \
8762 (cd $(HOST_SUBDIR)/diff && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8767 distclean) \
8768 || exit 1
8770 @endif diff
8772 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
8773 maybe-maintainer-clean-diff:
8774 @if diff
8775 maybe-maintainer-clean-diff: maintainer-clean-diff
8777 maintainer-clean-diff:
8778 @: $(MAKE); $(unstage)
8779 @[ -f ./diff/Makefile ] || exit 0; \
8780 r=`${PWD_COMMAND}`; export r; \
8781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8782 $(HOST_EXPORTS) \
8783 for flag in $(EXTRA_HOST_FLAGS) ; do \
8784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8785 done; \
8786 echo "Doing maintainer-clean in diff" ; \
8787 (cd $(HOST_SUBDIR)/diff && \
8788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8790 "RANLIB=$${RANLIB}" \
8791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8792 maintainer-clean) \
8793 || exit 1
8795 @endif diff
8799 .PHONY: configure-dosutils maybe-configure-dosutils
8800 maybe-configure-dosutils:
8801 @if gcc-bootstrap
8802 configure-dosutils: stage_current
8803 @endif gcc-bootstrap
8804 @if dosutils
8805 maybe-configure-dosutils: configure-dosutils
8806 configure-dosutils:
8807 @: $(MAKE); $(unstage)
8808 @r=`${PWD_COMMAND}`; export r; \
8809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8810 test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
8811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
8812 $(HOST_EXPORTS) \
8813 echo Configuring in $(HOST_SUBDIR)/dosutils; \
8814 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
8815 case $(srcdir) in \
8816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8817 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
8818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8819 esac; \
8820 srcdiroption="--srcdir=$${topdir}/dosutils"; \
8821 libsrcdir="$$s/dosutils"; \
8822 $(SHELL) $${libsrcdir}/configure \
8823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8824 --target=${target_alias} $${srcdiroption} \
8825 || exit 1
8826 @endif dosutils
8832 .PHONY: all-dosutils maybe-all-dosutils
8833 maybe-all-dosutils:
8834 @if gcc-bootstrap
8835 all-dosutils: stage_current
8836 @endif gcc-bootstrap
8837 @if dosutils
8838 TARGET-dosutils=all
8839 maybe-all-dosutils: all-dosutils
8840 all-dosutils: configure-dosutils
8841 @: $(MAKE); $(unstage)
8842 @r=`${PWD_COMMAND}`; export r; \
8843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8844 $(HOST_EXPORTS) \
8845 (cd $(HOST_SUBDIR)/dosutils && \
8846 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
8847 @endif dosutils
8852 .PHONY: check-dosutils maybe-check-dosutils
8853 maybe-check-dosutils:
8854 @if dosutils
8855 maybe-check-dosutils: check-dosutils
8857 check-dosutils:
8859 @endif dosutils
8861 .PHONY: install-dosutils maybe-install-dosutils
8862 maybe-install-dosutils:
8863 @if dosutils
8864 maybe-install-dosutils: install-dosutils
8866 install-dosutils: installdirs
8867 @: $(MAKE); $(unstage)
8868 @r=`${PWD_COMMAND}`; export r; \
8869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8870 $(HOST_EXPORTS) \
8871 (cd $(HOST_SUBDIR)/dosutils && \
8872 $(MAKE) $(FLAGS_TO_PASS) install)
8874 @endif dosutils
8876 # Other targets (info, dvi, pdf, etc.)
8878 .PHONY: maybe-info-dosutils info-dosutils
8879 maybe-info-dosutils:
8880 @if dosutils
8881 maybe-info-dosutils: info-dosutils
8883 info-dosutils: \
8884 configure-dosutils
8885 @: $(MAKE); $(unstage)
8886 @[ -f ./dosutils/Makefile ] || exit 0; \
8887 r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889 $(HOST_EXPORTS) \
8890 for flag in $(EXTRA_HOST_FLAGS) ; do \
8891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8892 done; \
8893 echo "Doing info in dosutils" ; \
8894 (cd $(HOST_SUBDIR)/dosutils && \
8895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8897 "RANLIB=$${RANLIB}" \
8898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8899 info) \
8900 || exit 1
8902 @endif dosutils
8904 .PHONY: maybe-dvi-dosutils dvi-dosutils
8905 maybe-dvi-dosutils:
8906 @if dosutils
8907 maybe-dvi-dosutils: dvi-dosutils
8909 dvi-dosutils: \
8910 configure-dosutils
8911 @: $(MAKE); $(unstage)
8912 @[ -f ./dosutils/Makefile ] || exit 0; \
8913 r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 $(HOST_EXPORTS) \
8916 for flag in $(EXTRA_HOST_FLAGS) ; do \
8917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8918 done; \
8919 echo "Doing dvi in dosutils" ; \
8920 (cd $(HOST_SUBDIR)/dosutils && \
8921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8923 "RANLIB=$${RANLIB}" \
8924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8925 dvi) \
8926 || exit 1
8928 @endif dosutils
8930 .PHONY: maybe-pdf-dosutils pdf-dosutils
8931 maybe-pdf-dosutils:
8932 @if dosutils
8933 maybe-pdf-dosutils: pdf-dosutils
8935 pdf-dosutils: \
8936 configure-dosutils
8937 @: $(MAKE); $(unstage)
8938 @[ -f ./dosutils/Makefile ] || exit 0; \
8939 r=`${PWD_COMMAND}`; export r; \
8940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8941 $(HOST_EXPORTS) \
8942 for flag in $(EXTRA_HOST_FLAGS) ; do \
8943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8944 done; \
8945 echo "Doing pdf in dosutils" ; \
8946 (cd $(HOST_SUBDIR)/dosutils && \
8947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8949 "RANLIB=$${RANLIB}" \
8950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8951 pdf) \
8952 || exit 1
8954 @endif dosutils
8956 .PHONY: maybe-html-dosutils html-dosutils
8957 maybe-html-dosutils:
8958 @if dosutils
8959 maybe-html-dosutils: html-dosutils
8961 html-dosutils: \
8962 configure-dosutils
8963 @: $(MAKE); $(unstage)
8964 @[ -f ./dosutils/Makefile ] || exit 0; \
8965 r=`${PWD_COMMAND}`; export r; \
8966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8967 $(HOST_EXPORTS) \
8968 for flag in $(EXTRA_HOST_FLAGS) ; do \
8969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8970 done; \
8971 echo "Doing html in dosutils" ; \
8972 (cd $(HOST_SUBDIR)/dosutils && \
8973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8975 "RANLIB=$${RANLIB}" \
8976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8977 html) \
8978 || exit 1
8980 @endif dosutils
8982 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
8983 maybe-TAGS-dosutils:
8984 @if dosutils
8985 maybe-TAGS-dosutils: TAGS-dosutils
8987 TAGS-dosutils: \
8988 configure-dosutils
8989 @: $(MAKE); $(unstage)
8990 @[ -f ./dosutils/Makefile ] || exit 0; \
8991 r=`${PWD_COMMAND}`; export r; \
8992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8993 $(HOST_EXPORTS) \
8994 for flag in $(EXTRA_HOST_FLAGS) ; do \
8995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8996 done; \
8997 echo "Doing TAGS in dosutils" ; \
8998 (cd $(HOST_SUBDIR)/dosutils && \
8999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9001 "RANLIB=$${RANLIB}" \
9002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9003 TAGS) \
9004 || exit 1
9006 @endif dosutils
9008 .PHONY: maybe-install-info-dosutils install-info-dosutils
9009 maybe-install-info-dosutils:
9010 @if dosutils
9011 maybe-install-info-dosutils: install-info-dosutils
9013 install-info-dosutils: \
9014 configure-dosutils \
9015 info-dosutils
9016 @: $(MAKE); $(unstage)
9017 @[ -f ./dosutils/Makefile ] || exit 0; \
9018 r=`${PWD_COMMAND}`; export r; \
9019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9020 $(HOST_EXPORTS) \
9021 for flag in $(EXTRA_HOST_FLAGS) ; do \
9022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9023 done; \
9024 echo "Doing install-info in dosutils" ; \
9025 (cd $(HOST_SUBDIR)/dosutils && \
9026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9028 "RANLIB=$${RANLIB}" \
9029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9030 install-info) \
9031 || exit 1
9033 @endif dosutils
9035 .PHONY: maybe-install-html-dosutils install-html-dosutils
9036 maybe-install-html-dosutils:
9037 @if dosutils
9038 maybe-install-html-dosutils: install-html-dosutils
9040 install-html-dosutils: \
9041 configure-dosutils \
9042 html-dosutils
9043 @: $(MAKE); $(unstage)
9044 @[ -f ./dosutils/Makefile ] || exit 0; \
9045 r=`${PWD_COMMAND}`; export r; \
9046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9047 $(HOST_EXPORTS) \
9048 for flag in $(EXTRA_HOST_FLAGS) ; do \
9049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9050 done; \
9051 echo "Doing install-html in dosutils" ; \
9052 (cd $(HOST_SUBDIR)/dosutils && \
9053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9055 "RANLIB=$${RANLIB}" \
9056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9057 install-html) \
9058 || exit 1
9060 @endif dosutils
9062 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
9063 maybe-installcheck-dosutils:
9064 @if dosutils
9065 maybe-installcheck-dosutils: installcheck-dosutils
9067 installcheck-dosutils: \
9068 configure-dosutils
9069 @: $(MAKE); $(unstage)
9070 @[ -f ./dosutils/Makefile ] || exit 0; \
9071 r=`${PWD_COMMAND}`; export r; \
9072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9073 $(HOST_EXPORTS) \
9074 for flag in $(EXTRA_HOST_FLAGS) ; do \
9075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9076 done; \
9077 echo "Doing installcheck in dosutils" ; \
9078 (cd $(HOST_SUBDIR)/dosutils && \
9079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9081 "RANLIB=$${RANLIB}" \
9082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9083 installcheck) \
9084 || exit 1
9086 @endif dosutils
9088 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
9089 maybe-mostlyclean-dosutils:
9090 @if dosutils
9091 maybe-mostlyclean-dosutils: mostlyclean-dosutils
9093 mostlyclean-dosutils:
9094 @: $(MAKE); $(unstage)
9095 @[ -f ./dosutils/Makefile ] || exit 0; \
9096 r=`${PWD_COMMAND}`; export r; \
9097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9098 $(HOST_EXPORTS) \
9099 for flag in $(EXTRA_HOST_FLAGS) ; do \
9100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9101 done; \
9102 echo "Doing mostlyclean in dosutils" ; \
9103 (cd $(HOST_SUBDIR)/dosutils && \
9104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9106 "RANLIB=$${RANLIB}" \
9107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9108 mostlyclean) \
9109 || exit 1
9111 @endif dosutils
9113 .PHONY: maybe-clean-dosutils clean-dosutils
9114 maybe-clean-dosutils:
9115 @if dosutils
9116 maybe-clean-dosutils: clean-dosutils
9118 clean-dosutils:
9119 @: $(MAKE); $(unstage)
9120 @[ -f ./dosutils/Makefile ] || exit 0; \
9121 r=`${PWD_COMMAND}`; export r; \
9122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9123 $(HOST_EXPORTS) \
9124 for flag in $(EXTRA_HOST_FLAGS) ; do \
9125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9126 done; \
9127 echo "Doing clean in dosutils" ; \
9128 (cd $(HOST_SUBDIR)/dosutils && \
9129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9131 "RANLIB=$${RANLIB}" \
9132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9133 clean) \
9134 || exit 1
9136 @endif dosutils
9138 .PHONY: maybe-distclean-dosutils distclean-dosutils
9139 maybe-distclean-dosutils:
9140 @if dosutils
9141 maybe-distclean-dosutils: distclean-dosutils
9143 distclean-dosutils:
9144 @: $(MAKE); $(unstage)
9145 @[ -f ./dosutils/Makefile ] || exit 0; \
9146 r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(HOST_EXPORTS) \
9149 for flag in $(EXTRA_HOST_FLAGS) ; do \
9150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9151 done; \
9152 echo "Doing distclean in dosutils" ; \
9153 (cd $(HOST_SUBDIR)/dosutils && \
9154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9156 "RANLIB=$${RANLIB}" \
9157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9158 distclean) \
9159 || exit 1
9161 @endif dosutils
9163 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
9164 maybe-maintainer-clean-dosutils:
9165 @if dosutils
9166 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
9168 maintainer-clean-dosutils:
9169 @: $(MAKE); $(unstage)
9170 @[ -f ./dosutils/Makefile ] || exit 0; \
9171 r=`${PWD_COMMAND}`; export r; \
9172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9173 $(HOST_EXPORTS) \
9174 for flag in $(EXTRA_HOST_FLAGS) ; do \
9175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9176 done; \
9177 echo "Doing maintainer-clean in dosutils" ; \
9178 (cd $(HOST_SUBDIR)/dosutils && \
9179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9181 "RANLIB=$${RANLIB}" \
9182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9183 maintainer-clean) \
9184 || exit 1
9186 @endif dosutils
9190 .PHONY: configure-etc maybe-configure-etc
9191 maybe-configure-etc:
9192 @if gcc-bootstrap
9193 configure-etc: stage_current
9194 @endif gcc-bootstrap
9195 @if etc
9196 maybe-configure-etc: configure-etc
9197 configure-etc:
9198 @: $(MAKE); $(unstage)
9199 @r=`${PWD_COMMAND}`; export r; \
9200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9201 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
9202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
9203 $(HOST_EXPORTS) \
9204 echo Configuring in $(HOST_SUBDIR)/etc; \
9205 cd "$(HOST_SUBDIR)/etc" || exit 1; \
9206 case $(srcdir) in \
9207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9208 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
9209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9210 esac; \
9211 srcdiroption="--srcdir=$${topdir}/etc"; \
9212 libsrcdir="$$s/etc"; \
9213 $(SHELL) $${libsrcdir}/configure \
9214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9215 --target=${target_alias} $${srcdiroption} \
9216 || exit 1
9217 @endif etc
9223 .PHONY: all-etc maybe-all-etc
9224 maybe-all-etc:
9225 @if gcc-bootstrap
9226 all-etc: stage_current
9227 @endif gcc-bootstrap
9228 @if etc
9229 TARGET-etc=all
9230 maybe-all-etc: all-etc
9231 all-etc: configure-etc
9232 @: $(MAKE); $(unstage)
9233 @r=`${PWD_COMMAND}`; export r; \
9234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9235 $(HOST_EXPORTS) \
9236 (cd $(HOST_SUBDIR)/etc && \
9237 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
9238 @endif etc
9243 .PHONY: check-etc maybe-check-etc
9244 maybe-check-etc:
9245 @if etc
9246 maybe-check-etc: check-etc
9248 check-etc:
9249 @: $(MAKE); $(unstage)
9250 @r=`${PWD_COMMAND}`; export r; \
9251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9252 $(HOST_EXPORTS) \
9253 (cd $(HOST_SUBDIR)/etc && \
9254 $(MAKE) $(FLAGS_TO_PASS) check)
9256 @endif etc
9258 .PHONY: install-etc maybe-install-etc
9259 maybe-install-etc:
9260 @if etc
9261 maybe-install-etc: install-etc
9263 install-etc: installdirs
9264 @: $(MAKE); $(unstage)
9265 @r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9267 $(HOST_EXPORTS) \
9268 (cd $(HOST_SUBDIR)/etc && \
9269 $(MAKE) $(FLAGS_TO_PASS) install)
9271 @endif etc
9273 # Other targets (info, dvi, pdf, etc.)
9275 .PHONY: maybe-info-etc info-etc
9276 maybe-info-etc:
9277 @if etc
9278 maybe-info-etc: info-etc
9280 info-etc: \
9281 configure-etc
9282 @: $(MAKE); $(unstage)
9283 @[ -f ./etc/Makefile ] || exit 0; \
9284 r=`${PWD_COMMAND}`; export r; \
9285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9286 $(HOST_EXPORTS) \
9287 for flag in $(EXTRA_HOST_FLAGS) ; do \
9288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9289 done; \
9290 echo "Doing info in etc" ; \
9291 (cd $(HOST_SUBDIR)/etc && \
9292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9294 "RANLIB=$${RANLIB}" \
9295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9296 info) \
9297 || exit 1
9299 @endif etc
9301 .PHONY: maybe-dvi-etc dvi-etc
9302 maybe-dvi-etc:
9303 @if etc
9304 maybe-dvi-etc: dvi-etc
9306 dvi-etc: \
9307 configure-etc
9308 @: $(MAKE); $(unstage)
9309 @[ -f ./etc/Makefile ] || exit 0; \
9310 r=`${PWD_COMMAND}`; export r; \
9311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9312 $(HOST_EXPORTS) \
9313 for flag in $(EXTRA_HOST_FLAGS) ; do \
9314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9315 done; \
9316 echo "Doing dvi in etc" ; \
9317 (cd $(HOST_SUBDIR)/etc && \
9318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9320 "RANLIB=$${RANLIB}" \
9321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9322 dvi) \
9323 || exit 1
9325 @endif etc
9327 .PHONY: maybe-pdf-etc pdf-etc
9328 maybe-pdf-etc:
9329 @if etc
9330 maybe-pdf-etc: pdf-etc
9332 pdf-etc: \
9333 configure-etc
9334 @: $(MAKE); $(unstage)
9335 @[ -f ./etc/Makefile ] || exit 0; \
9336 r=`${PWD_COMMAND}`; export r; \
9337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9338 $(HOST_EXPORTS) \
9339 for flag in $(EXTRA_HOST_FLAGS) ; do \
9340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9341 done; \
9342 echo "Doing pdf in etc" ; \
9343 (cd $(HOST_SUBDIR)/etc && \
9344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9346 "RANLIB=$${RANLIB}" \
9347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9348 pdf) \
9349 || exit 1
9351 @endif etc
9353 .PHONY: maybe-html-etc html-etc
9354 maybe-html-etc:
9355 @if etc
9356 maybe-html-etc: html-etc
9358 html-etc: \
9359 configure-etc
9360 @: $(MAKE); $(unstage)
9361 @[ -f ./etc/Makefile ] || exit 0; \
9362 r=`${PWD_COMMAND}`; export r; \
9363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9364 $(HOST_EXPORTS) \
9365 for flag in $(EXTRA_HOST_FLAGS) ; do \
9366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9367 done; \
9368 echo "Doing html in etc" ; \
9369 (cd $(HOST_SUBDIR)/etc && \
9370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9372 "RANLIB=$${RANLIB}" \
9373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9374 html) \
9375 || exit 1
9377 @endif etc
9379 .PHONY: maybe-TAGS-etc TAGS-etc
9380 maybe-TAGS-etc:
9381 @if etc
9382 maybe-TAGS-etc: TAGS-etc
9384 TAGS-etc: \
9385 configure-etc
9386 @: $(MAKE); $(unstage)
9387 @[ -f ./etc/Makefile ] || exit 0; \
9388 r=`${PWD_COMMAND}`; export r; \
9389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9390 $(HOST_EXPORTS) \
9391 for flag in $(EXTRA_HOST_FLAGS) ; do \
9392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9393 done; \
9394 echo "Doing TAGS in etc" ; \
9395 (cd $(HOST_SUBDIR)/etc && \
9396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9398 "RANLIB=$${RANLIB}" \
9399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9400 TAGS) \
9401 || exit 1
9403 @endif etc
9405 .PHONY: maybe-install-info-etc install-info-etc
9406 maybe-install-info-etc:
9407 @if etc
9408 maybe-install-info-etc: install-info-etc
9410 install-info-etc: \
9411 configure-etc \
9412 info-etc
9413 @: $(MAKE); $(unstage)
9414 @[ -f ./etc/Makefile ] || exit 0; \
9415 r=`${PWD_COMMAND}`; export r; \
9416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9417 $(HOST_EXPORTS) \
9418 for flag in $(EXTRA_HOST_FLAGS) ; do \
9419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9420 done; \
9421 echo "Doing install-info in etc" ; \
9422 (cd $(HOST_SUBDIR)/etc && \
9423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9425 "RANLIB=$${RANLIB}" \
9426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9427 install-info) \
9428 || exit 1
9430 @endif etc
9432 .PHONY: maybe-install-html-etc install-html-etc
9433 maybe-install-html-etc:
9434 @if etc
9435 maybe-install-html-etc: install-html-etc
9437 install-html-etc: \
9438 configure-etc \
9439 html-etc
9440 @: $(MAKE); $(unstage)
9441 @[ -f ./etc/Makefile ] || exit 0; \
9442 r=`${PWD_COMMAND}`; export r; \
9443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9444 $(HOST_EXPORTS) \
9445 for flag in $(EXTRA_HOST_FLAGS) ; do \
9446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9447 done; \
9448 echo "Doing install-html in etc" ; \
9449 (cd $(HOST_SUBDIR)/etc && \
9450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9452 "RANLIB=$${RANLIB}" \
9453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9454 install-html) \
9455 || exit 1
9457 @endif etc
9459 .PHONY: maybe-installcheck-etc installcheck-etc
9460 maybe-installcheck-etc:
9461 @if etc
9462 maybe-installcheck-etc: installcheck-etc
9464 installcheck-etc: \
9465 configure-etc
9466 @: $(MAKE); $(unstage)
9467 @[ -f ./etc/Makefile ] || exit 0; \
9468 r=`${PWD_COMMAND}`; export r; \
9469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9470 $(HOST_EXPORTS) \
9471 for flag in $(EXTRA_HOST_FLAGS) ; do \
9472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9473 done; \
9474 echo "Doing installcheck in etc" ; \
9475 (cd $(HOST_SUBDIR)/etc && \
9476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9478 "RANLIB=$${RANLIB}" \
9479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9480 installcheck) \
9481 || exit 1
9483 @endif etc
9485 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
9486 maybe-mostlyclean-etc:
9487 @if etc
9488 maybe-mostlyclean-etc: mostlyclean-etc
9490 mostlyclean-etc:
9491 @: $(MAKE); $(unstage)
9492 @[ -f ./etc/Makefile ] || exit 0; \
9493 r=`${PWD_COMMAND}`; export r; \
9494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9495 $(HOST_EXPORTS) \
9496 for flag in $(EXTRA_HOST_FLAGS) ; do \
9497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9498 done; \
9499 echo "Doing mostlyclean in etc" ; \
9500 (cd $(HOST_SUBDIR)/etc && \
9501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9503 "RANLIB=$${RANLIB}" \
9504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9505 mostlyclean) \
9506 || exit 1
9508 @endif etc
9510 .PHONY: maybe-clean-etc clean-etc
9511 maybe-clean-etc:
9512 @if etc
9513 maybe-clean-etc: clean-etc
9515 clean-etc:
9516 @: $(MAKE); $(unstage)
9517 @[ -f ./etc/Makefile ] || exit 0; \
9518 r=`${PWD_COMMAND}`; export r; \
9519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9520 $(HOST_EXPORTS) \
9521 for flag in $(EXTRA_HOST_FLAGS) ; do \
9522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9523 done; \
9524 echo "Doing clean in etc" ; \
9525 (cd $(HOST_SUBDIR)/etc && \
9526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9528 "RANLIB=$${RANLIB}" \
9529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9530 clean) \
9531 || exit 1
9533 @endif etc
9535 .PHONY: maybe-distclean-etc distclean-etc
9536 maybe-distclean-etc:
9537 @if etc
9538 maybe-distclean-etc: distclean-etc
9540 distclean-etc:
9541 @: $(MAKE); $(unstage)
9542 @[ -f ./etc/Makefile ] || exit 0; \
9543 r=`${PWD_COMMAND}`; export r; \
9544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9545 $(HOST_EXPORTS) \
9546 for flag in $(EXTRA_HOST_FLAGS) ; do \
9547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9548 done; \
9549 echo "Doing distclean in etc" ; \
9550 (cd $(HOST_SUBDIR)/etc && \
9551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9553 "RANLIB=$${RANLIB}" \
9554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9555 distclean) \
9556 || exit 1
9558 @endif etc
9560 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
9561 maybe-maintainer-clean-etc:
9562 @if etc
9563 maybe-maintainer-clean-etc: maintainer-clean-etc
9565 maintainer-clean-etc:
9566 @: $(MAKE); $(unstage)
9567 @[ -f ./etc/Makefile ] || exit 0; \
9568 r=`${PWD_COMMAND}`; export r; \
9569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9570 $(HOST_EXPORTS) \
9571 for flag in $(EXTRA_HOST_FLAGS) ; do \
9572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9573 done; \
9574 echo "Doing maintainer-clean in etc" ; \
9575 (cd $(HOST_SUBDIR)/etc && \
9576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9578 "RANLIB=$${RANLIB}" \
9579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9580 maintainer-clean) \
9581 || exit 1
9583 @endif etc
9587 .PHONY: configure-fastjar maybe-configure-fastjar
9588 maybe-configure-fastjar:
9589 @if gcc-bootstrap
9590 configure-fastjar: stage_current
9591 @endif gcc-bootstrap
9592 @if fastjar
9593 maybe-configure-fastjar: configure-fastjar
9594 configure-fastjar:
9595 @: $(MAKE); $(unstage)
9596 @r=`${PWD_COMMAND}`; export r; \
9597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9598 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
9599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
9600 $(HOST_EXPORTS) \
9601 echo Configuring in $(HOST_SUBDIR)/fastjar; \
9602 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
9603 case $(srcdir) in \
9604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9605 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
9606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9607 esac; \
9608 srcdiroption="--srcdir=$${topdir}/fastjar"; \
9609 libsrcdir="$$s/fastjar"; \
9610 $(SHELL) $${libsrcdir}/configure \
9611 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9612 --target=${target_alias} $${srcdiroption} \
9613 || exit 1
9614 @endif fastjar
9620 .PHONY: all-fastjar maybe-all-fastjar
9621 maybe-all-fastjar:
9622 @if gcc-bootstrap
9623 all-fastjar: stage_current
9624 @endif gcc-bootstrap
9625 @if fastjar
9626 TARGET-fastjar=all
9627 maybe-all-fastjar: all-fastjar
9628 all-fastjar: configure-fastjar
9629 @: $(MAKE); $(unstage)
9630 @r=`${PWD_COMMAND}`; export r; \
9631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9632 $(HOST_EXPORTS) \
9633 (cd $(HOST_SUBDIR)/fastjar && \
9634 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
9635 @endif fastjar
9640 .PHONY: check-fastjar maybe-check-fastjar
9641 maybe-check-fastjar:
9642 @if fastjar
9643 maybe-check-fastjar: check-fastjar
9645 # This module is only tested in a native toolchain.
9646 check-fastjar:
9647 @: $(MAKE); $(unstage)
9648 @if [ '$(host)' = '$(target)' ] ; then \
9649 r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9651 $(HOST_EXPORTS) \
9652 (cd $(HOST_SUBDIR)/fastjar && \
9653 $(MAKE) $(FLAGS_TO_PASS) check); \
9656 @endif fastjar
9658 .PHONY: install-fastjar maybe-install-fastjar
9659 maybe-install-fastjar:
9660 @if fastjar
9661 maybe-install-fastjar: install-fastjar
9663 install-fastjar: installdirs
9664 @: $(MAKE); $(unstage)
9665 @r=`${PWD_COMMAND}`; export r; \
9666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9667 $(HOST_EXPORTS) \
9668 (cd $(HOST_SUBDIR)/fastjar && \
9669 $(MAKE) $(FLAGS_TO_PASS) install)
9671 @endif fastjar
9673 # Other targets (info, dvi, pdf, etc.)
9675 .PHONY: maybe-info-fastjar info-fastjar
9676 maybe-info-fastjar:
9677 @if fastjar
9678 maybe-info-fastjar: info-fastjar
9680 info-fastjar: \
9681 configure-fastjar
9682 @: $(MAKE); $(unstage)
9683 @[ -f ./fastjar/Makefile ] || exit 0; \
9684 r=`${PWD_COMMAND}`; export r; \
9685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 $(HOST_EXPORTS) \
9687 for flag in $(EXTRA_HOST_FLAGS) ; do \
9688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689 done; \
9690 echo "Doing info in fastjar" ; \
9691 (cd $(HOST_SUBDIR)/fastjar && \
9692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9694 "RANLIB=$${RANLIB}" \
9695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9696 info) \
9697 || exit 1
9699 @endif fastjar
9701 .PHONY: maybe-dvi-fastjar dvi-fastjar
9702 maybe-dvi-fastjar:
9703 @if fastjar
9704 maybe-dvi-fastjar: dvi-fastjar
9706 dvi-fastjar: \
9707 configure-fastjar
9708 @: $(MAKE); $(unstage)
9709 @[ -f ./fastjar/Makefile ] || exit 0; \
9710 r=`${PWD_COMMAND}`; export r; \
9711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9712 $(HOST_EXPORTS) \
9713 for flag in $(EXTRA_HOST_FLAGS) ; do \
9714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9715 done; \
9716 echo "Doing dvi in fastjar" ; \
9717 (cd $(HOST_SUBDIR)/fastjar && \
9718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9720 "RANLIB=$${RANLIB}" \
9721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9722 dvi) \
9723 || exit 1
9725 @endif fastjar
9727 .PHONY: maybe-pdf-fastjar pdf-fastjar
9728 maybe-pdf-fastjar:
9729 @if fastjar
9730 maybe-pdf-fastjar: pdf-fastjar
9732 pdf-fastjar: \
9733 configure-fastjar
9734 @: $(MAKE); $(unstage)
9735 @[ -f ./fastjar/Makefile ] || exit 0; \
9736 r=`${PWD_COMMAND}`; export r; \
9737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9738 $(HOST_EXPORTS) \
9739 for flag in $(EXTRA_HOST_FLAGS) ; do \
9740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9741 done; \
9742 echo "Doing pdf in fastjar" ; \
9743 (cd $(HOST_SUBDIR)/fastjar && \
9744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9746 "RANLIB=$${RANLIB}" \
9747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9748 pdf) \
9749 || exit 1
9751 @endif fastjar
9753 .PHONY: maybe-html-fastjar html-fastjar
9754 maybe-html-fastjar:
9755 @if fastjar
9756 maybe-html-fastjar: html-fastjar
9758 html-fastjar: \
9759 configure-fastjar
9760 @: $(MAKE); $(unstage)
9761 @[ -f ./fastjar/Makefile ] || exit 0; \
9762 r=`${PWD_COMMAND}`; export r; \
9763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9764 $(HOST_EXPORTS) \
9765 for flag in $(EXTRA_HOST_FLAGS) ; do \
9766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9767 done; \
9768 echo "Doing html in fastjar" ; \
9769 (cd $(HOST_SUBDIR)/fastjar && \
9770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9772 "RANLIB=$${RANLIB}" \
9773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9774 html) \
9775 || exit 1
9777 @endif fastjar
9779 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
9780 maybe-TAGS-fastjar:
9781 @if fastjar
9782 maybe-TAGS-fastjar: TAGS-fastjar
9784 TAGS-fastjar: \
9785 configure-fastjar
9786 @: $(MAKE); $(unstage)
9787 @[ -f ./fastjar/Makefile ] || exit 0; \
9788 r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(HOST_EXPORTS) \
9791 for flag in $(EXTRA_HOST_FLAGS) ; do \
9792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9793 done; \
9794 echo "Doing TAGS in fastjar" ; \
9795 (cd $(HOST_SUBDIR)/fastjar && \
9796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9798 "RANLIB=$${RANLIB}" \
9799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9800 TAGS) \
9801 || exit 1
9803 @endif fastjar
9805 .PHONY: maybe-install-info-fastjar install-info-fastjar
9806 maybe-install-info-fastjar:
9807 @if fastjar
9808 maybe-install-info-fastjar: install-info-fastjar
9810 install-info-fastjar: \
9811 configure-fastjar \
9812 info-fastjar
9813 @: $(MAKE); $(unstage)
9814 @[ -f ./fastjar/Makefile ] || exit 0; \
9815 r=`${PWD_COMMAND}`; export r; \
9816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9817 $(HOST_EXPORTS) \
9818 for flag in $(EXTRA_HOST_FLAGS) ; do \
9819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9820 done; \
9821 echo "Doing install-info in fastjar" ; \
9822 (cd $(HOST_SUBDIR)/fastjar && \
9823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9825 "RANLIB=$${RANLIB}" \
9826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9827 install-info) \
9828 || exit 1
9830 @endif fastjar
9832 .PHONY: maybe-install-html-fastjar install-html-fastjar
9833 maybe-install-html-fastjar:
9834 @if fastjar
9835 maybe-install-html-fastjar: install-html-fastjar
9837 install-html-fastjar: \
9838 configure-fastjar \
9839 html-fastjar
9840 @: $(MAKE); $(unstage)
9841 @[ -f ./fastjar/Makefile ] || exit 0; \
9842 r=`${PWD_COMMAND}`; export r; \
9843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9844 $(HOST_EXPORTS) \
9845 for flag in $(EXTRA_HOST_FLAGS) ; do \
9846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9847 done; \
9848 echo "Doing install-html in fastjar" ; \
9849 (cd $(HOST_SUBDIR)/fastjar && \
9850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9852 "RANLIB=$${RANLIB}" \
9853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9854 install-html) \
9855 || exit 1
9857 @endif fastjar
9859 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
9860 maybe-installcheck-fastjar:
9861 @if fastjar
9862 maybe-installcheck-fastjar: installcheck-fastjar
9864 installcheck-fastjar: \
9865 configure-fastjar
9866 @: $(MAKE); $(unstage)
9867 @[ -f ./fastjar/Makefile ] || exit 0; \
9868 r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 $(HOST_EXPORTS) \
9871 for flag in $(EXTRA_HOST_FLAGS) ; do \
9872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9873 done; \
9874 echo "Doing installcheck in fastjar" ; \
9875 (cd $(HOST_SUBDIR)/fastjar && \
9876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9878 "RANLIB=$${RANLIB}" \
9879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9880 installcheck) \
9881 || exit 1
9883 @endif fastjar
9885 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
9886 maybe-mostlyclean-fastjar:
9887 @if fastjar
9888 maybe-mostlyclean-fastjar: mostlyclean-fastjar
9890 mostlyclean-fastjar:
9891 @: $(MAKE); $(unstage)
9892 @[ -f ./fastjar/Makefile ] || exit 0; \
9893 r=`${PWD_COMMAND}`; export r; \
9894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9895 $(HOST_EXPORTS) \
9896 for flag in $(EXTRA_HOST_FLAGS) ; do \
9897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9898 done; \
9899 echo "Doing mostlyclean in fastjar" ; \
9900 (cd $(HOST_SUBDIR)/fastjar && \
9901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9903 "RANLIB=$${RANLIB}" \
9904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9905 mostlyclean) \
9906 || exit 1
9908 @endif fastjar
9910 .PHONY: maybe-clean-fastjar clean-fastjar
9911 maybe-clean-fastjar:
9912 @if fastjar
9913 maybe-clean-fastjar: clean-fastjar
9915 clean-fastjar:
9916 @: $(MAKE); $(unstage)
9917 @[ -f ./fastjar/Makefile ] || exit 0; \
9918 r=`${PWD_COMMAND}`; export r; \
9919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9920 $(HOST_EXPORTS) \
9921 for flag in $(EXTRA_HOST_FLAGS) ; do \
9922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9923 done; \
9924 echo "Doing clean in fastjar" ; \
9925 (cd $(HOST_SUBDIR)/fastjar && \
9926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9928 "RANLIB=$${RANLIB}" \
9929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9930 clean) \
9931 || exit 1
9933 @endif fastjar
9935 .PHONY: maybe-distclean-fastjar distclean-fastjar
9936 maybe-distclean-fastjar:
9937 @if fastjar
9938 maybe-distclean-fastjar: distclean-fastjar
9940 distclean-fastjar:
9941 @: $(MAKE); $(unstage)
9942 @[ -f ./fastjar/Makefile ] || exit 0; \
9943 r=`${PWD_COMMAND}`; export r; \
9944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9945 $(HOST_EXPORTS) \
9946 for flag in $(EXTRA_HOST_FLAGS) ; do \
9947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9948 done; \
9949 echo "Doing distclean in fastjar" ; \
9950 (cd $(HOST_SUBDIR)/fastjar && \
9951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9953 "RANLIB=$${RANLIB}" \
9954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9955 distclean) \
9956 || exit 1
9958 @endif fastjar
9960 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
9961 maybe-maintainer-clean-fastjar:
9962 @if fastjar
9963 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
9965 maintainer-clean-fastjar:
9966 @: $(MAKE); $(unstage)
9967 @[ -f ./fastjar/Makefile ] || exit 0; \
9968 r=`${PWD_COMMAND}`; export r; \
9969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9970 $(HOST_EXPORTS) \
9971 for flag in $(EXTRA_HOST_FLAGS) ; do \
9972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9973 done; \
9974 echo "Doing maintainer-clean in fastjar" ; \
9975 (cd $(HOST_SUBDIR)/fastjar && \
9976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9978 "RANLIB=$${RANLIB}" \
9979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9980 maintainer-clean) \
9981 || exit 1
9983 @endif fastjar
9987 .PHONY: configure-fileutils maybe-configure-fileutils
9988 maybe-configure-fileutils:
9989 @if gcc-bootstrap
9990 configure-fileutils: stage_current
9991 @endif gcc-bootstrap
9992 @if fileutils
9993 maybe-configure-fileutils: configure-fileutils
9994 configure-fileutils:
9995 @: $(MAKE); $(unstage)
9996 @r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
9999 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
10000 $(HOST_EXPORTS) \
10001 echo Configuring in $(HOST_SUBDIR)/fileutils; \
10002 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
10003 case $(srcdir) in \
10004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10005 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
10006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10007 esac; \
10008 srcdiroption="--srcdir=$${topdir}/fileutils"; \
10009 libsrcdir="$$s/fileutils"; \
10010 $(SHELL) $${libsrcdir}/configure \
10011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10012 --target=${target_alias} $${srcdiroption} \
10013 || exit 1
10014 @endif fileutils
10020 .PHONY: all-fileutils maybe-all-fileutils
10021 maybe-all-fileutils:
10022 @if gcc-bootstrap
10023 all-fileutils: stage_current
10024 @endif gcc-bootstrap
10025 @if fileutils
10026 TARGET-fileutils=all
10027 maybe-all-fileutils: all-fileutils
10028 all-fileutils: configure-fileutils
10029 @: $(MAKE); $(unstage)
10030 @r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(HOST_EXPORTS) \
10033 (cd $(HOST_SUBDIR)/fileutils && \
10034 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
10035 @endif fileutils
10040 .PHONY: check-fileutils maybe-check-fileutils
10041 maybe-check-fileutils:
10042 @if fileutils
10043 maybe-check-fileutils: check-fileutils
10045 check-fileutils:
10046 @: $(MAKE); $(unstage)
10047 @r=`${PWD_COMMAND}`; export r; \
10048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 $(HOST_EXPORTS) \
10050 (cd $(HOST_SUBDIR)/fileutils && \
10051 $(MAKE) $(FLAGS_TO_PASS) check)
10053 @endif fileutils
10055 .PHONY: install-fileutils maybe-install-fileutils
10056 maybe-install-fileutils:
10057 @if fileutils
10058 maybe-install-fileutils: install-fileutils
10060 install-fileutils: installdirs
10061 @: $(MAKE); $(unstage)
10062 @r=`${PWD_COMMAND}`; export r; \
10063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10064 $(HOST_EXPORTS) \
10065 (cd $(HOST_SUBDIR)/fileutils && \
10066 $(MAKE) $(FLAGS_TO_PASS) install)
10068 @endif fileutils
10070 # Other targets (info, dvi, pdf, etc.)
10072 .PHONY: maybe-info-fileutils info-fileutils
10073 maybe-info-fileutils:
10074 @if fileutils
10075 maybe-info-fileutils: info-fileutils
10077 info-fileutils: \
10078 configure-fileutils
10079 @: $(MAKE); $(unstage)
10080 @[ -f ./fileutils/Makefile ] || exit 0; \
10081 r=`${PWD_COMMAND}`; export r; \
10082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10083 $(HOST_EXPORTS) \
10084 for flag in $(EXTRA_HOST_FLAGS) ; do \
10085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10086 done; \
10087 echo "Doing info in fileutils" ; \
10088 (cd $(HOST_SUBDIR)/fileutils && \
10089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10091 "RANLIB=$${RANLIB}" \
10092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10093 info) \
10094 || exit 1
10096 @endif fileutils
10098 .PHONY: maybe-dvi-fileutils dvi-fileutils
10099 maybe-dvi-fileutils:
10100 @if fileutils
10101 maybe-dvi-fileutils: dvi-fileutils
10103 dvi-fileutils: \
10104 configure-fileutils
10105 @: $(MAKE); $(unstage)
10106 @[ -f ./fileutils/Makefile ] || exit 0; \
10107 r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109 $(HOST_EXPORTS) \
10110 for flag in $(EXTRA_HOST_FLAGS) ; do \
10111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10112 done; \
10113 echo "Doing dvi in fileutils" ; \
10114 (cd $(HOST_SUBDIR)/fileutils && \
10115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10117 "RANLIB=$${RANLIB}" \
10118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10119 dvi) \
10120 || exit 1
10122 @endif fileutils
10124 .PHONY: maybe-pdf-fileutils pdf-fileutils
10125 maybe-pdf-fileutils:
10126 @if fileutils
10127 maybe-pdf-fileutils: pdf-fileutils
10129 pdf-fileutils: \
10130 configure-fileutils
10131 @: $(MAKE); $(unstage)
10132 @[ -f ./fileutils/Makefile ] || exit 0; \
10133 r=`${PWD_COMMAND}`; export r; \
10134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10135 $(HOST_EXPORTS) \
10136 for flag in $(EXTRA_HOST_FLAGS) ; do \
10137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10138 done; \
10139 echo "Doing pdf in fileutils" ; \
10140 (cd $(HOST_SUBDIR)/fileutils && \
10141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10143 "RANLIB=$${RANLIB}" \
10144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10145 pdf) \
10146 || exit 1
10148 @endif fileutils
10150 .PHONY: maybe-html-fileutils html-fileutils
10151 maybe-html-fileutils:
10152 @if fileutils
10153 maybe-html-fileutils: html-fileutils
10155 html-fileutils: \
10156 configure-fileutils
10157 @: $(MAKE); $(unstage)
10158 @[ -f ./fileutils/Makefile ] || exit 0; \
10159 r=`${PWD_COMMAND}`; export r; \
10160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 $(HOST_EXPORTS) \
10162 for flag in $(EXTRA_HOST_FLAGS) ; do \
10163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10164 done; \
10165 echo "Doing html in fileutils" ; \
10166 (cd $(HOST_SUBDIR)/fileutils && \
10167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10169 "RANLIB=$${RANLIB}" \
10170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10171 html) \
10172 || exit 1
10174 @endif fileutils
10176 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
10177 maybe-TAGS-fileutils:
10178 @if fileutils
10179 maybe-TAGS-fileutils: TAGS-fileutils
10181 TAGS-fileutils: \
10182 configure-fileutils
10183 @: $(MAKE); $(unstage)
10184 @[ -f ./fileutils/Makefile ] || exit 0; \
10185 r=`${PWD_COMMAND}`; export r; \
10186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10187 $(HOST_EXPORTS) \
10188 for flag in $(EXTRA_HOST_FLAGS) ; do \
10189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10190 done; \
10191 echo "Doing TAGS in fileutils" ; \
10192 (cd $(HOST_SUBDIR)/fileutils && \
10193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10195 "RANLIB=$${RANLIB}" \
10196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10197 TAGS) \
10198 || exit 1
10200 @endif fileutils
10202 .PHONY: maybe-install-info-fileutils install-info-fileutils
10203 maybe-install-info-fileutils:
10204 @if fileutils
10205 maybe-install-info-fileutils: install-info-fileutils
10207 install-info-fileutils: \
10208 configure-fileutils \
10209 info-fileutils
10210 @: $(MAKE); $(unstage)
10211 @[ -f ./fileutils/Makefile ] || exit 0; \
10212 r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10214 $(HOST_EXPORTS) \
10215 for flag in $(EXTRA_HOST_FLAGS) ; do \
10216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10217 done; \
10218 echo "Doing install-info in fileutils" ; \
10219 (cd $(HOST_SUBDIR)/fileutils && \
10220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10222 "RANLIB=$${RANLIB}" \
10223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10224 install-info) \
10225 || exit 1
10227 @endif fileutils
10229 .PHONY: maybe-install-html-fileutils install-html-fileutils
10230 maybe-install-html-fileutils:
10231 @if fileutils
10232 maybe-install-html-fileutils: install-html-fileutils
10234 install-html-fileutils: \
10235 configure-fileutils \
10236 html-fileutils
10237 @: $(MAKE); $(unstage)
10238 @[ -f ./fileutils/Makefile ] || exit 0; \
10239 r=`${PWD_COMMAND}`; export r; \
10240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10241 $(HOST_EXPORTS) \
10242 for flag in $(EXTRA_HOST_FLAGS) ; do \
10243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10244 done; \
10245 echo "Doing install-html in fileutils" ; \
10246 (cd $(HOST_SUBDIR)/fileutils && \
10247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10249 "RANLIB=$${RANLIB}" \
10250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10251 install-html) \
10252 || exit 1
10254 @endif fileutils
10256 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
10257 maybe-installcheck-fileutils:
10258 @if fileutils
10259 maybe-installcheck-fileutils: installcheck-fileutils
10261 installcheck-fileutils: \
10262 configure-fileutils
10263 @: $(MAKE); $(unstage)
10264 @[ -f ./fileutils/Makefile ] || exit 0; \
10265 r=`${PWD_COMMAND}`; export r; \
10266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10267 $(HOST_EXPORTS) \
10268 for flag in $(EXTRA_HOST_FLAGS) ; do \
10269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10270 done; \
10271 echo "Doing installcheck in fileutils" ; \
10272 (cd $(HOST_SUBDIR)/fileutils && \
10273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10275 "RANLIB=$${RANLIB}" \
10276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10277 installcheck) \
10278 || exit 1
10280 @endif fileutils
10282 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
10283 maybe-mostlyclean-fileutils:
10284 @if fileutils
10285 maybe-mostlyclean-fileutils: mostlyclean-fileutils
10287 mostlyclean-fileutils:
10288 @: $(MAKE); $(unstage)
10289 @[ -f ./fileutils/Makefile ] || exit 0; \
10290 r=`${PWD_COMMAND}`; export r; \
10291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10292 $(HOST_EXPORTS) \
10293 for flag in $(EXTRA_HOST_FLAGS) ; do \
10294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10295 done; \
10296 echo "Doing mostlyclean in fileutils" ; \
10297 (cd $(HOST_SUBDIR)/fileutils && \
10298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10300 "RANLIB=$${RANLIB}" \
10301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10302 mostlyclean) \
10303 || exit 1
10305 @endif fileutils
10307 .PHONY: maybe-clean-fileutils clean-fileutils
10308 maybe-clean-fileutils:
10309 @if fileutils
10310 maybe-clean-fileutils: clean-fileutils
10312 clean-fileutils:
10313 @: $(MAKE); $(unstage)
10314 @[ -f ./fileutils/Makefile ] || exit 0; \
10315 r=`${PWD_COMMAND}`; export r; \
10316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10317 $(HOST_EXPORTS) \
10318 for flag in $(EXTRA_HOST_FLAGS) ; do \
10319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10320 done; \
10321 echo "Doing clean in fileutils" ; \
10322 (cd $(HOST_SUBDIR)/fileutils && \
10323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10325 "RANLIB=$${RANLIB}" \
10326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10327 clean) \
10328 || exit 1
10330 @endif fileutils
10332 .PHONY: maybe-distclean-fileutils distclean-fileutils
10333 maybe-distclean-fileutils:
10334 @if fileutils
10335 maybe-distclean-fileutils: distclean-fileutils
10337 distclean-fileutils:
10338 @: $(MAKE); $(unstage)
10339 @[ -f ./fileutils/Makefile ] || exit 0; \
10340 r=`${PWD_COMMAND}`; export r; \
10341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10342 $(HOST_EXPORTS) \
10343 for flag in $(EXTRA_HOST_FLAGS) ; do \
10344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10345 done; \
10346 echo "Doing distclean in fileutils" ; \
10347 (cd $(HOST_SUBDIR)/fileutils && \
10348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10350 "RANLIB=$${RANLIB}" \
10351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10352 distclean) \
10353 || exit 1
10355 @endif fileutils
10357 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
10358 maybe-maintainer-clean-fileutils:
10359 @if fileutils
10360 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
10362 maintainer-clean-fileutils:
10363 @: $(MAKE); $(unstage)
10364 @[ -f ./fileutils/Makefile ] || exit 0; \
10365 r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 $(HOST_EXPORTS) \
10368 for flag in $(EXTRA_HOST_FLAGS) ; do \
10369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10370 done; \
10371 echo "Doing maintainer-clean in fileutils" ; \
10372 (cd $(HOST_SUBDIR)/fileutils && \
10373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10375 "RANLIB=$${RANLIB}" \
10376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10377 maintainer-clean) \
10378 || exit 1
10380 @endif fileutils
10384 .PHONY: configure-findutils maybe-configure-findutils
10385 maybe-configure-findutils:
10386 @if gcc-bootstrap
10387 configure-findutils: stage_current
10388 @endif gcc-bootstrap
10389 @if findutils
10390 maybe-configure-findutils: configure-findutils
10391 configure-findutils:
10392 @: $(MAKE); $(unstage)
10393 @r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10395 test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
10396 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
10397 $(HOST_EXPORTS) \
10398 echo Configuring in $(HOST_SUBDIR)/findutils; \
10399 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
10400 case $(srcdir) in \
10401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10402 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
10403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10404 esac; \
10405 srcdiroption="--srcdir=$${topdir}/findutils"; \
10406 libsrcdir="$$s/findutils"; \
10407 $(SHELL) $${libsrcdir}/configure \
10408 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10409 --target=${target_alias} $${srcdiroption} \
10410 || exit 1
10411 @endif findutils
10417 .PHONY: all-findutils maybe-all-findutils
10418 maybe-all-findutils:
10419 @if gcc-bootstrap
10420 all-findutils: stage_current
10421 @endif gcc-bootstrap
10422 @if findutils
10423 TARGET-findutils=all
10424 maybe-all-findutils: all-findutils
10425 all-findutils: configure-findutils
10426 @: $(MAKE); $(unstage)
10427 @r=`${PWD_COMMAND}`; export r; \
10428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10429 $(HOST_EXPORTS) \
10430 (cd $(HOST_SUBDIR)/findutils && \
10431 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
10432 @endif findutils
10437 .PHONY: check-findutils maybe-check-findutils
10438 maybe-check-findutils:
10439 @if findutils
10440 maybe-check-findutils: check-findutils
10442 check-findutils:
10443 @: $(MAKE); $(unstage)
10444 @r=`${PWD_COMMAND}`; export r; \
10445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10446 $(HOST_EXPORTS) \
10447 (cd $(HOST_SUBDIR)/findutils && \
10448 $(MAKE) $(FLAGS_TO_PASS) check)
10450 @endif findutils
10452 .PHONY: install-findutils maybe-install-findutils
10453 maybe-install-findutils:
10454 @if findutils
10455 maybe-install-findutils: install-findutils
10457 install-findutils: installdirs
10458 @: $(MAKE); $(unstage)
10459 @r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 $(HOST_EXPORTS) \
10462 (cd $(HOST_SUBDIR)/findutils && \
10463 $(MAKE) $(FLAGS_TO_PASS) install)
10465 @endif findutils
10467 # Other targets (info, dvi, pdf, etc.)
10469 .PHONY: maybe-info-findutils info-findutils
10470 maybe-info-findutils:
10471 @if findutils
10472 maybe-info-findutils: info-findutils
10474 info-findutils: \
10475 configure-findutils
10476 @: $(MAKE); $(unstage)
10477 @[ -f ./findutils/Makefile ] || exit 0; \
10478 r=`${PWD_COMMAND}`; export r; \
10479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10480 $(HOST_EXPORTS) \
10481 for flag in $(EXTRA_HOST_FLAGS) ; do \
10482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10483 done; \
10484 echo "Doing info in findutils" ; \
10485 (cd $(HOST_SUBDIR)/findutils && \
10486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10488 "RANLIB=$${RANLIB}" \
10489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10490 info) \
10491 || exit 1
10493 @endif findutils
10495 .PHONY: maybe-dvi-findutils dvi-findutils
10496 maybe-dvi-findutils:
10497 @if findutils
10498 maybe-dvi-findutils: dvi-findutils
10500 dvi-findutils: \
10501 configure-findutils
10502 @: $(MAKE); $(unstage)
10503 @[ -f ./findutils/Makefile ] || exit 0; \
10504 r=`${PWD_COMMAND}`; export r; \
10505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10506 $(HOST_EXPORTS) \
10507 for flag in $(EXTRA_HOST_FLAGS) ; do \
10508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10509 done; \
10510 echo "Doing dvi in findutils" ; \
10511 (cd $(HOST_SUBDIR)/findutils && \
10512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10514 "RANLIB=$${RANLIB}" \
10515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10516 dvi) \
10517 || exit 1
10519 @endif findutils
10521 .PHONY: maybe-pdf-findutils pdf-findutils
10522 maybe-pdf-findutils:
10523 @if findutils
10524 maybe-pdf-findutils: pdf-findutils
10526 pdf-findutils: \
10527 configure-findutils
10528 @: $(MAKE); $(unstage)
10529 @[ -f ./findutils/Makefile ] || exit 0; \
10530 r=`${PWD_COMMAND}`; export r; \
10531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532 $(HOST_EXPORTS) \
10533 for flag in $(EXTRA_HOST_FLAGS) ; do \
10534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10535 done; \
10536 echo "Doing pdf in findutils" ; \
10537 (cd $(HOST_SUBDIR)/findutils && \
10538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10540 "RANLIB=$${RANLIB}" \
10541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10542 pdf) \
10543 || exit 1
10545 @endif findutils
10547 .PHONY: maybe-html-findutils html-findutils
10548 maybe-html-findutils:
10549 @if findutils
10550 maybe-html-findutils: html-findutils
10552 html-findutils: \
10553 configure-findutils
10554 @: $(MAKE); $(unstage)
10555 @[ -f ./findutils/Makefile ] || exit 0; \
10556 r=`${PWD_COMMAND}`; export r; \
10557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10558 $(HOST_EXPORTS) \
10559 for flag in $(EXTRA_HOST_FLAGS) ; do \
10560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10561 done; \
10562 echo "Doing html in findutils" ; \
10563 (cd $(HOST_SUBDIR)/findutils && \
10564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10566 "RANLIB=$${RANLIB}" \
10567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10568 html) \
10569 || exit 1
10571 @endif findutils
10573 .PHONY: maybe-TAGS-findutils TAGS-findutils
10574 maybe-TAGS-findutils:
10575 @if findutils
10576 maybe-TAGS-findutils: TAGS-findutils
10578 TAGS-findutils: \
10579 configure-findutils
10580 @: $(MAKE); $(unstage)
10581 @[ -f ./findutils/Makefile ] || exit 0; \
10582 r=`${PWD_COMMAND}`; export r; \
10583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10584 $(HOST_EXPORTS) \
10585 for flag in $(EXTRA_HOST_FLAGS) ; do \
10586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10587 done; \
10588 echo "Doing TAGS in findutils" ; \
10589 (cd $(HOST_SUBDIR)/findutils && \
10590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10592 "RANLIB=$${RANLIB}" \
10593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10594 TAGS) \
10595 || exit 1
10597 @endif findutils
10599 .PHONY: maybe-install-info-findutils install-info-findutils
10600 maybe-install-info-findutils:
10601 @if findutils
10602 maybe-install-info-findutils: install-info-findutils
10604 install-info-findutils: \
10605 configure-findutils \
10606 info-findutils
10607 @: $(MAKE); $(unstage)
10608 @[ -f ./findutils/Makefile ] || exit 0; \
10609 r=`${PWD_COMMAND}`; export r; \
10610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10611 $(HOST_EXPORTS) \
10612 for flag in $(EXTRA_HOST_FLAGS) ; do \
10613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10614 done; \
10615 echo "Doing install-info in findutils" ; \
10616 (cd $(HOST_SUBDIR)/findutils && \
10617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10619 "RANLIB=$${RANLIB}" \
10620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10621 install-info) \
10622 || exit 1
10624 @endif findutils
10626 .PHONY: maybe-install-html-findutils install-html-findutils
10627 maybe-install-html-findutils:
10628 @if findutils
10629 maybe-install-html-findutils: install-html-findutils
10631 install-html-findutils: \
10632 configure-findutils \
10633 html-findutils
10634 @: $(MAKE); $(unstage)
10635 @[ -f ./findutils/Makefile ] || exit 0; \
10636 r=`${PWD_COMMAND}`; export r; \
10637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10638 $(HOST_EXPORTS) \
10639 for flag in $(EXTRA_HOST_FLAGS) ; do \
10640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10641 done; \
10642 echo "Doing install-html in findutils" ; \
10643 (cd $(HOST_SUBDIR)/findutils && \
10644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10646 "RANLIB=$${RANLIB}" \
10647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10648 install-html) \
10649 || exit 1
10651 @endif findutils
10653 .PHONY: maybe-installcheck-findutils installcheck-findutils
10654 maybe-installcheck-findutils:
10655 @if findutils
10656 maybe-installcheck-findutils: installcheck-findutils
10658 installcheck-findutils: \
10659 configure-findutils
10660 @: $(MAKE); $(unstage)
10661 @[ -f ./findutils/Makefile ] || exit 0; \
10662 r=`${PWD_COMMAND}`; export r; \
10663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10664 $(HOST_EXPORTS) \
10665 for flag in $(EXTRA_HOST_FLAGS) ; do \
10666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10667 done; \
10668 echo "Doing installcheck in findutils" ; \
10669 (cd $(HOST_SUBDIR)/findutils && \
10670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10672 "RANLIB=$${RANLIB}" \
10673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10674 installcheck) \
10675 || exit 1
10677 @endif findutils
10679 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
10680 maybe-mostlyclean-findutils:
10681 @if findutils
10682 maybe-mostlyclean-findutils: mostlyclean-findutils
10684 mostlyclean-findutils:
10685 @: $(MAKE); $(unstage)
10686 @[ -f ./findutils/Makefile ] || exit 0; \
10687 r=`${PWD_COMMAND}`; export r; \
10688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 $(HOST_EXPORTS) \
10690 for flag in $(EXTRA_HOST_FLAGS) ; do \
10691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10692 done; \
10693 echo "Doing mostlyclean in findutils" ; \
10694 (cd $(HOST_SUBDIR)/findutils && \
10695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10697 "RANLIB=$${RANLIB}" \
10698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10699 mostlyclean) \
10700 || exit 1
10702 @endif findutils
10704 .PHONY: maybe-clean-findutils clean-findutils
10705 maybe-clean-findutils:
10706 @if findutils
10707 maybe-clean-findutils: clean-findutils
10709 clean-findutils:
10710 @: $(MAKE); $(unstage)
10711 @[ -f ./findutils/Makefile ] || exit 0; \
10712 r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(HOST_EXPORTS) \
10715 for flag in $(EXTRA_HOST_FLAGS) ; do \
10716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10717 done; \
10718 echo "Doing clean in findutils" ; \
10719 (cd $(HOST_SUBDIR)/findutils && \
10720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10722 "RANLIB=$${RANLIB}" \
10723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10724 clean) \
10725 || exit 1
10727 @endif findutils
10729 .PHONY: maybe-distclean-findutils distclean-findutils
10730 maybe-distclean-findutils:
10731 @if findutils
10732 maybe-distclean-findutils: distclean-findutils
10734 distclean-findutils:
10735 @: $(MAKE); $(unstage)
10736 @[ -f ./findutils/Makefile ] || exit 0; \
10737 r=`${PWD_COMMAND}`; export r; \
10738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10739 $(HOST_EXPORTS) \
10740 for flag in $(EXTRA_HOST_FLAGS) ; do \
10741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10742 done; \
10743 echo "Doing distclean in findutils" ; \
10744 (cd $(HOST_SUBDIR)/findutils && \
10745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10747 "RANLIB=$${RANLIB}" \
10748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10749 distclean) \
10750 || exit 1
10752 @endif findutils
10754 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
10755 maybe-maintainer-clean-findutils:
10756 @if findutils
10757 maybe-maintainer-clean-findutils: maintainer-clean-findutils
10759 maintainer-clean-findutils:
10760 @: $(MAKE); $(unstage)
10761 @[ -f ./findutils/Makefile ] || exit 0; \
10762 r=`${PWD_COMMAND}`; export r; \
10763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10764 $(HOST_EXPORTS) \
10765 for flag in $(EXTRA_HOST_FLAGS) ; do \
10766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10767 done; \
10768 echo "Doing maintainer-clean in findutils" ; \
10769 (cd $(HOST_SUBDIR)/findutils && \
10770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10772 "RANLIB=$${RANLIB}" \
10773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10774 maintainer-clean) \
10775 || exit 1
10777 @endif findutils
10781 .PHONY: configure-find maybe-configure-find
10782 maybe-configure-find:
10783 @if gcc-bootstrap
10784 configure-find: stage_current
10785 @endif gcc-bootstrap
10786 @if find
10787 maybe-configure-find: configure-find
10788 configure-find:
10789 @: $(MAKE); $(unstage)
10790 @r=`${PWD_COMMAND}`; export r; \
10791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10792 test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
10793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
10794 $(HOST_EXPORTS) \
10795 echo Configuring in $(HOST_SUBDIR)/find; \
10796 cd "$(HOST_SUBDIR)/find" || exit 1; \
10797 case $(srcdir) in \
10798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10799 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
10800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10801 esac; \
10802 srcdiroption="--srcdir=$${topdir}/find"; \
10803 libsrcdir="$$s/find"; \
10804 $(SHELL) $${libsrcdir}/configure \
10805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10806 --target=${target_alias} $${srcdiroption} \
10807 || exit 1
10808 @endif find
10814 .PHONY: all-find maybe-all-find
10815 maybe-all-find:
10816 @if gcc-bootstrap
10817 all-find: stage_current
10818 @endif gcc-bootstrap
10819 @if find
10820 TARGET-find=all
10821 maybe-all-find: all-find
10822 all-find: configure-find
10823 @: $(MAKE); $(unstage)
10824 @r=`${PWD_COMMAND}`; export r; \
10825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10826 $(HOST_EXPORTS) \
10827 (cd $(HOST_SUBDIR)/find && \
10828 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
10829 @endif find
10834 .PHONY: check-find maybe-check-find
10835 maybe-check-find:
10836 @if find
10837 maybe-check-find: check-find
10839 check-find:
10840 @: $(MAKE); $(unstage)
10841 @r=`${PWD_COMMAND}`; export r; \
10842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10843 $(HOST_EXPORTS) \
10844 (cd $(HOST_SUBDIR)/find && \
10845 $(MAKE) $(FLAGS_TO_PASS) check)
10847 @endif find
10849 .PHONY: install-find maybe-install-find
10850 maybe-install-find:
10851 @if find
10852 maybe-install-find: install-find
10854 install-find: installdirs
10855 @: $(MAKE); $(unstage)
10856 @r=`${PWD_COMMAND}`; export r; \
10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 $(HOST_EXPORTS) \
10859 (cd $(HOST_SUBDIR)/find && \
10860 $(MAKE) $(FLAGS_TO_PASS) install)
10862 @endif find
10864 # Other targets (info, dvi, pdf, etc.)
10866 .PHONY: maybe-info-find info-find
10867 maybe-info-find:
10868 @if find
10869 maybe-info-find: info-find
10871 info-find: \
10872 configure-find
10873 @: $(MAKE); $(unstage)
10874 @[ -f ./find/Makefile ] || exit 0; \
10875 r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 $(HOST_EXPORTS) \
10878 for flag in $(EXTRA_HOST_FLAGS) ; do \
10879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10880 done; \
10881 echo "Doing info in find" ; \
10882 (cd $(HOST_SUBDIR)/find && \
10883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10885 "RANLIB=$${RANLIB}" \
10886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10887 info) \
10888 || exit 1
10890 @endif find
10892 .PHONY: maybe-dvi-find dvi-find
10893 maybe-dvi-find:
10894 @if find
10895 maybe-dvi-find: dvi-find
10897 dvi-find: \
10898 configure-find
10899 @: $(MAKE); $(unstage)
10900 @[ -f ./find/Makefile ] || exit 0; \
10901 r=`${PWD_COMMAND}`; export r; \
10902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10903 $(HOST_EXPORTS) \
10904 for flag in $(EXTRA_HOST_FLAGS) ; do \
10905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10906 done; \
10907 echo "Doing dvi in find" ; \
10908 (cd $(HOST_SUBDIR)/find && \
10909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10911 "RANLIB=$${RANLIB}" \
10912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10913 dvi) \
10914 || exit 1
10916 @endif find
10918 .PHONY: maybe-pdf-find pdf-find
10919 maybe-pdf-find:
10920 @if find
10921 maybe-pdf-find: pdf-find
10923 pdf-find: \
10924 configure-find
10925 @: $(MAKE); $(unstage)
10926 @[ -f ./find/Makefile ] || exit 0; \
10927 r=`${PWD_COMMAND}`; export r; \
10928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 $(HOST_EXPORTS) \
10930 for flag in $(EXTRA_HOST_FLAGS) ; do \
10931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10932 done; \
10933 echo "Doing pdf in find" ; \
10934 (cd $(HOST_SUBDIR)/find && \
10935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10937 "RANLIB=$${RANLIB}" \
10938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10939 pdf) \
10940 || exit 1
10942 @endif find
10944 .PHONY: maybe-html-find html-find
10945 maybe-html-find:
10946 @if find
10947 maybe-html-find: html-find
10949 html-find: \
10950 configure-find
10951 @: $(MAKE); $(unstage)
10952 @[ -f ./find/Makefile ] || exit 0; \
10953 r=`${PWD_COMMAND}`; export r; \
10954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10955 $(HOST_EXPORTS) \
10956 for flag in $(EXTRA_HOST_FLAGS) ; do \
10957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10958 done; \
10959 echo "Doing html in find" ; \
10960 (cd $(HOST_SUBDIR)/find && \
10961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10963 "RANLIB=$${RANLIB}" \
10964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10965 html) \
10966 || exit 1
10968 @endif find
10970 .PHONY: maybe-TAGS-find TAGS-find
10971 maybe-TAGS-find:
10972 @if find
10973 maybe-TAGS-find: TAGS-find
10975 TAGS-find: \
10976 configure-find
10977 @: $(MAKE); $(unstage)
10978 @[ -f ./find/Makefile ] || exit 0; \
10979 r=`${PWD_COMMAND}`; export r; \
10980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10981 $(HOST_EXPORTS) \
10982 for flag in $(EXTRA_HOST_FLAGS) ; do \
10983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10984 done; \
10985 echo "Doing TAGS in find" ; \
10986 (cd $(HOST_SUBDIR)/find && \
10987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10989 "RANLIB=$${RANLIB}" \
10990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10991 TAGS) \
10992 || exit 1
10994 @endif find
10996 .PHONY: maybe-install-info-find install-info-find
10997 maybe-install-info-find:
10998 @if find
10999 maybe-install-info-find: install-info-find
11001 install-info-find: \
11002 configure-find \
11003 info-find
11004 @: $(MAKE); $(unstage)
11005 @[ -f ./find/Makefile ] || exit 0; \
11006 r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11008 $(HOST_EXPORTS) \
11009 for flag in $(EXTRA_HOST_FLAGS) ; do \
11010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11011 done; \
11012 echo "Doing install-info in find" ; \
11013 (cd $(HOST_SUBDIR)/find && \
11014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11016 "RANLIB=$${RANLIB}" \
11017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11018 install-info) \
11019 || exit 1
11021 @endif find
11023 .PHONY: maybe-install-html-find install-html-find
11024 maybe-install-html-find:
11025 @if find
11026 maybe-install-html-find: install-html-find
11028 install-html-find: \
11029 configure-find \
11030 html-find
11031 @: $(MAKE); $(unstage)
11032 @[ -f ./find/Makefile ] || exit 0; \
11033 r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 $(HOST_EXPORTS) \
11036 for flag in $(EXTRA_HOST_FLAGS) ; do \
11037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11038 done; \
11039 echo "Doing install-html in find" ; \
11040 (cd $(HOST_SUBDIR)/find && \
11041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11043 "RANLIB=$${RANLIB}" \
11044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11045 install-html) \
11046 || exit 1
11048 @endif find
11050 .PHONY: maybe-installcheck-find installcheck-find
11051 maybe-installcheck-find:
11052 @if find
11053 maybe-installcheck-find: installcheck-find
11055 installcheck-find: \
11056 configure-find
11057 @: $(MAKE); $(unstage)
11058 @[ -f ./find/Makefile ] || exit 0; \
11059 r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061 $(HOST_EXPORTS) \
11062 for flag in $(EXTRA_HOST_FLAGS) ; do \
11063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11064 done; \
11065 echo "Doing installcheck in find" ; \
11066 (cd $(HOST_SUBDIR)/find && \
11067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069 "RANLIB=$${RANLIB}" \
11070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11071 installcheck) \
11072 || exit 1
11074 @endif find
11076 .PHONY: maybe-mostlyclean-find mostlyclean-find
11077 maybe-mostlyclean-find:
11078 @if find
11079 maybe-mostlyclean-find: mostlyclean-find
11081 mostlyclean-find:
11082 @: $(MAKE); $(unstage)
11083 @[ -f ./find/Makefile ] || exit 0; \
11084 r=`${PWD_COMMAND}`; export r; \
11085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11086 $(HOST_EXPORTS) \
11087 for flag in $(EXTRA_HOST_FLAGS) ; do \
11088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11089 done; \
11090 echo "Doing mostlyclean in find" ; \
11091 (cd $(HOST_SUBDIR)/find && \
11092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11094 "RANLIB=$${RANLIB}" \
11095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11096 mostlyclean) \
11097 || exit 1
11099 @endif find
11101 .PHONY: maybe-clean-find clean-find
11102 maybe-clean-find:
11103 @if find
11104 maybe-clean-find: clean-find
11106 clean-find:
11107 @: $(MAKE); $(unstage)
11108 @[ -f ./find/Makefile ] || exit 0; \
11109 r=`${PWD_COMMAND}`; export r; \
11110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11111 $(HOST_EXPORTS) \
11112 for flag in $(EXTRA_HOST_FLAGS) ; do \
11113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11114 done; \
11115 echo "Doing clean in find" ; \
11116 (cd $(HOST_SUBDIR)/find && \
11117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11119 "RANLIB=$${RANLIB}" \
11120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11121 clean) \
11122 || exit 1
11124 @endif find
11126 .PHONY: maybe-distclean-find distclean-find
11127 maybe-distclean-find:
11128 @if find
11129 maybe-distclean-find: distclean-find
11131 distclean-find:
11132 @: $(MAKE); $(unstage)
11133 @[ -f ./find/Makefile ] || exit 0; \
11134 r=`${PWD_COMMAND}`; export r; \
11135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11136 $(HOST_EXPORTS) \
11137 for flag in $(EXTRA_HOST_FLAGS) ; do \
11138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11139 done; \
11140 echo "Doing distclean in find" ; \
11141 (cd $(HOST_SUBDIR)/find && \
11142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11144 "RANLIB=$${RANLIB}" \
11145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11146 distclean) \
11147 || exit 1
11149 @endif find
11151 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
11152 maybe-maintainer-clean-find:
11153 @if find
11154 maybe-maintainer-clean-find: maintainer-clean-find
11156 maintainer-clean-find:
11157 @: $(MAKE); $(unstage)
11158 @[ -f ./find/Makefile ] || exit 0; \
11159 r=`${PWD_COMMAND}`; export r; \
11160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11161 $(HOST_EXPORTS) \
11162 for flag in $(EXTRA_HOST_FLAGS) ; do \
11163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11164 done; \
11165 echo "Doing maintainer-clean in find" ; \
11166 (cd $(HOST_SUBDIR)/find && \
11167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11169 "RANLIB=$${RANLIB}" \
11170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11171 maintainer-clean) \
11172 || exit 1
11174 @endif find
11178 .PHONY: configure-fixincludes maybe-configure-fixincludes
11179 maybe-configure-fixincludes:
11180 @if gcc-bootstrap
11181 configure-fixincludes: stage_current
11182 @endif gcc-bootstrap
11183 @if fixincludes
11184 maybe-configure-fixincludes: configure-fixincludes
11185 configure-fixincludes:
11186 @: $(MAKE); $(unstage)
11187 @r=`${PWD_COMMAND}`; export r; \
11188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11189 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
11190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
11191 $(HOST_EXPORTS) \
11192 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
11193 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
11194 case $(srcdir) in \
11195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11196 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
11197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11198 esac; \
11199 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
11200 libsrcdir="$$s/fixincludes"; \
11201 $(SHELL) $${libsrcdir}/configure \
11202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11203 --target=${target_alias} $${srcdiroption} \
11204 || exit 1
11205 @endif fixincludes
11211 .PHONY: all-fixincludes maybe-all-fixincludes
11212 maybe-all-fixincludes:
11213 @if gcc-bootstrap
11214 all-fixincludes: stage_current
11215 @endif gcc-bootstrap
11216 @if fixincludes
11217 TARGET-fixincludes=all
11218 maybe-all-fixincludes: all-fixincludes
11219 all-fixincludes: configure-fixincludes
11220 @: $(MAKE); $(unstage)
11221 @r=`${PWD_COMMAND}`; export r; \
11222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11223 $(HOST_EXPORTS) \
11224 (cd $(HOST_SUBDIR)/fixincludes && \
11225 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
11226 @endif fixincludes
11231 .PHONY: check-fixincludes maybe-check-fixincludes
11232 maybe-check-fixincludes:
11233 @if fixincludes
11234 maybe-check-fixincludes: check-fixincludes
11236 check-fixincludes:
11237 @: $(MAKE); $(unstage)
11238 @r=`${PWD_COMMAND}`; export r; \
11239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11240 $(HOST_EXPORTS) \
11241 (cd $(HOST_SUBDIR)/fixincludes && \
11242 $(MAKE) $(FLAGS_TO_PASS) check)
11244 @endif fixincludes
11246 .PHONY: install-fixincludes maybe-install-fixincludes
11247 maybe-install-fixincludes:
11248 @if fixincludes
11249 maybe-install-fixincludes: install-fixincludes
11251 install-fixincludes: installdirs
11252 @: $(MAKE); $(unstage)
11253 @r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(HOST_EXPORTS) \
11256 (cd $(HOST_SUBDIR)/fixincludes && \
11257 $(MAKE) $(FLAGS_TO_PASS) install)
11259 @endif fixincludes
11261 # Other targets (info, dvi, pdf, etc.)
11263 .PHONY: maybe-info-fixincludes info-fixincludes
11264 maybe-info-fixincludes:
11265 @if fixincludes
11266 maybe-info-fixincludes: info-fixincludes
11268 # fixincludes doesn't support info.
11269 info-fixincludes:
11271 @endif fixincludes
11273 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
11274 maybe-dvi-fixincludes:
11275 @if fixincludes
11276 maybe-dvi-fixincludes: dvi-fixincludes
11278 # fixincludes doesn't support dvi.
11279 dvi-fixincludes:
11281 @endif fixincludes
11283 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
11284 maybe-pdf-fixincludes:
11285 @if fixincludes
11286 maybe-pdf-fixincludes: pdf-fixincludes
11288 # fixincludes doesn't support pdf.
11289 pdf-fixincludes:
11291 @endif fixincludes
11293 .PHONY: maybe-html-fixincludes html-fixincludes
11294 maybe-html-fixincludes:
11295 @if fixincludes
11296 maybe-html-fixincludes: html-fixincludes
11298 html-fixincludes: \
11299 configure-fixincludes
11300 @: $(MAKE); $(unstage)
11301 @[ -f ./fixincludes/Makefile ] || exit 0; \
11302 r=`${PWD_COMMAND}`; export r; \
11303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11304 $(HOST_EXPORTS) \
11305 for flag in $(EXTRA_HOST_FLAGS) ; do \
11306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11307 done; \
11308 echo "Doing html in fixincludes" ; \
11309 (cd $(HOST_SUBDIR)/fixincludes && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11312 "RANLIB=$${RANLIB}" \
11313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11314 html) \
11315 || exit 1
11317 @endif fixincludes
11319 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
11320 maybe-TAGS-fixincludes:
11321 @if fixincludes
11322 maybe-TAGS-fixincludes: TAGS-fixincludes
11324 # fixincludes doesn't support TAGS.
11325 TAGS-fixincludes:
11327 @endif fixincludes
11329 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
11330 maybe-install-info-fixincludes:
11331 @if fixincludes
11332 maybe-install-info-fixincludes: install-info-fixincludes
11334 # fixincludes doesn't support install-info.
11335 install-info-fixincludes:
11337 @endif fixincludes
11339 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
11340 maybe-install-html-fixincludes:
11341 @if fixincludes
11342 maybe-install-html-fixincludes: install-html-fixincludes
11344 install-html-fixincludes: \
11345 configure-fixincludes \
11346 html-fixincludes
11347 @: $(MAKE); $(unstage)
11348 @[ -f ./fixincludes/Makefile ] || exit 0; \
11349 r=`${PWD_COMMAND}`; export r; \
11350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11351 $(HOST_EXPORTS) \
11352 for flag in $(EXTRA_HOST_FLAGS) ; do \
11353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11354 done; \
11355 echo "Doing install-html in fixincludes" ; \
11356 (cd $(HOST_SUBDIR)/fixincludes && \
11357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11359 "RANLIB=$${RANLIB}" \
11360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11361 install-html) \
11362 || exit 1
11364 @endif fixincludes
11366 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
11367 maybe-installcheck-fixincludes:
11368 @if fixincludes
11369 maybe-installcheck-fixincludes: installcheck-fixincludes
11371 # fixincludes doesn't support installcheck.
11372 installcheck-fixincludes:
11374 @endif fixincludes
11376 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
11377 maybe-mostlyclean-fixincludes:
11378 @if fixincludes
11379 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
11381 mostlyclean-fixincludes:
11382 @: $(MAKE); $(unstage)
11383 @[ -f ./fixincludes/Makefile ] || exit 0; \
11384 r=`${PWD_COMMAND}`; export r; \
11385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11386 $(HOST_EXPORTS) \
11387 for flag in $(EXTRA_HOST_FLAGS) ; do \
11388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11389 done; \
11390 echo "Doing mostlyclean in fixincludes" ; \
11391 (cd $(HOST_SUBDIR)/fixincludes && \
11392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11394 "RANLIB=$${RANLIB}" \
11395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11396 mostlyclean) \
11397 || exit 1
11399 @endif fixincludes
11401 .PHONY: maybe-clean-fixincludes clean-fixincludes
11402 maybe-clean-fixincludes:
11403 @if fixincludes
11404 maybe-clean-fixincludes: clean-fixincludes
11406 clean-fixincludes:
11407 @: $(MAKE); $(unstage)
11408 @[ -f ./fixincludes/Makefile ] || exit 0; \
11409 r=`${PWD_COMMAND}`; export r; \
11410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11411 $(HOST_EXPORTS) \
11412 for flag in $(EXTRA_HOST_FLAGS) ; do \
11413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11414 done; \
11415 echo "Doing clean in fixincludes" ; \
11416 (cd $(HOST_SUBDIR)/fixincludes && \
11417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11419 "RANLIB=$${RANLIB}" \
11420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11421 clean) \
11422 || exit 1
11424 @endif fixincludes
11426 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
11427 maybe-distclean-fixincludes:
11428 @if fixincludes
11429 maybe-distclean-fixincludes: distclean-fixincludes
11431 distclean-fixincludes:
11432 @: $(MAKE); $(unstage)
11433 @[ -f ./fixincludes/Makefile ] || exit 0; \
11434 r=`${PWD_COMMAND}`; export r; \
11435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11436 $(HOST_EXPORTS) \
11437 for flag in $(EXTRA_HOST_FLAGS) ; do \
11438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11439 done; \
11440 echo "Doing distclean in fixincludes" ; \
11441 (cd $(HOST_SUBDIR)/fixincludes && \
11442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11444 "RANLIB=$${RANLIB}" \
11445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11446 distclean) \
11447 || exit 1
11449 @endif fixincludes
11451 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
11452 maybe-maintainer-clean-fixincludes:
11453 @if fixincludes
11454 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
11456 maintainer-clean-fixincludes:
11457 @: $(MAKE); $(unstage)
11458 @[ -f ./fixincludes/Makefile ] || exit 0; \
11459 r=`${PWD_COMMAND}`; export r; \
11460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11461 $(HOST_EXPORTS) \
11462 for flag in $(EXTRA_HOST_FLAGS) ; do \
11463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11464 done; \
11465 echo "Doing maintainer-clean in fixincludes" ; \
11466 (cd $(HOST_SUBDIR)/fixincludes && \
11467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11469 "RANLIB=$${RANLIB}" \
11470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11471 maintainer-clean) \
11472 || exit 1
11474 @endif fixincludes
11478 .PHONY: configure-flex maybe-configure-flex
11479 maybe-configure-flex:
11480 @if gcc-bootstrap
11481 configure-flex: stage_current
11482 @endif gcc-bootstrap
11483 @if flex
11484 maybe-configure-flex: configure-flex
11485 configure-flex:
11486 @: $(MAKE); $(unstage)
11487 @r=`${PWD_COMMAND}`; export r; \
11488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11489 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
11490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
11491 $(HOST_EXPORTS) \
11492 echo Configuring in $(HOST_SUBDIR)/flex; \
11493 cd "$(HOST_SUBDIR)/flex" || exit 1; \
11494 case $(srcdir) in \
11495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11496 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
11497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11498 esac; \
11499 srcdiroption="--srcdir=$${topdir}/flex"; \
11500 libsrcdir="$$s/flex"; \
11501 $(SHELL) $${libsrcdir}/configure \
11502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11503 --target=${target_alias} $${srcdiroption} \
11504 || exit 1
11505 @endif flex
11511 .PHONY: all-flex maybe-all-flex
11512 maybe-all-flex:
11513 @if gcc-bootstrap
11514 all-flex: stage_current
11515 @endif gcc-bootstrap
11516 @if flex
11517 TARGET-flex=all
11518 maybe-all-flex: all-flex
11519 all-flex: configure-flex
11520 @: $(MAKE); $(unstage)
11521 @r=`${PWD_COMMAND}`; export r; \
11522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11523 $(HOST_EXPORTS) \
11524 (cd $(HOST_SUBDIR)/flex && \
11525 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
11526 @endif flex
11531 .PHONY: check-flex maybe-check-flex
11532 maybe-check-flex:
11533 @if flex
11534 maybe-check-flex: check-flex
11536 # This module is only tested in a native toolchain.
11537 check-flex:
11538 @: $(MAKE); $(unstage)
11539 @if [ '$(host)' = '$(target)' ] ; then \
11540 r=`${PWD_COMMAND}`; export r; \
11541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11542 $(HOST_EXPORTS) \
11543 (cd $(HOST_SUBDIR)/flex && \
11544 $(MAKE) $(FLAGS_TO_PASS) check); \
11547 @endif flex
11549 .PHONY: install-flex maybe-install-flex
11550 maybe-install-flex:
11551 @if flex
11552 maybe-install-flex: install-flex
11554 install-flex: installdirs
11555 @: $(MAKE); $(unstage)
11556 @r=`${PWD_COMMAND}`; export r; \
11557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11558 $(HOST_EXPORTS) \
11559 (cd $(HOST_SUBDIR)/flex && \
11560 $(MAKE) $(FLAGS_TO_PASS) install)
11562 @endif flex
11564 # Other targets (info, dvi, pdf, etc.)
11566 .PHONY: maybe-info-flex info-flex
11567 maybe-info-flex:
11568 @if flex
11569 maybe-info-flex: info-flex
11571 info-flex: \
11572 configure-flex
11573 @: $(MAKE); $(unstage)
11574 @[ -f ./flex/Makefile ] || exit 0; \
11575 r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 $(HOST_EXPORTS) \
11578 for flag in $(EXTRA_HOST_FLAGS) ; do \
11579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11580 done; \
11581 echo "Doing info in flex" ; \
11582 (cd $(HOST_SUBDIR)/flex && \
11583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11585 "RANLIB=$${RANLIB}" \
11586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11587 info) \
11588 || exit 1
11590 @endif flex
11592 .PHONY: maybe-dvi-flex dvi-flex
11593 maybe-dvi-flex:
11594 @if flex
11595 maybe-dvi-flex: dvi-flex
11597 dvi-flex: \
11598 configure-flex
11599 @: $(MAKE); $(unstage)
11600 @[ -f ./flex/Makefile ] || exit 0; \
11601 r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 $(HOST_EXPORTS) \
11604 for flag in $(EXTRA_HOST_FLAGS) ; do \
11605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11606 done; \
11607 echo "Doing dvi in flex" ; \
11608 (cd $(HOST_SUBDIR)/flex && \
11609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11611 "RANLIB=$${RANLIB}" \
11612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11613 dvi) \
11614 || exit 1
11616 @endif flex
11618 .PHONY: maybe-pdf-flex pdf-flex
11619 maybe-pdf-flex:
11620 @if flex
11621 maybe-pdf-flex: pdf-flex
11623 pdf-flex: \
11624 configure-flex
11625 @: $(MAKE); $(unstage)
11626 @[ -f ./flex/Makefile ] || exit 0; \
11627 r=`${PWD_COMMAND}`; export r; \
11628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11629 $(HOST_EXPORTS) \
11630 for flag in $(EXTRA_HOST_FLAGS) ; do \
11631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11632 done; \
11633 echo "Doing pdf in flex" ; \
11634 (cd $(HOST_SUBDIR)/flex && \
11635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11637 "RANLIB=$${RANLIB}" \
11638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11639 pdf) \
11640 || exit 1
11642 @endif flex
11644 .PHONY: maybe-html-flex html-flex
11645 maybe-html-flex:
11646 @if flex
11647 maybe-html-flex: html-flex
11649 html-flex: \
11650 configure-flex
11651 @: $(MAKE); $(unstage)
11652 @[ -f ./flex/Makefile ] || exit 0; \
11653 r=`${PWD_COMMAND}`; export r; \
11654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11655 $(HOST_EXPORTS) \
11656 for flag in $(EXTRA_HOST_FLAGS) ; do \
11657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11658 done; \
11659 echo "Doing html in flex" ; \
11660 (cd $(HOST_SUBDIR)/flex && \
11661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11663 "RANLIB=$${RANLIB}" \
11664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11665 html) \
11666 || exit 1
11668 @endif flex
11670 .PHONY: maybe-TAGS-flex TAGS-flex
11671 maybe-TAGS-flex:
11672 @if flex
11673 maybe-TAGS-flex: TAGS-flex
11675 TAGS-flex: \
11676 configure-flex
11677 @: $(MAKE); $(unstage)
11678 @[ -f ./flex/Makefile ] || exit 0; \
11679 r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11681 $(HOST_EXPORTS) \
11682 for flag in $(EXTRA_HOST_FLAGS) ; do \
11683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11684 done; \
11685 echo "Doing TAGS in flex" ; \
11686 (cd $(HOST_SUBDIR)/flex && \
11687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11689 "RANLIB=$${RANLIB}" \
11690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11691 TAGS) \
11692 || exit 1
11694 @endif flex
11696 .PHONY: maybe-install-info-flex install-info-flex
11697 maybe-install-info-flex:
11698 @if flex
11699 maybe-install-info-flex: install-info-flex
11701 install-info-flex: \
11702 configure-flex \
11703 info-flex
11704 @: $(MAKE); $(unstage)
11705 @[ -f ./flex/Makefile ] || exit 0; \
11706 r=`${PWD_COMMAND}`; export r; \
11707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11708 $(HOST_EXPORTS) \
11709 for flag in $(EXTRA_HOST_FLAGS) ; do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11711 done; \
11712 echo "Doing install-info in flex" ; \
11713 (cd $(HOST_SUBDIR)/flex && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11718 install-info) \
11719 || exit 1
11721 @endif flex
11723 .PHONY: maybe-install-html-flex install-html-flex
11724 maybe-install-html-flex:
11725 @if flex
11726 maybe-install-html-flex: install-html-flex
11728 install-html-flex: \
11729 configure-flex \
11730 html-flex
11731 @: $(MAKE); $(unstage)
11732 @[ -f ./flex/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 install-html in flex" ; \
11740 (cd $(HOST_SUBDIR)/flex && \
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 install-html) \
11746 || exit 1
11748 @endif flex
11750 .PHONY: maybe-installcheck-flex installcheck-flex
11751 maybe-installcheck-flex:
11752 @if flex
11753 maybe-installcheck-flex: installcheck-flex
11755 installcheck-flex: \
11756 configure-flex
11757 @: $(MAKE); $(unstage)
11758 @[ -f ./flex/Makefile ] || exit 0; \
11759 r=`${PWD_COMMAND}`; export r; \
11760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 $(HOST_EXPORTS) \
11762 for flag in $(EXTRA_HOST_FLAGS) ; do \
11763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11764 done; \
11765 echo "Doing installcheck in flex" ; \
11766 (cd $(HOST_SUBDIR)/flex && \
11767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11769 "RANLIB=$${RANLIB}" \
11770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11771 installcheck) \
11772 || exit 1
11774 @endif flex
11776 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
11777 maybe-mostlyclean-flex:
11778 @if flex
11779 maybe-mostlyclean-flex: mostlyclean-flex
11781 mostlyclean-flex:
11782 @: $(MAKE); $(unstage)
11783 @[ -f ./flex/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786 $(HOST_EXPORTS) \
11787 for flag in $(EXTRA_HOST_FLAGS) ; do \
11788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789 done; \
11790 echo "Doing mostlyclean in flex" ; \
11791 (cd $(HOST_SUBDIR)/flex && \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794 "RANLIB=$${RANLIB}" \
11795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11796 mostlyclean) \
11797 || exit 1
11799 @endif flex
11801 .PHONY: maybe-clean-flex clean-flex
11802 maybe-clean-flex:
11803 @if flex
11804 maybe-clean-flex: clean-flex
11806 clean-flex:
11807 @: $(MAKE); $(unstage)
11808 @[ -f ./flex/Makefile ] || exit 0; \
11809 r=`${PWD_COMMAND}`; export r; \
11810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11811 $(HOST_EXPORTS) \
11812 for flag in $(EXTRA_HOST_FLAGS) ; do \
11813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11814 done; \
11815 echo "Doing clean in flex" ; \
11816 (cd $(HOST_SUBDIR)/flex && \
11817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11819 "RANLIB=$${RANLIB}" \
11820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11821 clean) \
11822 || exit 1
11824 @endif flex
11826 .PHONY: maybe-distclean-flex distclean-flex
11827 maybe-distclean-flex:
11828 @if flex
11829 maybe-distclean-flex: distclean-flex
11831 distclean-flex:
11832 @: $(MAKE); $(unstage)
11833 @[ -f ./flex/Makefile ] || exit 0; \
11834 r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 $(HOST_EXPORTS) \
11837 for flag in $(EXTRA_HOST_FLAGS) ; do \
11838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11839 done; \
11840 echo "Doing distclean in flex" ; \
11841 (cd $(HOST_SUBDIR)/flex && \
11842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11844 "RANLIB=$${RANLIB}" \
11845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11846 distclean) \
11847 || exit 1
11849 @endif flex
11851 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
11852 maybe-maintainer-clean-flex:
11853 @if flex
11854 maybe-maintainer-clean-flex: maintainer-clean-flex
11856 maintainer-clean-flex:
11857 @: $(MAKE); $(unstage)
11858 @[ -f ./flex/Makefile ] || exit 0; \
11859 r=`${PWD_COMMAND}`; export r; \
11860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11861 $(HOST_EXPORTS) \
11862 for flag in $(EXTRA_HOST_FLAGS) ; do \
11863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11864 done; \
11865 echo "Doing maintainer-clean in flex" ; \
11866 (cd $(HOST_SUBDIR)/flex && \
11867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11869 "RANLIB=$${RANLIB}" \
11870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11871 maintainer-clean) \
11872 || exit 1
11874 @endif flex
11878 .PHONY: configure-gas maybe-configure-gas
11879 maybe-configure-gas:
11880 @if gcc-bootstrap
11881 configure-gas: stage_current
11882 @endif gcc-bootstrap
11883 @if gas
11884 maybe-configure-gas: configure-gas
11885 configure-gas:
11886 @r=`${PWD_COMMAND}`; export r; \
11887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11890 $(HOST_EXPORTS) \
11891 echo Configuring in $(HOST_SUBDIR)/gas; \
11892 cd "$(HOST_SUBDIR)/gas" || exit 1; \
11893 case $(srcdir) in \
11894 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11895 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11896 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11897 esac; \
11898 srcdiroption="--srcdir=$${topdir}/gas"; \
11899 libsrcdir="$$s/gas"; \
11900 $(SHELL) $${libsrcdir}/configure \
11901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11902 --target=${target_alias} $${srcdiroption} \
11903 || exit 1
11904 @endif gas
11908 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
11909 maybe-configure-stage1-gas:
11910 @if gas-bootstrap
11911 maybe-configure-stage1-gas: configure-stage1-gas
11912 configure-stage1-gas:
11913 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11914 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11915 @r=`${PWD_COMMAND}`; export r; \
11916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11917 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11918 $(HOST_EXPORTS) \
11919 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
11920 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11921 cd $(HOST_SUBDIR)/gas || exit 1; \
11922 case $(srcdir) in \
11923 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11924 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11925 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11926 esac; \
11927 srcdiroption="--srcdir=$${topdir}/gas"; \
11928 libsrcdir="$$s/gas"; \
11929 $(SHELL) $${libsrcdir}/configure \
11930 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11931 --target=${target_alias} $${srcdiroption} \
11933 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11934 @endif gas-bootstrap
11936 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
11937 maybe-configure-stage2-gas:
11938 @if gas-bootstrap
11939 maybe-configure-stage2-gas: configure-stage2-gas
11940 configure-stage2-gas:
11941 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11943 @r=`${PWD_COMMAND}`; export r; \
11944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11945 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11946 $(HOST_EXPORTS) \
11947 $(POSTSTAGE1_HOST_EXPORTS) \
11948 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
11949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11950 cd $(HOST_SUBDIR)/gas || exit 1; \
11951 case $(srcdir) in \
11952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11953 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11955 esac; \
11956 srcdiroption="--srcdir=$${topdir}/gas"; \
11957 libsrcdir="$$s/gas"; \
11958 $(SHELL) $${libsrcdir}/configure \
11959 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11960 --target=${target_alias} $${srcdiroption} \
11961 --with-build-libsubdir=$(HOST_SUBDIR) \
11962 @stage2_werror_flag@
11963 @endif gas-bootstrap
11965 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
11966 maybe-configure-stage3-gas:
11967 @if gas-bootstrap
11968 maybe-configure-stage3-gas: configure-stage3-gas
11969 configure-stage3-gas:
11970 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11971 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
11972 @r=`${PWD_COMMAND}`; export r; \
11973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11974 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
11975 $(HOST_EXPORTS) \
11976 $(POSTSTAGE1_HOST_EXPORTS) \
11977 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
11978 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
11979 cd $(HOST_SUBDIR)/gas || exit 1; \
11980 case $(srcdir) in \
11981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11982 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
11983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11984 esac; \
11985 srcdiroption="--srcdir=$${topdir}/gas"; \
11986 libsrcdir="$$s/gas"; \
11987 $(SHELL) $${libsrcdir}/configure \
11988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11989 --target=${target_alias} $${srcdiroption} \
11990 --with-build-libsubdir=$(HOST_SUBDIR) \
11991 @stage2_werror_flag@
11992 @endif gas-bootstrap
11994 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
11995 maybe-configure-stage4-gas:
11996 @if gas-bootstrap
11997 maybe-configure-stage4-gas: configure-stage4-gas
11998 configure-stage4-gas:
11999 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12000 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12001 @r=`${PWD_COMMAND}`; export r; \
12002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12003 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12004 $(HOST_EXPORTS) \
12005 $(POSTSTAGE1_HOST_EXPORTS) \
12006 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
12007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12008 cd $(HOST_SUBDIR)/gas || exit 1; \
12009 case $(srcdir) in \
12010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12011 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12013 esac; \
12014 srcdiroption="--srcdir=$${topdir}/gas"; \
12015 libsrcdir="$$s/gas"; \
12016 $(SHELL) $${libsrcdir}/configure \
12017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12018 --target=${target_alias} $${srcdiroption} \
12019 --with-build-libsubdir=$(HOST_SUBDIR) \
12020 @stage2_werror_flag@
12021 @endif gas-bootstrap
12023 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
12024 maybe-configure-stageprofile-gas:
12025 @if gas-bootstrap
12026 maybe-configure-stageprofile-gas: configure-stageprofile-gas
12027 configure-stageprofile-gas:
12028 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12030 @r=`${PWD_COMMAND}`; export r; \
12031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12032 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12033 $(HOST_EXPORTS) \
12034 $(POSTSTAGE1_HOST_EXPORTS) \
12035 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
12036 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12037 cd $(HOST_SUBDIR)/gas || exit 1; \
12038 case $(srcdir) in \
12039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12040 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12042 esac; \
12043 srcdiroption="--srcdir=$${topdir}/gas"; \
12044 libsrcdir="$$s/gas"; \
12045 $(SHELL) $${libsrcdir}/configure \
12046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12047 --target=${target_alias} $${srcdiroption} \
12048 --with-build-libsubdir=$(HOST_SUBDIR) \
12049 @stage2_werror_flag@
12050 @endif gas-bootstrap
12052 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
12053 maybe-configure-stagefeedback-gas:
12054 @if gas-bootstrap
12055 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
12056 configure-stagefeedback-gas:
12057 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
12059 @r=`${PWD_COMMAND}`; export r; \
12060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12061 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
12062 $(HOST_EXPORTS) \
12063 $(POSTSTAGE1_HOST_EXPORTS) \
12064 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
12065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
12066 cd $(HOST_SUBDIR)/gas || exit 1; \
12067 case $(srcdir) in \
12068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12069 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
12070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12071 esac; \
12072 srcdiroption="--srcdir=$${topdir}/gas"; \
12073 libsrcdir="$$s/gas"; \
12074 $(SHELL) $${libsrcdir}/configure \
12075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12076 --target=${target_alias} $${srcdiroption} \
12077 --with-build-libsubdir=$(HOST_SUBDIR) \
12078 @stage2_werror_flag@
12079 @endif gas-bootstrap
12085 .PHONY: all-gas maybe-all-gas
12086 maybe-all-gas:
12087 @if gcc-bootstrap
12088 all-gas: stage_current
12089 @endif gcc-bootstrap
12090 @if gas
12091 TARGET-gas=all
12092 maybe-all-gas: all-gas
12093 all-gas: configure-gas
12094 @r=`${PWD_COMMAND}`; export r; \
12095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12096 $(HOST_EXPORTS) \
12097 (cd $(HOST_SUBDIR)/gas && \
12098 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
12099 @endif gas
12103 .PHONY: all-stage1-gas maybe-all-stage1-gas
12104 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
12105 maybe-all-stage1-gas:
12106 maybe-clean-stage1-gas:
12107 @if gas-bootstrap
12108 maybe-all-stage1-gas: all-stage1-gas
12109 all-stage1: all-stage1-gas
12110 TARGET-stage1-gas = $(TARGET-gas)
12111 all-stage1-gas: configure-stage1-gas
12112 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12113 @r=`${PWD_COMMAND}`; export r; \
12114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 $(HOST_EXPORTS) \
12116 cd $(HOST_SUBDIR)/gas && \
12117 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
12118 $(TARGET-stage1-gas)
12120 maybe-clean-stage1-gas: clean-stage1-gas
12121 clean-stage1: clean-stage1-gas
12122 clean-stage1-gas:
12123 @if [ $(current_stage) = stage1 ]; then \
12124 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12125 else \
12126 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
12127 $(MAKE) stage1-start; \
12128 fi; \
12129 cd $(HOST_SUBDIR)/gas && \
12130 $(MAKE) $(FLAGS_TO_PASS) \
12131 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
12132 @endif gas-bootstrap
12135 .PHONY: all-stage2-gas maybe-all-stage2-gas
12136 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
12137 maybe-all-stage2-gas:
12138 maybe-clean-stage2-gas:
12139 @if gas-bootstrap
12140 maybe-all-stage2-gas: all-stage2-gas
12141 all-stage2: all-stage2-gas
12142 TARGET-stage2-gas = $(TARGET-gas)
12143 all-stage2-gas: configure-stage2-gas
12144 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12145 @r=`${PWD_COMMAND}`; export r; \
12146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12147 $(HOST_EXPORTS) \
12148 $(POSTSTAGE1_HOST_EXPORTS) \
12149 cd $(HOST_SUBDIR)/gas && \
12150 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12151 $(TARGET-stage2-gas)
12153 maybe-clean-stage2-gas: clean-stage2-gas
12154 clean-stage2: clean-stage2-gas
12155 clean-stage2-gas:
12156 @if [ $(current_stage) = stage2 ]; then \
12157 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12158 else \
12159 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
12160 $(MAKE) stage2-start; \
12161 fi; \
12162 cd $(HOST_SUBDIR)/gas && \
12163 $(MAKE) $(FLAGS_TO_PASS) \
12164 $(POSTSTAGE1_FLAGS_TO_PASS) \
12165 clean
12166 @endif gas-bootstrap
12169 .PHONY: all-stage3-gas maybe-all-stage3-gas
12170 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
12171 maybe-all-stage3-gas:
12172 maybe-clean-stage3-gas:
12173 @if gas-bootstrap
12174 maybe-all-stage3-gas: all-stage3-gas
12175 all-stage3: all-stage3-gas
12176 TARGET-stage3-gas = $(TARGET-gas)
12177 all-stage3-gas: configure-stage3-gas
12178 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12179 @r=`${PWD_COMMAND}`; export r; \
12180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12181 $(HOST_EXPORTS) \
12182 $(POSTSTAGE1_HOST_EXPORTS) \
12183 cd $(HOST_SUBDIR)/gas && \
12184 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12185 $(TARGET-stage3-gas)
12187 maybe-clean-stage3-gas: clean-stage3-gas
12188 clean-stage3: clean-stage3-gas
12189 clean-stage3-gas:
12190 @if [ $(current_stage) = stage3 ]; then \
12191 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12192 else \
12193 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
12194 $(MAKE) stage3-start; \
12195 fi; \
12196 cd $(HOST_SUBDIR)/gas && \
12197 $(MAKE) $(FLAGS_TO_PASS) \
12198 $(POSTSTAGE1_FLAGS_TO_PASS) \
12199 clean
12200 @endif gas-bootstrap
12203 .PHONY: all-stage4-gas maybe-all-stage4-gas
12204 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
12205 maybe-all-stage4-gas:
12206 maybe-clean-stage4-gas:
12207 @if gas-bootstrap
12208 maybe-all-stage4-gas: all-stage4-gas
12209 all-stage4: all-stage4-gas
12210 TARGET-stage4-gas = $(TARGET-gas)
12211 all-stage4-gas: configure-stage4-gas
12212 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12213 @r=`${PWD_COMMAND}`; export r; \
12214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12215 $(HOST_EXPORTS) \
12216 $(POSTSTAGE1_HOST_EXPORTS) \
12217 cd $(HOST_SUBDIR)/gas && \
12218 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12219 $(TARGET-stage4-gas)
12221 maybe-clean-stage4-gas: clean-stage4-gas
12222 clean-stage4: clean-stage4-gas
12223 clean-stage4-gas:
12224 @if [ $(current_stage) = stage4 ]; then \
12225 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12226 else \
12227 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
12228 $(MAKE) stage4-start; \
12229 fi; \
12230 cd $(HOST_SUBDIR)/gas && \
12231 $(MAKE) $(FLAGS_TO_PASS) \
12232 $(POSTSTAGE1_FLAGS_TO_PASS) \
12233 clean
12234 @endif gas-bootstrap
12237 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
12238 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
12239 maybe-all-stageprofile-gas:
12240 maybe-clean-stageprofile-gas:
12241 @if gas-bootstrap
12242 maybe-all-stageprofile-gas: all-stageprofile-gas
12243 all-stageprofile: all-stageprofile-gas
12244 TARGET-stageprofile-gas = $(TARGET-gas)
12245 all-stageprofile-gas: configure-stageprofile-gas
12246 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12247 @r=`${PWD_COMMAND}`; export r; \
12248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12249 $(HOST_EXPORTS) \
12250 $(POSTSTAGE1_HOST_EXPORTS) \
12251 cd $(HOST_SUBDIR)/gas && \
12252 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
12253 $(TARGET-stageprofile-gas)
12255 maybe-clean-stageprofile-gas: clean-stageprofile-gas
12256 clean-stageprofile: clean-stageprofile-gas
12257 clean-stageprofile-gas:
12258 @if [ $(current_stage) = stageprofile ]; then \
12259 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12260 else \
12261 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
12262 $(MAKE) stageprofile-start; \
12263 fi; \
12264 cd $(HOST_SUBDIR)/gas && \
12265 $(MAKE) $(FLAGS_TO_PASS) \
12266 $(POSTSTAGE1_FLAGS_TO_PASS) \
12267 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
12268 @endif gas-bootstrap
12271 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
12272 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
12273 maybe-all-stagefeedback-gas:
12274 maybe-clean-stagefeedback-gas:
12275 @if gas-bootstrap
12276 maybe-all-stagefeedback-gas: all-stagefeedback-gas
12277 all-stagefeedback: all-stagefeedback-gas
12278 TARGET-stagefeedback-gas = $(TARGET-gas)
12279 all-stagefeedback-gas: configure-stagefeedback-gas
12280 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12281 @r=`${PWD_COMMAND}`; export r; \
12282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12283 $(HOST_EXPORTS) \
12284 $(POSTSTAGE1_HOST_EXPORTS) \
12285 cd $(HOST_SUBDIR)/gas && \
12286 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
12287 $(TARGET-stagefeedback-gas)
12289 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
12290 clean-stagefeedback: clean-stagefeedback-gas
12291 clean-stagefeedback-gas:
12292 @if [ $(current_stage) = stagefeedback ]; then \
12293 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
12294 else \
12295 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
12296 $(MAKE) stagefeedback-start; \
12297 fi; \
12298 cd $(HOST_SUBDIR)/gas && \
12299 $(MAKE) $(FLAGS_TO_PASS) \
12300 $(POSTSTAGE1_FLAGS_TO_PASS) \
12301 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
12302 @endif gas-bootstrap
12308 .PHONY: check-gas maybe-check-gas
12309 maybe-check-gas:
12310 @if gas
12311 maybe-check-gas: check-gas
12313 check-gas:
12314 @: $(MAKE); $(unstage)
12315 @r=`${PWD_COMMAND}`; export r; \
12316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 $(HOST_EXPORTS) \
12318 (cd $(HOST_SUBDIR)/gas && \
12319 $(MAKE) $(FLAGS_TO_PASS) check)
12321 @endif gas
12323 .PHONY: install-gas maybe-install-gas
12324 maybe-install-gas:
12325 @if gas
12326 maybe-install-gas: install-gas
12328 install-gas: installdirs
12329 @: $(MAKE); $(unstage)
12330 @r=`${PWD_COMMAND}`; export r; \
12331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12332 $(HOST_EXPORTS) \
12333 (cd $(HOST_SUBDIR)/gas && \
12334 $(MAKE) $(FLAGS_TO_PASS) install)
12336 @endif gas
12338 # Other targets (info, dvi, pdf, etc.)
12340 .PHONY: maybe-info-gas info-gas
12341 maybe-info-gas:
12342 @if gas
12343 maybe-info-gas: info-gas
12345 info-gas: \
12346 configure-gas
12347 @[ -f ./gas/Makefile ] || exit 0; \
12348 r=`${PWD_COMMAND}`; export r; \
12349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12350 $(HOST_EXPORTS) \
12351 for flag in $(EXTRA_HOST_FLAGS) ; do \
12352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12353 done; \
12354 echo "Doing info in gas" ; \
12355 (cd $(HOST_SUBDIR)/gas && \
12356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12358 "RANLIB=$${RANLIB}" \
12359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12360 info) \
12361 || exit 1
12363 @endif gas
12365 .PHONY: maybe-dvi-gas dvi-gas
12366 maybe-dvi-gas:
12367 @if gas
12368 maybe-dvi-gas: dvi-gas
12370 dvi-gas: \
12371 configure-gas
12372 @[ -f ./gas/Makefile ] || exit 0; \
12373 r=`${PWD_COMMAND}`; export r; \
12374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12375 $(HOST_EXPORTS) \
12376 for flag in $(EXTRA_HOST_FLAGS) ; do \
12377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12378 done; \
12379 echo "Doing dvi in gas" ; \
12380 (cd $(HOST_SUBDIR)/gas && \
12381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12383 "RANLIB=$${RANLIB}" \
12384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12385 dvi) \
12386 || exit 1
12388 @endif gas
12390 .PHONY: maybe-pdf-gas pdf-gas
12391 maybe-pdf-gas:
12392 @if gas
12393 maybe-pdf-gas: pdf-gas
12395 pdf-gas: \
12396 configure-gas
12397 @[ -f ./gas/Makefile ] || exit 0; \
12398 r=`${PWD_COMMAND}`; export r; \
12399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12400 $(HOST_EXPORTS) \
12401 for flag in $(EXTRA_HOST_FLAGS) ; do \
12402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12403 done; \
12404 echo "Doing pdf in gas" ; \
12405 (cd $(HOST_SUBDIR)/gas && \
12406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12408 "RANLIB=$${RANLIB}" \
12409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12410 pdf) \
12411 || exit 1
12413 @endif gas
12415 .PHONY: maybe-html-gas html-gas
12416 maybe-html-gas:
12417 @if gas
12418 maybe-html-gas: html-gas
12420 html-gas: \
12421 configure-gas
12422 @[ -f ./gas/Makefile ] || exit 0; \
12423 r=`${PWD_COMMAND}`; export r; \
12424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12425 $(HOST_EXPORTS) \
12426 for flag in $(EXTRA_HOST_FLAGS) ; do \
12427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12428 done; \
12429 echo "Doing html in gas" ; \
12430 (cd $(HOST_SUBDIR)/gas && \
12431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12433 "RANLIB=$${RANLIB}" \
12434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12435 html) \
12436 || exit 1
12438 @endif gas
12440 .PHONY: maybe-TAGS-gas TAGS-gas
12441 maybe-TAGS-gas:
12442 @if gas
12443 maybe-TAGS-gas: TAGS-gas
12445 TAGS-gas: \
12446 configure-gas
12447 @[ -f ./gas/Makefile ] || exit 0; \
12448 r=`${PWD_COMMAND}`; export r; \
12449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12450 $(HOST_EXPORTS) \
12451 for flag in $(EXTRA_HOST_FLAGS) ; do \
12452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12453 done; \
12454 echo "Doing TAGS in gas" ; \
12455 (cd $(HOST_SUBDIR)/gas && \
12456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12458 "RANLIB=$${RANLIB}" \
12459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12460 TAGS) \
12461 || exit 1
12463 @endif gas
12465 .PHONY: maybe-install-info-gas install-info-gas
12466 maybe-install-info-gas:
12467 @if gas
12468 maybe-install-info-gas: install-info-gas
12470 install-info-gas: \
12471 configure-gas \
12472 info-gas
12473 @[ -f ./gas/Makefile ] || exit 0; \
12474 r=`${PWD_COMMAND}`; export r; \
12475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12476 $(HOST_EXPORTS) \
12477 for flag in $(EXTRA_HOST_FLAGS) ; do \
12478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12479 done; \
12480 echo "Doing install-info in gas" ; \
12481 (cd $(HOST_SUBDIR)/gas && \
12482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12484 "RANLIB=$${RANLIB}" \
12485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12486 install-info) \
12487 || exit 1
12489 @endif gas
12491 .PHONY: maybe-install-html-gas install-html-gas
12492 maybe-install-html-gas:
12493 @if gas
12494 maybe-install-html-gas: install-html-gas
12496 install-html-gas: \
12497 configure-gas \
12498 html-gas
12499 @[ -f ./gas/Makefile ] || exit 0; \
12500 r=`${PWD_COMMAND}`; export r; \
12501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12502 $(HOST_EXPORTS) \
12503 for flag in $(EXTRA_HOST_FLAGS) ; do \
12504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12505 done; \
12506 echo "Doing install-html in gas" ; \
12507 (cd $(HOST_SUBDIR)/gas && \
12508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12510 "RANLIB=$${RANLIB}" \
12511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12512 install-html) \
12513 || exit 1
12515 @endif gas
12517 .PHONY: maybe-installcheck-gas installcheck-gas
12518 maybe-installcheck-gas:
12519 @if gas
12520 maybe-installcheck-gas: installcheck-gas
12522 installcheck-gas: \
12523 configure-gas
12524 @[ -f ./gas/Makefile ] || exit 0; \
12525 r=`${PWD_COMMAND}`; export r; \
12526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12527 $(HOST_EXPORTS) \
12528 for flag in $(EXTRA_HOST_FLAGS) ; do \
12529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12530 done; \
12531 echo "Doing installcheck in gas" ; \
12532 (cd $(HOST_SUBDIR)/gas && \
12533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12535 "RANLIB=$${RANLIB}" \
12536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12537 installcheck) \
12538 || exit 1
12540 @endif gas
12542 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
12543 maybe-mostlyclean-gas:
12544 @if gas
12545 maybe-mostlyclean-gas: mostlyclean-gas
12547 mostlyclean-gas:
12548 @[ -f ./gas/Makefile ] || exit 0; \
12549 r=`${PWD_COMMAND}`; export r; \
12550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12551 $(HOST_EXPORTS) \
12552 for flag in $(EXTRA_HOST_FLAGS) ; do \
12553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12554 done; \
12555 echo "Doing mostlyclean in gas" ; \
12556 (cd $(HOST_SUBDIR)/gas && \
12557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12559 "RANLIB=$${RANLIB}" \
12560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12561 mostlyclean) \
12562 || exit 1
12564 @endif gas
12566 .PHONY: maybe-clean-gas clean-gas
12567 maybe-clean-gas:
12568 @if gas
12569 maybe-clean-gas: clean-gas
12571 clean-gas:
12572 @[ -f ./gas/Makefile ] || exit 0; \
12573 r=`${PWD_COMMAND}`; export r; \
12574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12575 $(HOST_EXPORTS) \
12576 for flag in $(EXTRA_HOST_FLAGS) ; do \
12577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12578 done; \
12579 echo "Doing clean in gas" ; \
12580 (cd $(HOST_SUBDIR)/gas && \
12581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12583 "RANLIB=$${RANLIB}" \
12584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12585 clean) \
12586 || exit 1
12588 @endif gas
12590 .PHONY: maybe-distclean-gas distclean-gas
12591 maybe-distclean-gas:
12592 @if gas
12593 maybe-distclean-gas: distclean-gas
12595 distclean-gas:
12596 @[ -f ./gas/Makefile ] || exit 0; \
12597 r=`${PWD_COMMAND}`; export r; \
12598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 $(HOST_EXPORTS) \
12600 for flag in $(EXTRA_HOST_FLAGS) ; do \
12601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12602 done; \
12603 echo "Doing distclean in gas" ; \
12604 (cd $(HOST_SUBDIR)/gas && \
12605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12607 "RANLIB=$${RANLIB}" \
12608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12609 distclean) \
12610 || exit 1
12612 @endif gas
12614 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
12615 maybe-maintainer-clean-gas:
12616 @if gas
12617 maybe-maintainer-clean-gas: maintainer-clean-gas
12619 maintainer-clean-gas:
12620 @[ -f ./gas/Makefile ] || exit 0; \
12621 r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing maintainer-clean in gas" ; \
12628 (cd $(HOST_SUBDIR)/gas && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633 maintainer-clean) \
12634 || exit 1
12636 @endif gas
12640 .PHONY: configure-gcc maybe-configure-gcc
12641 maybe-configure-gcc:
12642 @if gcc-bootstrap
12643 configure-gcc: stage_current
12644 @endif gcc-bootstrap
12645 @if gcc
12646 maybe-configure-gcc: configure-gcc
12647 configure-gcc:
12648 @r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12651 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12652 $(HOST_EXPORTS) \
12653 echo Configuring in $(HOST_SUBDIR)/gcc; \
12654 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
12655 case $(srcdir) in \
12656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12657 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12659 esac; \
12660 srcdiroption="--srcdir=$${topdir}/gcc"; \
12661 libsrcdir="$$s/gcc"; \
12662 $(SHELL) $${libsrcdir}/configure \
12663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12664 --target=${target_alias} $${srcdiroption} \
12665 || exit 1
12666 @endif gcc
12670 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
12671 maybe-configure-stage1-gcc:
12672 @if gcc-bootstrap
12673 maybe-configure-stage1-gcc: configure-stage1-gcc
12674 configure-stage1-gcc:
12675 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12676 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12677 @r=`${PWD_COMMAND}`; export r; \
12678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12679 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12680 $(HOST_EXPORTS) \
12681 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
12682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12683 cd $(HOST_SUBDIR)/gcc || exit 1; \
12684 case $(srcdir) in \
12685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12686 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12688 esac; \
12689 srcdiroption="--srcdir=$${topdir}/gcc"; \
12690 libsrcdir="$$s/gcc"; \
12691 $(SHELL) $${libsrcdir}/configure \
12692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12693 --target=${target_alias} $${srcdiroption} \
12695 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
12696 @endif gcc-bootstrap
12698 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
12699 maybe-configure-stage2-gcc:
12700 @if gcc-bootstrap
12701 maybe-configure-stage2-gcc: configure-stage2-gcc
12702 configure-stage2-gcc:
12703 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12704 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12705 @r=`${PWD_COMMAND}`; export r; \
12706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12707 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12708 $(HOST_EXPORTS) \
12709 $(POSTSTAGE1_HOST_EXPORTS) \
12710 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
12711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12712 cd $(HOST_SUBDIR)/gcc || exit 1; \
12713 case $(srcdir) in \
12714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12715 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12717 esac; \
12718 srcdiroption="--srcdir=$${topdir}/gcc"; \
12719 libsrcdir="$$s/gcc"; \
12720 $(SHELL) $${libsrcdir}/configure \
12721 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12722 --target=${target_alias} $${srcdiroption} \
12723 --with-build-libsubdir=$(HOST_SUBDIR) \
12724 @stage2_werror_flag@
12725 @endif gcc-bootstrap
12727 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
12728 maybe-configure-stage3-gcc:
12729 @if gcc-bootstrap
12730 maybe-configure-stage3-gcc: configure-stage3-gcc
12731 configure-stage3-gcc:
12732 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12733 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12734 @r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12737 $(HOST_EXPORTS) \
12738 $(POSTSTAGE1_HOST_EXPORTS) \
12739 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
12740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12741 cd $(HOST_SUBDIR)/gcc || exit 1; \
12742 case $(srcdir) in \
12743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12744 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12746 esac; \
12747 srcdiroption="--srcdir=$${topdir}/gcc"; \
12748 libsrcdir="$$s/gcc"; \
12749 $(SHELL) $${libsrcdir}/configure \
12750 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12751 --target=${target_alias} $${srcdiroption} \
12752 --with-build-libsubdir=$(HOST_SUBDIR) \
12753 @stage2_werror_flag@
12754 @endif gcc-bootstrap
12756 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
12757 maybe-configure-stage4-gcc:
12758 @if gcc-bootstrap
12759 maybe-configure-stage4-gcc: configure-stage4-gcc
12760 configure-stage4-gcc:
12761 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12763 @r=`${PWD_COMMAND}`; export r; \
12764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12765 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12766 $(HOST_EXPORTS) \
12767 $(POSTSTAGE1_HOST_EXPORTS) \
12768 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
12769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12770 cd $(HOST_SUBDIR)/gcc || exit 1; \
12771 case $(srcdir) in \
12772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12773 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12775 esac; \
12776 srcdiroption="--srcdir=$${topdir}/gcc"; \
12777 libsrcdir="$$s/gcc"; \
12778 $(SHELL) $${libsrcdir}/configure \
12779 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12780 --target=${target_alias} $${srcdiroption} \
12781 --with-build-libsubdir=$(HOST_SUBDIR) \
12782 @stage2_werror_flag@
12783 @endif gcc-bootstrap
12785 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
12786 maybe-configure-stageprofile-gcc:
12787 @if gcc-bootstrap
12788 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
12789 configure-stageprofile-gcc:
12790 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12792 @r=`${PWD_COMMAND}`; export r; \
12793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12794 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12795 $(HOST_EXPORTS) \
12796 $(POSTSTAGE1_HOST_EXPORTS) \
12797 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
12798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12799 cd $(HOST_SUBDIR)/gcc || exit 1; \
12800 case $(srcdir) in \
12801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12802 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12804 esac; \
12805 srcdiroption="--srcdir=$${topdir}/gcc"; \
12806 libsrcdir="$$s/gcc"; \
12807 $(SHELL) $${libsrcdir}/configure \
12808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12809 --target=${target_alias} $${srcdiroption} \
12810 --with-build-libsubdir=$(HOST_SUBDIR) \
12811 @stage2_werror_flag@
12812 @endif gcc-bootstrap
12814 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
12815 maybe-configure-stagefeedback-gcc:
12816 @if gcc-bootstrap
12817 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
12818 configure-stagefeedback-gcc:
12819 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
12821 @r=`${PWD_COMMAND}`; export r; \
12822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12823 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
12824 $(HOST_EXPORTS) \
12825 $(POSTSTAGE1_HOST_EXPORTS) \
12826 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
12827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
12828 cd $(HOST_SUBDIR)/gcc || exit 1; \
12829 case $(srcdir) in \
12830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12831 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
12832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12833 esac; \
12834 srcdiroption="--srcdir=$${topdir}/gcc"; \
12835 libsrcdir="$$s/gcc"; \
12836 $(SHELL) $${libsrcdir}/configure \
12837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12838 --target=${target_alias} $${srcdiroption} \
12839 --with-build-libsubdir=$(HOST_SUBDIR) \
12840 @stage2_werror_flag@
12841 @endif gcc-bootstrap
12847 .PHONY: all-gcc maybe-all-gcc
12848 maybe-all-gcc:
12849 @if gcc-bootstrap
12850 all-gcc: stage_current
12851 @endif gcc-bootstrap
12852 @if gcc
12853 TARGET-gcc=all
12854 maybe-all-gcc: all-gcc
12855 all-gcc: configure-gcc
12856 @r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 $(HOST_EXPORTS) \
12859 (cd $(HOST_SUBDIR)/gcc && \
12860 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
12861 @endif gcc
12865 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
12866 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
12867 maybe-all-stage1-gcc:
12868 maybe-clean-stage1-gcc:
12869 @if gcc-bootstrap
12870 maybe-all-stage1-gcc: all-stage1-gcc
12871 all-stage1: all-stage1-gcc
12872 TARGET-stage1-gcc = $(TARGET-gcc)
12873 all-stage1-gcc: configure-stage1-gcc
12874 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12875 @r=`${PWD_COMMAND}`; export r; \
12876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12877 $(HOST_EXPORTS) \
12878 cd $(HOST_SUBDIR)/gcc && \
12879 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
12880 $(TARGET-stage1-gcc)
12882 maybe-clean-stage1-gcc: clean-stage1-gcc
12883 clean-stage1: clean-stage1-gcc
12884 clean-stage1-gcc:
12885 @if [ $(current_stage) = stage1 ]; then \
12886 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12887 else \
12888 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
12889 $(MAKE) stage1-start; \
12890 fi; \
12891 cd $(HOST_SUBDIR)/gcc && \
12892 $(MAKE) $(FLAGS_TO_PASS) \
12893 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
12894 @endif gcc-bootstrap
12897 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
12898 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
12899 maybe-all-stage2-gcc:
12900 maybe-clean-stage2-gcc:
12901 @if gcc-bootstrap
12902 maybe-all-stage2-gcc: all-stage2-gcc
12903 all-stage2: all-stage2-gcc
12904 TARGET-stage2-gcc = $(TARGET-gcc)
12905 all-stage2-gcc: configure-stage2-gcc
12906 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12907 @r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 $(HOST_EXPORTS) \
12910 $(POSTSTAGE1_HOST_EXPORTS) \
12911 cd $(HOST_SUBDIR)/gcc && \
12912 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12913 $(TARGET-stage2-gcc)
12915 maybe-clean-stage2-gcc: clean-stage2-gcc
12916 clean-stage2: clean-stage2-gcc
12917 clean-stage2-gcc:
12918 @if [ $(current_stage) = stage2 ]; then \
12919 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12920 else \
12921 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
12922 $(MAKE) stage2-start; \
12923 fi; \
12924 cd $(HOST_SUBDIR)/gcc && \
12925 $(MAKE) $(FLAGS_TO_PASS) \
12926 $(POSTSTAGE1_FLAGS_TO_PASS) \
12927 $(EXTRA_GCC_FLAGS) clean
12928 @endif gcc-bootstrap
12931 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
12932 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
12933 maybe-all-stage3-gcc:
12934 maybe-clean-stage3-gcc:
12935 @if gcc-bootstrap
12936 maybe-all-stage3-gcc: all-stage3-gcc
12937 all-stage3: all-stage3-gcc
12938 TARGET-stage3-gcc = $(TARGET-gcc)
12939 all-stage3-gcc: configure-stage3-gcc
12940 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12941 @r=`${PWD_COMMAND}`; export r; \
12942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12943 $(HOST_EXPORTS) \
12944 $(POSTSTAGE1_HOST_EXPORTS) \
12945 cd $(HOST_SUBDIR)/gcc && \
12946 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12947 $(TARGET-stage3-gcc)
12949 maybe-clean-stage3-gcc: clean-stage3-gcc
12950 clean-stage3: clean-stage3-gcc
12951 clean-stage3-gcc:
12952 @if [ $(current_stage) = stage3 ]; then \
12953 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12954 else \
12955 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
12956 $(MAKE) stage3-start; \
12957 fi; \
12958 cd $(HOST_SUBDIR)/gcc && \
12959 $(MAKE) $(FLAGS_TO_PASS) \
12960 $(POSTSTAGE1_FLAGS_TO_PASS) \
12961 $(EXTRA_GCC_FLAGS) clean
12962 @endif gcc-bootstrap
12965 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
12966 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
12967 maybe-all-stage4-gcc:
12968 maybe-clean-stage4-gcc:
12969 @if gcc-bootstrap
12970 maybe-all-stage4-gcc: all-stage4-gcc
12971 all-stage4: all-stage4-gcc
12972 TARGET-stage4-gcc = $(TARGET-gcc)
12973 all-stage4-gcc: configure-stage4-gcc
12974 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12975 @r=`${PWD_COMMAND}`; export r; \
12976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12977 $(HOST_EXPORTS) \
12978 $(POSTSTAGE1_HOST_EXPORTS) \
12979 cd $(HOST_SUBDIR)/gcc && \
12980 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
12981 $(TARGET-stage4-gcc)
12983 maybe-clean-stage4-gcc: clean-stage4-gcc
12984 clean-stage4: clean-stage4-gcc
12985 clean-stage4-gcc:
12986 @if [ $(current_stage) = stage4 ]; then \
12987 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
12988 else \
12989 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
12990 $(MAKE) stage4-start; \
12991 fi; \
12992 cd $(HOST_SUBDIR)/gcc && \
12993 $(MAKE) $(FLAGS_TO_PASS) \
12994 $(POSTSTAGE1_FLAGS_TO_PASS) \
12995 $(EXTRA_GCC_FLAGS) clean
12996 @endif gcc-bootstrap
12999 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
13000 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
13001 maybe-all-stageprofile-gcc:
13002 maybe-clean-stageprofile-gcc:
13003 @if gcc-bootstrap
13004 maybe-all-stageprofile-gcc: all-stageprofile-gcc
13005 all-stageprofile: all-stageprofile-gcc
13006 TARGET-stageprofile-gcc = $(TARGET-gcc)
13007 all-stageprofile-gcc: configure-stageprofile-gcc
13008 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13009 @r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 $(HOST_EXPORTS) \
13012 $(POSTSTAGE1_HOST_EXPORTS) \
13013 cd $(HOST_SUBDIR)/gcc && \
13014 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
13015 $(TARGET-stageprofile-gcc)
13017 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
13018 clean-stageprofile: clean-stageprofile-gcc
13019 clean-stageprofile-gcc:
13020 @if [ $(current_stage) = stageprofile ]; then \
13021 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13022 else \
13023 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
13024 $(MAKE) stageprofile-start; \
13025 fi; \
13026 cd $(HOST_SUBDIR)/gcc && \
13027 $(MAKE) $(FLAGS_TO_PASS) \
13028 $(POSTSTAGE1_FLAGS_TO_PASS) \
13029 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
13030 @endif gcc-bootstrap
13033 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
13034 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
13035 maybe-all-stagefeedback-gcc:
13036 maybe-clean-stagefeedback-gcc:
13037 @if gcc-bootstrap
13038 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
13039 all-stagefeedback: all-stagefeedback-gcc
13040 TARGET-stagefeedback-gcc = $(TARGET-gcc)
13041 all-stagefeedback-gcc: configure-stagefeedback-gcc
13042 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13043 @r=`${PWD_COMMAND}`; export r; \
13044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13045 $(HOST_EXPORTS) \
13046 $(POSTSTAGE1_HOST_EXPORTS) \
13047 cd $(HOST_SUBDIR)/gcc && \
13048 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
13049 $(TARGET-stagefeedback-gcc)
13051 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
13052 clean-stagefeedback: clean-stagefeedback-gcc
13053 clean-stagefeedback-gcc:
13054 @if [ $(current_stage) = stagefeedback ]; then \
13055 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
13056 else \
13057 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
13058 $(MAKE) stagefeedback-start; \
13059 fi; \
13060 cd $(HOST_SUBDIR)/gcc && \
13061 $(MAKE) $(FLAGS_TO_PASS) \
13062 $(POSTSTAGE1_FLAGS_TO_PASS) \
13063 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
13064 @endif gcc-bootstrap
13070 .PHONY: check-gcc maybe-check-gcc
13071 maybe-check-gcc:
13072 @if gcc
13073 maybe-check-gcc: check-gcc
13075 check-gcc:
13076 @: $(MAKE); $(unstage)
13077 @r=`${PWD_COMMAND}`; export r; \
13078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13079 $(HOST_EXPORTS) \
13080 (cd $(HOST_SUBDIR)/gcc && \
13081 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
13083 @endif gcc
13085 .PHONY: install-gcc maybe-install-gcc
13086 maybe-install-gcc:
13087 @if gcc
13088 maybe-install-gcc: install-gcc
13090 install-gcc: installdirs
13091 @: $(MAKE); $(unstage)
13092 @r=`${PWD_COMMAND}`; export r; \
13093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13094 $(HOST_EXPORTS) \
13095 (cd $(HOST_SUBDIR)/gcc && \
13096 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
13098 @endif gcc
13100 # Other targets (info, dvi, pdf, etc.)
13102 .PHONY: maybe-info-gcc info-gcc
13103 maybe-info-gcc:
13104 @if gcc
13105 maybe-info-gcc: info-gcc
13107 info-gcc: \
13108 configure-gcc
13109 @[ -f ./gcc/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) $(EXTRA_GCC_FLAGS); do \
13114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13115 done; \
13116 echo "Doing info in gcc" ; \
13117 (cd $(HOST_SUBDIR)/gcc && \
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 info) \
13123 || exit 1
13125 @endif gcc
13127 .PHONY: maybe-dvi-gcc dvi-gcc
13128 maybe-dvi-gcc:
13129 @if gcc
13130 maybe-dvi-gcc: dvi-gcc
13132 dvi-gcc: \
13133 configure-gcc
13134 @[ -f ./gcc/Makefile ] || exit 0; \
13135 r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 $(HOST_EXPORTS) \
13138 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13140 done; \
13141 echo "Doing dvi in gcc" ; \
13142 (cd $(HOST_SUBDIR)/gcc && \
13143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13145 "RANLIB=$${RANLIB}" \
13146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13147 dvi) \
13148 || exit 1
13150 @endif gcc
13152 .PHONY: maybe-pdf-gcc pdf-gcc
13153 maybe-pdf-gcc:
13154 @if gcc
13155 maybe-pdf-gcc: pdf-gcc
13157 pdf-gcc: \
13158 configure-gcc
13159 @[ -f ./gcc/Makefile ] || exit 0; \
13160 r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 $(HOST_EXPORTS) \
13163 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13165 done; \
13166 echo "Doing pdf in gcc" ; \
13167 (cd $(HOST_SUBDIR)/gcc && \
13168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13170 "RANLIB=$${RANLIB}" \
13171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13172 pdf) \
13173 || exit 1
13175 @endif gcc
13177 .PHONY: maybe-html-gcc html-gcc
13178 maybe-html-gcc:
13179 @if gcc
13180 maybe-html-gcc: html-gcc
13182 html-gcc: \
13183 configure-gcc
13184 @[ -f ./gcc/Makefile ] || exit 0; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13187 $(HOST_EXPORTS) \
13188 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13190 done; \
13191 echo "Doing html in gcc" ; \
13192 (cd $(HOST_SUBDIR)/gcc && \
13193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13195 "RANLIB=$${RANLIB}" \
13196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13197 html) \
13198 || exit 1
13200 @endif gcc
13202 .PHONY: maybe-TAGS-gcc TAGS-gcc
13203 maybe-TAGS-gcc:
13204 @if gcc
13205 maybe-TAGS-gcc: TAGS-gcc
13207 TAGS-gcc: \
13208 configure-gcc
13209 @[ -f ./gcc/Makefile ] || exit 0; \
13210 r=`${PWD_COMMAND}`; export r; \
13211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13212 $(HOST_EXPORTS) \
13213 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13215 done; \
13216 echo "Doing TAGS in gcc" ; \
13217 (cd $(HOST_SUBDIR)/gcc && \
13218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13220 "RANLIB=$${RANLIB}" \
13221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13222 TAGS) \
13223 || exit 1
13225 @endif gcc
13227 .PHONY: maybe-install-info-gcc install-info-gcc
13228 maybe-install-info-gcc:
13229 @if gcc
13230 maybe-install-info-gcc: install-info-gcc
13232 install-info-gcc: \
13233 configure-gcc \
13234 info-gcc
13235 @[ -f ./gcc/Makefile ] || exit 0; \
13236 r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13238 $(HOST_EXPORTS) \
13239 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13241 done; \
13242 echo "Doing install-info in gcc" ; \
13243 (cd $(HOST_SUBDIR)/gcc && \
13244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13246 "RANLIB=$${RANLIB}" \
13247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13248 install-info) \
13249 || exit 1
13251 @endif gcc
13253 .PHONY: maybe-install-html-gcc install-html-gcc
13254 maybe-install-html-gcc:
13255 @if gcc
13256 maybe-install-html-gcc: install-html-gcc
13258 install-html-gcc: \
13259 configure-gcc \
13260 html-gcc
13261 @[ -f ./gcc/Makefile ] || exit 0; \
13262 r=`${PWD_COMMAND}`; export r; \
13263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13264 $(HOST_EXPORTS) \
13265 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13267 done; \
13268 echo "Doing install-html in gcc" ; \
13269 (cd $(HOST_SUBDIR)/gcc && \
13270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13272 "RANLIB=$${RANLIB}" \
13273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13274 install-html) \
13275 || exit 1
13277 @endif gcc
13279 .PHONY: maybe-installcheck-gcc installcheck-gcc
13280 maybe-installcheck-gcc:
13281 @if gcc
13282 maybe-installcheck-gcc: installcheck-gcc
13284 installcheck-gcc: \
13285 configure-gcc
13286 @[ -f ./gcc/Makefile ] || exit 0; \
13287 r=`${PWD_COMMAND}`; export r; \
13288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 $(HOST_EXPORTS) \
13290 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13292 done; \
13293 echo "Doing installcheck in gcc" ; \
13294 (cd $(HOST_SUBDIR)/gcc && \
13295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13297 "RANLIB=$${RANLIB}" \
13298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13299 installcheck) \
13300 || exit 1
13302 @endif gcc
13304 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
13305 maybe-mostlyclean-gcc:
13306 @if gcc
13307 maybe-mostlyclean-gcc: mostlyclean-gcc
13309 mostlyclean-gcc:
13310 @[ -f ./gcc/Makefile ] || exit 0; \
13311 r=`${PWD_COMMAND}`; export r; \
13312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13313 $(HOST_EXPORTS) \
13314 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13316 done; \
13317 echo "Doing mostlyclean in gcc" ; \
13318 (cd $(HOST_SUBDIR)/gcc && \
13319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13321 "RANLIB=$${RANLIB}" \
13322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13323 mostlyclean) \
13324 || exit 1
13326 @endif gcc
13328 .PHONY: maybe-clean-gcc clean-gcc
13329 maybe-clean-gcc:
13330 @if gcc
13331 maybe-clean-gcc: clean-gcc
13333 clean-gcc:
13334 @[ -f ./gcc/Makefile ] || exit 0; \
13335 r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(HOST_EXPORTS) \
13338 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13340 done; \
13341 echo "Doing clean in gcc" ; \
13342 (cd $(HOST_SUBDIR)/gcc && \
13343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13345 "RANLIB=$${RANLIB}" \
13346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13347 clean) \
13348 || exit 1
13350 @endif gcc
13352 .PHONY: maybe-distclean-gcc distclean-gcc
13353 maybe-distclean-gcc:
13354 @if gcc
13355 maybe-distclean-gcc: distclean-gcc
13357 distclean-gcc:
13358 @[ -f ./gcc/Makefile ] || exit 0; \
13359 r=`${PWD_COMMAND}`; export r; \
13360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13361 $(HOST_EXPORTS) \
13362 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing distclean in gcc" ; \
13366 (cd $(HOST_SUBDIR)/gcc && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13371 distclean) \
13372 || exit 1
13374 @endif gcc
13376 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
13377 maybe-maintainer-clean-gcc:
13378 @if gcc
13379 maybe-maintainer-clean-gcc: maintainer-clean-gcc
13381 maintainer-clean-gcc:
13382 @[ -f ./gcc/Makefile ] || exit 0; \
13383 r=`${PWD_COMMAND}`; export r; \
13384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13385 $(HOST_EXPORTS) \
13386 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
13387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13388 done; \
13389 echo "Doing maintainer-clean in gcc" ; \
13390 (cd $(HOST_SUBDIR)/gcc && \
13391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13393 "RANLIB=$${RANLIB}" \
13394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13395 maintainer-clean) \
13396 || exit 1
13398 @endif gcc
13402 .PHONY: configure-gawk maybe-configure-gawk
13403 maybe-configure-gawk:
13404 @if gcc-bootstrap
13405 configure-gawk: stage_current
13406 @endif gcc-bootstrap
13407 @if gawk
13408 maybe-configure-gawk: configure-gawk
13409 configure-gawk:
13410 @: $(MAKE); $(unstage)
13411 @r=`${PWD_COMMAND}`; export r; \
13412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13413 test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
13414 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
13415 $(HOST_EXPORTS) \
13416 echo Configuring in $(HOST_SUBDIR)/gawk; \
13417 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
13418 case $(srcdir) in \
13419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13420 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
13421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13422 esac; \
13423 srcdiroption="--srcdir=$${topdir}/gawk"; \
13424 libsrcdir="$$s/gawk"; \
13425 $(SHELL) $${libsrcdir}/configure \
13426 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13427 --target=${target_alias} $${srcdiroption} \
13428 || exit 1
13429 @endif gawk
13435 .PHONY: all-gawk maybe-all-gawk
13436 maybe-all-gawk:
13437 @if gcc-bootstrap
13438 all-gawk: stage_current
13439 @endif gcc-bootstrap
13440 @if gawk
13441 TARGET-gawk=all
13442 maybe-all-gawk: all-gawk
13443 all-gawk: configure-gawk
13444 @: $(MAKE); $(unstage)
13445 @r=`${PWD_COMMAND}`; export r; \
13446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13447 $(HOST_EXPORTS) \
13448 (cd $(HOST_SUBDIR)/gawk && \
13449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
13450 @endif gawk
13455 .PHONY: check-gawk maybe-check-gawk
13456 maybe-check-gawk:
13457 @if gawk
13458 maybe-check-gawk: check-gawk
13460 check-gawk:
13461 @: $(MAKE); $(unstage)
13462 @r=`${PWD_COMMAND}`; export r; \
13463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13464 $(HOST_EXPORTS) \
13465 (cd $(HOST_SUBDIR)/gawk && \
13466 $(MAKE) $(FLAGS_TO_PASS) check)
13468 @endif gawk
13470 .PHONY: install-gawk maybe-install-gawk
13471 maybe-install-gawk:
13472 @if gawk
13473 maybe-install-gawk: install-gawk
13475 install-gawk: installdirs
13476 @: $(MAKE); $(unstage)
13477 @r=`${PWD_COMMAND}`; export r; \
13478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 $(HOST_EXPORTS) \
13480 (cd $(HOST_SUBDIR)/gawk && \
13481 $(MAKE) $(FLAGS_TO_PASS) install)
13483 @endif gawk
13485 # Other targets (info, dvi, pdf, etc.)
13487 .PHONY: maybe-info-gawk info-gawk
13488 maybe-info-gawk:
13489 @if gawk
13490 maybe-info-gawk: info-gawk
13492 info-gawk: \
13493 configure-gawk
13494 @: $(MAKE); $(unstage)
13495 @[ -f ./gawk/Makefile ] || exit 0; \
13496 r=`${PWD_COMMAND}`; export r; \
13497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13498 $(HOST_EXPORTS) \
13499 for flag in $(EXTRA_HOST_FLAGS) ; do \
13500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13501 done; \
13502 echo "Doing info in gawk" ; \
13503 (cd $(HOST_SUBDIR)/gawk && \
13504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13506 "RANLIB=$${RANLIB}" \
13507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13508 info) \
13509 || exit 1
13511 @endif gawk
13513 .PHONY: maybe-dvi-gawk dvi-gawk
13514 maybe-dvi-gawk:
13515 @if gawk
13516 maybe-dvi-gawk: dvi-gawk
13518 dvi-gawk: \
13519 configure-gawk
13520 @: $(MAKE); $(unstage)
13521 @[ -f ./gawk/Makefile ] || exit 0; \
13522 r=`${PWD_COMMAND}`; export r; \
13523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13524 $(HOST_EXPORTS) \
13525 for flag in $(EXTRA_HOST_FLAGS) ; do \
13526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13527 done; \
13528 echo "Doing dvi in gawk" ; \
13529 (cd $(HOST_SUBDIR)/gawk && \
13530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13532 "RANLIB=$${RANLIB}" \
13533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13534 dvi) \
13535 || exit 1
13537 @endif gawk
13539 .PHONY: maybe-pdf-gawk pdf-gawk
13540 maybe-pdf-gawk:
13541 @if gawk
13542 maybe-pdf-gawk: pdf-gawk
13544 pdf-gawk: \
13545 configure-gawk
13546 @: $(MAKE); $(unstage)
13547 @[ -f ./gawk/Makefile ] || exit 0; \
13548 r=`${PWD_COMMAND}`; export r; \
13549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13550 $(HOST_EXPORTS) \
13551 for flag in $(EXTRA_HOST_FLAGS) ; do \
13552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13553 done; \
13554 echo "Doing pdf in gawk" ; \
13555 (cd $(HOST_SUBDIR)/gawk && \
13556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13558 "RANLIB=$${RANLIB}" \
13559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13560 pdf) \
13561 || exit 1
13563 @endif gawk
13565 .PHONY: maybe-html-gawk html-gawk
13566 maybe-html-gawk:
13567 @if gawk
13568 maybe-html-gawk: html-gawk
13570 html-gawk: \
13571 configure-gawk
13572 @: $(MAKE); $(unstage)
13573 @[ -f ./gawk/Makefile ] || exit 0; \
13574 r=`${PWD_COMMAND}`; export r; \
13575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13576 $(HOST_EXPORTS) \
13577 for flag in $(EXTRA_HOST_FLAGS) ; do \
13578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13579 done; \
13580 echo "Doing html in gawk" ; \
13581 (cd $(HOST_SUBDIR)/gawk && \
13582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13584 "RANLIB=$${RANLIB}" \
13585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13586 html) \
13587 || exit 1
13589 @endif gawk
13591 .PHONY: maybe-TAGS-gawk TAGS-gawk
13592 maybe-TAGS-gawk:
13593 @if gawk
13594 maybe-TAGS-gawk: TAGS-gawk
13596 TAGS-gawk: \
13597 configure-gawk
13598 @: $(MAKE); $(unstage)
13599 @[ -f ./gawk/Makefile ] || exit 0; \
13600 r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13602 $(HOST_EXPORTS) \
13603 for flag in $(EXTRA_HOST_FLAGS) ; do \
13604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13605 done; \
13606 echo "Doing TAGS in gawk" ; \
13607 (cd $(HOST_SUBDIR)/gawk && \
13608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13610 "RANLIB=$${RANLIB}" \
13611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13612 TAGS) \
13613 || exit 1
13615 @endif gawk
13617 .PHONY: maybe-install-info-gawk install-info-gawk
13618 maybe-install-info-gawk:
13619 @if gawk
13620 maybe-install-info-gawk: install-info-gawk
13622 install-info-gawk: \
13623 configure-gawk \
13624 info-gawk
13625 @: $(MAKE); $(unstage)
13626 @[ -f ./gawk/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(HOST_EXPORTS) \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632 done; \
13633 echo "Doing install-info in gawk" ; \
13634 (cd $(HOST_SUBDIR)/gawk && \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13639 install-info) \
13640 || exit 1
13642 @endif gawk
13644 .PHONY: maybe-install-html-gawk install-html-gawk
13645 maybe-install-html-gawk:
13646 @if gawk
13647 maybe-install-html-gawk: install-html-gawk
13649 install-html-gawk: \
13650 configure-gawk \
13651 html-gawk
13652 @: $(MAKE); $(unstage)
13653 @[ -f ./gawk/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 $(HOST_EXPORTS) \
13657 for flag in $(EXTRA_HOST_FLAGS) ; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 echo "Doing install-html in gawk" ; \
13661 (cd $(HOST_SUBDIR)/gawk && \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13666 install-html) \
13667 || exit 1
13669 @endif gawk
13671 .PHONY: maybe-installcheck-gawk installcheck-gawk
13672 maybe-installcheck-gawk:
13673 @if gawk
13674 maybe-installcheck-gawk: installcheck-gawk
13676 installcheck-gawk: \
13677 configure-gawk
13678 @: $(MAKE); $(unstage)
13679 @[ -f ./gawk/Makefile ] || exit 0; \
13680 r=`${PWD_COMMAND}`; export r; \
13681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 $(HOST_EXPORTS) \
13683 for flag in $(EXTRA_HOST_FLAGS) ; do \
13684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13685 done; \
13686 echo "Doing installcheck in gawk" ; \
13687 (cd $(HOST_SUBDIR)/gawk && \
13688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13690 "RANLIB=$${RANLIB}" \
13691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13692 installcheck) \
13693 || exit 1
13695 @endif gawk
13697 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
13698 maybe-mostlyclean-gawk:
13699 @if gawk
13700 maybe-mostlyclean-gawk: mostlyclean-gawk
13702 mostlyclean-gawk:
13703 @: $(MAKE); $(unstage)
13704 @[ -f ./gawk/Makefile ] || exit 0; \
13705 r=`${PWD_COMMAND}`; export r; \
13706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13707 $(HOST_EXPORTS) \
13708 for flag in $(EXTRA_HOST_FLAGS) ; do \
13709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710 done; \
13711 echo "Doing mostlyclean in gawk" ; \
13712 (cd $(HOST_SUBDIR)/gawk && \
13713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715 "RANLIB=$${RANLIB}" \
13716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13717 mostlyclean) \
13718 || exit 1
13720 @endif gawk
13722 .PHONY: maybe-clean-gawk clean-gawk
13723 maybe-clean-gawk:
13724 @if gawk
13725 maybe-clean-gawk: clean-gawk
13727 clean-gawk:
13728 @: $(MAKE); $(unstage)
13729 @[ -f ./gawk/Makefile ] || exit 0; \
13730 r=`${PWD_COMMAND}`; export r; \
13731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 $(HOST_EXPORTS) \
13733 for flag in $(EXTRA_HOST_FLAGS) ; do \
13734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13735 done; \
13736 echo "Doing clean in gawk" ; \
13737 (cd $(HOST_SUBDIR)/gawk && \
13738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13740 "RANLIB=$${RANLIB}" \
13741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13742 clean) \
13743 || exit 1
13745 @endif gawk
13747 .PHONY: maybe-distclean-gawk distclean-gawk
13748 maybe-distclean-gawk:
13749 @if gawk
13750 maybe-distclean-gawk: distclean-gawk
13752 distclean-gawk:
13753 @: $(MAKE); $(unstage)
13754 @[ -f ./gawk/Makefile ] || exit 0; \
13755 r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 $(HOST_EXPORTS) \
13758 for flag in $(EXTRA_HOST_FLAGS) ; do \
13759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13760 done; \
13761 echo "Doing distclean in gawk" ; \
13762 (cd $(HOST_SUBDIR)/gawk && \
13763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13765 "RANLIB=$${RANLIB}" \
13766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13767 distclean) \
13768 || exit 1
13770 @endif gawk
13772 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
13773 maybe-maintainer-clean-gawk:
13774 @if gawk
13775 maybe-maintainer-clean-gawk: maintainer-clean-gawk
13777 maintainer-clean-gawk:
13778 @: $(MAKE); $(unstage)
13779 @[ -f ./gawk/Makefile ] || exit 0; \
13780 r=`${PWD_COMMAND}`; export r; \
13781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782 $(HOST_EXPORTS) \
13783 for flag in $(EXTRA_HOST_FLAGS) ; do \
13784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13785 done; \
13786 echo "Doing maintainer-clean in gawk" ; \
13787 (cd $(HOST_SUBDIR)/gawk && \
13788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13790 "RANLIB=$${RANLIB}" \
13791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13792 maintainer-clean) \
13793 || exit 1
13795 @endif gawk
13799 .PHONY: configure-gettext maybe-configure-gettext
13800 maybe-configure-gettext:
13801 @if gcc-bootstrap
13802 configure-gettext: stage_current
13803 @endif gcc-bootstrap
13804 @if gettext
13805 maybe-configure-gettext: configure-gettext
13806 configure-gettext:
13807 @: $(MAKE); $(unstage)
13808 @r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
13811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
13812 $(HOST_EXPORTS) \
13813 echo Configuring in $(HOST_SUBDIR)/gettext; \
13814 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
13815 case $(srcdir) in \
13816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13817 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
13818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13819 esac; \
13820 srcdiroption="--srcdir=$${topdir}/gettext"; \
13821 libsrcdir="$$s/gettext"; \
13822 $(SHELL) $${libsrcdir}/configure \
13823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13824 --target=${target_alias} $${srcdiroption} \
13825 || exit 1
13826 @endif gettext
13832 .PHONY: all-gettext maybe-all-gettext
13833 maybe-all-gettext:
13834 @if gcc-bootstrap
13835 all-gettext: stage_current
13836 @endif gcc-bootstrap
13837 @if gettext
13838 TARGET-gettext=all
13839 maybe-all-gettext: all-gettext
13840 all-gettext: configure-gettext
13841 @: $(MAKE); $(unstage)
13842 @r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13844 $(HOST_EXPORTS) \
13845 (cd $(HOST_SUBDIR)/gettext && \
13846 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
13847 @endif gettext
13852 .PHONY: check-gettext maybe-check-gettext
13853 maybe-check-gettext:
13854 @if gettext
13855 maybe-check-gettext: check-gettext
13857 check-gettext:
13858 @: $(MAKE); $(unstage)
13859 @r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 $(HOST_EXPORTS) \
13862 (cd $(HOST_SUBDIR)/gettext && \
13863 $(MAKE) $(FLAGS_TO_PASS) check)
13865 @endif gettext
13867 .PHONY: install-gettext maybe-install-gettext
13868 maybe-install-gettext:
13869 @if gettext
13870 maybe-install-gettext: install-gettext
13872 install-gettext: installdirs
13873 @: $(MAKE); $(unstage)
13874 @r=`${PWD_COMMAND}`; export r; \
13875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13876 $(HOST_EXPORTS) \
13877 (cd $(HOST_SUBDIR)/gettext && \
13878 $(MAKE) $(FLAGS_TO_PASS) install)
13880 @endif gettext
13882 # Other targets (info, dvi, pdf, etc.)
13884 .PHONY: maybe-info-gettext info-gettext
13885 maybe-info-gettext:
13886 @if gettext
13887 maybe-info-gettext: info-gettext
13889 info-gettext: \
13890 configure-gettext
13891 @: $(MAKE); $(unstage)
13892 @[ -f ./gettext/Makefile ] || exit 0; \
13893 r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13895 $(HOST_EXPORTS) \
13896 for flag in $(EXTRA_HOST_FLAGS) ; do \
13897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13898 done; \
13899 echo "Doing info in gettext" ; \
13900 (cd $(HOST_SUBDIR)/gettext && \
13901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13903 "RANLIB=$${RANLIB}" \
13904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13905 info) \
13906 || exit 1
13908 @endif gettext
13910 .PHONY: maybe-dvi-gettext dvi-gettext
13911 maybe-dvi-gettext:
13912 @if gettext
13913 maybe-dvi-gettext: dvi-gettext
13915 dvi-gettext: \
13916 configure-gettext
13917 @: $(MAKE); $(unstage)
13918 @[ -f ./gettext/Makefile ] || exit 0; \
13919 r=`${PWD_COMMAND}`; export r; \
13920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13921 $(HOST_EXPORTS) \
13922 for flag in $(EXTRA_HOST_FLAGS) ; do \
13923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13924 done; \
13925 echo "Doing dvi in gettext" ; \
13926 (cd $(HOST_SUBDIR)/gettext && \
13927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13929 "RANLIB=$${RANLIB}" \
13930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13931 dvi) \
13932 || exit 1
13934 @endif gettext
13936 .PHONY: maybe-pdf-gettext pdf-gettext
13937 maybe-pdf-gettext:
13938 @if gettext
13939 maybe-pdf-gettext: pdf-gettext
13941 pdf-gettext: \
13942 configure-gettext
13943 @: $(MAKE); $(unstage)
13944 @[ -f ./gettext/Makefile ] || exit 0; \
13945 r=`${PWD_COMMAND}`; export r; \
13946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13947 $(HOST_EXPORTS) \
13948 for flag in $(EXTRA_HOST_FLAGS) ; do \
13949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13950 done; \
13951 echo "Doing pdf in gettext" ; \
13952 (cd $(HOST_SUBDIR)/gettext && \
13953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13955 "RANLIB=$${RANLIB}" \
13956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13957 pdf) \
13958 || exit 1
13960 @endif gettext
13962 .PHONY: maybe-html-gettext html-gettext
13963 maybe-html-gettext:
13964 @if gettext
13965 maybe-html-gettext: html-gettext
13967 html-gettext: \
13968 configure-gettext
13969 @: $(MAKE); $(unstage)
13970 @[ -f ./gettext/Makefile ] || exit 0; \
13971 r=`${PWD_COMMAND}`; export r; \
13972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13973 $(HOST_EXPORTS) \
13974 for flag in $(EXTRA_HOST_FLAGS) ; do \
13975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13976 done; \
13977 echo "Doing html in gettext" ; \
13978 (cd $(HOST_SUBDIR)/gettext && \
13979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13981 "RANLIB=$${RANLIB}" \
13982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13983 html) \
13984 || exit 1
13986 @endif gettext
13988 .PHONY: maybe-TAGS-gettext TAGS-gettext
13989 maybe-TAGS-gettext:
13990 @if gettext
13991 maybe-TAGS-gettext: TAGS-gettext
13993 TAGS-gettext: \
13994 configure-gettext
13995 @: $(MAKE); $(unstage)
13996 @[ -f ./gettext/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13999 $(HOST_EXPORTS) \
14000 for flag in $(EXTRA_HOST_FLAGS) ; do \
14001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14002 done; \
14003 echo "Doing TAGS in gettext" ; \
14004 (cd $(HOST_SUBDIR)/gettext && \
14005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14007 "RANLIB=$${RANLIB}" \
14008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14009 TAGS) \
14010 || exit 1
14012 @endif gettext
14014 .PHONY: maybe-install-info-gettext install-info-gettext
14015 maybe-install-info-gettext:
14016 @if gettext
14017 maybe-install-info-gettext: install-info-gettext
14019 install-info-gettext: \
14020 configure-gettext \
14021 info-gettext
14022 @: $(MAKE); $(unstage)
14023 @[ -f ./gettext/Makefile ] || exit 0; \
14024 r=`${PWD_COMMAND}`; export r; \
14025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14026 $(HOST_EXPORTS) \
14027 for flag in $(EXTRA_HOST_FLAGS) ; do \
14028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14029 done; \
14030 echo "Doing install-info in gettext" ; \
14031 (cd $(HOST_SUBDIR)/gettext && \
14032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14034 "RANLIB=$${RANLIB}" \
14035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14036 install-info) \
14037 || exit 1
14039 @endif gettext
14041 .PHONY: maybe-install-html-gettext install-html-gettext
14042 maybe-install-html-gettext:
14043 @if gettext
14044 maybe-install-html-gettext: install-html-gettext
14046 install-html-gettext: \
14047 configure-gettext \
14048 html-gettext
14049 @: $(MAKE); $(unstage)
14050 @[ -f ./gettext/Makefile ] || exit 0; \
14051 r=`${PWD_COMMAND}`; export r; \
14052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14053 $(HOST_EXPORTS) \
14054 for flag in $(EXTRA_HOST_FLAGS) ; do \
14055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14056 done; \
14057 echo "Doing install-html in gettext" ; \
14058 (cd $(HOST_SUBDIR)/gettext && \
14059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14061 "RANLIB=$${RANLIB}" \
14062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14063 install-html) \
14064 || exit 1
14066 @endif gettext
14068 .PHONY: maybe-installcheck-gettext installcheck-gettext
14069 maybe-installcheck-gettext:
14070 @if gettext
14071 maybe-installcheck-gettext: installcheck-gettext
14073 installcheck-gettext: \
14074 configure-gettext
14075 @: $(MAKE); $(unstage)
14076 @[ -f ./gettext/Makefile ] || exit 0; \
14077 r=`${PWD_COMMAND}`; export r; \
14078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14079 $(HOST_EXPORTS) \
14080 for flag in $(EXTRA_HOST_FLAGS) ; do \
14081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14082 done; \
14083 echo "Doing installcheck in gettext" ; \
14084 (cd $(HOST_SUBDIR)/gettext && \
14085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14087 "RANLIB=$${RANLIB}" \
14088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14089 installcheck) \
14090 || exit 1
14092 @endif gettext
14094 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
14095 maybe-mostlyclean-gettext:
14096 @if gettext
14097 maybe-mostlyclean-gettext: mostlyclean-gettext
14099 mostlyclean-gettext:
14100 @: $(MAKE); $(unstage)
14101 @[ -f ./gettext/Makefile ] || exit 0; \
14102 r=`${PWD_COMMAND}`; export r; \
14103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14104 $(HOST_EXPORTS) \
14105 for flag in $(EXTRA_HOST_FLAGS) ; do \
14106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14107 done; \
14108 echo "Doing mostlyclean in gettext" ; \
14109 (cd $(HOST_SUBDIR)/gettext && \
14110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14112 "RANLIB=$${RANLIB}" \
14113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14114 mostlyclean) \
14115 || exit 1
14117 @endif gettext
14119 .PHONY: maybe-clean-gettext clean-gettext
14120 maybe-clean-gettext:
14121 @if gettext
14122 maybe-clean-gettext: clean-gettext
14124 clean-gettext:
14125 @: $(MAKE); $(unstage)
14126 @[ -f ./gettext/Makefile ] || exit 0; \
14127 r=`${PWD_COMMAND}`; export r; \
14128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 $(HOST_EXPORTS) \
14130 for flag in $(EXTRA_HOST_FLAGS) ; do \
14131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14132 done; \
14133 echo "Doing clean in gettext" ; \
14134 (cd $(HOST_SUBDIR)/gettext && \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14137 "RANLIB=$${RANLIB}" \
14138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14139 clean) \
14140 || exit 1
14142 @endif gettext
14144 .PHONY: maybe-distclean-gettext distclean-gettext
14145 maybe-distclean-gettext:
14146 @if gettext
14147 maybe-distclean-gettext: distclean-gettext
14149 distclean-gettext:
14150 @: $(MAKE); $(unstage)
14151 @[ -f ./gettext/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 $(HOST_EXPORTS) \
14155 for flag in $(EXTRA_HOST_FLAGS) ; do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing distclean in gettext" ; \
14159 (cd $(HOST_SUBDIR)/gettext && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14164 distclean) \
14165 || exit 1
14167 @endif gettext
14169 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
14170 maybe-maintainer-clean-gettext:
14171 @if gettext
14172 maybe-maintainer-clean-gettext: maintainer-clean-gettext
14174 maintainer-clean-gettext:
14175 @: $(MAKE); $(unstage)
14176 @[ -f ./gettext/Makefile ] || exit 0; \
14177 r=`${PWD_COMMAND}`; export r; \
14178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14179 $(HOST_EXPORTS) \
14180 for flag in $(EXTRA_HOST_FLAGS) ; do \
14181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14182 done; \
14183 echo "Doing maintainer-clean in gettext" ; \
14184 (cd $(HOST_SUBDIR)/gettext && \
14185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14187 "RANLIB=$${RANLIB}" \
14188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14189 maintainer-clean) \
14190 || exit 1
14192 @endif gettext
14196 .PHONY: configure-gmp maybe-configure-gmp
14197 maybe-configure-gmp:
14198 @if gcc-bootstrap
14199 configure-gmp: stage_current
14200 @endif gcc-bootstrap
14201 @if gmp
14202 maybe-configure-gmp: configure-gmp
14203 configure-gmp:
14204 @r=`${PWD_COMMAND}`; export r; \
14205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14206 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14208 $(HOST_EXPORTS) \
14209 echo Configuring in $(HOST_SUBDIR)/gmp; \
14210 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
14211 case $(srcdir) in \
14212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14213 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14215 esac; \
14216 srcdiroption="--srcdir=$${topdir}/gmp"; \
14217 libsrcdir="$$s/gmp"; \
14218 $(SHELL) $${libsrcdir}/configure \
14219 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14220 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
14221 || exit 1
14222 @endif gmp
14226 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
14227 maybe-configure-stage1-gmp:
14228 @if gmp-bootstrap
14229 maybe-configure-stage1-gmp: configure-stage1-gmp
14230 configure-stage1-gmp:
14231 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14233 @r=`${PWD_COMMAND}`; export r; \
14234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14236 $(HOST_EXPORTS) \
14237 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
14238 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14239 cd $(HOST_SUBDIR)/gmp || exit 1; \
14240 case $(srcdir) in \
14241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14242 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14244 esac; \
14245 srcdiroption="--srcdir=$${topdir}/gmp"; \
14246 libsrcdir="$$s/gmp"; \
14247 $(SHELL) $${libsrcdir}/configure \
14248 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14249 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14251 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared
14252 @endif gmp-bootstrap
14254 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
14255 maybe-configure-stage2-gmp:
14256 @if gmp-bootstrap
14257 maybe-configure-stage2-gmp: configure-stage2-gmp
14258 configure-stage2-gmp:
14259 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14260 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14261 @r=`${PWD_COMMAND}`; export r; \
14262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14264 $(HOST_EXPORTS) \
14265 $(POSTSTAGE1_HOST_EXPORTS) \
14266 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
14267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14268 cd $(HOST_SUBDIR)/gmp || exit 1; \
14269 case $(srcdir) in \
14270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14271 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14273 esac; \
14274 srcdiroption="--srcdir=$${topdir}/gmp"; \
14275 libsrcdir="$$s/gmp"; \
14276 $(SHELL) $${libsrcdir}/configure \
14277 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14278 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14279 --with-build-libsubdir=$(HOST_SUBDIR) \
14280 @stage2_werror_flag@ --disable-shared
14281 @endif gmp-bootstrap
14283 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
14284 maybe-configure-stage3-gmp:
14285 @if gmp-bootstrap
14286 maybe-configure-stage3-gmp: configure-stage3-gmp
14287 configure-stage3-gmp:
14288 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14289 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14290 @r=`${PWD_COMMAND}`; export r; \
14291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14292 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14293 $(HOST_EXPORTS) \
14294 $(POSTSTAGE1_HOST_EXPORTS) \
14295 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
14296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14297 cd $(HOST_SUBDIR)/gmp || exit 1; \
14298 case $(srcdir) in \
14299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14300 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14302 esac; \
14303 srcdiroption="--srcdir=$${topdir}/gmp"; \
14304 libsrcdir="$$s/gmp"; \
14305 $(SHELL) $${libsrcdir}/configure \
14306 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14307 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14308 --with-build-libsubdir=$(HOST_SUBDIR) \
14309 @stage2_werror_flag@ --disable-shared
14310 @endif gmp-bootstrap
14312 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
14313 maybe-configure-stage4-gmp:
14314 @if gmp-bootstrap
14315 maybe-configure-stage4-gmp: configure-stage4-gmp
14316 configure-stage4-gmp:
14317 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14318 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14319 @r=`${PWD_COMMAND}`; export r; \
14320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14321 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14322 $(HOST_EXPORTS) \
14323 $(POSTSTAGE1_HOST_EXPORTS) \
14324 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
14325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14326 cd $(HOST_SUBDIR)/gmp || exit 1; \
14327 case $(srcdir) in \
14328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14329 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14331 esac; \
14332 srcdiroption="--srcdir=$${topdir}/gmp"; \
14333 libsrcdir="$$s/gmp"; \
14334 $(SHELL) $${libsrcdir}/configure \
14335 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14336 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14337 --with-build-libsubdir=$(HOST_SUBDIR) \
14338 @stage2_werror_flag@ --disable-shared
14339 @endif gmp-bootstrap
14341 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
14342 maybe-configure-stageprofile-gmp:
14343 @if gmp-bootstrap
14344 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
14345 configure-stageprofile-gmp:
14346 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14347 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14348 @r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14350 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14351 $(HOST_EXPORTS) \
14352 $(POSTSTAGE1_HOST_EXPORTS) \
14353 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
14354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14355 cd $(HOST_SUBDIR)/gmp || exit 1; \
14356 case $(srcdir) in \
14357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14358 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14360 esac; \
14361 srcdiroption="--srcdir=$${topdir}/gmp"; \
14362 libsrcdir="$$s/gmp"; \
14363 $(SHELL) $${libsrcdir}/configure \
14364 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14365 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14366 --with-build-libsubdir=$(HOST_SUBDIR) \
14367 @stage2_werror_flag@ --disable-shared
14368 @endif gmp-bootstrap
14370 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
14371 maybe-configure-stagefeedback-gmp:
14372 @if gmp-bootstrap
14373 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
14374 configure-stagefeedback-gmp:
14375 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
14377 @r=`${PWD_COMMAND}`; export r; \
14378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
14380 $(HOST_EXPORTS) \
14381 $(POSTSTAGE1_HOST_EXPORTS) \
14382 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
14383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
14384 cd $(HOST_SUBDIR)/gmp || exit 1; \
14385 case $(srcdir) in \
14386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14387 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
14388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14389 esac; \
14390 srcdiroption="--srcdir=$${topdir}/gmp"; \
14391 libsrcdir="$$s/gmp"; \
14392 $(SHELL) $${libsrcdir}/configure \
14393 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14394 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
14395 --with-build-libsubdir=$(HOST_SUBDIR) \
14396 @stage2_werror_flag@ --disable-shared
14397 @endif gmp-bootstrap
14403 .PHONY: all-gmp maybe-all-gmp
14404 maybe-all-gmp:
14405 @if gcc-bootstrap
14406 all-gmp: stage_current
14407 @endif gcc-bootstrap
14408 @if gmp
14409 TARGET-gmp=all
14410 maybe-all-gmp: all-gmp
14411 all-gmp: configure-gmp
14412 @r=`${PWD_COMMAND}`; export r; \
14413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14414 $(HOST_EXPORTS) \
14415 (cd $(HOST_SUBDIR)/gmp && \
14416 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gmp))
14417 @endif gmp
14421 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
14422 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
14423 maybe-all-stage1-gmp:
14424 maybe-clean-stage1-gmp:
14425 @if gmp-bootstrap
14426 maybe-all-stage1-gmp: all-stage1-gmp
14427 all-stage1: all-stage1-gmp
14428 TARGET-stage1-gmp = $(TARGET-gmp)
14429 all-stage1-gmp: configure-stage1-gmp
14430 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14431 @r=`${PWD_COMMAND}`; export r; \
14432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14433 $(HOST_EXPORTS) \
14434 cd $(HOST_SUBDIR)/gmp && \
14435 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
14436 $(TARGET-stage1-gmp)
14438 maybe-clean-stage1-gmp: clean-stage1-gmp
14439 clean-stage1: clean-stage1-gmp
14440 clean-stage1-gmp:
14441 @if [ $(current_stage) = stage1 ]; then \
14442 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14443 else \
14444 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
14445 $(MAKE) stage1-start; \
14446 fi; \
14447 cd $(HOST_SUBDIR)/gmp && \
14448 $(MAKE) $(FLAGS_TO_PASS) \
14449 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
14450 @endif gmp-bootstrap
14453 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
14454 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
14455 maybe-all-stage2-gmp:
14456 maybe-clean-stage2-gmp:
14457 @if gmp-bootstrap
14458 maybe-all-stage2-gmp: all-stage2-gmp
14459 all-stage2: all-stage2-gmp
14460 TARGET-stage2-gmp = $(TARGET-gmp)
14461 all-stage2-gmp: configure-stage2-gmp
14462 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14463 @r=`${PWD_COMMAND}`; export r; \
14464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14465 $(HOST_EXPORTS) \
14466 $(POSTSTAGE1_HOST_EXPORTS) \
14467 cd $(HOST_SUBDIR)/gmp && \
14468 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14469 $(TARGET-stage2-gmp)
14471 maybe-clean-stage2-gmp: clean-stage2-gmp
14472 clean-stage2: clean-stage2-gmp
14473 clean-stage2-gmp:
14474 @if [ $(current_stage) = stage2 ]; then \
14475 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14476 else \
14477 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
14478 $(MAKE) stage2-start; \
14479 fi; \
14480 cd $(HOST_SUBDIR)/gmp && \
14481 $(MAKE) $(FLAGS_TO_PASS) \
14482 $(POSTSTAGE1_FLAGS_TO_PASS) \
14483 clean
14484 @endif gmp-bootstrap
14487 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
14488 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
14489 maybe-all-stage3-gmp:
14490 maybe-clean-stage3-gmp:
14491 @if gmp-bootstrap
14492 maybe-all-stage3-gmp: all-stage3-gmp
14493 all-stage3: all-stage3-gmp
14494 TARGET-stage3-gmp = $(TARGET-gmp)
14495 all-stage3-gmp: configure-stage3-gmp
14496 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14497 @r=`${PWD_COMMAND}`; export r; \
14498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499 $(HOST_EXPORTS) \
14500 $(POSTSTAGE1_HOST_EXPORTS) \
14501 cd $(HOST_SUBDIR)/gmp && \
14502 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14503 $(TARGET-stage3-gmp)
14505 maybe-clean-stage3-gmp: clean-stage3-gmp
14506 clean-stage3: clean-stage3-gmp
14507 clean-stage3-gmp:
14508 @if [ $(current_stage) = stage3 ]; then \
14509 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14510 else \
14511 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
14512 $(MAKE) stage3-start; \
14513 fi; \
14514 cd $(HOST_SUBDIR)/gmp && \
14515 $(MAKE) $(FLAGS_TO_PASS) \
14516 $(POSTSTAGE1_FLAGS_TO_PASS) \
14517 clean
14518 @endif gmp-bootstrap
14521 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
14522 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
14523 maybe-all-stage4-gmp:
14524 maybe-clean-stage4-gmp:
14525 @if gmp-bootstrap
14526 maybe-all-stage4-gmp: all-stage4-gmp
14527 all-stage4: all-stage4-gmp
14528 TARGET-stage4-gmp = $(TARGET-gmp)
14529 all-stage4-gmp: configure-stage4-gmp
14530 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14531 @r=`${PWD_COMMAND}`; export r; \
14532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14533 $(HOST_EXPORTS) \
14534 $(POSTSTAGE1_HOST_EXPORTS) \
14535 cd $(HOST_SUBDIR)/gmp && \
14536 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14537 $(TARGET-stage4-gmp)
14539 maybe-clean-stage4-gmp: clean-stage4-gmp
14540 clean-stage4: clean-stage4-gmp
14541 clean-stage4-gmp:
14542 @if [ $(current_stage) = stage4 ]; then \
14543 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14544 else \
14545 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
14546 $(MAKE) stage4-start; \
14547 fi; \
14548 cd $(HOST_SUBDIR)/gmp && \
14549 $(MAKE) $(FLAGS_TO_PASS) \
14550 $(POSTSTAGE1_FLAGS_TO_PASS) \
14551 clean
14552 @endif gmp-bootstrap
14555 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
14556 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
14557 maybe-all-stageprofile-gmp:
14558 maybe-clean-stageprofile-gmp:
14559 @if gmp-bootstrap
14560 maybe-all-stageprofile-gmp: all-stageprofile-gmp
14561 all-stageprofile: all-stageprofile-gmp
14562 TARGET-stageprofile-gmp = $(TARGET-gmp)
14563 all-stageprofile-gmp: configure-stageprofile-gmp
14564 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14565 @r=`${PWD_COMMAND}`; export r; \
14566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14567 $(HOST_EXPORTS) \
14568 $(POSTSTAGE1_HOST_EXPORTS) \
14569 cd $(HOST_SUBDIR)/gmp && \
14570 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14571 $(TARGET-stageprofile-gmp)
14573 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
14574 clean-stageprofile: clean-stageprofile-gmp
14575 clean-stageprofile-gmp:
14576 @if [ $(current_stage) = stageprofile ]; then \
14577 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14578 else \
14579 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
14580 $(MAKE) stageprofile-start; \
14581 fi; \
14582 cd $(HOST_SUBDIR)/gmp && \
14583 $(MAKE) $(FLAGS_TO_PASS) \
14584 $(POSTSTAGE1_FLAGS_TO_PASS) \
14585 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14586 @endif gmp-bootstrap
14589 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
14590 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
14591 maybe-all-stagefeedback-gmp:
14592 maybe-clean-stagefeedback-gmp:
14593 @if gmp-bootstrap
14594 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
14595 all-stagefeedback: all-stagefeedback-gmp
14596 TARGET-stagefeedback-gmp = $(TARGET-gmp)
14597 all-stagefeedback-gmp: configure-stagefeedback-gmp
14598 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14599 @r=`${PWD_COMMAND}`; export r; \
14600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14601 $(HOST_EXPORTS) \
14602 $(POSTSTAGE1_HOST_EXPORTS) \
14603 cd $(HOST_SUBDIR)/gmp && \
14604 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14605 $(TARGET-stagefeedback-gmp)
14607 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
14608 clean-stagefeedback: clean-stagefeedback-gmp
14609 clean-stagefeedback-gmp:
14610 @if [ $(current_stage) = stagefeedback ]; then \
14611 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
14612 else \
14613 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
14614 $(MAKE) stagefeedback-start; \
14615 fi; \
14616 cd $(HOST_SUBDIR)/gmp && \
14617 $(MAKE) $(FLAGS_TO_PASS) \
14618 $(POSTSTAGE1_FLAGS_TO_PASS) \
14619 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14620 @endif gmp-bootstrap
14626 .PHONY: check-gmp maybe-check-gmp
14627 maybe-check-gmp:
14628 @if gmp
14629 maybe-check-gmp: check-gmp
14631 check-gmp:
14632 @: $(MAKE); $(unstage)
14633 @r=`${PWD_COMMAND}`; export r; \
14634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14635 $(HOST_EXPORTS) \
14636 (cd $(HOST_SUBDIR)/gmp && \
14637 $(MAKE) $(FLAGS_TO_PASS) check)
14639 @endif gmp
14641 .PHONY: install-gmp maybe-install-gmp
14642 maybe-install-gmp:
14643 @if gmp
14644 maybe-install-gmp: install-gmp
14646 install-gmp:
14648 @endif gmp
14650 # Other targets (info, dvi, pdf, etc.)
14652 .PHONY: maybe-info-gmp info-gmp
14653 maybe-info-gmp:
14654 @if gmp
14655 maybe-info-gmp: info-gmp
14657 info-gmp: \
14658 configure-gmp
14659 @[ -f ./gmp/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 info in gmp" ; \
14667 (cd $(HOST_SUBDIR)/gmp && \
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 info) \
14673 || exit 1
14675 @endif gmp
14677 .PHONY: maybe-dvi-gmp dvi-gmp
14678 maybe-dvi-gmp:
14679 @if gmp
14680 maybe-dvi-gmp: dvi-gmp
14682 dvi-gmp: \
14683 configure-gmp
14684 @[ -f ./gmp/Makefile ] || exit 0; \
14685 r=`${PWD_COMMAND}`; export r; \
14686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 $(HOST_EXPORTS) \
14688 for flag in $(EXTRA_HOST_FLAGS) ; do \
14689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14690 done; \
14691 echo "Doing dvi in gmp" ; \
14692 (cd $(HOST_SUBDIR)/gmp && \
14693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14695 "RANLIB=$${RANLIB}" \
14696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14697 dvi) \
14698 || exit 1
14700 @endif gmp
14702 .PHONY: maybe-pdf-gmp pdf-gmp
14703 maybe-pdf-gmp:
14704 @if gmp
14705 maybe-pdf-gmp: pdf-gmp
14707 pdf-gmp: \
14708 configure-gmp
14709 @[ -f ./gmp/Makefile ] || exit 0; \
14710 r=`${PWD_COMMAND}`; export r; \
14711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14712 $(HOST_EXPORTS) \
14713 for flag in $(EXTRA_HOST_FLAGS) ; do \
14714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14715 done; \
14716 echo "Doing pdf in gmp" ; \
14717 (cd $(HOST_SUBDIR)/gmp && \
14718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14720 "RANLIB=$${RANLIB}" \
14721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14722 pdf) \
14723 || exit 1
14725 @endif gmp
14727 .PHONY: maybe-html-gmp html-gmp
14728 maybe-html-gmp:
14729 @if gmp
14730 maybe-html-gmp: html-gmp
14732 html-gmp: \
14733 configure-gmp
14734 @[ -f ./gmp/Makefile ] || exit 0; \
14735 r=`${PWD_COMMAND}`; export r; \
14736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14737 $(HOST_EXPORTS) \
14738 for flag in $(EXTRA_HOST_FLAGS) ; do \
14739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14740 done; \
14741 echo "Doing html in gmp" ; \
14742 (cd $(HOST_SUBDIR)/gmp && \
14743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14745 "RANLIB=$${RANLIB}" \
14746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14747 html) \
14748 || exit 1
14750 @endif gmp
14752 .PHONY: maybe-TAGS-gmp TAGS-gmp
14753 maybe-TAGS-gmp:
14754 @if gmp
14755 maybe-TAGS-gmp: TAGS-gmp
14757 TAGS-gmp: \
14758 configure-gmp
14759 @[ -f ./gmp/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762 $(HOST_EXPORTS) \
14763 for flag in $(EXTRA_HOST_FLAGS) ; do \
14764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14765 done; \
14766 echo "Doing TAGS in gmp" ; \
14767 (cd $(HOST_SUBDIR)/gmp && \
14768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14770 "RANLIB=$${RANLIB}" \
14771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14772 TAGS) \
14773 || exit 1
14775 @endif gmp
14777 .PHONY: maybe-install-info-gmp install-info-gmp
14778 maybe-install-info-gmp:
14779 @if gmp
14780 maybe-install-info-gmp: install-info-gmp
14782 install-info-gmp: \
14783 configure-gmp \
14784 info-gmp
14785 @[ -f ./gmp/Makefile ] || exit 0; \
14786 r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 $(HOST_EXPORTS) \
14789 for flag in $(EXTRA_HOST_FLAGS) ; do \
14790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14791 done; \
14792 echo "Doing install-info in gmp" ; \
14793 (cd $(HOST_SUBDIR)/gmp && \
14794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14796 "RANLIB=$${RANLIB}" \
14797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14798 install-info) \
14799 || exit 1
14801 @endif gmp
14803 .PHONY: maybe-install-html-gmp install-html-gmp
14804 maybe-install-html-gmp:
14805 @if gmp
14806 maybe-install-html-gmp: install-html-gmp
14808 install-html-gmp: \
14809 configure-gmp \
14810 html-gmp
14811 @[ -f ./gmp/Makefile ] || exit 0; \
14812 r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14814 $(HOST_EXPORTS) \
14815 for flag in $(EXTRA_HOST_FLAGS) ; do \
14816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14817 done; \
14818 echo "Doing install-html in gmp" ; \
14819 (cd $(HOST_SUBDIR)/gmp && \
14820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14822 "RANLIB=$${RANLIB}" \
14823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14824 install-html) \
14825 || exit 1
14827 @endif gmp
14829 .PHONY: maybe-installcheck-gmp installcheck-gmp
14830 maybe-installcheck-gmp:
14831 @if gmp
14832 maybe-installcheck-gmp: installcheck-gmp
14834 installcheck-gmp: \
14835 configure-gmp
14836 @[ -f ./gmp/Makefile ] || exit 0; \
14837 r=`${PWD_COMMAND}`; export r; \
14838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14839 $(HOST_EXPORTS) \
14840 for flag in $(EXTRA_HOST_FLAGS) ; do \
14841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14842 done; \
14843 echo "Doing installcheck in gmp" ; \
14844 (cd $(HOST_SUBDIR)/gmp && \
14845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14847 "RANLIB=$${RANLIB}" \
14848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14849 installcheck) \
14850 || exit 1
14852 @endif gmp
14854 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
14855 maybe-mostlyclean-gmp:
14856 @if gmp
14857 maybe-mostlyclean-gmp: mostlyclean-gmp
14859 mostlyclean-gmp:
14860 @[ -f ./gmp/Makefile ] || exit 0; \
14861 r=`${PWD_COMMAND}`; export r; \
14862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14863 $(HOST_EXPORTS) \
14864 for flag in $(EXTRA_HOST_FLAGS) ; do \
14865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14866 done; \
14867 echo "Doing mostlyclean in gmp" ; \
14868 (cd $(HOST_SUBDIR)/gmp && \
14869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14871 "RANLIB=$${RANLIB}" \
14872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14873 mostlyclean) \
14874 || exit 1
14876 @endif gmp
14878 .PHONY: maybe-clean-gmp clean-gmp
14879 maybe-clean-gmp:
14880 @if gmp
14881 maybe-clean-gmp: clean-gmp
14883 clean-gmp:
14884 @[ -f ./gmp/Makefile ] || exit 0; \
14885 r=`${PWD_COMMAND}`; export r; \
14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14887 $(HOST_EXPORTS) \
14888 for flag in $(EXTRA_HOST_FLAGS) ; do \
14889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14890 done; \
14891 echo "Doing clean in gmp" ; \
14892 (cd $(HOST_SUBDIR)/gmp && \
14893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14895 "RANLIB=$${RANLIB}" \
14896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14897 clean) \
14898 || exit 1
14900 @endif gmp
14902 .PHONY: maybe-distclean-gmp distclean-gmp
14903 maybe-distclean-gmp:
14904 @if gmp
14905 maybe-distclean-gmp: distclean-gmp
14907 distclean-gmp:
14908 @[ -f ./gmp/Makefile ] || exit 0; \
14909 r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 $(HOST_EXPORTS) \
14912 for flag in $(EXTRA_HOST_FLAGS) ; do \
14913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14914 done; \
14915 echo "Doing distclean in gmp" ; \
14916 (cd $(HOST_SUBDIR)/gmp && \
14917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14919 "RANLIB=$${RANLIB}" \
14920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14921 distclean) \
14922 || exit 1
14924 @endif gmp
14926 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
14927 maybe-maintainer-clean-gmp:
14928 @if gmp
14929 maybe-maintainer-clean-gmp: maintainer-clean-gmp
14931 maintainer-clean-gmp:
14932 @[ -f ./gmp/Makefile ] || exit 0; \
14933 r=`${PWD_COMMAND}`; export r; \
14934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14935 $(HOST_EXPORTS) \
14936 for flag in $(EXTRA_HOST_FLAGS) ; do \
14937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14938 done; \
14939 echo "Doing maintainer-clean in gmp" ; \
14940 (cd $(HOST_SUBDIR)/gmp && \
14941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14943 "RANLIB=$${RANLIB}" \
14944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14945 maintainer-clean) \
14946 || exit 1
14948 @endif gmp
14952 .PHONY: configure-mpfr maybe-configure-mpfr
14953 maybe-configure-mpfr:
14954 @if gcc-bootstrap
14955 configure-mpfr: stage_current
14956 @endif gcc-bootstrap
14957 @if mpfr
14958 maybe-configure-mpfr: configure-mpfr
14959 configure-mpfr:
14960 @r=`${PWD_COMMAND}`; export r; \
14961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14962 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
14964 $(HOST_EXPORTS) \
14965 echo Configuring in $(HOST_SUBDIR)/mpfr; \
14966 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
14967 case $(srcdir) in \
14968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14969 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14971 esac; \
14972 srcdiroption="--srcdir=$${topdir}/mpfr"; \
14973 libsrcdir="$$s/mpfr"; \
14974 $(SHELL) $${libsrcdir}/configure \
14975 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
14976 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \
14977 || exit 1
14978 @endif mpfr
14982 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
14983 maybe-configure-stage1-mpfr:
14984 @if mpfr-bootstrap
14985 maybe-configure-stage1-mpfr: configure-stage1-mpfr
14986 configure-stage1-mpfr:
14987 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14988 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
14989 @r=`${PWD_COMMAND}`; export r; \
14990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14991 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
14992 $(HOST_EXPORTS) \
14993 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
14994 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
14995 cd $(HOST_SUBDIR)/mpfr || exit 1; \
14996 case $(srcdir) in \
14997 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14998 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
14999 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15000 esac; \
15001 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15002 libsrcdir="$$s/mpfr"; \
15003 $(SHELL) $${libsrcdir}/configure \
15004 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15005 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15007 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15008 @endif mpfr-bootstrap
15010 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
15011 maybe-configure-stage2-mpfr:
15012 @if mpfr-bootstrap
15013 maybe-configure-stage2-mpfr: configure-stage2-mpfr
15014 configure-stage2-mpfr:
15015 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15017 @r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15020 $(HOST_EXPORTS) \
15021 $(POSTSTAGE1_HOST_EXPORTS) \
15022 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
15023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15024 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15025 case $(srcdir) in \
15026 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15027 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15028 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15029 esac; \
15030 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15031 libsrcdir="$$s/mpfr"; \
15032 $(SHELL) $${libsrcdir}/configure \
15033 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15034 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15035 --with-build-libsubdir=$(HOST_SUBDIR) \
15036 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15037 @endif mpfr-bootstrap
15039 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
15040 maybe-configure-stage3-mpfr:
15041 @if mpfr-bootstrap
15042 maybe-configure-stage3-mpfr: configure-stage3-mpfr
15043 configure-stage3-mpfr:
15044 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15045 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15046 @r=`${PWD_COMMAND}`; export r; \
15047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15048 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15049 $(HOST_EXPORTS) \
15050 $(POSTSTAGE1_HOST_EXPORTS) \
15051 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
15052 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15053 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15054 case $(srcdir) in \
15055 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15056 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15057 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15058 esac; \
15059 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15060 libsrcdir="$$s/mpfr"; \
15061 $(SHELL) $${libsrcdir}/configure \
15062 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15063 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15064 --with-build-libsubdir=$(HOST_SUBDIR) \
15065 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15066 @endif mpfr-bootstrap
15068 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
15069 maybe-configure-stage4-mpfr:
15070 @if mpfr-bootstrap
15071 maybe-configure-stage4-mpfr: configure-stage4-mpfr
15072 configure-stage4-mpfr:
15073 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15075 @r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15078 $(HOST_EXPORTS) \
15079 $(POSTSTAGE1_HOST_EXPORTS) \
15080 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
15081 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15082 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15083 case $(srcdir) in \
15084 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15085 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15086 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15087 esac; \
15088 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15089 libsrcdir="$$s/mpfr"; \
15090 $(SHELL) $${libsrcdir}/configure \
15091 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15092 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15093 --with-build-libsubdir=$(HOST_SUBDIR) \
15094 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15095 @endif mpfr-bootstrap
15097 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
15098 maybe-configure-stageprofile-mpfr:
15099 @if mpfr-bootstrap
15100 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
15101 configure-stageprofile-mpfr:
15102 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15103 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15104 @r=`${PWD_COMMAND}`; export r; \
15105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15106 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15107 $(HOST_EXPORTS) \
15108 $(POSTSTAGE1_HOST_EXPORTS) \
15109 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
15110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15111 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15112 case $(srcdir) in \
15113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15114 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15116 esac; \
15117 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15118 libsrcdir="$$s/mpfr"; \
15119 $(SHELL) $${libsrcdir}/configure \
15120 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15121 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15122 --with-build-libsubdir=$(HOST_SUBDIR) \
15123 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15124 @endif mpfr-bootstrap
15126 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
15127 maybe-configure-stagefeedback-mpfr:
15128 @if mpfr-bootstrap
15129 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
15130 configure-stagefeedback-mpfr:
15131 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15132 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
15133 @r=`${PWD_COMMAND}`; export r; \
15134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15135 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
15136 $(HOST_EXPORTS) \
15137 $(POSTSTAGE1_HOST_EXPORTS) \
15138 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
15139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
15140 cd $(HOST_SUBDIR)/mpfr || exit 1; \
15141 case $(srcdir) in \
15142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15143 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
15144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15145 esac; \
15146 srcdiroption="--srcdir=$${topdir}/mpfr"; \
15147 libsrcdir="$$s/mpfr"; \
15148 $(SHELL) $${libsrcdir}/configure \
15149 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
15150 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
15151 --with-build-libsubdir=$(HOST_SUBDIR) \
15152 @stage2_werror_flag@ --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp
15153 @endif mpfr-bootstrap
15159 .PHONY: all-mpfr maybe-all-mpfr
15160 maybe-all-mpfr:
15161 @if gcc-bootstrap
15162 all-mpfr: stage_current
15163 @endif gcc-bootstrap
15164 @if mpfr
15165 TARGET-mpfr=all
15166 maybe-all-mpfr: all-mpfr
15167 all-mpfr: configure-mpfr
15168 @r=`${PWD_COMMAND}`; export r; \
15169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15170 $(HOST_EXPORTS) \
15171 (cd $(HOST_SUBDIR)/mpfr && \
15172 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mpfr))
15173 @endif mpfr
15177 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
15178 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
15179 maybe-all-stage1-mpfr:
15180 maybe-clean-stage1-mpfr:
15181 @if mpfr-bootstrap
15182 maybe-all-stage1-mpfr: all-stage1-mpfr
15183 all-stage1: all-stage1-mpfr
15184 TARGET-stage1-mpfr = $(TARGET-mpfr)
15185 all-stage1-mpfr: configure-stage1-mpfr
15186 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15187 @r=`${PWD_COMMAND}`; export r; \
15188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15189 $(HOST_EXPORTS) \
15190 cd $(HOST_SUBDIR)/mpfr && \
15191 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
15192 $(TARGET-stage1-mpfr)
15194 maybe-clean-stage1-mpfr: clean-stage1-mpfr
15195 clean-stage1: clean-stage1-mpfr
15196 clean-stage1-mpfr:
15197 @if [ $(current_stage) = stage1 ]; then \
15198 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15199 else \
15200 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
15201 $(MAKE) stage1-start; \
15202 fi; \
15203 cd $(HOST_SUBDIR)/mpfr && \
15204 $(MAKE) $(FLAGS_TO_PASS) \
15205 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
15206 @endif mpfr-bootstrap
15209 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
15210 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
15211 maybe-all-stage2-mpfr:
15212 maybe-clean-stage2-mpfr:
15213 @if mpfr-bootstrap
15214 maybe-all-stage2-mpfr: all-stage2-mpfr
15215 all-stage2: all-stage2-mpfr
15216 TARGET-stage2-mpfr = $(TARGET-mpfr)
15217 all-stage2-mpfr: configure-stage2-mpfr
15218 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15219 @r=`${PWD_COMMAND}`; export r; \
15220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15221 $(HOST_EXPORTS) \
15222 $(POSTSTAGE1_HOST_EXPORTS) \
15223 cd $(HOST_SUBDIR)/mpfr && \
15224 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15225 $(TARGET-stage2-mpfr)
15227 maybe-clean-stage2-mpfr: clean-stage2-mpfr
15228 clean-stage2: clean-stage2-mpfr
15229 clean-stage2-mpfr:
15230 @if [ $(current_stage) = stage2 ]; then \
15231 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15232 else \
15233 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
15234 $(MAKE) stage2-start; \
15235 fi; \
15236 cd $(HOST_SUBDIR)/mpfr && \
15237 $(MAKE) $(FLAGS_TO_PASS) \
15238 $(POSTSTAGE1_FLAGS_TO_PASS) \
15239 clean
15240 @endif mpfr-bootstrap
15243 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
15244 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
15245 maybe-all-stage3-mpfr:
15246 maybe-clean-stage3-mpfr:
15247 @if mpfr-bootstrap
15248 maybe-all-stage3-mpfr: all-stage3-mpfr
15249 all-stage3: all-stage3-mpfr
15250 TARGET-stage3-mpfr = $(TARGET-mpfr)
15251 all-stage3-mpfr: configure-stage3-mpfr
15252 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15253 @r=`${PWD_COMMAND}`; export r; \
15254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 $(HOST_EXPORTS) \
15256 $(POSTSTAGE1_HOST_EXPORTS) \
15257 cd $(HOST_SUBDIR)/mpfr && \
15258 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15259 $(TARGET-stage3-mpfr)
15261 maybe-clean-stage3-mpfr: clean-stage3-mpfr
15262 clean-stage3: clean-stage3-mpfr
15263 clean-stage3-mpfr:
15264 @if [ $(current_stage) = stage3 ]; then \
15265 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15266 else \
15267 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
15268 $(MAKE) stage3-start; \
15269 fi; \
15270 cd $(HOST_SUBDIR)/mpfr && \
15271 $(MAKE) $(FLAGS_TO_PASS) \
15272 $(POSTSTAGE1_FLAGS_TO_PASS) \
15273 clean
15274 @endif mpfr-bootstrap
15277 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
15278 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
15279 maybe-all-stage4-mpfr:
15280 maybe-clean-stage4-mpfr:
15281 @if mpfr-bootstrap
15282 maybe-all-stage4-mpfr: all-stage4-mpfr
15283 all-stage4: all-stage4-mpfr
15284 TARGET-stage4-mpfr = $(TARGET-mpfr)
15285 all-stage4-mpfr: configure-stage4-mpfr
15286 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15287 @r=`${PWD_COMMAND}`; export r; \
15288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15289 $(HOST_EXPORTS) \
15290 $(POSTSTAGE1_HOST_EXPORTS) \
15291 cd $(HOST_SUBDIR)/mpfr && \
15292 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15293 $(TARGET-stage4-mpfr)
15295 maybe-clean-stage4-mpfr: clean-stage4-mpfr
15296 clean-stage4: clean-stage4-mpfr
15297 clean-stage4-mpfr:
15298 @if [ $(current_stage) = stage4 ]; then \
15299 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15300 else \
15301 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
15302 $(MAKE) stage4-start; \
15303 fi; \
15304 cd $(HOST_SUBDIR)/mpfr && \
15305 $(MAKE) $(FLAGS_TO_PASS) \
15306 $(POSTSTAGE1_FLAGS_TO_PASS) \
15307 clean
15308 @endif mpfr-bootstrap
15311 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
15312 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
15313 maybe-all-stageprofile-mpfr:
15314 maybe-clean-stageprofile-mpfr:
15315 @if mpfr-bootstrap
15316 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
15317 all-stageprofile: all-stageprofile-mpfr
15318 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
15319 all-stageprofile-mpfr: configure-stageprofile-mpfr
15320 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15321 @r=`${PWD_COMMAND}`; export r; \
15322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15323 $(HOST_EXPORTS) \
15324 $(POSTSTAGE1_HOST_EXPORTS) \
15325 cd $(HOST_SUBDIR)/mpfr && \
15326 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15327 $(TARGET-stageprofile-mpfr)
15329 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
15330 clean-stageprofile: clean-stageprofile-mpfr
15331 clean-stageprofile-mpfr:
15332 @if [ $(current_stage) = stageprofile ]; then \
15333 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15334 else \
15335 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
15336 $(MAKE) stageprofile-start; \
15337 fi; \
15338 cd $(HOST_SUBDIR)/mpfr && \
15339 $(MAKE) $(FLAGS_TO_PASS) \
15340 $(POSTSTAGE1_FLAGS_TO_PASS) \
15341 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15342 @endif mpfr-bootstrap
15345 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
15346 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
15347 maybe-all-stagefeedback-mpfr:
15348 maybe-clean-stagefeedback-mpfr:
15349 @if mpfr-bootstrap
15350 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
15351 all-stagefeedback: all-stagefeedback-mpfr
15352 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
15353 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
15354 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15355 @r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357 $(HOST_EXPORTS) \
15358 $(POSTSTAGE1_HOST_EXPORTS) \
15359 cd $(HOST_SUBDIR)/mpfr && \
15360 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15361 $(TARGET-stagefeedback-mpfr)
15363 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
15364 clean-stagefeedback: clean-stagefeedback-mpfr
15365 clean-stagefeedback-mpfr:
15366 @if [ $(current_stage) = stagefeedback ]; then \
15367 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
15368 else \
15369 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
15370 $(MAKE) stagefeedback-start; \
15371 fi; \
15372 cd $(HOST_SUBDIR)/mpfr && \
15373 $(MAKE) $(FLAGS_TO_PASS) \
15374 $(POSTSTAGE1_FLAGS_TO_PASS) \
15375 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15376 @endif mpfr-bootstrap
15382 .PHONY: check-mpfr maybe-check-mpfr
15383 maybe-check-mpfr:
15384 @if mpfr
15385 maybe-check-mpfr: check-mpfr
15387 check-mpfr:
15388 @: $(MAKE); $(unstage)
15389 @r=`${PWD_COMMAND}`; export r; \
15390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15391 $(HOST_EXPORTS) \
15392 (cd $(HOST_SUBDIR)/mpfr && \
15393 $(MAKE) $(FLAGS_TO_PASS) check)
15395 @endif mpfr
15397 .PHONY: install-mpfr maybe-install-mpfr
15398 maybe-install-mpfr:
15399 @if mpfr
15400 maybe-install-mpfr: install-mpfr
15402 install-mpfr:
15404 @endif mpfr
15406 # Other targets (info, dvi, pdf, etc.)
15408 .PHONY: maybe-info-mpfr info-mpfr
15409 maybe-info-mpfr:
15410 @if mpfr
15411 maybe-info-mpfr: info-mpfr
15413 info-mpfr: \
15414 configure-mpfr
15415 @[ -f ./mpfr/Makefile ] || exit 0; \
15416 r=`${PWD_COMMAND}`; export r; \
15417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15418 $(HOST_EXPORTS) \
15419 for flag in $(EXTRA_HOST_FLAGS) ; do \
15420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15421 done; \
15422 echo "Doing info in mpfr" ; \
15423 (cd $(HOST_SUBDIR)/mpfr && \
15424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15426 "RANLIB=$${RANLIB}" \
15427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15428 info) \
15429 || exit 1
15431 @endif mpfr
15433 .PHONY: maybe-dvi-mpfr dvi-mpfr
15434 maybe-dvi-mpfr:
15435 @if mpfr
15436 maybe-dvi-mpfr: dvi-mpfr
15438 dvi-mpfr: \
15439 configure-mpfr
15440 @[ -f ./mpfr/Makefile ] || exit 0; \
15441 r=`${PWD_COMMAND}`; export r; \
15442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15443 $(HOST_EXPORTS) \
15444 for flag in $(EXTRA_HOST_FLAGS) ; do \
15445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15446 done; \
15447 echo "Doing dvi in mpfr" ; \
15448 (cd $(HOST_SUBDIR)/mpfr && \
15449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15451 "RANLIB=$${RANLIB}" \
15452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15453 dvi) \
15454 || exit 1
15456 @endif mpfr
15458 .PHONY: maybe-pdf-mpfr pdf-mpfr
15459 maybe-pdf-mpfr:
15460 @if mpfr
15461 maybe-pdf-mpfr: pdf-mpfr
15463 pdf-mpfr: \
15464 configure-mpfr
15465 @[ -f ./mpfr/Makefile ] || exit 0; \
15466 r=`${PWD_COMMAND}`; export r; \
15467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 $(HOST_EXPORTS) \
15469 for flag in $(EXTRA_HOST_FLAGS) ; do \
15470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 done; \
15472 echo "Doing pdf in mpfr" ; \
15473 (cd $(HOST_SUBDIR)/mpfr && \
15474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15476 "RANLIB=$${RANLIB}" \
15477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15478 pdf) \
15479 || exit 1
15481 @endif mpfr
15483 .PHONY: maybe-html-mpfr html-mpfr
15484 maybe-html-mpfr:
15485 @if mpfr
15486 maybe-html-mpfr: html-mpfr
15488 html-mpfr: \
15489 configure-mpfr
15490 @[ -f ./mpfr/Makefile ] || exit 0; \
15491 r=`${PWD_COMMAND}`; export r; \
15492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15493 $(HOST_EXPORTS) \
15494 for flag in $(EXTRA_HOST_FLAGS) ; do \
15495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15496 done; \
15497 echo "Doing html in mpfr" ; \
15498 (cd $(HOST_SUBDIR)/mpfr && \
15499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15501 "RANLIB=$${RANLIB}" \
15502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15503 html) \
15504 || exit 1
15506 @endif mpfr
15508 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
15509 maybe-TAGS-mpfr:
15510 @if mpfr
15511 maybe-TAGS-mpfr: TAGS-mpfr
15513 TAGS-mpfr: \
15514 configure-mpfr
15515 @[ -f ./mpfr/Makefile ] || exit 0; \
15516 r=`${PWD_COMMAND}`; export r; \
15517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 $(HOST_EXPORTS) \
15519 for flag in $(EXTRA_HOST_FLAGS) ; do \
15520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15521 done; \
15522 echo "Doing TAGS in mpfr" ; \
15523 (cd $(HOST_SUBDIR)/mpfr && \
15524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15526 "RANLIB=$${RANLIB}" \
15527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15528 TAGS) \
15529 || exit 1
15531 @endif mpfr
15533 .PHONY: maybe-install-info-mpfr install-info-mpfr
15534 maybe-install-info-mpfr:
15535 @if mpfr
15536 maybe-install-info-mpfr: install-info-mpfr
15538 install-info-mpfr: \
15539 configure-mpfr \
15540 info-mpfr
15541 @[ -f ./mpfr/Makefile ] || exit 0; \
15542 r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 $(HOST_EXPORTS) \
15545 for flag in $(EXTRA_HOST_FLAGS) ; do \
15546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15547 done; \
15548 echo "Doing install-info in mpfr" ; \
15549 (cd $(HOST_SUBDIR)/mpfr && \
15550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15552 "RANLIB=$${RANLIB}" \
15553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15554 install-info) \
15555 || exit 1
15557 @endif mpfr
15559 .PHONY: maybe-install-html-mpfr install-html-mpfr
15560 maybe-install-html-mpfr:
15561 @if mpfr
15562 maybe-install-html-mpfr: install-html-mpfr
15564 install-html-mpfr: \
15565 configure-mpfr \
15566 html-mpfr
15567 @[ -f ./mpfr/Makefile ] || exit 0; \
15568 r=`${PWD_COMMAND}`; export r; \
15569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15570 $(HOST_EXPORTS) \
15571 for flag in $(EXTRA_HOST_FLAGS) ; do \
15572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15573 done; \
15574 echo "Doing install-html in mpfr" ; \
15575 (cd $(HOST_SUBDIR)/mpfr && \
15576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15578 "RANLIB=$${RANLIB}" \
15579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15580 install-html) \
15581 || exit 1
15583 @endif mpfr
15585 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
15586 maybe-installcheck-mpfr:
15587 @if mpfr
15588 maybe-installcheck-mpfr: installcheck-mpfr
15590 installcheck-mpfr: \
15591 configure-mpfr
15592 @[ -f ./mpfr/Makefile ] || exit 0; \
15593 r=`${PWD_COMMAND}`; export r; \
15594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15595 $(HOST_EXPORTS) \
15596 for flag in $(EXTRA_HOST_FLAGS) ; do \
15597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15598 done; \
15599 echo "Doing installcheck in mpfr" ; \
15600 (cd $(HOST_SUBDIR)/mpfr && \
15601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15603 "RANLIB=$${RANLIB}" \
15604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15605 installcheck) \
15606 || exit 1
15608 @endif mpfr
15610 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
15611 maybe-mostlyclean-mpfr:
15612 @if mpfr
15613 maybe-mostlyclean-mpfr: mostlyclean-mpfr
15615 mostlyclean-mpfr:
15616 @[ -f ./mpfr/Makefile ] || exit 0; \
15617 r=`${PWD_COMMAND}`; export r; \
15618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15619 $(HOST_EXPORTS) \
15620 for flag in $(EXTRA_HOST_FLAGS) ; do \
15621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15622 done; \
15623 echo "Doing mostlyclean in mpfr" ; \
15624 (cd $(HOST_SUBDIR)/mpfr && \
15625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15627 "RANLIB=$${RANLIB}" \
15628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15629 mostlyclean) \
15630 || exit 1
15632 @endif mpfr
15634 .PHONY: maybe-clean-mpfr clean-mpfr
15635 maybe-clean-mpfr:
15636 @if mpfr
15637 maybe-clean-mpfr: clean-mpfr
15639 clean-mpfr:
15640 @[ -f ./mpfr/Makefile ] || exit 0; \
15641 r=`${PWD_COMMAND}`; export r; \
15642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15643 $(HOST_EXPORTS) \
15644 for flag in $(EXTRA_HOST_FLAGS) ; do \
15645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15646 done; \
15647 echo "Doing clean in mpfr" ; \
15648 (cd $(HOST_SUBDIR)/mpfr && \
15649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15651 "RANLIB=$${RANLIB}" \
15652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15653 clean) \
15654 || exit 1
15656 @endif mpfr
15658 .PHONY: maybe-distclean-mpfr distclean-mpfr
15659 maybe-distclean-mpfr:
15660 @if mpfr
15661 maybe-distclean-mpfr: distclean-mpfr
15663 distclean-mpfr:
15664 @[ -f ./mpfr/Makefile ] || exit 0; \
15665 r=`${PWD_COMMAND}`; export r; \
15666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15667 $(HOST_EXPORTS) \
15668 for flag in $(EXTRA_HOST_FLAGS) ; do \
15669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15670 done; \
15671 echo "Doing distclean in mpfr" ; \
15672 (cd $(HOST_SUBDIR)/mpfr && \
15673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15675 "RANLIB=$${RANLIB}" \
15676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15677 distclean) \
15678 || exit 1
15680 @endif mpfr
15682 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
15683 maybe-maintainer-clean-mpfr:
15684 @if mpfr
15685 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
15687 maintainer-clean-mpfr:
15688 @[ -f ./mpfr/Makefile ] || exit 0; \
15689 r=`${PWD_COMMAND}`; export r; \
15690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15691 $(HOST_EXPORTS) \
15692 for flag in $(EXTRA_HOST_FLAGS) ; do \
15693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15694 done; \
15695 echo "Doing maintainer-clean in mpfr" ; \
15696 (cd $(HOST_SUBDIR)/mpfr && \
15697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15699 "RANLIB=$${RANLIB}" \
15700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15701 maintainer-clean) \
15702 || exit 1
15704 @endif mpfr
15708 .PHONY: configure-gnuserv maybe-configure-gnuserv
15709 maybe-configure-gnuserv:
15710 @if gcc-bootstrap
15711 configure-gnuserv: stage_current
15712 @endif gcc-bootstrap
15713 @if gnuserv
15714 maybe-configure-gnuserv: configure-gnuserv
15715 configure-gnuserv:
15716 @: $(MAKE); $(unstage)
15717 @r=`${PWD_COMMAND}`; export r; \
15718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15719 test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
15720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
15721 $(HOST_EXPORTS) \
15722 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
15723 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
15724 case $(srcdir) in \
15725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15726 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
15727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15728 esac; \
15729 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
15730 libsrcdir="$$s/gnuserv"; \
15731 $(SHELL) $${libsrcdir}/configure \
15732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15733 --target=${target_alias} $${srcdiroption} \
15734 || exit 1
15735 @endif gnuserv
15741 .PHONY: all-gnuserv maybe-all-gnuserv
15742 maybe-all-gnuserv:
15743 @if gcc-bootstrap
15744 all-gnuserv: stage_current
15745 @endif gcc-bootstrap
15746 @if gnuserv
15747 TARGET-gnuserv=all
15748 maybe-all-gnuserv: all-gnuserv
15749 all-gnuserv: configure-gnuserv
15750 @: $(MAKE); $(unstage)
15751 @r=`${PWD_COMMAND}`; export r; \
15752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15753 $(HOST_EXPORTS) \
15754 (cd $(HOST_SUBDIR)/gnuserv && \
15755 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
15756 @endif gnuserv
15761 .PHONY: check-gnuserv maybe-check-gnuserv
15762 maybe-check-gnuserv:
15763 @if gnuserv
15764 maybe-check-gnuserv: check-gnuserv
15766 check-gnuserv:
15767 @: $(MAKE); $(unstage)
15768 @r=`${PWD_COMMAND}`; export r; \
15769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15770 $(HOST_EXPORTS) \
15771 (cd $(HOST_SUBDIR)/gnuserv && \
15772 $(MAKE) $(FLAGS_TO_PASS) check)
15774 @endif gnuserv
15776 .PHONY: install-gnuserv maybe-install-gnuserv
15777 maybe-install-gnuserv:
15778 @if gnuserv
15779 maybe-install-gnuserv: install-gnuserv
15781 install-gnuserv: installdirs
15782 @: $(MAKE); $(unstage)
15783 @r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785 $(HOST_EXPORTS) \
15786 (cd $(HOST_SUBDIR)/gnuserv && \
15787 $(MAKE) $(FLAGS_TO_PASS) install)
15789 @endif gnuserv
15791 # Other targets (info, dvi, pdf, etc.)
15793 .PHONY: maybe-info-gnuserv info-gnuserv
15794 maybe-info-gnuserv:
15795 @if gnuserv
15796 maybe-info-gnuserv: info-gnuserv
15798 info-gnuserv: \
15799 configure-gnuserv
15800 @: $(MAKE); $(unstage)
15801 @[ -f ./gnuserv/Makefile ] || exit 0; \
15802 r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 $(HOST_EXPORTS) \
15805 for flag in $(EXTRA_HOST_FLAGS) ; do \
15806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15807 done; \
15808 echo "Doing info in gnuserv" ; \
15809 (cd $(HOST_SUBDIR)/gnuserv && \
15810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15812 "RANLIB=$${RANLIB}" \
15813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15814 info) \
15815 || exit 1
15817 @endif gnuserv
15819 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
15820 maybe-dvi-gnuserv:
15821 @if gnuserv
15822 maybe-dvi-gnuserv: dvi-gnuserv
15824 dvi-gnuserv: \
15825 configure-gnuserv
15826 @: $(MAKE); $(unstage)
15827 @[ -f ./gnuserv/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 for flag in $(EXTRA_HOST_FLAGS) ; do \
15832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15833 done; \
15834 echo "Doing dvi in gnuserv" ; \
15835 (cd $(HOST_SUBDIR)/gnuserv && \
15836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15838 "RANLIB=$${RANLIB}" \
15839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15840 dvi) \
15841 || exit 1
15843 @endif gnuserv
15845 .PHONY: maybe-pdf-gnuserv pdf-gnuserv
15846 maybe-pdf-gnuserv:
15847 @if gnuserv
15848 maybe-pdf-gnuserv: pdf-gnuserv
15850 pdf-gnuserv: \
15851 configure-gnuserv
15852 @: $(MAKE); $(unstage)
15853 @[ -f ./gnuserv/Makefile ] || exit 0; \
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(HOST_EXPORTS) \
15857 for flag in $(EXTRA_HOST_FLAGS) ; do \
15858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15859 done; \
15860 echo "Doing pdf in gnuserv" ; \
15861 (cd $(HOST_SUBDIR)/gnuserv && \
15862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15864 "RANLIB=$${RANLIB}" \
15865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15866 pdf) \
15867 || exit 1
15869 @endif gnuserv
15871 .PHONY: maybe-html-gnuserv html-gnuserv
15872 maybe-html-gnuserv:
15873 @if gnuserv
15874 maybe-html-gnuserv: html-gnuserv
15876 html-gnuserv: \
15877 configure-gnuserv
15878 @: $(MAKE); $(unstage)
15879 @[ -f ./gnuserv/Makefile ] || exit 0; \
15880 r=`${PWD_COMMAND}`; export r; \
15881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15882 $(HOST_EXPORTS) \
15883 for flag in $(EXTRA_HOST_FLAGS) ; do \
15884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15885 done; \
15886 echo "Doing html in gnuserv" ; \
15887 (cd $(HOST_SUBDIR)/gnuserv && \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15890 "RANLIB=$${RANLIB}" \
15891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15892 html) \
15893 || exit 1
15895 @endif gnuserv
15897 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
15898 maybe-TAGS-gnuserv:
15899 @if gnuserv
15900 maybe-TAGS-gnuserv: TAGS-gnuserv
15902 TAGS-gnuserv: \
15903 configure-gnuserv
15904 @: $(MAKE); $(unstage)
15905 @[ -f ./gnuserv/Makefile ] || exit 0; \
15906 r=`${PWD_COMMAND}`; export r; \
15907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908 $(HOST_EXPORTS) \
15909 for flag in $(EXTRA_HOST_FLAGS) ; do \
15910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15911 done; \
15912 echo "Doing TAGS in gnuserv" ; \
15913 (cd $(HOST_SUBDIR)/gnuserv && \
15914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15916 "RANLIB=$${RANLIB}" \
15917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15918 TAGS) \
15919 || exit 1
15921 @endif gnuserv
15923 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
15924 maybe-install-info-gnuserv:
15925 @if gnuserv
15926 maybe-install-info-gnuserv: install-info-gnuserv
15928 install-info-gnuserv: \
15929 configure-gnuserv \
15930 info-gnuserv
15931 @: $(MAKE); $(unstage)
15932 @[ -f ./gnuserv/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 $(HOST_EXPORTS) \
15936 for flag in $(EXTRA_HOST_FLAGS) ; do \
15937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15938 done; \
15939 echo "Doing install-info in gnuserv" ; \
15940 (cd $(HOST_SUBDIR)/gnuserv && \
15941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943 "RANLIB=$${RANLIB}" \
15944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945 install-info) \
15946 || exit 1
15948 @endif gnuserv
15950 .PHONY: maybe-install-html-gnuserv install-html-gnuserv
15951 maybe-install-html-gnuserv:
15952 @if gnuserv
15953 maybe-install-html-gnuserv: install-html-gnuserv
15955 install-html-gnuserv: \
15956 configure-gnuserv \
15957 html-gnuserv
15958 @: $(MAKE); $(unstage)
15959 @[ -f ./gnuserv/Makefile ] || exit 0; \
15960 r=`${PWD_COMMAND}`; export r; \
15961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15962 $(HOST_EXPORTS) \
15963 for flag in $(EXTRA_HOST_FLAGS) ; do \
15964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15965 done; \
15966 echo "Doing install-html in gnuserv" ; \
15967 (cd $(HOST_SUBDIR)/gnuserv && \
15968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15970 "RANLIB=$${RANLIB}" \
15971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15972 install-html) \
15973 || exit 1
15975 @endif gnuserv
15977 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
15978 maybe-installcheck-gnuserv:
15979 @if gnuserv
15980 maybe-installcheck-gnuserv: installcheck-gnuserv
15982 installcheck-gnuserv: \
15983 configure-gnuserv
15984 @: $(MAKE); $(unstage)
15985 @[ -f ./gnuserv/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(HOST_EXPORTS) \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 done; \
15992 echo "Doing installcheck in gnuserv" ; \
15993 (cd $(HOST_SUBDIR)/gnuserv && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15998 installcheck) \
15999 || exit 1
16001 @endif gnuserv
16003 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
16004 maybe-mostlyclean-gnuserv:
16005 @if gnuserv
16006 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
16008 mostlyclean-gnuserv:
16009 @: $(MAKE); $(unstage)
16010 @[ -f ./gnuserv/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(HOST_EXPORTS) \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 done; \
16017 echo "Doing mostlyclean in gnuserv" ; \
16018 (cd $(HOST_SUBDIR)/gnuserv && \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16023 mostlyclean) \
16024 || exit 1
16026 @endif gnuserv
16028 .PHONY: maybe-clean-gnuserv clean-gnuserv
16029 maybe-clean-gnuserv:
16030 @if gnuserv
16031 maybe-clean-gnuserv: clean-gnuserv
16033 clean-gnuserv:
16034 @: $(MAKE); $(unstage)
16035 @[ -f ./gnuserv/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 $(HOST_EXPORTS) \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing clean in gnuserv" ; \
16043 (cd $(HOST_SUBDIR)/gnuserv && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16048 clean) \
16049 || exit 1
16051 @endif gnuserv
16053 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
16054 maybe-distclean-gnuserv:
16055 @if gnuserv
16056 maybe-distclean-gnuserv: distclean-gnuserv
16058 distclean-gnuserv:
16059 @: $(MAKE); $(unstage)
16060 @[ -f ./gnuserv/Makefile ] || exit 0; \
16061 r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 $(HOST_EXPORTS) \
16064 for flag in $(EXTRA_HOST_FLAGS) ; do \
16065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066 done; \
16067 echo "Doing distclean in gnuserv" ; \
16068 (cd $(HOST_SUBDIR)/gnuserv && \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071 "RANLIB=$${RANLIB}" \
16072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16073 distclean) \
16074 || exit 1
16076 @endif gnuserv
16078 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
16079 maybe-maintainer-clean-gnuserv:
16080 @if gnuserv
16081 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
16083 maintainer-clean-gnuserv:
16084 @: $(MAKE); $(unstage)
16085 @[ -f ./gnuserv/Makefile ] || exit 0; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(HOST_EXPORTS) \
16089 for flag in $(EXTRA_HOST_FLAGS) ; do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16091 done; \
16092 echo "Doing maintainer-clean in gnuserv" ; \
16093 (cd $(HOST_SUBDIR)/gnuserv && \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16098 maintainer-clean) \
16099 || exit 1
16101 @endif gnuserv
16105 .PHONY: configure-gprof maybe-configure-gprof
16106 maybe-configure-gprof:
16107 @if gcc-bootstrap
16108 configure-gprof: stage_current
16109 @endif gcc-bootstrap
16110 @if gprof
16111 maybe-configure-gprof: configure-gprof
16112 configure-gprof:
16113 @: $(MAKE); $(unstage)
16114 @r=`${PWD_COMMAND}`; export r; \
16115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16116 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16118 $(HOST_EXPORTS) \
16119 echo Configuring in $(HOST_SUBDIR)/gprof; \
16120 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16121 case $(srcdir) in \
16122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16123 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16125 esac; \
16126 srcdiroption="--srcdir=$${topdir}/gprof"; \
16127 libsrcdir="$$s/gprof"; \
16128 $(SHELL) $${libsrcdir}/configure \
16129 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16130 --target=${target_alias} $${srcdiroption} \
16131 || exit 1
16132 @endif gprof
16138 .PHONY: all-gprof maybe-all-gprof
16139 maybe-all-gprof:
16140 @if gcc-bootstrap
16141 all-gprof: stage_current
16142 @endif gcc-bootstrap
16143 @if gprof
16144 TARGET-gprof=all
16145 maybe-all-gprof: all-gprof
16146 all-gprof: configure-gprof
16147 @: $(MAKE); $(unstage)
16148 @r=`${PWD_COMMAND}`; export r; \
16149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16150 $(HOST_EXPORTS) \
16151 (cd $(HOST_SUBDIR)/gprof && \
16152 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
16153 @endif gprof
16158 .PHONY: check-gprof maybe-check-gprof
16159 maybe-check-gprof:
16160 @if gprof
16161 maybe-check-gprof: check-gprof
16163 check-gprof:
16164 @: $(MAKE); $(unstage)
16165 @r=`${PWD_COMMAND}`; export r; \
16166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16167 $(HOST_EXPORTS) \
16168 (cd $(HOST_SUBDIR)/gprof && \
16169 $(MAKE) $(FLAGS_TO_PASS) check)
16171 @endif gprof
16173 .PHONY: install-gprof maybe-install-gprof
16174 maybe-install-gprof:
16175 @if gprof
16176 maybe-install-gprof: install-gprof
16178 install-gprof: installdirs
16179 @: $(MAKE); $(unstage)
16180 @r=`${PWD_COMMAND}`; export r; \
16181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16182 $(HOST_EXPORTS) \
16183 (cd $(HOST_SUBDIR)/gprof && \
16184 $(MAKE) $(FLAGS_TO_PASS) install)
16186 @endif gprof
16188 # Other targets (info, dvi, pdf, etc.)
16190 .PHONY: maybe-info-gprof info-gprof
16191 maybe-info-gprof:
16192 @if gprof
16193 maybe-info-gprof: info-gprof
16195 info-gprof: \
16196 configure-gprof
16197 @: $(MAKE); $(unstage)
16198 @[ -f ./gprof/Makefile ] || exit 0; \
16199 r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 $(HOST_EXPORTS) \
16202 for flag in $(EXTRA_HOST_FLAGS) ; do \
16203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16204 done; \
16205 echo "Doing info in gprof" ; \
16206 (cd $(HOST_SUBDIR)/gprof && \
16207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209 "RANLIB=$${RANLIB}" \
16210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16211 info) \
16212 || exit 1
16214 @endif gprof
16216 .PHONY: maybe-dvi-gprof dvi-gprof
16217 maybe-dvi-gprof:
16218 @if gprof
16219 maybe-dvi-gprof: dvi-gprof
16221 dvi-gprof: \
16222 configure-gprof
16223 @: $(MAKE); $(unstage)
16224 @[ -f ./gprof/Makefile ] || exit 0; \
16225 r=`${PWD_COMMAND}`; export r; \
16226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16227 $(HOST_EXPORTS) \
16228 for flag in $(EXTRA_HOST_FLAGS) ; do \
16229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16230 done; \
16231 echo "Doing dvi in gprof" ; \
16232 (cd $(HOST_SUBDIR)/gprof && \
16233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16235 "RANLIB=$${RANLIB}" \
16236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16237 dvi) \
16238 || exit 1
16240 @endif gprof
16242 .PHONY: maybe-pdf-gprof pdf-gprof
16243 maybe-pdf-gprof:
16244 @if gprof
16245 maybe-pdf-gprof: pdf-gprof
16247 pdf-gprof: \
16248 configure-gprof
16249 @: $(MAKE); $(unstage)
16250 @[ -f ./gprof/Makefile ] || exit 0; \
16251 r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16253 $(HOST_EXPORTS) \
16254 for flag in $(EXTRA_HOST_FLAGS) ; do \
16255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16256 done; \
16257 echo "Doing pdf in gprof" ; \
16258 (cd $(HOST_SUBDIR)/gprof && \
16259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16261 "RANLIB=$${RANLIB}" \
16262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16263 pdf) \
16264 || exit 1
16266 @endif gprof
16268 .PHONY: maybe-html-gprof html-gprof
16269 maybe-html-gprof:
16270 @if gprof
16271 maybe-html-gprof: html-gprof
16273 html-gprof: \
16274 configure-gprof
16275 @: $(MAKE); $(unstage)
16276 @[ -f ./gprof/Makefile ] || exit 0; \
16277 r=`${PWD_COMMAND}`; export r; \
16278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16279 $(HOST_EXPORTS) \
16280 for flag in $(EXTRA_HOST_FLAGS) ; do \
16281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16282 done; \
16283 echo "Doing html in gprof" ; \
16284 (cd $(HOST_SUBDIR)/gprof && \
16285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16287 "RANLIB=$${RANLIB}" \
16288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16289 html) \
16290 || exit 1
16292 @endif gprof
16294 .PHONY: maybe-TAGS-gprof TAGS-gprof
16295 maybe-TAGS-gprof:
16296 @if gprof
16297 maybe-TAGS-gprof: TAGS-gprof
16299 TAGS-gprof: \
16300 configure-gprof
16301 @: $(MAKE); $(unstage)
16302 @[ -f ./gprof/Makefile ] || exit 0; \
16303 r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 $(HOST_EXPORTS) \
16306 for flag in $(EXTRA_HOST_FLAGS) ; do \
16307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16308 done; \
16309 echo "Doing TAGS in gprof" ; \
16310 (cd $(HOST_SUBDIR)/gprof && \
16311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16313 "RANLIB=$${RANLIB}" \
16314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16315 TAGS) \
16316 || exit 1
16318 @endif gprof
16320 .PHONY: maybe-install-info-gprof install-info-gprof
16321 maybe-install-info-gprof:
16322 @if gprof
16323 maybe-install-info-gprof: install-info-gprof
16325 install-info-gprof: \
16326 configure-gprof \
16327 info-gprof
16328 @: $(MAKE); $(unstage)
16329 @[ -f ./gprof/Makefile ] || exit 0; \
16330 r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 $(HOST_EXPORTS) \
16333 for flag in $(EXTRA_HOST_FLAGS) ; do \
16334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16335 done; \
16336 echo "Doing install-info in gprof" ; \
16337 (cd $(HOST_SUBDIR)/gprof && \
16338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16340 "RANLIB=$${RANLIB}" \
16341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16342 install-info) \
16343 || exit 1
16345 @endif gprof
16347 .PHONY: maybe-install-html-gprof install-html-gprof
16348 maybe-install-html-gprof:
16349 @if gprof
16350 maybe-install-html-gprof: install-html-gprof
16352 install-html-gprof: \
16353 configure-gprof \
16354 html-gprof
16355 @: $(MAKE); $(unstage)
16356 @[ -f ./gprof/Makefile ] || exit 0; \
16357 r=`${PWD_COMMAND}`; export r; \
16358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16359 $(HOST_EXPORTS) \
16360 for flag in $(EXTRA_HOST_FLAGS) ; do \
16361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16362 done; \
16363 echo "Doing install-html in gprof" ; \
16364 (cd $(HOST_SUBDIR)/gprof && \
16365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16367 "RANLIB=$${RANLIB}" \
16368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16369 install-html) \
16370 || exit 1
16372 @endif gprof
16374 .PHONY: maybe-installcheck-gprof installcheck-gprof
16375 maybe-installcheck-gprof:
16376 @if gprof
16377 maybe-installcheck-gprof: installcheck-gprof
16379 installcheck-gprof: \
16380 configure-gprof
16381 @: $(MAKE); $(unstage)
16382 @[ -f ./gprof/Makefile ] || exit 0; \
16383 r=`${PWD_COMMAND}`; export r; \
16384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16385 $(HOST_EXPORTS) \
16386 for flag in $(EXTRA_HOST_FLAGS) ; do \
16387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16388 done; \
16389 echo "Doing installcheck in gprof" ; \
16390 (cd $(HOST_SUBDIR)/gprof && \
16391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16393 "RANLIB=$${RANLIB}" \
16394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16395 installcheck) \
16396 || exit 1
16398 @endif gprof
16400 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16401 maybe-mostlyclean-gprof:
16402 @if gprof
16403 maybe-mostlyclean-gprof: mostlyclean-gprof
16405 mostlyclean-gprof:
16406 @: $(MAKE); $(unstage)
16407 @[ -f ./gprof/Makefile ] || exit 0; \
16408 r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(HOST_EXPORTS) \
16411 for flag in $(EXTRA_HOST_FLAGS) ; do \
16412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16413 done; \
16414 echo "Doing mostlyclean in gprof" ; \
16415 (cd $(HOST_SUBDIR)/gprof && \
16416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16418 "RANLIB=$${RANLIB}" \
16419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16420 mostlyclean) \
16421 || exit 1
16423 @endif gprof
16425 .PHONY: maybe-clean-gprof clean-gprof
16426 maybe-clean-gprof:
16427 @if gprof
16428 maybe-clean-gprof: clean-gprof
16430 clean-gprof:
16431 @: $(MAKE); $(unstage)
16432 @[ -f ./gprof/Makefile ] || exit 0; \
16433 r=`${PWD_COMMAND}`; export r; \
16434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16435 $(HOST_EXPORTS) \
16436 for flag in $(EXTRA_HOST_FLAGS) ; do \
16437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16438 done; \
16439 echo "Doing clean in gprof" ; \
16440 (cd $(HOST_SUBDIR)/gprof && \
16441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16443 "RANLIB=$${RANLIB}" \
16444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16445 clean) \
16446 || exit 1
16448 @endif gprof
16450 .PHONY: maybe-distclean-gprof distclean-gprof
16451 maybe-distclean-gprof:
16452 @if gprof
16453 maybe-distclean-gprof: distclean-gprof
16455 distclean-gprof:
16456 @: $(MAKE); $(unstage)
16457 @[ -f ./gprof/Makefile ] || exit 0; \
16458 r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 $(HOST_EXPORTS) \
16461 for flag in $(EXTRA_HOST_FLAGS) ; do \
16462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16463 done; \
16464 echo "Doing distclean in gprof" ; \
16465 (cd $(HOST_SUBDIR)/gprof && \
16466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16468 "RANLIB=$${RANLIB}" \
16469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16470 distclean) \
16471 || exit 1
16473 @endif gprof
16475 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16476 maybe-maintainer-clean-gprof:
16477 @if gprof
16478 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16480 maintainer-clean-gprof:
16481 @: $(MAKE); $(unstage)
16482 @[ -f ./gprof/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 gprof" ; \
16490 (cd $(HOST_SUBDIR)/gprof && \
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 gprof
16502 .PHONY: configure-gzip maybe-configure-gzip
16503 maybe-configure-gzip:
16504 @if gcc-bootstrap
16505 configure-gzip: stage_current
16506 @endif gcc-bootstrap
16507 @if gzip
16508 maybe-configure-gzip: configure-gzip
16509 configure-gzip:
16510 @: $(MAKE); $(unstage)
16511 @r=`${PWD_COMMAND}`; export r; \
16512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16513 test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
16514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
16515 $(HOST_EXPORTS) \
16516 echo Configuring in $(HOST_SUBDIR)/gzip; \
16517 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
16518 case $(srcdir) in \
16519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16520 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
16521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16522 esac; \
16523 srcdiroption="--srcdir=$${topdir}/gzip"; \
16524 libsrcdir="$$s/gzip"; \
16525 $(SHELL) $${libsrcdir}/configure \
16526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16527 --target=${target_alias} $${srcdiroption} \
16528 || exit 1
16529 @endif gzip
16535 .PHONY: all-gzip maybe-all-gzip
16536 maybe-all-gzip:
16537 @if gcc-bootstrap
16538 all-gzip: stage_current
16539 @endif gcc-bootstrap
16540 @if gzip
16541 TARGET-gzip=all
16542 maybe-all-gzip: all-gzip
16543 all-gzip: configure-gzip
16544 @: $(MAKE); $(unstage)
16545 @r=`${PWD_COMMAND}`; export r; \
16546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16547 $(HOST_EXPORTS) \
16548 (cd $(HOST_SUBDIR)/gzip && \
16549 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
16550 @endif gzip
16555 .PHONY: check-gzip maybe-check-gzip
16556 maybe-check-gzip:
16557 @if gzip
16558 maybe-check-gzip: check-gzip
16560 check-gzip:
16561 @: $(MAKE); $(unstage)
16562 @r=`${PWD_COMMAND}`; export r; \
16563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 $(HOST_EXPORTS) \
16565 (cd $(HOST_SUBDIR)/gzip && \
16566 $(MAKE) $(FLAGS_TO_PASS) check)
16568 @endif gzip
16570 .PHONY: install-gzip maybe-install-gzip
16571 maybe-install-gzip:
16572 @if gzip
16573 maybe-install-gzip: install-gzip
16575 install-gzip: 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)/gzip && \
16581 $(MAKE) $(FLAGS_TO_PASS) install)
16583 @endif gzip
16585 # Other targets (info, dvi, pdf, etc.)
16587 .PHONY: maybe-info-gzip info-gzip
16588 maybe-info-gzip:
16589 @if gzip
16590 maybe-info-gzip: info-gzip
16592 info-gzip: \
16593 configure-gzip
16594 @: $(MAKE); $(unstage)
16595 @[ -f ./gzip/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 gzip" ; \
16603 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
16613 .PHONY: maybe-dvi-gzip dvi-gzip
16614 maybe-dvi-gzip:
16615 @if gzip
16616 maybe-dvi-gzip: dvi-gzip
16618 dvi-gzip: \
16619 configure-gzip
16620 @: $(MAKE); $(unstage)
16621 @[ -f ./gzip/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 gzip" ; \
16629 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
16639 .PHONY: maybe-pdf-gzip pdf-gzip
16640 maybe-pdf-gzip:
16641 @if gzip
16642 maybe-pdf-gzip: pdf-gzip
16644 pdf-gzip: \
16645 configure-gzip
16646 @: $(MAKE); $(unstage)
16647 @[ -f ./gzip/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 gzip" ; \
16655 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
16665 .PHONY: maybe-html-gzip html-gzip
16666 maybe-html-gzip:
16667 @if gzip
16668 maybe-html-gzip: html-gzip
16670 html-gzip: \
16671 configure-gzip
16672 @: $(MAKE); $(unstage)
16673 @[ -f ./gzip/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 gzip" ; \
16681 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
16691 .PHONY: maybe-TAGS-gzip TAGS-gzip
16692 maybe-TAGS-gzip:
16693 @if gzip
16694 maybe-TAGS-gzip: TAGS-gzip
16696 TAGS-gzip: \
16697 configure-gzip
16698 @: $(MAKE); $(unstage)
16699 @[ -f ./gzip/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 gzip" ; \
16707 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
16717 .PHONY: maybe-install-info-gzip install-info-gzip
16718 maybe-install-info-gzip:
16719 @if gzip
16720 maybe-install-info-gzip: install-info-gzip
16722 install-info-gzip: \
16723 configure-gzip \
16724 info-gzip
16725 @: $(MAKE); $(unstage)
16726 @[ -f ./gzip/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 gzip" ; \
16734 (cd $(HOST_SUBDIR)/gzip && \
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 gzip
16744 .PHONY: maybe-install-html-gzip install-html-gzip
16745 maybe-install-html-gzip:
16746 @if gzip
16747 maybe-install-html-gzip: install-html-gzip
16749 install-html-gzip: \
16750 configure-gzip \
16751 html-gzip
16752 @: $(MAKE); $(unstage)
16753 @[ -f ./gzip/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-html in gzip" ; \
16761 (cd $(HOST_SUBDIR)/gzip && \
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-html) \
16767 || exit 1
16769 @endif gzip
16771 .PHONY: maybe-installcheck-gzip installcheck-gzip
16772 maybe-installcheck-gzip:
16773 @if gzip
16774 maybe-installcheck-gzip: installcheck-gzip
16776 installcheck-gzip: \
16777 configure-gzip
16778 @: $(MAKE); $(unstage)
16779 @[ -f ./gzip/Makefile ] || exit 0; \
16780 r=`${PWD_COMMAND}`; export r; \
16781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16782 $(HOST_EXPORTS) \
16783 for flag in $(EXTRA_HOST_FLAGS) ; do \
16784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16785 done; \
16786 echo "Doing installcheck in gzip" ; \
16787 (cd $(HOST_SUBDIR)/gzip && \
16788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16790 "RANLIB=$${RANLIB}" \
16791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16792 installcheck) \
16793 || exit 1
16795 @endif gzip
16797 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
16798 maybe-mostlyclean-gzip:
16799 @if gzip
16800 maybe-mostlyclean-gzip: mostlyclean-gzip
16802 mostlyclean-gzip:
16803 @: $(MAKE); $(unstage)
16804 @[ -f ./gzip/Makefile ] || exit 0; \
16805 r=`${PWD_COMMAND}`; export r; \
16806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16807 $(HOST_EXPORTS) \
16808 for flag in $(EXTRA_HOST_FLAGS) ; do \
16809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16810 done; \
16811 echo "Doing mostlyclean in gzip" ; \
16812 (cd $(HOST_SUBDIR)/gzip && \
16813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16815 "RANLIB=$${RANLIB}" \
16816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16817 mostlyclean) \
16818 || exit 1
16820 @endif gzip
16822 .PHONY: maybe-clean-gzip clean-gzip
16823 maybe-clean-gzip:
16824 @if gzip
16825 maybe-clean-gzip: clean-gzip
16827 clean-gzip:
16828 @: $(MAKE); $(unstage)
16829 @[ -f ./gzip/Makefile ] || exit 0; \
16830 r=`${PWD_COMMAND}`; export r; \
16831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16832 $(HOST_EXPORTS) \
16833 for flag in $(EXTRA_HOST_FLAGS) ; do \
16834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16835 done; \
16836 echo "Doing clean in gzip" ; \
16837 (cd $(HOST_SUBDIR)/gzip && \
16838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16840 "RANLIB=$${RANLIB}" \
16841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16842 clean) \
16843 || exit 1
16845 @endif gzip
16847 .PHONY: maybe-distclean-gzip distclean-gzip
16848 maybe-distclean-gzip:
16849 @if gzip
16850 maybe-distclean-gzip: distclean-gzip
16852 distclean-gzip:
16853 @: $(MAKE); $(unstage)
16854 @[ -f ./gzip/Makefile ] || exit 0; \
16855 r=`${PWD_COMMAND}`; export r; \
16856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16857 $(HOST_EXPORTS) \
16858 for flag in $(EXTRA_HOST_FLAGS) ; do \
16859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16860 done; \
16861 echo "Doing distclean in gzip" ; \
16862 (cd $(HOST_SUBDIR)/gzip && \
16863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16865 "RANLIB=$${RANLIB}" \
16866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16867 distclean) \
16868 || exit 1
16870 @endif gzip
16872 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
16873 maybe-maintainer-clean-gzip:
16874 @if gzip
16875 maybe-maintainer-clean-gzip: maintainer-clean-gzip
16877 maintainer-clean-gzip:
16878 @: $(MAKE); $(unstage)
16879 @[ -f ./gzip/Makefile ] || exit 0; \
16880 r=`${PWD_COMMAND}`; export r; \
16881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16882 $(HOST_EXPORTS) \
16883 for flag in $(EXTRA_HOST_FLAGS) ; do \
16884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16885 done; \
16886 echo "Doing maintainer-clean in gzip" ; \
16887 (cd $(HOST_SUBDIR)/gzip && \
16888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16890 "RANLIB=$${RANLIB}" \
16891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16892 maintainer-clean) \
16893 || exit 1
16895 @endif gzip
16899 .PHONY: configure-hello maybe-configure-hello
16900 maybe-configure-hello:
16901 @if gcc-bootstrap
16902 configure-hello: stage_current
16903 @endif gcc-bootstrap
16904 @if hello
16905 maybe-configure-hello: configure-hello
16906 configure-hello:
16907 @: $(MAKE); $(unstage)
16908 @r=`${PWD_COMMAND}`; export r; \
16909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16910 test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
16911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
16912 $(HOST_EXPORTS) \
16913 echo Configuring in $(HOST_SUBDIR)/hello; \
16914 cd "$(HOST_SUBDIR)/hello" || exit 1; \
16915 case $(srcdir) in \
16916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16917 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
16918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16919 esac; \
16920 srcdiroption="--srcdir=$${topdir}/hello"; \
16921 libsrcdir="$$s/hello"; \
16922 $(SHELL) $${libsrcdir}/configure \
16923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16924 --target=${target_alias} $${srcdiroption} \
16925 || exit 1
16926 @endif hello
16932 .PHONY: all-hello maybe-all-hello
16933 maybe-all-hello:
16934 @if gcc-bootstrap
16935 all-hello: stage_current
16936 @endif gcc-bootstrap
16937 @if hello
16938 TARGET-hello=all
16939 maybe-all-hello: all-hello
16940 all-hello: configure-hello
16941 @: $(MAKE); $(unstage)
16942 @r=`${PWD_COMMAND}`; export r; \
16943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16944 $(HOST_EXPORTS) \
16945 (cd $(HOST_SUBDIR)/hello && \
16946 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
16947 @endif hello
16952 .PHONY: check-hello maybe-check-hello
16953 maybe-check-hello:
16954 @if hello
16955 maybe-check-hello: check-hello
16957 check-hello:
16958 @: $(MAKE); $(unstage)
16959 @r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 $(HOST_EXPORTS) \
16962 (cd $(HOST_SUBDIR)/hello && \
16963 $(MAKE) $(FLAGS_TO_PASS) check)
16965 @endif hello
16967 .PHONY: install-hello maybe-install-hello
16968 maybe-install-hello:
16969 @if hello
16970 maybe-install-hello: install-hello
16972 install-hello: installdirs
16973 @: $(MAKE); $(unstage)
16974 @r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 $(HOST_EXPORTS) \
16977 (cd $(HOST_SUBDIR)/hello && \
16978 $(MAKE) $(FLAGS_TO_PASS) install)
16980 @endif hello
16982 # Other targets (info, dvi, pdf, etc.)
16984 .PHONY: maybe-info-hello info-hello
16985 maybe-info-hello:
16986 @if hello
16987 maybe-info-hello: info-hello
16989 info-hello: \
16990 configure-hello
16991 @: $(MAKE); $(unstage)
16992 @[ -f ./hello/Makefile ] || exit 0; \
16993 r=`${PWD_COMMAND}`; export r; \
16994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16995 $(HOST_EXPORTS) \
16996 for flag in $(EXTRA_HOST_FLAGS) ; do \
16997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16998 done; \
16999 echo "Doing info in hello" ; \
17000 (cd $(HOST_SUBDIR)/hello && \
17001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17003 "RANLIB=$${RANLIB}" \
17004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17005 info) \
17006 || exit 1
17008 @endif hello
17010 .PHONY: maybe-dvi-hello dvi-hello
17011 maybe-dvi-hello:
17012 @if hello
17013 maybe-dvi-hello: dvi-hello
17015 dvi-hello: \
17016 configure-hello
17017 @: $(MAKE); $(unstage)
17018 @[ -f ./hello/Makefile ] || exit 0; \
17019 r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 $(HOST_EXPORTS) \
17022 for flag in $(EXTRA_HOST_FLAGS) ; do \
17023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17024 done; \
17025 echo "Doing dvi in hello" ; \
17026 (cd $(HOST_SUBDIR)/hello && \
17027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17029 "RANLIB=$${RANLIB}" \
17030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17031 dvi) \
17032 || exit 1
17034 @endif hello
17036 .PHONY: maybe-pdf-hello pdf-hello
17037 maybe-pdf-hello:
17038 @if hello
17039 maybe-pdf-hello: pdf-hello
17041 pdf-hello: \
17042 configure-hello
17043 @: $(MAKE); $(unstage)
17044 @[ -f ./hello/Makefile ] || exit 0; \
17045 r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 $(HOST_EXPORTS) \
17048 for flag in $(EXTRA_HOST_FLAGS) ; do \
17049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17050 done; \
17051 echo "Doing pdf in hello" ; \
17052 (cd $(HOST_SUBDIR)/hello && \
17053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17055 "RANLIB=$${RANLIB}" \
17056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17057 pdf) \
17058 || exit 1
17060 @endif hello
17062 .PHONY: maybe-html-hello html-hello
17063 maybe-html-hello:
17064 @if hello
17065 maybe-html-hello: html-hello
17067 html-hello: \
17068 configure-hello
17069 @: $(MAKE); $(unstage)
17070 @[ -f ./hello/Makefile ] || exit 0; \
17071 r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 $(HOST_EXPORTS) \
17074 for flag in $(EXTRA_HOST_FLAGS) ; do \
17075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17076 done; \
17077 echo "Doing html in hello" ; \
17078 (cd $(HOST_SUBDIR)/hello && \
17079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17081 "RANLIB=$${RANLIB}" \
17082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17083 html) \
17084 || exit 1
17086 @endif hello
17088 .PHONY: maybe-TAGS-hello TAGS-hello
17089 maybe-TAGS-hello:
17090 @if hello
17091 maybe-TAGS-hello: TAGS-hello
17093 TAGS-hello: \
17094 configure-hello
17095 @: $(MAKE); $(unstage)
17096 @[ -f ./hello/Makefile ] || exit 0; \
17097 r=`${PWD_COMMAND}`; export r; \
17098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17099 $(HOST_EXPORTS) \
17100 for flag in $(EXTRA_HOST_FLAGS) ; do \
17101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17102 done; \
17103 echo "Doing TAGS in hello" ; \
17104 (cd $(HOST_SUBDIR)/hello && \
17105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17107 "RANLIB=$${RANLIB}" \
17108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17109 TAGS) \
17110 || exit 1
17112 @endif hello
17114 .PHONY: maybe-install-info-hello install-info-hello
17115 maybe-install-info-hello:
17116 @if hello
17117 maybe-install-info-hello: install-info-hello
17119 install-info-hello: \
17120 configure-hello \
17121 info-hello
17122 @: $(MAKE); $(unstage)
17123 @[ -f ./hello/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 install-info in hello" ; \
17131 (cd $(HOST_SUBDIR)/hello && \
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 install-info) \
17137 || exit 1
17139 @endif hello
17141 .PHONY: maybe-install-html-hello install-html-hello
17142 maybe-install-html-hello:
17143 @if hello
17144 maybe-install-html-hello: install-html-hello
17146 install-html-hello: \
17147 configure-hello \
17148 html-hello
17149 @: $(MAKE); $(unstage)
17150 @[ -f ./hello/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-html in hello" ; \
17158 (cd $(HOST_SUBDIR)/hello && \
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-html) \
17164 || exit 1
17166 @endif hello
17168 .PHONY: maybe-installcheck-hello installcheck-hello
17169 maybe-installcheck-hello:
17170 @if hello
17171 maybe-installcheck-hello: installcheck-hello
17173 installcheck-hello: \
17174 configure-hello
17175 @: $(MAKE); $(unstage)
17176 @[ -f ./hello/Makefile ] || exit 0; \
17177 r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179 $(HOST_EXPORTS) \
17180 for flag in $(EXTRA_HOST_FLAGS) ; do \
17181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17182 done; \
17183 echo "Doing installcheck in hello" ; \
17184 (cd $(HOST_SUBDIR)/hello && \
17185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17187 "RANLIB=$${RANLIB}" \
17188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17189 installcheck) \
17190 || exit 1
17192 @endif hello
17194 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
17195 maybe-mostlyclean-hello:
17196 @if hello
17197 maybe-mostlyclean-hello: mostlyclean-hello
17199 mostlyclean-hello:
17200 @: $(MAKE); $(unstage)
17201 @[ -f ./hello/Makefile ] || exit 0; \
17202 r=`${PWD_COMMAND}`; export r; \
17203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17204 $(HOST_EXPORTS) \
17205 for flag in $(EXTRA_HOST_FLAGS) ; do \
17206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17207 done; \
17208 echo "Doing mostlyclean in hello" ; \
17209 (cd $(HOST_SUBDIR)/hello && \
17210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17212 "RANLIB=$${RANLIB}" \
17213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17214 mostlyclean) \
17215 || exit 1
17217 @endif hello
17219 .PHONY: maybe-clean-hello clean-hello
17220 maybe-clean-hello:
17221 @if hello
17222 maybe-clean-hello: clean-hello
17224 clean-hello:
17225 @: $(MAKE); $(unstage)
17226 @[ -f ./hello/Makefile ] || exit 0; \
17227 r=`${PWD_COMMAND}`; export r; \
17228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17229 $(HOST_EXPORTS) \
17230 for flag in $(EXTRA_HOST_FLAGS) ; do \
17231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17232 done; \
17233 echo "Doing clean in hello" ; \
17234 (cd $(HOST_SUBDIR)/hello && \
17235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17237 "RANLIB=$${RANLIB}" \
17238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17239 clean) \
17240 || exit 1
17242 @endif hello
17244 .PHONY: maybe-distclean-hello distclean-hello
17245 maybe-distclean-hello:
17246 @if hello
17247 maybe-distclean-hello: distclean-hello
17249 distclean-hello:
17250 @: $(MAKE); $(unstage)
17251 @[ -f ./hello/Makefile ] || exit 0; \
17252 r=`${PWD_COMMAND}`; export r; \
17253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17254 $(HOST_EXPORTS) \
17255 for flag in $(EXTRA_HOST_FLAGS) ; do \
17256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17257 done; \
17258 echo "Doing distclean in hello" ; \
17259 (cd $(HOST_SUBDIR)/hello && \
17260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17262 "RANLIB=$${RANLIB}" \
17263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17264 distclean) \
17265 || exit 1
17267 @endif hello
17269 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
17270 maybe-maintainer-clean-hello:
17271 @if hello
17272 maybe-maintainer-clean-hello: maintainer-clean-hello
17274 maintainer-clean-hello:
17275 @: $(MAKE); $(unstage)
17276 @[ -f ./hello/Makefile ] || exit 0; \
17277 r=`${PWD_COMMAND}`; export r; \
17278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 $(HOST_EXPORTS) \
17280 for flag in $(EXTRA_HOST_FLAGS) ; do \
17281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17282 done; \
17283 echo "Doing maintainer-clean in hello" ; \
17284 (cd $(HOST_SUBDIR)/hello && \
17285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17287 "RANLIB=$${RANLIB}" \
17288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17289 maintainer-clean) \
17290 || exit 1
17292 @endif hello
17296 .PHONY: configure-indent maybe-configure-indent
17297 maybe-configure-indent:
17298 @if gcc-bootstrap
17299 configure-indent: stage_current
17300 @endif gcc-bootstrap
17301 @if indent
17302 maybe-configure-indent: configure-indent
17303 configure-indent:
17304 @: $(MAKE); $(unstage)
17305 @r=`${PWD_COMMAND}`; export r; \
17306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17307 test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
17308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
17309 $(HOST_EXPORTS) \
17310 echo Configuring in $(HOST_SUBDIR)/indent; \
17311 cd "$(HOST_SUBDIR)/indent" || exit 1; \
17312 case $(srcdir) in \
17313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17314 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
17315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17316 esac; \
17317 srcdiroption="--srcdir=$${topdir}/indent"; \
17318 libsrcdir="$$s/indent"; \
17319 $(SHELL) $${libsrcdir}/configure \
17320 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17321 --target=${target_alias} $${srcdiroption} \
17322 || exit 1
17323 @endif indent
17329 .PHONY: all-indent maybe-all-indent
17330 maybe-all-indent:
17331 @if gcc-bootstrap
17332 all-indent: stage_current
17333 @endif gcc-bootstrap
17334 @if indent
17335 TARGET-indent=all
17336 maybe-all-indent: all-indent
17337 all-indent: configure-indent
17338 @: $(MAKE); $(unstage)
17339 @r=`${PWD_COMMAND}`; export r; \
17340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17341 $(HOST_EXPORTS) \
17342 (cd $(HOST_SUBDIR)/indent && \
17343 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
17344 @endif indent
17349 .PHONY: check-indent maybe-check-indent
17350 maybe-check-indent:
17351 @if indent
17352 maybe-check-indent: check-indent
17354 check-indent:
17355 @: $(MAKE); $(unstage)
17356 @r=`${PWD_COMMAND}`; export r; \
17357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17358 $(HOST_EXPORTS) \
17359 (cd $(HOST_SUBDIR)/indent && \
17360 $(MAKE) $(FLAGS_TO_PASS) check)
17362 @endif indent
17364 .PHONY: install-indent maybe-install-indent
17365 maybe-install-indent:
17366 @if indent
17367 maybe-install-indent: install-indent
17369 install-indent: installdirs
17370 @: $(MAKE); $(unstage)
17371 @r=`${PWD_COMMAND}`; export r; \
17372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17373 $(HOST_EXPORTS) \
17374 (cd $(HOST_SUBDIR)/indent && \
17375 $(MAKE) $(FLAGS_TO_PASS) install)
17377 @endif indent
17379 # Other targets (info, dvi, pdf, etc.)
17381 .PHONY: maybe-info-indent info-indent
17382 maybe-info-indent:
17383 @if indent
17384 maybe-info-indent: info-indent
17386 info-indent: \
17387 configure-indent
17388 @: $(MAKE); $(unstage)
17389 @[ -f ./indent/Makefile ] || exit 0; \
17390 r=`${PWD_COMMAND}`; export r; \
17391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17392 $(HOST_EXPORTS) \
17393 for flag in $(EXTRA_HOST_FLAGS) ; do \
17394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17395 done; \
17396 echo "Doing info in indent" ; \
17397 (cd $(HOST_SUBDIR)/indent && \
17398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17400 "RANLIB=$${RANLIB}" \
17401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17402 info) \
17403 || exit 1
17405 @endif indent
17407 .PHONY: maybe-dvi-indent dvi-indent
17408 maybe-dvi-indent:
17409 @if indent
17410 maybe-dvi-indent: dvi-indent
17412 dvi-indent: \
17413 configure-indent
17414 @: $(MAKE); $(unstage)
17415 @[ -f ./indent/Makefile ] || exit 0; \
17416 r=`${PWD_COMMAND}`; export r; \
17417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17418 $(HOST_EXPORTS) \
17419 for flag in $(EXTRA_HOST_FLAGS) ; do \
17420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17421 done; \
17422 echo "Doing dvi in indent" ; \
17423 (cd $(HOST_SUBDIR)/indent && \
17424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17426 "RANLIB=$${RANLIB}" \
17427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17428 dvi) \
17429 || exit 1
17431 @endif indent
17433 .PHONY: maybe-pdf-indent pdf-indent
17434 maybe-pdf-indent:
17435 @if indent
17436 maybe-pdf-indent: pdf-indent
17438 pdf-indent: \
17439 configure-indent
17440 @: $(MAKE); $(unstage)
17441 @[ -f ./indent/Makefile ] || exit 0; \
17442 r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 $(HOST_EXPORTS) \
17445 for flag in $(EXTRA_HOST_FLAGS) ; do \
17446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17447 done; \
17448 echo "Doing pdf in indent" ; \
17449 (cd $(HOST_SUBDIR)/indent && \
17450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17452 "RANLIB=$${RANLIB}" \
17453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17454 pdf) \
17455 || exit 1
17457 @endif indent
17459 .PHONY: maybe-html-indent html-indent
17460 maybe-html-indent:
17461 @if indent
17462 maybe-html-indent: html-indent
17464 html-indent: \
17465 configure-indent
17466 @: $(MAKE); $(unstage)
17467 @[ -f ./indent/Makefile ] || exit 0; \
17468 r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17470 $(HOST_EXPORTS) \
17471 for flag in $(EXTRA_HOST_FLAGS) ; do \
17472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17473 done; \
17474 echo "Doing html in indent" ; \
17475 (cd $(HOST_SUBDIR)/indent && \
17476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17478 "RANLIB=$${RANLIB}" \
17479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17480 html) \
17481 || exit 1
17483 @endif indent
17485 .PHONY: maybe-TAGS-indent TAGS-indent
17486 maybe-TAGS-indent:
17487 @if indent
17488 maybe-TAGS-indent: TAGS-indent
17490 TAGS-indent: \
17491 configure-indent
17492 @: $(MAKE); $(unstage)
17493 @[ -f ./indent/Makefile ] || exit 0; \
17494 r=`${PWD_COMMAND}`; export r; \
17495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17496 $(HOST_EXPORTS) \
17497 for flag in $(EXTRA_HOST_FLAGS) ; do \
17498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17499 done; \
17500 echo "Doing TAGS in indent" ; \
17501 (cd $(HOST_SUBDIR)/indent && \
17502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17504 "RANLIB=$${RANLIB}" \
17505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17506 TAGS) \
17507 || exit 1
17509 @endif indent
17511 .PHONY: maybe-install-info-indent install-info-indent
17512 maybe-install-info-indent:
17513 @if indent
17514 maybe-install-info-indent: install-info-indent
17516 install-info-indent: \
17517 configure-indent \
17518 info-indent
17519 @: $(MAKE); $(unstage)
17520 @[ -f ./indent/Makefile ] || exit 0; \
17521 r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17523 $(HOST_EXPORTS) \
17524 for flag in $(EXTRA_HOST_FLAGS) ; do \
17525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17526 done; \
17527 echo "Doing install-info in indent" ; \
17528 (cd $(HOST_SUBDIR)/indent && \
17529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17531 "RANLIB=$${RANLIB}" \
17532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17533 install-info) \
17534 || exit 1
17536 @endif indent
17538 .PHONY: maybe-install-html-indent install-html-indent
17539 maybe-install-html-indent:
17540 @if indent
17541 maybe-install-html-indent: install-html-indent
17543 install-html-indent: \
17544 configure-indent \
17545 html-indent
17546 @: $(MAKE); $(unstage)
17547 @[ -f ./indent/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 install-html in indent" ; \
17555 (cd $(HOST_SUBDIR)/indent && \
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 install-html) \
17561 || exit 1
17563 @endif indent
17565 .PHONY: maybe-installcheck-indent installcheck-indent
17566 maybe-installcheck-indent:
17567 @if indent
17568 maybe-installcheck-indent: installcheck-indent
17570 installcheck-indent: \
17571 configure-indent
17572 @: $(MAKE); $(unstage)
17573 @[ -f ./indent/Makefile ] || exit 0; \
17574 r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17576 $(HOST_EXPORTS) \
17577 for flag in $(EXTRA_HOST_FLAGS) ; do \
17578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17579 done; \
17580 echo "Doing installcheck in indent" ; \
17581 (cd $(HOST_SUBDIR)/indent && \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17584 "RANLIB=$${RANLIB}" \
17585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17586 installcheck) \
17587 || exit 1
17589 @endif indent
17591 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
17592 maybe-mostlyclean-indent:
17593 @if indent
17594 maybe-mostlyclean-indent: mostlyclean-indent
17596 mostlyclean-indent:
17597 @: $(MAKE); $(unstage)
17598 @[ -f ./indent/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17601 $(HOST_EXPORTS) \
17602 for flag in $(EXTRA_HOST_FLAGS) ; do \
17603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17604 done; \
17605 echo "Doing mostlyclean in indent" ; \
17606 (cd $(HOST_SUBDIR)/indent && \
17607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17609 "RANLIB=$${RANLIB}" \
17610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17611 mostlyclean) \
17612 || exit 1
17614 @endif indent
17616 .PHONY: maybe-clean-indent clean-indent
17617 maybe-clean-indent:
17618 @if indent
17619 maybe-clean-indent: clean-indent
17621 clean-indent:
17622 @: $(MAKE); $(unstage)
17623 @[ -f ./indent/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(HOST_EXPORTS) \
17627 for flag in $(EXTRA_HOST_FLAGS) ; do \
17628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17629 done; \
17630 echo "Doing clean in indent" ; \
17631 (cd $(HOST_SUBDIR)/indent && \
17632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634 "RANLIB=$${RANLIB}" \
17635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17636 clean) \
17637 || exit 1
17639 @endif indent
17641 .PHONY: maybe-distclean-indent distclean-indent
17642 maybe-distclean-indent:
17643 @if indent
17644 maybe-distclean-indent: distclean-indent
17646 distclean-indent:
17647 @: $(MAKE); $(unstage)
17648 @[ -f ./indent/Makefile ] || exit 0; \
17649 r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17651 $(HOST_EXPORTS) \
17652 for flag in $(EXTRA_HOST_FLAGS) ; do \
17653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17654 done; \
17655 echo "Doing distclean in indent" ; \
17656 (cd $(HOST_SUBDIR)/indent && \
17657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17659 "RANLIB=$${RANLIB}" \
17660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17661 distclean) \
17662 || exit 1
17664 @endif indent
17666 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
17667 maybe-maintainer-clean-indent:
17668 @if indent
17669 maybe-maintainer-clean-indent: maintainer-clean-indent
17671 maintainer-clean-indent:
17672 @: $(MAKE); $(unstage)
17673 @[ -f ./indent/Makefile ] || exit 0; \
17674 r=`${PWD_COMMAND}`; export r; \
17675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17676 $(HOST_EXPORTS) \
17677 for flag in $(EXTRA_HOST_FLAGS) ; do \
17678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17679 done; \
17680 echo "Doing maintainer-clean in indent" ; \
17681 (cd $(HOST_SUBDIR)/indent && \
17682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17684 "RANLIB=$${RANLIB}" \
17685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17686 maintainer-clean) \
17687 || exit 1
17689 @endif indent
17693 .PHONY: configure-intl maybe-configure-intl
17694 maybe-configure-intl:
17695 @if gcc-bootstrap
17696 configure-intl: stage_current
17697 @endif gcc-bootstrap
17698 @if intl
17699 maybe-configure-intl: configure-intl
17700 configure-intl:
17701 @r=`${PWD_COMMAND}`; export r; \
17702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17703 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17704 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17705 $(HOST_EXPORTS) \
17706 echo Configuring in $(HOST_SUBDIR)/intl; \
17707 cd "$(HOST_SUBDIR)/intl" || exit 1; \
17708 case $(srcdir) in \
17709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17710 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17712 esac; \
17713 srcdiroption="--srcdir=$${topdir}/intl"; \
17714 libsrcdir="$$s/intl"; \
17715 $(SHELL) $${libsrcdir}/configure \
17716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17717 --target=${target_alias} $${srcdiroption} \
17718 || exit 1
17719 @endif intl
17723 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
17724 maybe-configure-stage1-intl:
17725 @if intl-bootstrap
17726 maybe-configure-stage1-intl: configure-stage1-intl
17727 configure-stage1-intl:
17728 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17729 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17730 @r=`${PWD_COMMAND}`; export r; \
17731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17732 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17733 $(HOST_EXPORTS) \
17734 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17736 cd $(HOST_SUBDIR)/intl || exit 1; \
17737 case $(srcdir) in \
17738 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17739 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17740 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17741 esac; \
17742 srcdiroption="--srcdir=$${topdir}/intl"; \
17743 libsrcdir="$$s/intl"; \
17744 $(SHELL) $${libsrcdir}/configure \
17745 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17746 --target=${target_alias} $${srcdiroption} \
17748 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17749 @endif intl-bootstrap
17751 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17752 maybe-configure-stage2-intl:
17753 @if intl-bootstrap
17754 maybe-configure-stage2-intl: configure-stage2-intl
17755 configure-stage2-intl:
17756 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17757 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17758 @r=`${PWD_COMMAND}`; export r; \
17759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17760 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17761 $(HOST_EXPORTS) \
17762 $(POSTSTAGE1_HOST_EXPORTS) \
17763 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17765 cd $(HOST_SUBDIR)/intl || exit 1; \
17766 case $(srcdir) in \
17767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17768 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17770 esac; \
17771 srcdiroption="--srcdir=$${topdir}/intl"; \
17772 libsrcdir="$$s/intl"; \
17773 $(SHELL) $${libsrcdir}/configure \
17774 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17775 --target=${target_alias} $${srcdiroption} \
17776 --with-build-libsubdir=$(HOST_SUBDIR) \
17777 @stage2_werror_flag@
17778 @endif intl-bootstrap
17780 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17781 maybe-configure-stage3-intl:
17782 @if intl-bootstrap
17783 maybe-configure-stage3-intl: configure-stage3-intl
17784 configure-stage3-intl:
17785 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17786 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17787 @r=`${PWD_COMMAND}`; export r; \
17788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17790 $(HOST_EXPORTS) \
17791 $(POSTSTAGE1_HOST_EXPORTS) \
17792 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17794 cd $(HOST_SUBDIR)/intl || exit 1; \
17795 case $(srcdir) in \
17796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17797 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17799 esac; \
17800 srcdiroption="--srcdir=$${topdir}/intl"; \
17801 libsrcdir="$$s/intl"; \
17802 $(SHELL) $${libsrcdir}/configure \
17803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17804 --target=${target_alias} $${srcdiroption} \
17805 --with-build-libsubdir=$(HOST_SUBDIR) \
17806 @stage2_werror_flag@
17807 @endif intl-bootstrap
17809 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17810 maybe-configure-stage4-intl:
17811 @if intl-bootstrap
17812 maybe-configure-stage4-intl: configure-stage4-intl
17813 configure-stage4-intl:
17814 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17815 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17816 @r=`${PWD_COMMAND}`; export r; \
17817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17819 $(HOST_EXPORTS) \
17820 $(POSTSTAGE1_HOST_EXPORTS) \
17821 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17822 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17823 cd $(HOST_SUBDIR)/intl || exit 1; \
17824 case $(srcdir) in \
17825 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17826 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17827 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17828 esac; \
17829 srcdiroption="--srcdir=$${topdir}/intl"; \
17830 libsrcdir="$$s/intl"; \
17831 $(SHELL) $${libsrcdir}/configure \
17832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17833 --target=${target_alias} $${srcdiroption} \
17834 --with-build-libsubdir=$(HOST_SUBDIR) \
17835 @stage2_werror_flag@
17836 @endif intl-bootstrap
17838 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17839 maybe-configure-stageprofile-intl:
17840 @if intl-bootstrap
17841 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17842 configure-stageprofile-intl:
17843 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17845 @r=`${PWD_COMMAND}`; export r; \
17846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17847 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17848 $(HOST_EXPORTS) \
17849 $(POSTSTAGE1_HOST_EXPORTS) \
17850 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17852 cd $(HOST_SUBDIR)/intl || exit 1; \
17853 case $(srcdir) in \
17854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17855 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17857 esac; \
17858 srcdiroption="--srcdir=$${topdir}/intl"; \
17859 libsrcdir="$$s/intl"; \
17860 $(SHELL) $${libsrcdir}/configure \
17861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17862 --target=${target_alias} $${srcdiroption} \
17863 --with-build-libsubdir=$(HOST_SUBDIR) \
17864 @stage2_werror_flag@
17865 @endif intl-bootstrap
17867 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17868 maybe-configure-stagefeedback-intl:
17869 @if intl-bootstrap
17870 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17871 configure-stagefeedback-intl:
17872 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17874 @r=`${PWD_COMMAND}`; export r; \
17875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17876 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17877 $(HOST_EXPORTS) \
17878 $(POSTSTAGE1_HOST_EXPORTS) \
17879 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17881 cd $(HOST_SUBDIR)/intl || exit 1; \
17882 case $(srcdir) in \
17883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17884 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17886 esac; \
17887 srcdiroption="--srcdir=$${topdir}/intl"; \
17888 libsrcdir="$$s/intl"; \
17889 $(SHELL) $${libsrcdir}/configure \
17890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17891 --target=${target_alias} $${srcdiroption} \
17892 --with-build-libsubdir=$(HOST_SUBDIR) \
17893 @stage2_werror_flag@
17894 @endif intl-bootstrap
17900 .PHONY: all-intl maybe-all-intl
17901 maybe-all-intl:
17902 @if gcc-bootstrap
17903 all-intl: stage_current
17904 @endif gcc-bootstrap
17905 @if intl
17906 TARGET-intl=all
17907 maybe-all-intl: all-intl
17908 all-intl: configure-intl
17909 @r=`${PWD_COMMAND}`; export r; \
17910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17911 $(HOST_EXPORTS) \
17912 (cd $(HOST_SUBDIR)/intl && \
17913 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
17914 @endif intl
17918 .PHONY: all-stage1-intl maybe-all-stage1-intl
17919 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17920 maybe-all-stage1-intl:
17921 maybe-clean-stage1-intl:
17922 @if intl-bootstrap
17923 maybe-all-stage1-intl: all-stage1-intl
17924 all-stage1: all-stage1-intl
17925 TARGET-stage1-intl = $(TARGET-intl)
17926 all-stage1-intl: configure-stage1-intl
17927 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17928 @r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 $(HOST_EXPORTS) \
17931 cd $(HOST_SUBDIR)/intl && \
17932 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
17933 $(TARGET-stage1-intl)
17935 maybe-clean-stage1-intl: clean-stage1-intl
17936 clean-stage1: clean-stage1-intl
17937 clean-stage1-intl:
17938 @if [ $(current_stage) = stage1 ]; then \
17939 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17940 else \
17941 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17942 $(MAKE) stage1-start; \
17943 fi; \
17944 cd $(HOST_SUBDIR)/intl && \
17945 $(MAKE) $(FLAGS_TO_PASS) \
17946 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
17947 @endif intl-bootstrap
17950 .PHONY: all-stage2-intl maybe-all-stage2-intl
17951 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17952 maybe-all-stage2-intl:
17953 maybe-clean-stage2-intl:
17954 @if intl-bootstrap
17955 maybe-all-stage2-intl: all-stage2-intl
17956 all-stage2: all-stage2-intl
17957 TARGET-stage2-intl = $(TARGET-intl)
17958 all-stage2-intl: configure-stage2-intl
17959 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17960 @r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 $(HOST_EXPORTS) \
17963 $(POSTSTAGE1_HOST_EXPORTS) \
17964 cd $(HOST_SUBDIR)/intl && \
17965 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17966 $(TARGET-stage2-intl)
17968 maybe-clean-stage2-intl: clean-stage2-intl
17969 clean-stage2: clean-stage2-intl
17970 clean-stage2-intl:
17971 @if [ $(current_stage) = stage2 ]; then \
17972 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17973 else \
17974 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17975 $(MAKE) stage2-start; \
17976 fi; \
17977 cd $(HOST_SUBDIR)/intl && \
17978 $(MAKE) $(FLAGS_TO_PASS) \
17979 $(POSTSTAGE1_FLAGS_TO_PASS) \
17980 clean
17981 @endif intl-bootstrap
17984 .PHONY: all-stage3-intl maybe-all-stage3-intl
17985 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17986 maybe-all-stage3-intl:
17987 maybe-clean-stage3-intl:
17988 @if intl-bootstrap
17989 maybe-all-stage3-intl: all-stage3-intl
17990 all-stage3: all-stage3-intl
17991 TARGET-stage3-intl = $(TARGET-intl)
17992 all-stage3-intl: configure-stage3-intl
17993 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17994 @r=`${PWD_COMMAND}`; export r; \
17995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17996 $(HOST_EXPORTS) \
17997 $(POSTSTAGE1_HOST_EXPORTS) \
17998 cd $(HOST_SUBDIR)/intl && \
17999 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18000 $(TARGET-stage3-intl)
18002 maybe-clean-stage3-intl: clean-stage3-intl
18003 clean-stage3: clean-stage3-intl
18004 clean-stage3-intl:
18005 @if [ $(current_stage) = stage3 ]; then \
18006 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18007 else \
18008 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
18009 $(MAKE) stage3-start; \
18010 fi; \
18011 cd $(HOST_SUBDIR)/intl && \
18012 $(MAKE) $(FLAGS_TO_PASS) \
18013 $(POSTSTAGE1_FLAGS_TO_PASS) \
18014 clean
18015 @endif intl-bootstrap
18018 .PHONY: all-stage4-intl maybe-all-stage4-intl
18019 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
18020 maybe-all-stage4-intl:
18021 maybe-clean-stage4-intl:
18022 @if intl-bootstrap
18023 maybe-all-stage4-intl: all-stage4-intl
18024 all-stage4: all-stage4-intl
18025 TARGET-stage4-intl = $(TARGET-intl)
18026 all-stage4-intl: configure-stage4-intl
18027 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18028 @r=`${PWD_COMMAND}`; export r; \
18029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18030 $(HOST_EXPORTS) \
18031 $(POSTSTAGE1_HOST_EXPORTS) \
18032 cd $(HOST_SUBDIR)/intl && \
18033 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18034 $(TARGET-stage4-intl)
18036 maybe-clean-stage4-intl: clean-stage4-intl
18037 clean-stage4: clean-stage4-intl
18038 clean-stage4-intl:
18039 @if [ $(current_stage) = stage4 ]; then \
18040 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18041 else \
18042 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
18043 $(MAKE) stage4-start; \
18044 fi; \
18045 cd $(HOST_SUBDIR)/intl && \
18046 $(MAKE) $(FLAGS_TO_PASS) \
18047 $(POSTSTAGE1_FLAGS_TO_PASS) \
18048 clean
18049 @endif intl-bootstrap
18052 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
18053 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
18054 maybe-all-stageprofile-intl:
18055 maybe-clean-stageprofile-intl:
18056 @if intl-bootstrap
18057 maybe-all-stageprofile-intl: all-stageprofile-intl
18058 all-stageprofile: all-stageprofile-intl
18059 TARGET-stageprofile-intl = $(TARGET-intl)
18060 all-stageprofile-intl: configure-stageprofile-intl
18061 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18062 @r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064 $(HOST_EXPORTS) \
18065 $(POSTSTAGE1_HOST_EXPORTS) \
18066 cd $(HOST_SUBDIR)/intl && \
18067 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18068 $(TARGET-stageprofile-intl)
18070 maybe-clean-stageprofile-intl: clean-stageprofile-intl
18071 clean-stageprofile: clean-stageprofile-intl
18072 clean-stageprofile-intl:
18073 @if [ $(current_stage) = stageprofile ]; then \
18074 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18075 else \
18076 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
18077 $(MAKE) stageprofile-start; \
18078 fi; \
18079 cd $(HOST_SUBDIR)/intl && \
18080 $(MAKE) $(FLAGS_TO_PASS) \
18081 $(POSTSTAGE1_FLAGS_TO_PASS) \
18082 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18083 @endif intl-bootstrap
18086 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
18087 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
18088 maybe-all-stagefeedback-intl:
18089 maybe-clean-stagefeedback-intl:
18090 @if intl-bootstrap
18091 maybe-all-stagefeedback-intl: all-stagefeedback-intl
18092 all-stagefeedback: all-stagefeedback-intl
18093 TARGET-stagefeedback-intl = $(TARGET-intl)
18094 all-stagefeedback-intl: configure-stagefeedback-intl
18095 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18096 @r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 $(HOST_EXPORTS) \
18099 $(POSTSTAGE1_HOST_EXPORTS) \
18100 cd $(HOST_SUBDIR)/intl && \
18101 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18102 $(TARGET-stagefeedback-intl)
18104 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
18105 clean-stagefeedback: clean-stagefeedback-intl
18106 clean-stagefeedback-intl:
18107 @if [ $(current_stage) = stagefeedback ]; then \
18108 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
18109 else \
18110 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
18111 $(MAKE) stagefeedback-start; \
18112 fi; \
18113 cd $(HOST_SUBDIR)/intl && \
18114 $(MAKE) $(FLAGS_TO_PASS) \
18115 $(POSTSTAGE1_FLAGS_TO_PASS) \
18116 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18117 @endif intl-bootstrap
18123 .PHONY: check-intl maybe-check-intl
18124 maybe-check-intl:
18125 @if intl
18126 maybe-check-intl: check-intl
18128 check-intl:
18129 @: $(MAKE); $(unstage)
18130 @r=`${PWD_COMMAND}`; export r; \
18131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18132 $(HOST_EXPORTS) \
18133 (cd $(HOST_SUBDIR)/intl && \
18134 $(MAKE) $(FLAGS_TO_PASS) check)
18136 @endif intl
18138 .PHONY: install-intl maybe-install-intl
18139 maybe-install-intl:
18140 @if intl
18141 maybe-install-intl: install-intl
18143 install-intl: installdirs
18144 @: $(MAKE); $(unstage)
18145 @r=`${PWD_COMMAND}`; export r; \
18146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18147 $(HOST_EXPORTS) \
18148 (cd $(HOST_SUBDIR)/intl && \
18149 $(MAKE) $(FLAGS_TO_PASS) install)
18151 @endif intl
18153 # Other targets (info, dvi, pdf, etc.)
18155 .PHONY: maybe-info-intl info-intl
18156 maybe-info-intl:
18157 @if intl
18158 maybe-info-intl: info-intl
18160 info-intl: \
18161 configure-intl
18162 @[ -f ./intl/Makefile ] || exit 0; \
18163 r=`${PWD_COMMAND}`; export r; \
18164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 $(HOST_EXPORTS) \
18166 for flag in $(EXTRA_HOST_FLAGS) ; do \
18167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18168 done; \
18169 echo "Doing info in intl" ; \
18170 (cd $(HOST_SUBDIR)/intl && \
18171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18173 "RANLIB=$${RANLIB}" \
18174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18175 info) \
18176 || exit 1
18178 @endif intl
18180 .PHONY: maybe-dvi-intl dvi-intl
18181 maybe-dvi-intl:
18182 @if intl
18183 maybe-dvi-intl: dvi-intl
18185 dvi-intl: \
18186 configure-intl
18187 @[ -f ./intl/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18190 $(HOST_EXPORTS) \
18191 for flag in $(EXTRA_HOST_FLAGS) ; do \
18192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18193 done; \
18194 echo "Doing dvi in intl" ; \
18195 (cd $(HOST_SUBDIR)/intl && \
18196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18198 "RANLIB=$${RANLIB}" \
18199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18200 dvi) \
18201 || exit 1
18203 @endif intl
18205 .PHONY: maybe-pdf-intl pdf-intl
18206 maybe-pdf-intl:
18207 @if intl
18208 maybe-pdf-intl: pdf-intl
18210 pdf-intl: \
18211 configure-intl
18212 @[ -f ./intl/Makefile ] || exit 0; \
18213 r=`${PWD_COMMAND}`; export r; \
18214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18215 $(HOST_EXPORTS) \
18216 for flag in $(EXTRA_HOST_FLAGS) ; do \
18217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18218 done; \
18219 echo "Doing pdf in intl" ; \
18220 (cd $(HOST_SUBDIR)/intl && \
18221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18223 "RANLIB=$${RANLIB}" \
18224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18225 pdf) \
18226 || exit 1
18228 @endif intl
18230 .PHONY: maybe-html-intl html-intl
18231 maybe-html-intl:
18232 @if intl
18233 maybe-html-intl: html-intl
18235 html-intl: \
18236 configure-intl
18237 @[ -f ./intl/Makefile ] || exit 0; \
18238 r=`${PWD_COMMAND}`; export r; \
18239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18240 $(HOST_EXPORTS) \
18241 for flag in $(EXTRA_HOST_FLAGS) ; do \
18242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18243 done; \
18244 echo "Doing html in intl" ; \
18245 (cd $(HOST_SUBDIR)/intl && \
18246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18248 "RANLIB=$${RANLIB}" \
18249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18250 html) \
18251 || exit 1
18253 @endif intl
18255 .PHONY: maybe-TAGS-intl TAGS-intl
18256 maybe-TAGS-intl:
18257 @if intl
18258 maybe-TAGS-intl: TAGS-intl
18260 TAGS-intl: \
18261 configure-intl
18262 @[ -f ./intl/Makefile ] || exit 0; \
18263 r=`${PWD_COMMAND}`; export r; \
18264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18265 $(HOST_EXPORTS) \
18266 for flag in $(EXTRA_HOST_FLAGS) ; do \
18267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18268 done; \
18269 echo "Doing TAGS in intl" ; \
18270 (cd $(HOST_SUBDIR)/intl && \
18271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18273 "RANLIB=$${RANLIB}" \
18274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18275 TAGS) \
18276 || exit 1
18278 @endif intl
18280 .PHONY: maybe-install-info-intl install-info-intl
18281 maybe-install-info-intl:
18282 @if intl
18283 maybe-install-info-intl: install-info-intl
18285 install-info-intl: \
18286 configure-intl \
18287 info-intl
18288 @[ -f ./intl/Makefile ] || exit 0; \
18289 r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 $(HOST_EXPORTS) \
18292 for flag in $(EXTRA_HOST_FLAGS) ; do \
18293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18294 done; \
18295 echo "Doing install-info in intl" ; \
18296 (cd $(HOST_SUBDIR)/intl && \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18299 "RANLIB=$${RANLIB}" \
18300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18301 install-info) \
18302 || exit 1
18304 @endif intl
18306 .PHONY: maybe-install-html-intl install-html-intl
18307 maybe-install-html-intl:
18308 @if intl
18309 maybe-install-html-intl: install-html-intl
18311 install-html-intl: \
18312 configure-intl \
18313 html-intl
18314 @[ -f ./intl/Makefile ] || exit 0; \
18315 r=`${PWD_COMMAND}`; export r; \
18316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18317 $(HOST_EXPORTS) \
18318 for flag in $(EXTRA_HOST_FLAGS) ; do \
18319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18320 done; \
18321 echo "Doing install-html in intl" ; \
18322 (cd $(HOST_SUBDIR)/intl && \
18323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18325 "RANLIB=$${RANLIB}" \
18326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18327 install-html) \
18328 || exit 1
18330 @endif intl
18332 .PHONY: maybe-installcheck-intl installcheck-intl
18333 maybe-installcheck-intl:
18334 @if intl
18335 maybe-installcheck-intl: installcheck-intl
18337 installcheck-intl: \
18338 configure-intl
18339 @[ -f ./intl/Makefile ] || exit 0; \
18340 r=`${PWD_COMMAND}`; export r; \
18341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 $(HOST_EXPORTS) \
18343 for flag in $(EXTRA_HOST_FLAGS) ; do \
18344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18345 done; \
18346 echo "Doing installcheck in intl" ; \
18347 (cd $(HOST_SUBDIR)/intl && \
18348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18350 "RANLIB=$${RANLIB}" \
18351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18352 installcheck) \
18353 || exit 1
18355 @endif intl
18357 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
18358 maybe-mostlyclean-intl:
18359 @if intl
18360 maybe-mostlyclean-intl: mostlyclean-intl
18362 mostlyclean-intl:
18363 @[ -f ./intl/Makefile ] || exit 0; \
18364 r=`${PWD_COMMAND}`; export r; \
18365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18366 $(HOST_EXPORTS) \
18367 for flag in $(EXTRA_HOST_FLAGS) ; do \
18368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18369 done; \
18370 echo "Doing mostlyclean in intl" ; \
18371 (cd $(HOST_SUBDIR)/intl && \
18372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18374 "RANLIB=$${RANLIB}" \
18375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18376 mostlyclean) \
18377 || exit 1
18379 @endif intl
18381 .PHONY: maybe-clean-intl clean-intl
18382 maybe-clean-intl:
18383 @if intl
18384 maybe-clean-intl: clean-intl
18386 clean-intl:
18387 @[ -f ./intl/Makefile ] || exit 0; \
18388 r=`${PWD_COMMAND}`; export r; \
18389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18390 $(HOST_EXPORTS) \
18391 for flag in $(EXTRA_HOST_FLAGS) ; do \
18392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18393 done; \
18394 echo "Doing clean in intl" ; \
18395 (cd $(HOST_SUBDIR)/intl && \
18396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18398 "RANLIB=$${RANLIB}" \
18399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18400 clean) \
18401 || exit 1
18403 @endif intl
18405 .PHONY: maybe-distclean-intl distclean-intl
18406 maybe-distclean-intl:
18407 @if intl
18408 maybe-distclean-intl: distclean-intl
18410 distclean-intl:
18411 @[ -f ./intl/Makefile ] || exit 0; \
18412 r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18414 $(HOST_EXPORTS) \
18415 for flag in $(EXTRA_HOST_FLAGS) ; do \
18416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18417 done; \
18418 echo "Doing distclean in intl" ; \
18419 (cd $(HOST_SUBDIR)/intl && \
18420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18422 "RANLIB=$${RANLIB}" \
18423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18424 distclean) \
18425 || exit 1
18427 @endif intl
18429 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
18430 maybe-maintainer-clean-intl:
18431 @if intl
18432 maybe-maintainer-clean-intl: maintainer-clean-intl
18434 maintainer-clean-intl:
18435 @[ -f ./intl/Makefile ] || exit 0; \
18436 r=`${PWD_COMMAND}`; export r; \
18437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18438 $(HOST_EXPORTS) \
18439 for flag in $(EXTRA_HOST_FLAGS) ; do \
18440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18441 done; \
18442 echo "Doing maintainer-clean in intl" ; \
18443 (cd $(HOST_SUBDIR)/intl && \
18444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18446 "RANLIB=$${RANLIB}" \
18447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18448 maintainer-clean) \
18449 || exit 1
18451 @endif intl
18455 .PHONY: configure-tcl maybe-configure-tcl
18456 maybe-configure-tcl:
18457 @if gcc-bootstrap
18458 configure-tcl: stage_current
18459 @endif gcc-bootstrap
18460 @if tcl
18461 maybe-configure-tcl: configure-tcl
18462 configure-tcl:
18463 @: $(MAKE); $(unstage)
18464 @r=`${PWD_COMMAND}`; export r; \
18465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18466 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
18467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
18468 $(HOST_EXPORTS) \
18469 echo Configuring in $(HOST_SUBDIR)/tcl; \
18470 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
18471 case $(srcdir) in \
18472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18473 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
18474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18475 esac; \
18476 srcdiroption="--srcdir=$${topdir}/tcl"; \
18477 libsrcdir="$$s/tcl"; \
18478 $(SHELL) $${libsrcdir}/configure \
18479 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18480 --target=${target_alias} $${srcdiroption} \
18481 || exit 1
18482 @endif tcl
18488 .PHONY: all-tcl maybe-all-tcl
18489 maybe-all-tcl:
18490 @if gcc-bootstrap
18491 all-tcl: stage_current
18492 @endif gcc-bootstrap
18493 @if tcl
18494 TARGET-tcl=all
18495 maybe-all-tcl: all-tcl
18496 all-tcl: configure-tcl
18497 @: $(MAKE); $(unstage)
18498 @r=`${PWD_COMMAND}`; export r; \
18499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18500 $(HOST_EXPORTS) \
18501 (cd $(HOST_SUBDIR)/tcl && \
18502 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
18503 @endif tcl
18508 .PHONY: check-tcl maybe-check-tcl
18509 maybe-check-tcl:
18510 @if tcl
18511 maybe-check-tcl: check-tcl
18513 check-tcl:
18514 @: $(MAKE); $(unstage)
18515 @r=`${PWD_COMMAND}`; export r; \
18516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 $(HOST_EXPORTS) \
18518 (cd $(HOST_SUBDIR)/tcl && \
18519 $(MAKE) $(FLAGS_TO_PASS) check)
18521 @endif tcl
18523 .PHONY: install-tcl maybe-install-tcl
18524 maybe-install-tcl:
18525 @if tcl
18526 maybe-install-tcl: install-tcl
18528 install-tcl: installdirs
18529 @: $(MAKE); $(unstage)
18530 @r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 $(HOST_EXPORTS) \
18533 (cd $(HOST_SUBDIR)/tcl && \
18534 $(MAKE) $(FLAGS_TO_PASS) install)
18536 @endif tcl
18538 # Other targets (info, dvi, pdf, etc.)
18540 .PHONY: maybe-info-tcl info-tcl
18541 maybe-info-tcl:
18542 @if tcl
18543 maybe-info-tcl: info-tcl
18545 info-tcl: \
18546 configure-tcl
18547 @: $(MAKE); $(unstage)
18548 @[ -f ./tcl/Makefile ] || exit 0; \
18549 r=`${PWD_COMMAND}`; export r; \
18550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18551 $(HOST_EXPORTS) \
18552 for flag in $(EXTRA_HOST_FLAGS) ; do \
18553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18554 done; \
18555 echo "Doing info in tcl" ; \
18556 (cd $(HOST_SUBDIR)/tcl && \
18557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18559 "RANLIB=$${RANLIB}" \
18560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18561 info) \
18562 || exit 1
18564 @endif tcl
18566 .PHONY: maybe-dvi-tcl dvi-tcl
18567 maybe-dvi-tcl:
18568 @if tcl
18569 maybe-dvi-tcl: dvi-tcl
18571 dvi-tcl: \
18572 configure-tcl
18573 @: $(MAKE); $(unstage)
18574 @[ -f ./tcl/Makefile ] || exit 0; \
18575 r=`${PWD_COMMAND}`; export r; \
18576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18577 $(HOST_EXPORTS) \
18578 for flag in $(EXTRA_HOST_FLAGS) ; do \
18579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18580 done; \
18581 echo "Doing dvi in tcl" ; \
18582 (cd $(HOST_SUBDIR)/tcl && \
18583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18585 "RANLIB=$${RANLIB}" \
18586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18587 dvi) \
18588 || exit 1
18590 @endif tcl
18592 .PHONY: maybe-pdf-tcl pdf-tcl
18593 maybe-pdf-tcl:
18594 @if tcl
18595 maybe-pdf-tcl: pdf-tcl
18597 pdf-tcl: \
18598 configure-tcl
18599 @: $(MAKE); $(unstage)
18600 @[ -f ./tcl/Makefile ] || exit 0; \
18601 r=`${PWD_COMMAND}`; export r; \
18602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18603 $(HOST_EXPORTS) \
18604 for flag in $(EXTRA_HOST_FLAGS) ; do \
18605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18606 done; \
18607 echo "Doing pdf in tcl" ; \
18608 (cd $(HOST_SUBDIR)/tcl && \
18609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18611 "RANLIB=$${RANLIB}" \
18612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18613 pdf) \
18614 || exit 1
18616 @endif tcl
18618 .PHONY: maybe-html-tcl html-tcl
18619 maybe-html-tcl:
18620 @if tcl
18621 maybe-html-tcl: html-tcl
18623 html-tcl: \
18624 configure-tcl
18625 @: $(MAKE); $(unstage)
18626 @[ -f ./tcl/Makefile ] || exit 0; \
18627 r=`${PWD_COMMAND}`; export r; \
18628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18629 $(HOST_EXPORTS) \
18630 for flag in $(EXTRA_HOST_FLAGS) ; do \
18631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18632 done; \
18633 echo "Doing html in tcl" ; \
18634 (cd $(HOST_SUBDIR)/tcl && \
18635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18637 "RANLIB=$${RANLIB}" \
18638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18639 html) \
18640 || exit 1
18642 @endif tcl
18644 .PHONY: maybe-TAGS-tcl TAGS-tcl
18645 maybe-TAGS-tcl:
18646 @if tcl
18647 maybe-TAGS-tcl: TAGS-tcl
18649 TAGS-tcl: \
18650 configure-tcl
18651 @: $(MAKE); $(unstage)
18652 @[ -f ./tcl/Makefile ] || exit 0; \
18653 r=`${PWD_COMMAND}`; export r; \
18654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18655 $(HOST_EXPORTS) \
18656 for flag in $(EXTRA_HOST_FLAGS) ; do \
18657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18658 done; \
18659 echo "Doing TAGS in tcl" ; \
18660 (cd $(HOST_SUBDIR)/tcl && \
18661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18663 "RANLIB=$${RANLIB}" \
18664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18665 TAGS) \
18666 || exit 1
18668 @endif tcl
18670 .PHONY: maybe-install-info-tcl install-info-tcl
18671 maybe-install-info-tcl:
18672 @if tcl
18673 maybe-install-info-tcl: install-info-tcl
18675 install-info-tcl: \
18676 configure-tcl \
18677 info-tcl
18678 @: $(MAKE); $(unstage)
18679 @[ -f ./tcl/Makefile ] || exit 0; \
18680 r=`${PWD_COMMAND}`; export r; \
18681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18682 $(HOST_EXPORTS) \
18683 for flag in $(EXTRA_HOST_FLAGS) ; do \
18684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18685 done; \
18686 echo "Doing install-info in tcl" ; \
18687 (cd $(HOST_SUBDIR)/tcl && \
18688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690 "RANLIB=$${RANLIB}" \
18691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18692 install-info) \
18693 || exit 1
18695 @endif tcl
18697 .PHONY: maybe-install-html-tcl install-html-tcl
18698 maybe-install-html-tcl:
18699 @if tcl
18700 maybe-install-html-tcl: install-html-tcl
18702 install-html-tcl: \
18703 configure-tcl \
18704 html-tcl
18705 @: $(MAKE); $(unstage)
18706 @[ -f ./tcl/Makefile ] || exit 0; \
18707 r=`${PWD_COMMAND}`; export r; \
18708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18709 $(HOST_EXPORTS) \
18710 for flag in $(EXTRA_HOST_FLAGS) ; do \
18711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18712 done; \
18713 echo "Doing install-html in tcl" ; \
18714 (cd $(HOST_SUBDIR)/tcl && \
18715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18717 "RANLIB=$${RANLIB}" \
18718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18719 install-html) \
18720 || exit 1
18722 @endif tcl
18724 .PHONY: maybe-installcheck-tcl installcheck-tcl
18725 maybe-installcheck-tcl:
18726 @if tcl
18727 maybe-installcheck-tcl: installcheck-tcl
18729 installcheck-tcl: \
18730 configure-tcl
18731 @: $(MAKE); $(unstage)
18732 @[ -f ./tcl/Makefile ] || exit 0; \
18733 r=`${PWD_COMMAND}`; export r; \
18734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18735 $(HOST_EXPORTS) \
18736 for flag in $(EXTRA_HOST_FLAGS) ; do \
18737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18738 done; \
18739 echo "Doing installcheck in tcl" ; \
18740 (cd $(HOST_SUBDIR)/tcl && \
18741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18743 "RANLIB=$${RANLIB}" \
18744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18745 installcheck) \
18746 || exit 1
18748 @endif tcl
18750 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18751 maybe-mostlyclean-tcl:
18752 @if tcl
18753 maybe-mostlyclean-tcl: mostlyclean-tcl
18755 # tcl doesn't support mostlyclean.
18756 mostlyclean-tcl:
18758 @endif tcl
18760 .PHONY: maybe-clean-tcl clean-tcl
18761 maybe-clean-tcl:
18762 @if tcl
18763 maybe-clean-tcl: clean-tcl
18765 clean-tcl:
18766 @: $(MAKE); $(unstage)
18767 @[ -f ./tcl/Makefile ] || exit 0; \
18768 r=`${PWD_COMMAND}`; export r; \
18769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18770 $(HOST_EXPORTS) \
18771 for flag in $(EXTRA_HOST_FLAGS) ; do \
18772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18773 done; \
18774 echo "Doing clean in tcl" ; \
18775 (cd $(HOST_SUBDIR)/tcl && \
18776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18778 "RANLIB=$${RANLIB}" \
18779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18780 clean) \
18781 || exit 1
18783 @endif tcl
18785 .PHONY: maybe-distclean-tcl distclean-tcl
18786 maybe-distclean-tcl:
18787 @if tcl
18788 maybe-distclean-tcl: distclean-tcl
18790 distclean-tcl:
18791 @: $(MAKE); $(unstage)
18792 @[ -f ./tcl/Makefile ] || exit 0; \
18793 r=`${PWD_COMMAND}`; export r; \
18794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18795 $(HOST_EXPORTS) \
18796 for flag in $(EXTRA_HOST_FLAGS) ; do \
18797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18798 done; \
18799 echo "Doing distclean in tcl" ; \
18800 (cd $(HOST_SUBDIR)/tcl && \
18801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18803 "RANLIB=$${RANLIB}" \
18804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18805 distclean) \
18806 || exit 1
18808 @endif tcl
18810 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18811 maybe-maintainer-clean-tcl:
18812 @if tcl
18813 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18815 maintainer-clean-tcl:
18816 @: $(MAKE); $(unstage)
18817 @[ -f ./tcl/Makefile ] || exit 0; \
18818 r=`${PWD_COMMAND}`; export r; \
18819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18820 $(HOST_EXPORTS) \
18821 for flag in $(EXTRA_HOST_FLAGS) ; do \
18822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18823 done; \
18824 echo "Doing maintainer-clean in tcl" ; \
18825 (cd $(HOST_SUBDIR)/tcl && \
18826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18828 "RANLIB=$${RANLIB}" \
18829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18830 maintainer-clean) \
18831 || exit 1
18833 @endif tcl
18837 .PHONY: configure-itcl maybe-configure-itcl
18838 maybe-configure-itcl:
18839 @if gcc-bootstrap
18840 configure-itcl: stage_current
18841 @endif gcc-bootstrap
18842 @if itcl
18843 maybe-configure-itcl: configure-itcl
18844 configure-itcl:
18845 @: $(MAKE); $(unstage)
18846 @r=`${PWD_COMMAND}`; export r; \
18847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18848 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18850 $(HOST_EXPORTS) \
18851 echo Configuring in $(HOST_SUBDIR)/itcl; \
18852 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18853 case $(srcdir) in \
18854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18855 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18857 esac; \
18858 srcdiroption="--srcdir=$${topdir}/itcl"; \
18859 libsrcdir="$$s/itcl"; \
18860 $(SHELL) $${libsrcdir}/configure \
18861 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18862 --target=${target_alias} $${srcdiroption} \
18863 || exit 1
18864 @endif itcl
18870 .PHONY: all-itcl maybe-all-itcl
18871 maybe-all-itcl:
18872 @if gcc-bootstrap
18873 all-itcl: stage_current
18874 @endif gcc-bootstrap
18875 @if itcl
18876 TARGET-itcl=all
18877 maybe-all-itcl: all-itcl
18878 all-itcl: configure-itcl
18879 @: $(MAKE); $(unstage)
18880 @r=`${PWD_COMMAND}`; export r; \
18881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18882 $(HOST_EXPORTS) \
18883 (cd $(HOST_SUBDIR)/itcl && \
18884 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
18885 @endif itcl
18890 .PHONY: check-itcl maybe-check-itcl
18891 maybe-check-itcl:
18892 @if itcl
18893 maybe-check-itcl: check-itcl
18895 check-itcl:
18896 @: $(MAKE); $(unstage)
18897 @r=`${PWD_COMMAND}`; export r; \
18898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18899 $(HOST_EXPORTS) \
18900 (cd $(HOST_SUBDIR)/itcl && \
18901 $(MAKE) $(FLAGS_TO_PASS) check)
18903 @endif itcl
18905 .PHONY: install-itcl maybe-install-itcl
18906 maybe-install-itcl:
18907 @if itcl
18908 maybe-install-itcl: install-itcl
18910 install-itcl: installdirs
18911 @: $(MAKE); $(unstage)
18912 @r=`${PWD_COMMAND}`; export r; \
18913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18914 $(HOST_EXPORTS) \
18915 (cd $(HOST_SUBDIR)/itcl && \
18916 $(MAKE) $(FLAGS_TO_PASS) install)
18918 @endif itcl
18920 # Other targets (info, dvi, pdf, etc.)
18922 .PHONY: maybe-info-itcl info-itcl
18923 maybe-info-itcl:
18924 @if itcl
18925 maybe-info-itcl: info-itcl
18927 info-itcl: \
18928 configure-itcl
18929 @: $(MAKE); $(unstage)
18930 @[ -f ./itcl/Makefile ] || exit 0; \
18931 r=`${PWD_COMMAND}`; export r; \
18932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18933 $(HOST_EXPORTS) \
18934 for flag in $(EXTRA_HOST_FLAGS) ; do \
18935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18936 done; \
18937 echo "Doing info in itcl" ; \
18938 (cd $(HOST_SUBDIR)/itcl && \
18939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18941 "RANLIB=$${RANLIB}" \
18942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18943 info) \
18944 || exit 1
18946 @endif itcl
18948 .PHONY: maybe-dvi-itcl dvi-itcl
18949 maybe-dvi-itcl:
18950 @if itcl
18951 maybe-dvi-itcl: dvi-itcl
18953 dvi-itcl: \
18954 configure-itcl
18955 @: $(MAKE); $(unstage)
18956 @[ -f ./itcl/Makefile ] || exit 0; \
18957 r=`${PWD_COMMAND}`; export r; \
18958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18959 $(HOST_EXPORTS) \
18960 for flag in $(EXTRA_HOST_FLAGS) ; do \
18961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18962 done; \
18963 echo "Doing dvi in itcl" ; \
18964 (cd $(HOST_SUBDIR)/itcl && \
18965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18967 "RANLIB=$${RANLIB}" \
18968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18969 dvi) \
18970 || exit 1
18972 @endif itcl
18974 .PHONY: maybe-pdf-itcl pdf-itcl
18975 maybe-pdf-itcl:
18976 @if itcl
18977 maybe-pdf-itcl: pdf-itcl
18979 pdf-itcl: \
18980 configure-itcl
18981 @: $(MAKE); $(unstage)
18982 @[ -f ./itcl/Makefile ] || exit 0; \
18983 r=`${PWD_COMMAND}`; export r; \
18984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18985 $(HOST_EXPORTS) \
18986 for flag in $(EXTRA_HOST_FLAGS) ; do \
18987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18988 done; \
18989 echo "Doing pdf in itcl" ; \
18990 (cd $(HOST_SUBDIR)/itcl && \
18991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18993 "RANLIB=$${RANLIB}" \
18994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18995 pdf) \
18996 || exit 1
18998 @endif itcl
19000 .PHONY: maybe-html-itcl html-itcl
19001 maybe-html-itcl:
19002 @if itcl
19003 maybe-html-itcl: html-itcl
19005 html-itcl: \
19006 configure-itcl
19007 @: $(MAKE); $(unstage)
19008 @[ -f ./itcl/Makefile ] || exit 0; \
19009 r=`${PWD_COMMAND}`; export r; \
19010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19011 $(HOST_EXPORTS) \
19012 for flag in $(EXTRA_HOST_FLAGS) ; do \
19013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19014 done; \
19015 echo "Doing html in itcl" ; \
19016 (cd $(HOST_SUBDIR)/itcl && \
19017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19019 "RANLIB=$${RANLIB}" \
19020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19021 html) \
19022 || exit 1
19024 @endif itcl
19026 .PHONY: maybe-TAGS-itcl TAGS-itcl
19027 maybe-TAGS-itcl:
19028 @if itcl
19029 maybe-TAGS-itcl: TAGS-itcl
19031 TAGS-itcl: \
19032 configure-itcl
19033 @: $(MAKE); $(unstage)
19034 @[ -f ./itcl/Makefile ] || exit 0; \
19035 r=`${PWD_COMMAND}`; export r; \
19036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19037 $(HOST_EXPORTS) \
19038 for flag in $(EXTRA_HOST_FLAGS) ; do \
19039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19040 done; \
19041 echo "Doing TAGS in itcl" ; \
19042 (cd $(HOST_SUBDIR)/itcl && \
19043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19045 "RANLIB=$${RANLIB}" \
19046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19047 TAGS) \
19048 || exit 1
19050 @endif itcl
19052 .PHONY: maybe-install-info-itcl install-info-itcl
19053 maybe-install-info-itcl:
19054 @if itcl
19055 maybe-install-info-itcl: install-info-itcl
19057 install-info-itcl: \
19058 configure-itcl \
19059 info-itcl
19060 @: $(MAKE); $(unstage)
19061 @[ -f ./itcl/Makefile ] || exit 0; \
19062 r=`${PWD_COMMAND}`; export r; \
19063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19064 $(HOST_EXPORTS) \
19065 for flag in $(EXTRA_HOST_FLAGS) ; do \
19066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19067 done; \
19068 echo "Doing install-info in itcl" ; \
19069 (cd $(HOST_SUBDIR)/itcl && \
19070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19072 "RANLIB=$${RANLIB}" \
19073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19074 install-info) \
19075 || exit 1
19077 @endif itcl
19079 .PHONY: maybe-install-html-itcl install-html-itcl
19080 maybe-install-html-itcl:
19081 @if itcl
19082 maybe-install-html-itcl: install-html-itcl
19084 install-html-itcl: \
19085 configure-itcl \
19086 html-itcl
19087 @: $(MAKE); $(unstage)
19088 @[ -f ./itcl/Makefile ] || exit 0; \
19089 r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 $(HOST_EXPORTS) \
19092 for flag in $(EXTRA_HOST_FLAGS) ; do \
19093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19094 done; \
19095 echo "Doing install-html in itcl" ; \
19096 (cd $(HOST_SUBDIR)/itcl && \
19097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19099 "RANLIB=$${RANLIB}" \
19100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19101 install-html) \
19102 || exit 1
19104 @endif itcl
19106 .PHONY: maybe-installcheck-itcl installcheck-itcl
19107 maybe-installcheck-itcl:
19108 @if itcl
19109 maybe-installcheck-itcl: installcheck-itcl
19111 installcheck-itcl: \
19112 configure-itcl
19113 @: $(MAKE); $(unstage)
19114 @[ -f ./itcl/Makefile ] || exit 0; \
19115 r=`${PWD_COMMAND}`; export r; \
19116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19117 $(HOST_EXPORTS) \
19118 for flag in $(EXTRA_HOST_FLAGS) ; do \
19119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19120 done; \
19121 echo "Doing installcheck in itcl" ; \
19122 (cd $(HOST_SUBDIR)/itcl && \
19123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19125 "RANLIB=$${RANLIB}" \
19126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19127 installcheck) \
19128 || exit 1
19130 @endif itcl
19132 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
19133 maybe-mostlyclean-itcl:
19134 @if itcl
19135 maybe-mostlyclean-itcl: mostlyclean-itcl
19137 mostlyclean-itcl:
19138 @: $(MAKE); $(unstage)
19139 @[ -f ./itcl/Makefile ] || exit 0; \
19140 r=`${PWD_COMMAND}`; export r; \
19141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19142 $(HOST_EXPORTS) \
19143 for flag in $(EXTRA_HOST_FLAGS) ; do \
19144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19145 done; \
19146 echo "Doing mostlyclean in itcl" ; \
19147 (cd $(HOST_SUBDIR)/itcl && \
19148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19150 "RANLIB=$${RANLIB}" \
19151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19152 mostlyclean) \
19153 || exit 1
19155 @endif itcl
19157 .PHONY: maybe-clean-itcl clean-itcl
19158 maybe-clean-itcl:
19159 @if itcl
19160 maybe-clean-itcl: clean-itcl
19162 clean-itcl:
19163 @: $(MAKE); $(unstage)
19164 @[ -f ./itcl/Makefile ] || exit 0; \
19165 r=`${PWD_COMMAND}`; export r; \
19166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19167 $(HOST_EXPORTS) \
19168 for flag in $(EXTRA_HOST_FLAGS) ; do \
19169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19170 done; \
19171 echo "Doing clean in itcl" ; \
19172 (cd $(HOST_SUBDIR)/itcl && \
19173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19175 "RANLIB=$${RANLIB}" \
19176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19177 clean) \
19178 || exit 1
19180 @endif itcl
19182 .PHONY: maybe-distclean-itcl distclean-itcl
19183 maybe-distclean-itcl:
19184 @if itcl
19185 maybe-distclean-itcl: distclean-itcl
19187 distclean-itcl:
19188 @: $(MAKE); $(unstage)
19189 @[ -f ./itcl/Makefile ] || exit 0; \
19190 r=`${PWD_COMMAND}`; export r; \
19191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19192 $(HOST_EXPORTS) \
19193 for flag in $(EXTRA_HOST_FLAGS) ; do \
19194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19195 done; \
19196 echo "Doing distclean in itcl" ; \
19197 (cd $(HOST_SUBDIR)/itcl && \
19198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19200 "RANLIB=$${RANLIB}" \
19201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19202 distclean) \
19203 || exit 1
19205 @endif itcl
19207 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
19208 maybe-maintainer-clean-itcl:
19209 @if itcl
19210 maybe-maintainer-clean-itcl: maintainer-clean-itcl
19212 maintainer-clean-itcl:
19213 @: $(MAKE); $(unstage)
19214 @[ -f ./itcl/Makefile ] || exit 0; \
19215 r=`${PWD_COMMAND}`; export r; \
19216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19217 $(HOST_EXPORTS) \
19218 for flag in $(EXTRA_HOST_FLAGS) ; do \
19219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19220 done; \
19221 echo "Doing maintainer-clean in itcl" ; \
19222 (cd $(HOST_SUBDIR)/itcl && \
19223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19225 "RANLIB=$${RANLIB}" \
19226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19227 maintainer-clean) \
19228 || exit 1
19230 @endif itcl
19234 .PHONY: configure-ld maybe-configure-ld
19235 maybe-configure-ld:
19236 @if gcc-bootstrap
19237 configure-ld: stage_current
19238 @endif gcc-bootstrap
19239 @if ld
19240 maybe-configure-ld: configure-ld
19241 configure-ld:
19242 @r=`${PWD_COMMAND}`; export r; \
19243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19246 $(HOST_EXPORTS) \
19247 echo Configuring in $(HOST_SUBDIR)/ld; \
19248 cd "$(HOST_SUBDIR)/ld" || exit 1; \
19249 case $(srcdir) in \
19250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19251 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19253 esac; \
19254 srcdiroption="--srcdir=$${topdir}/ld"; \
19255 libsrcdir="$$s/ld"; \
19256 $(SHELL) $${libsrcdir}/configure \
19257 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19258 --target=${target_alias} $${srcdiroption} \
19259 || exit 1
19260 @endif ld
19264 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
19265 maybe-configure-stage1-ld:
19266 @if ld-bootstrap
19267 maybe-configure-stage1-ld: configure-stage1-ld
19268 configure-stage1-ld:
19269 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19271 @r=`${PWD_COMMAND}`; export r; \
19272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19273 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19274 $(HOST_EXPORTS) \
19275 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
19276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19277 cd $(HOST_SUBDIR)/ld || exit 1; \
19278 case $(srcdir) in \
19279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19280 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19282 esac; \
19283 srcdiroption="--srcdir=$${topdir}/ld"; \
19284 libsrcdir="$$s/ld"; \
19285 $(SHELL) $${libsrcdir}/configure \
19286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19287 --target=${target_alias} $${srcdiroption} \
19289 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
19290 @endif ld-bootstrap
19292 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
19293 maybe-configure-stage2-ld:
19294 @if ld-bootstrap
19295 maybe-configure-stage2-ld: configure-stage2-ld
19296 configure-stage2-ld:
19297 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19299 @r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19301 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19302 $(HOST_EXPORTS) \
19303 $(POSTSTAGE1_HOST_EXPORTS) \
19304 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
19305 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19306 cd $(HOST_SUBDIR)/ld || exit 1; \
19307 case $(srcdir) in \
19308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19309 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19311 esac; \
19312 srcdiroption="--srcdir=$${topdir}/ld"; \
19313 libsrcdir="$$s/ld"; \
19314 $(SHELL) $${libsrcdir}/configure \
19315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19316 --target=${target_alias} $${srcdiroption} \
19317 --with-build-libsubdir=$(HOST_SUBDIR) \
19318 @stage2_werror_flag@
19319 @endif ld-bootstrap
19321 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
19322 maybe-configure-stage3-ld:
19323 @if ld-bootstrap
19324 maybe-configure-stage3-ld: configure-stage3-ld
19325 configure-stage3-ld:
19326 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19327 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19328 @r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19331 $(HOST_EXPORTS) \
19332 $(POSTSTAGE1_HOST_EXPORTS) \
19333 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
19334 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19335 cd $(HOST_SUBDIR)/ld || exit 1; \
19336 case $(srcdir) in \
19337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19338 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19340 esac; \
19341 srcdiroption="--srcdir=$${topdir}/ld"; \
19342 libsrcdir="$$s/ld"; \
19343 $(SHELL) $${libsrcdir}/configure \
19344 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19345 --target=${target_alias} $${srcdiroption} \
19346 --with-build-libsubdir=$(HOST_SUBDIR) \
19347 @stage2_werror_flag@
19348 @endif ld-bootstrap
19350 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
19351 maybe-configure-stage4-ld:
19352 @if ld-bootstrap
19353 maybe-configure-stage4-ld: configure-stage4-ld
19354 configure-stage4-ld:
19355 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19356 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19357 @r=`${PWD_COMMAND}`; export r; \
19358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19359 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19360 $(HOST_EXPORTS) \
19361 $(POSTSTAGE1_HOST_EXPORTS) \
19362 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
19363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19364 cd $(HOST_SUBDIR)/ld || exit 1; \
19365 case $(srcdir) in \
19366 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19367 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19368 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19369 esac; \
19370 srcdiroption="--srcdir=$${topdir}/ld"; \
19371 libsrcdir="$$s/ld"; \
19372 $(SHELL) $${libsrcdir}/configure \
19373 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19374 --target=${target_alias} $${srcdiroption} \
19375 --with-build-libsubdir=$(HOST_SUBDIR) \
19376 @stage2_werror_flag@
19377 @endif ld-bootstrap
19379 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
19380 maybe-configure-stageprofile-ld:
19381 @if ld-bootstrap
19382 maybe-configure-stageprofile-ld: configure-stageprofile-ld
19383 configure-stageprofile-ld:
19384 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19385 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19386 @r=`${PWD_COMMAND}`; export r; \
19387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19388 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19389 $(HOST_EXPORTS) \
19390 $(POSTSTAGE1_HOST_EXPORTS) \
19391 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
19392 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19393 cd $(HOST_SUBDIR)/ld || exit 1; \
19394 case $(srcdir) in \
19395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19396 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19398 esac; \
19399 srcdiroption="--srcdir=$${topdir}/ld"; \
19400 libsrcdir="$$s/ld"; \
19401 $(SHELL) $${libsrcdir}/configure \
19402 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19403 --target=${target_alias} $${srcdiroption} \
19404 --with-build-libsubdir=$(HOST_SUBDIR) \
19405 @stage2_werror_flag@
19406 @endif ld-bootstrap
19408 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
19409 maybe-configure-stagefeedback-ld:
19410 @if ld-bootstrap
19411 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
19412 configure-stagefeedback-ld:
19413 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19415 @r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19418 $(HOST_EXPORTS) \
19419 $(POSTSTAGE1_HOST_EXPORTS) \
19420 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
19421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19422 cd $(HOST_SUBDIR)/ld || exit 1; \
19423 case $(srcdir) in \
19424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19425 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19427 esac; \
19428 srcdiroption="--srcdir=$${topdir}/ld"; \
19429 libsrcdir="$$s/ld"; \
19430 $(SHELL) $${libsrcdir}/configure \
19431 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19432 --target=${target_alias} $${srcdiroption} \
19433 --with-build-libsubdir=$(HOST_SUBDIR) \
19434 @stage2_werror_flag@
19435 @endif ld-bootstrap
19441 .PHONY: all-ld maybe-all-ld
19442 maybe-all-ld:
19443 @if gcc-bootstrap
19444 all-ld: stage_current
19445 @endif gcc-bootstrap
19446 @if ld
19447 TARGET-ld=all
19448 maybe-all-ld: all-ld
19449 all-ld: configure-ld
19450 @r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 $(HOST_EXPORTS) \
19453 (cd $(HOST_SUBDIR)/ld && \
19454 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
19455 @endif ld
19459 .PHONY: all-stage1-ld maybe-all-stage1-ld
19460 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
19461 maybe-all-stage1-ld:
19462 maybe-clean-stage1-ld:
19463 @if ld-bootstrap
19464 maybe-all-stage1-ld: all-stage1-ld
19465 all-stage1: all-stage1-ld
19466 TARGET-stage1-ld = $(TARGET-ld)
19467 all-stage1-ld: configure-stage1-ld
19468 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19469 @r=`${PWD_COMMAND}`; export r; \
19470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19471 $(HOST_EXPORTS) \
19472 cd $(HOST_SUBDIR)/ld && \
19473 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
19474 $(TARGET-stage1-ld)
19476 maybe-clean-stage1-ld: clean-stage1-ld
19477 clean-stage1: clean-stage1-ld
19478 clean-stage1-ld:
19479 @if [ $(current_stage) = stage1 ]; then \
19480 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19481 else \
19482 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
19483 $(MAKE) stage1-start; \
19484 fi; \
19485 cd $(HOST_SUBDIR)/ld && \
19486 $(MAKE) $(FLAGS_TO_PASS) \
19487 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
19488 @endif ld-bootstrap
19491 .PHONY: all-stage2-ld maybe-all-stage2-ld
19492 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19493 maybe-all-stage2-ld:
19494 maybe-clean-stage2-ld:
19495 @if ld-bootstrap
19496 maybe-all-stage2-ld: all-stage2-ld
19497 all-stage2: all-stage2-ld
19498 TARGET-stage2-ld = $(TARGET-ld)
19499 all-stage2-ld: configure-stage2-ld
19500 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19501 @r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 $(HOST_EXPORTS) \
19504 $(POSTSTAGE1_HOST_EXPORTS) \
19505 cd $(HOST_SUBDIR)/ld && \
19506 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19507 $(TARGET-stage2-ld)
19509 maybe-clean-stage2-ld: clean-stage2-ld
19510 clean-stage2: clean-stage2-ld
19511 clean-stage2-ld:
19512 @if [ $(current_stage) = stage2 ]; then \
19513 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19514 else \
19515 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19516 $(MAKE) stage2-start; \
19517 fi; \
19518 cd $(HOST_SUBDIR)/ld && \
19519 $(MAKE) $(FLAGS_TO_PASS) \
19520 $(POSTSTAGE1_FLAGS_TO_PASS) \
19521 clean
19522 @endif ld-bootstrap
19525 .PHONY: all-stage3-ld maybe-all-stage3-ld
19526 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19527 maybe-all-stage3-ld:
19528 maybe-clean-stage3-ld:
19529 @if ld-bootstrap
19530 maybe-all-stage3-ld: all-stage3-ld
19531 all-stage3: all-stage3-ld
19532 TARGET-stage3-ld = $(TARGET-ld)
19533 all-stage3-ld: configure-stage3-ld
19534 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19535 @r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 $(HOST_EXPORTS) \
19538 $(POSTSTAGE1_HOST_EXPORTS) \
19539 cd $(HOST_SUBDIR)/ld && \
19540 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19541 $(TARGET-stage3-ld)
19543 maybe-clean-stage3-ld: clean-stage3-ld
19544 clean-stage3: clean-stage3-ld
19545 clean-stage3-ld:
19546 @if [ $(current_stage) = stage3 ]; then \
19547 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19548 else \
19549 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19550 $(MAKE) stage3-start; \
19551 fi; \
19552 cd $(HOST_SUBDIR)/ld && \
19553 $(MAKE) $(FLAGS_TO_PASS) \
19554 $(POSTSTAGE1_FLAGS_TO_PASS) \
19555 clean
19556 @endif ld-bootstrap
19559 .PHONY: all-stage4-ld maybe-all-stage4-ld
19560 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19561 maybe-all-stage4-ld:
19562 maybe-clean-stage4-ld:
19563 @if ld-bootstrap
19564 maybe-all-stage4-ld: all-stage4-ld
19565 all-stage4: all-stage4-ld
19566 TARGET-stage4-ld = $(TARGET-ld)
19567 all-stage4-ld: configure-stage4-ld
19568 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19569 @r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 $(HOST_EXPORTS) \
19572 $(POSTSTAGE1_HOST_EXPORTS) \
19573 cd $(HOST_SUBDIR)/ld && \
19574 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19575 $(TARGET-stage4-ld)
19577 maybe-clean-stage4-ld: clean-stage4-ld
19578 clean-stage4: clean-stage4-ld
19579 clean-stage4-ld:
19580 @if [ $(current_stage) = stage4 ]; then \
19581 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19582 else \
19583 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19584 $(MAKE) stage4-start; \
19585 fi; \
19586 cd $(HOST_SUBDIR)/ld && \
19587 $(MAKE) $(FLAGS_TO_PASS) \
19588 $(POSTSTAGE1_FLAGS_TO_PASS) \
19589 clean
19590 @endif ld-bootstrap
19593 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19594 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19595 maybe-all-stageprofile-ld:
19596 maybe-clean-stageprofile-ld:
19597 @if ld-bootstrap
19598 maybe-all-stageprofile-ld: all-stageprofile-ld
19599 all-stageprofile: all-stageprofile-ld
19600 TARGET-stageprofile-ld = $(TARGET-ld)
19601 all-stageprofile-ld: configure-stageprofile-ld
19602 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19603 @r=`${PWD_COMMAND}`; export r; \
19604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19605 $(HOST_EXPORTS) \
19606 $(POSTSTAGE1_HOST_EXPORTS) \
19607 cd $(HOST_SUBDIR)/ld && \
19608 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
19609 $(TARGET-stageprofile-ld)
19611 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19612 clean-stageprofile: clean-stageprofile-ld
19613 clean-stageprofile-ld:
19614 @if [ $(current_stage) = stageprofile ]; then \
19615 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19616 else \
19617 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19618 $(MAKE) stageprofile-start; \
19619 fi; \
19620 cd $(HOST_SUBDIR)/ld && \
19621 $(MAKE) $(FLAGS_TO_PASS) \
19622 $(POSTSTAGE1_FLAGS_TO_PASS) \
19623 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
19624 @endif ld-bootstrap
19627 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19628 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19629 maybe-all-stagefeedback-ld:
19630 maybe-clean-stagefeedback-ld:
19631 @if ld-bootstrap
19632 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19633 all-stagefeedback: all-stagefeedback-ld
19634 TARGET-stagefeedback-ld = $(TARGET-ld)
19635 all-stagefeedback-ld: configure-stagefeedback-ld
19636 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19637 @r=`${PWD_COMMAND}`; export r; \
19638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19639 $(HOST_EXPORTS) \
19640 $(POSTSTAGE1_HOST_EXPORTS) \
19641 cd $(HOST_SUBDIR)/ld && \
19642 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
19643 $(TARGET-stagefeedback-ld)
19645 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19646 clean-stagefeedback: clean-stagefeedback-ld
19647 clean-stagefeedback-ld:
19648 @if [ $(current_stage) = stagefeedback ]; then \
19649 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19650 else \
19651 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19652 $(MAKE) stagefeedback-start; \
19653 fi; \
19654 cd $(HOST_SUBDIR)/ld && \
19655 $(MAKE) $(FLAGS_TO_PASS) \
19656 $(POSTSTAGE1_FLAGS_TO_PASS) \
19657 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
19658 @endif ld-bootstrap
19664 .PHONY: check-ld maybe-check-ld
19665 maybe-check-ld:
19666 @if ld
19667 maybe-check-ld: check-ld
19669 check-ld:
19670 @: $(MAKE); $(unstage)
19671 @r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673 $(HOST_EXPORTS) \
19674 (cd $(HOST_SUBDIR)/ld && \
19675 $(MAKE) $(FLAGS_TO_PASS) check)
19677 @endif ld
19679 .PHONY: install-ld maybe-install-ld
19680 maybe-install-ld:
19681 @if ld
19682 maybe-install-ld: install-ld
19684 install-ld: installdirs
19685 @: $(MAKE); $(unstage)
19686 @r=`${PWD_COMMAND}`; export r; \
19687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19688 $(HOST_EXPORTS) \
19689 (cd $(HOST_SUBDIR)/ld && \
19690 $(MAKE) $(FLAGS_TO_PASS) install)
19692 @endif ld
19694 # Other targets (info, dvi, pdf, etc.)
19696 .PHONY: maybe-info-ld info-ld
19697 maybe-info-ld:
19698 @if ld
19699 maybe-info-ld: info-ld
19701 info-ld: \
19702 configure-ld
19703 @[ -f ./ld/Makefile ] || exit 0; \
19704 r=`${PWD_COMMAND}`; export r; \
19705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19706 $(HOST_EXPORTS) \
19707 for flag in $(EXTRA_HOST_FLAGS) ; do \
19708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19709 done; \
19710 echo "Doing info in ld" ; \
19711 (cd $(HOST_SUBDIR)/ld && \
19712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19714 "RANLIB=$${RANLIB}" \
19715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19716 info) \
19717 || exit 1
19719 @endif ld
19721 .PHONY: maybe-dvi-ld dvi-ld
19722 maybe-dvi-ld:
19723 @if ld
19724 maybe-dvi-ld: dvi-ld
19726 dvi-ld: \
19727 configure-ld
19728 @[ -f ./ld/Makefile ] || exit 0; \
19729 r=`${PWD_COMMAND}`; export r; \
19730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19731 $(HOST_EXPORTS) \
19732 for flag in $(EXTRA_HOST_FLAGS) ; do \
19733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19734 done; \
19735 echo "Doing dvi in ld" ; \
19736 (cd $(HOST_SUBDIR)/ld && \
19737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19739 "RANLIB=$${RANLIB}" \
19740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19741 dvi) \
19742 || exit 1
19744 @endif ld
19746 .PHONY: maybe-pdf-ld pdf-ld
19747 maybe-pdf-ld:
19748 @if ld
19749 maybe-pdf-ld: pdf-ld
19751 pdf-ld: \
19752 configure-ld
19753 @[ -f ./ld/Makefile ] || exit 0; \
19754 r=`${PWD_COMMAND}`; export r; \
19755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19756 $(HOST_EXPORTS) \
19757 for flag in $(EXTRA_HOST_FLAGS) ; do \
19758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19759 done; \
19760 echo "Doing pdf in ld" ; \
19761 (cd $(HOST_SUBDIR)/ld && \
19762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19764 "RANLIB=$${RANLIB}" \
19765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19766 pdf) \
19767 || exit 1
19769 @endif ld
19771 .PHONY: maybe-html-ld html-ld
19772 maybe-html-ld:
19773 @if ld
19774 maybe-html-ld: html-ld
19776 html-ld: \
19777 configure-ld
19778 @[ -f ./ld/Makefile ] || exit 0; \
19779 r=`${PWD_COMMAND}`; export r; \
19780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19781 $(HOST_EXPORTS) \
19782 for flag in $(EXTRA_HOST_FLAGS) ; do \
19783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19784 done; \
19785 echo "Doing html in ld" ; \
19786 (cd $(HOST_SUBDIR)/ld && \
19787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19789 "RANLIB=$${RANLIB}" \
19790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19791 html) \
19792 || exit 1
19794 @endif ld
19796 .PHONY: maybe-TAGS-ld TAGS-ld
19797 maybe-TAGS-ld:
19798 @if ld
19799 maybe-TAGS-ld: TAGS-ld
19801 TAGS-ld: \
19802 configure-ld
19803 @[ -f ./ld/Makefile ] || exit 0; \
19804 r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 $(HOST_EXPORTS) \
19807 for flag in $(EXTRA_HOST_FLAGS) ; do \
19808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19809 done; \
19810 echo "Doing TAGS in ld" ; \
19811 (cd $(HOST_SUBDIR)/ld && \
19812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19814 "RANLIB=$${RANLIB}" \
19815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19816 TAGS) \
19817 || exit 1
19819 @endif ld
19821 .PHONY: maybe-install-info-ld install-info-ld
19822 maybe-install-info-ld:
19823 @if ld
19824 maybe-install-info-ld: install-info-ld
19826 install-info-ld: \
19827 configure-ld \
19828 info-ld
19829 @[ -f ./ld/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(HOST_EXPORTS) \
19833 for flag in $(EXTRA_HOST_FLAGS) ; do \
19834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 done; \
19836 echo "Doing install-info in ld" ; \
19837 (cd $(HOST_SUBDIR)/ld && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19840 "RANLIB=$${RANLIB}" \
19841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19842 install-info) \
19843 || exit 1
19845 @endif ld
19847 .PHONY: maybe-install-html-ld install-html-ld
19848 maybe-install-html-ld:
19849 @if ld
19850 maybe-install-html-ld: install-html-ld
19852 install-html-ld: \
19853 configure-ld \
19854 html-ld
19855 @[ -f ./ld/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 $(HOST_EXPORTS) \
19859 for flag in $(EXTRA_HOST_FLAGS) ; do \
19860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19861 done; \
19862 echo "Doing install-html in ld" ; \
19863 (cd $(HOST_SUBDIR)/ld && \
19864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19866 "RANLIB=$${RANLIB}" \
19867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19868 install-html) \
19869 || exit 1
19871 @endif ld
19873 .PHONY: maybe-installcheck-ld installcheck-ld
19874 maybe-installcheck-ld:
19875 @if ld
19876 maybe-installcheck-ld: installcheck-ld
19878 installcheck-ld: \
19879 configure-ld
19880 @[ -f ./ld/Makefile ] || exit 0; \
19881 r=`${PWD_COMMAND}`; export r; \
19882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19883 $(HOST_EXPORTS) \
19884 for flag in $(EXTRA_HOST_FLAGS) ; do \
19885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19886 done; \
19887 echo "Doing installcheck in ld" ; \
19888 (cd $(HOST_SUBDIR)/ld && \
19889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19891 "RANLIB=$${RANLIB}" \
19892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19893 installcheck) \
19894 || exit 1
19896 @endif ld
19898 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19899 maybe-mostlyclean-ld:
19900 @if ld
19901 maybe-mostlyclean-ld: mostlyclean-ld
19903 mostlyclean-ld:
19904 @[ -f ./ld/Makefile ] || exit 0; \
19905 r=`${PWD_COMMAND}`; export r; \
19906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19907 $(HOST_EXPORTS) \
19908 for flag in $(EXTRA_HOST_FLAGS) ; do \
19909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19910 done; \
19911 echo "Doing mostlyclean in ld" ; \
19912 (cd $(HOST_SUBDIR)/ld && \
19913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19915 "RANLIB=$${RANLIB}" \
19916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19917 mostlyclean) \
19918 || exit 1
19920 @endif ld
19922 .PHONY: maybe-clean-ld clean-ld
19923 maybe-clean-ld:
19924 @if ld
19925 maybe-clean-ld: clean-ld
19927 clean-ld:
19928 @[ -f ./ld/Makefile ] || exit 0; \
19929 r=`${PWD_COMMAND}`; export r; \
19930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19931 $(HOST_EXPORTS) \
19932 for flag in $(EXTRA_HOST_FLAGS) ; do \
19933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19934 done; \
19935 echo "Doing clean in ld" ; \
19936 (cd $(HOST_SUBDIR)/ld && \
19937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19939 "RANLIB=$${RANLIB}" \
19940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19941 clean) \
19942 || exit 1
19944 @endif ld
19946 .PHONY: maybe-distclean-ld distclean-ld
19947 maybe-distclean-ld:
19948 @if ld
19949 maybe-distclean-ld: distclean-ld
19951 distclean-ld:
19952 @[ -f ./ld/Makefile ] || exit 0; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 $(HOST_EXPORTS) \
19956 for flag in $(EXTRA_HOST_FLAGS) ; do \
19957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 done; \
19959 echo "Doing distclean in ld" ; \
19960 (cd $(HOST_SUBDIR)/ld && \
19961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19963 "RANLIB=$${RANLIB}" \
19964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19965 distclean) \
19966 || exit 1
19968 @endif ld
19970 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19971 maybe-maintainer-clean-ld:
19972 @if ld
19973 maybe-maintainer-clean-ld: maintainer-clean-ld
19975 maintainer-clean-ld:
19976 @[ -f ./ld/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(HOST_EXPORTS) \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982 done; \
19983 echo "Doing maintainer-clean in ld" ; \
19984 (cd $(HOST_SUBDIR)/ld && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989 maintainer-clean) \
19990 || exit 1
19992 @endif ld
19996 .PHONY: configure-libcpp maybe-configure-libcpp
19997 maybe-configure-libcpp:
19998 @if gcc-bootstrap
19999 configure-libcpp: stage_current
20000 @endif gcc-bootstrap
20001 @if libcpp
20002 maybe-configure-libcpp: configure-libcpp
20003 configure-libcpp:
20004 @r=`${PWD_COMMAND}`; export r; \
20005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20006 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20008 $(HOST_EXPORTS) \
20009 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20010 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20011 case $(srcdir) in \
20012 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20013 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20014 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20015 esac; \
20016 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20017 libsrcdir="$$s/libcpp"; \
20018 $(SHELL) $${libsrcdir}/configure \
20019 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20020 --target=${target_alias} $${srcdiroption} \
20021 || exit 1
20022 @endif libcpp
20026 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20027 maybe-configure-stage1-libcpp:
20028 @if libcpp-bootstrap
20029 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20030 configure-stage1-libcpp:
20031 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20033 @r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20036 $(HOST_EXPORTS) \
20037 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20038 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20039 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20040 case $(srcdir) in \
20041 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20042 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20043 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20044 esac; \
20045 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20046 libsrcdir="$$s/libcpp"; \
20047 $(SHELL) $${libsrcdir}/configure \
20048 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20049 --target=${target_alias} $${srcdiroption} \
20051 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20052 @endif libcpp-bootstrap
20054 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20055 maybe-configure-stage2-libcpp:
20056 @if libcpp-bootstrap
20057 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20058 configure-stage2-libcpp:
20059 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20060 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20061 @r=`${PWD_COMMAND}`; export r; \
20062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20063 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20064 $(HOST_EXPORTS) \
20065 $(POSTSTAGE1_HOST_EXPORTS) \
20066 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20068 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20069 case $(srcdir) in \
20070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20071 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20073 esac; \
20074 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20075 libsrcdir="$$s/libcpp"; \
20076 $(SHELL) $${libsrcdir}/configure \
20077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20078 --target=${target_alias} $${srcdiroption} \
20079 --with-build-libsubdir=$(HOST_SUBDIR) \
20080 @stage2_werror_flag@
20081 @endif libcpp-bootstrap
20083 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20084 maybe-configure-stage3-libcpp:
20085 @if libcpp-bootstrap
20086 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20087 configure-stage3-libcpp:
20088 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20090 @r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20092 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20093 $(HOST_EXPORTS) \
20094 $(POSTSTAGE1_HOST_EXPORTS) \
20095 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20097 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20098 case $(srcdir) in \
20099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20100 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20102 esac; \
20103 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20104 libsrcdir="$$s/libcpp"; \
20105 $(SHELL) $${libsrcdir}/configure \
20106 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20107 --target=${target_alias} $${srcdiroption} \
20108 --with-build-libsubdir=$(HOST_SUBDIR) \
20109 @stage2_werror_flag@
20110 @endif libcpp-bootstrap
20112 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20113 maybe-configure-stage4-libcpp:
20114 @if libcpp-bootstrap
20115 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20116 configure-stage4-libcpp:
20117 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20118 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20119 @r=`${PWD_COMMAND}`; export r; \
20120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20121 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20122 $(HOST_EXPORTS) \
20123 $(POSTSTAGE1_HOST_EXPORTS) \
20124 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20126 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20127 case $(srcdir) in \
20128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20129 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20131 esac; \
20132 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20133 libsrcdir="$$s/libcpp"; \
20134 $(SHELL) $${libsrcdir}/configure \
20135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20136 --target=${target_alias} $${srcdiroption} \
20137 --with-build-libsubdir=$(HOST_SUBDIR) \
20138 @stage2_werror_flag@
20139 @endif libcpp-bootstrap
20141 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20142 maybe-configure-stageprofile-libcpp:
20143 @if libcpp-bootstrap
20144 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20145 configure-stageprofile-libcpp:
20146 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20147 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20148 @r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20151 $(HOST_EXPORTS) \
20152 $(POSTSTAGE1_HOST_EXPORTS) \
20153 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20155 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20156 case $(srcdir) in \
20157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20158 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20160 esac; \
20161 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20162 libsrcdir="$$s/libcpp"; \
20163 $(SHELL) $${libsrcdir}/configure \
20164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20165 --target=${target_alias} $${srcdiroption} \
20166 --with-build-libsubdir=$(HOST_SUBDIR) \
20167 @stage2_werror_flag@
20168 @endif libcpp-bootstrap
20170 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20171 maybe-configure-stagefeedback-libcpp:
20172 @if libcpp-bootstrap
20173 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20174 configure-stagefeedback-libcpp:
20175 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20177 @r=`${PWD_COMMAND}`; export r; \
20178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20179 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20180 $(HOST_EXPORTS) \
20181 $(POSTSTAGE1_HOST_EXPORTS) \
20182 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20184 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20185 case $(srcdir) in \
20186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20187 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20189 esac; \
20190 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20191 libsrcdir="$$s/libcpp"; \
20192 $(SHELL) $${libsrcdir}/configure \
20193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20194 --target=${target_alias} $${srcdiroption} \
20195 --with-build-libsubdir=$(HOST_SUBDIR) \
20196 @stage2_werror_flag@
20197 @endif libcpp-bootstrap
20203 .PHONY: all-libcpp maybe-all-libcpp
20204 maybe-all-libcpp:
20205 @if gcc-bootstrap
20206 all-libcpp: stage_current
20207 @endif gcc-bootstrap
20208 @if libcpp
20209 TARGET-libcpp=all
20210 maybe-all-libcpp: all-libcpp
20211 all-libcpp: configure-libcpp
20212 @r=`${PWD_COMMAND}`; export r; \
20213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20214 $(HOST_EXPORTS) \
20215 (cd $(HOST_SUBDIR)/libcpp && \
20216 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
20217 @endif libcpp
20221 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20222 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20223 maybe-all-stage1-libcpp:
20224 maybe-clean-stage1-libcpp:
20225 @if libcpp-bootstrap
20226 maybe-all-stage1-libcpp: all-stage1-libcpp
20227 all-stage1: all-stage1-libcpp
20228 TARGET-stage1-libcpp = $(TARGET-libcpp)
20229 all-stage1-libcpp: configure-stage1-libcpp
20230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20231 @r=`${PWD_COMMAND}`; export r; \
20232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20233 $(HOST_EXPORTS) \
20234 cd $(HOST_SUBDIR)/libcpp && \
20235 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20236 $(TARGET-stage1-libcpp)
20238 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20239 clean-stage1: clean-stage1-libcpp
20240 clean-stage1-libcpp:
20241 @if [ $(current_stage) = stage1 ]; then \
20242 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20243 else \
20244 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20245 $(MAKE) stage1-start; \
20246 fi; \
20247 cd $(HOST_SUBDIR)/libcpp && \
20248 $(MAKE) $(FLAGS_TO_PASS) \
20249 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
20250 @endif libcpp-bootstrap
20253 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20254 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20255 maybe-all-stage2-libcpp:
20256 maybe-clean-stage2-libcpp:
20257 @if libcpp-bootstrap
20258 maybe-all-stage2-libcpp: all-stage2-libcpp
20259 all-stage2: all-stage2-libcpp
20260 TARGET-stage2-libcpp = $(TARGET-libcpp)
20261 all-stage2-libcpp: configure-stage2-libcpp
20262 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20263 @r=`${PWD_COMMAND}`; export r; \
20264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20265 $(HOST_EXPORTS) \
20266 $(POSTSTAGE1_HOST_EXPORTS) \
20267 cd $(HOST_SUBDIR)/libcpp && \
20268 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20269 $(TARGET-stage2-libcpp)
20271 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20272 clean-stage2: clean-stage2-libcpp
20273 clean-stage2-libcpp:
20274 @if [ $(current_stage) = stage2 ]; then \
20275 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20276 else \
20277 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20278 $(MAKE) stage2-start; \
20279 fi; \
20280 cd $(HOST_SUBDIR)/libcpp && \
20281 $(MAKE) $(FLAGS_TO_PASS) \
20282 $(POSTSTAGE1_FLAGS_TO_PASS) \
20283 clean
20284 @endif libcpp-bootstrap
20287 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20288 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20289 maybe-all-stage3-libcpp:
20290 maybe-clean-stage3-libcpp:
20291 @if libcpp-bootstrap
20292 maybe-all-stage3-libcpp: all-stage3-libcpp
20293 all-stage3: all-stage3-libcpp
20294 TARGET-stage3-libcpp = $(TARGET-libcpp)
20295 all-stage3-libcpp: configure-stage3-libcpp
20296 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20297 @r=`${PWD_COMMAND}`; export r; \
20298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20299 $(HOST_EXPORTS) \
20300 $(POSTSTAGE1_HOST_EXPORTS) \
20301 cd $(HOST_SUBDIR)/libcpp && \
20302 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20303 $(TARGET-stage3-libcpp)
20305 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20306 clean-stage3: clean-stage3-libcpp
20307 clean-stage3-libcpp:
20308 @if [ $(current_stage) = stage3 ]; then \
20309 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20310 else \
20311 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20312 $(MAKE) stage3-start; \
20313 fi; \
20314 cd $(HOST_SUBDIR)/libcpp && \
20315 $(MAKE) $(FLAGS_TO_PASS) \
20316 $(POSTSTAGE1_FLAGS_TO_PASS) \
20317 clean
20318 @endif libcpp-bootstrap
20321 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20322 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20323 maybe-all-stage4-libcpp:
20324 maybe-clean-stage4-libcpp:
20325 @if libcpp-bootstrap
20326 maybe-all-stage4-libcpp: all-stage4-libcpp
20327 all-stage4: all-stage4-libcpp
20328 TARGET-stage4-libcpp = $(TARGET-libcpp)
20329 all-stage4-libcpp: configure-stage4-libcpp
20330 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20331 @r=`${PWD_COMMAND}`; export r; \
20332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20333 $(HOST_EXPORTS) \
20334 $(POSTSTAGE1_HOST_EXPORTS) \
20335 cd $(HOST_SUBDIR)/libcpp && \
20336 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20337 $(TARGET-stage4-libcpp)
20339 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20340 clean-stage4: clean-stage4-libcpp
20341 clean-stage4-libcpp:
20342 @if [ $(current_stage) = stage4 ]; then \
20343 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20344 else \
20345 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20346 $(MAKE) stage4-start; \
20347 fi; \
20348 cd $(HOST_SUBDIR)/libcpp && \
20349 $(MAKE) $(FLAGS_TO_PASS) \
20350 $(POSTSTAGE1_FLAGS_TO_PASS) \
20351 clean
20352 @endif libcpp-bootstrap
20355 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20356 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20357 maybe-all-stageprofile-libcpp:
20358 maybe-clean-stageprofile-libcpp:
20359 @if libcpp-bootstrap
20360 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20361 all-stageprofile: all-stageprofile-libcpp
20362 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20363 all-stageprofile-libcpp: configure-stageprofile-libcpp
20364 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20365 @r=`${PWD_COMMAND}`; export r; \
20366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20367 $(HOST_EXPORTS) \
20368 $(POSTSTAGE1_HOST_EXPORTS) \
20369 cd $(HOST_SUBDIR)/libcpp && \
20370 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
20371 $(TARGET-stageprofile-libcpp)
20373 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20374 clean-stageprofile: clean-stageprofile-libcpp
20375 clean-stageprofile-libcpp:
20376 @if [ $(current_stage) = stageprofile ]; then \
20377 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20378 else \
20379 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20380 $(MAKE) stageprofile-start; \
20381 fi; \
20382 cd $(HOST_SUBDIR)/libcpp && \
20383 $(MAKE) $(FLAGS_TO_PASS) \
20384 $(POSTSTAGE1_FLAGS_TO_PASS) \
20385 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
20386 @endif libcpp-bootstrap
20389 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20390 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20391 maybe-all-stagefeedback-libcpp:
20392 maybe-clean-stagefeedback-libcpp:
20393 @if libcpp-bootstrap
20394 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20395 all-stagefeedback: all-stagefeedback-libcpp
20396 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20397 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20398 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20399 @r=`${PWD_COMMAND}`; export r; \
20400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20401 $(HOST_EXPORTS) \
20402 $(POSTSTAGE1_HOST_EXPORTS) \
20403 cd $(HOST_SUBDIR)/libcpp && \
20404 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
20405 $(TARGET-stagefeedback-libcpp)
20407 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20408 clean-stagefeedback: clean-stagefeedback-libcpp
20409 clean-stagefeedback-libcpp:
20410 @if [ $(current_stage) = stagefeedback ]; then \
20411 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20412 else \
20413 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20414 $(MAKE) stagefeedback-start; \
20415 fi; \
20416 cd $(HOST_SUBDIR)/libcpp && \
20417 $(MAKE) $(FLAGS_TO_PASS) \
20418 $(POSTSTAGE1_FLAGS_TO_PASS) \
20419 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
20420 @endif libcpp-bootstrap
20426 .PHONY: check-libcpp maybe-check-libcpp
20427 maybe-check-libcpp:
20428 @if libcpp
20429 maybe-check-libcpp: check-libcpp
20431 check-libcpp:
20432 @: $(MAKE); $(unstage)
20433 @r=`${PWD_COMMAND}`; export r; \
20434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20435 $(HOST_EXPORTS) \
20436 (cd $(HOST_SUBDIR)/libcpp && \
20437 $(MAKE) $(FLAGS_TO_PASS) check)
20439 @endif libcpp
20441 .PHONY: install-libcpp maybe-install-libcpp
20442 maybe-install-libcpp:
20443 @if libcpp
20444 maybe-install-libcpp: install-libcpp
20446 install-libcpp: installdirs
20447 @: $(MAKE); $(unstage)
20448 @r=`${PWD_COMMAND}`; export r; \
20449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450 $(HOST_EXPORTS) \
20451 (cd $(HOST_SUBDIR)/libcpp && \
20452 $(MAKE) $(FLAGS_TO_PASS) install)
20454 @endif libcpp
20456 # Other targets (info, dvi, pdf, etc.)
20458 .PHONY: maybe-info-libcpp info-libcpp
20459 maybe-info-libcpp:
20460 @if libcpp
20461 maybe-info-libcpp: info-libcpp
20463 info-libcpp: \
20464 configure-libcpp
20465 @[ -f ./libcpp/Makefile ] || exit 0; \
20466 r=`${PWD_COMMAND}`; export r; \
20467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20468 $(HOST_EXPORTS) \
20469 for flag in $(EXTRA_HOST_FLAGS) ; do \
20470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20471 done; \
20472 echo "Doing info in libcpp" ; \
20473 (cd $(HOST_SUBDIR)/libcpp && \
20474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20476 "RANLIB=$${RANLIB}" \
20477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20478 info) \
20479 || exit 1
20481 @endif libcpp
20483 .PHONY: maybe-dvi-libcpp dvi-libcpp
20484 maybe-dvi-libcpp:
20485 @if libcpp
20486 maybe-dvi-libcpp: dvi-libcpp
20488 dvi-libcpp: \
20489 configure-libcpp
20490 @[ -f ./libcpp/Makefile ] || exit 0; \
20491 r=`${PWD_COMMAND}`; export r; \
20492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20493 $(HOST_EXPORTS) \
20494 for flag in $(EXTRA_HOST_FLAGS) ; do \
20495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20496 done; \
20497 echo "Doing dvi in libcpp" ; \
20498 (cd $(HOST_SUBDIR)/libcpp && \
20499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20501 "RANLIB=$${RANLIB}" \
20502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20503 dvi) \
20504 || exit 1
20506 @endif libcpp
20508 .PHONY: maybe-pdf-libcpp pdf-libcpp
20509 maybe-pdf-libcpp:
20510 @if libcpp
20511 maybe-pdf-libcpp: pdf-libcpp
20513 pdf-libcpp: \
20514 configure-libcpp
20515 @[ -f ./libcpp/Makefile ] || exit 0; \
20516 r=`${PWD_COMMAND}`; export r; \
20517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20518 $(HOST_EXPORTS) \
20519 for flag in $(EXTRA_HOST_FLAGS) ; do \
20520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20521 done; \
20522 echo "Doing pdf in libcpp" ; \
20523 (cd $(HOST_SUBDIR)/libcpp && \
20524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20526 "RANLIB=$${RANLIB}" \
20527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20528 pdf) \
20529 || exit 1
20531 @endif libcpp
20533 .PHONY: maybe-html-libcpp html-libcpp
20534 maybe-html-libcpp:
20535 @if libcpp
20536 maybe-html-libcpp: html-libcpp
20538 html-libcpp: \
20539 configure-libcpp
20540 @[ -f ./libcpp/Makefile ] || exit 0; \
20541 r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 $(HOST_EXPORTS) \
20544 for flag in $(EXTRA_HOST_FLAGS) ; do \
20545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20546 done; \
20547 echo "Doing html in libcpp" ; \
20548 (cd $(HOST_SUBDIR)/libcpp && \
20549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20551 "RANLIB=$${RANLIB}" \
20552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20553 html) \
20554 || exit 1
20556 @endif libcpp
20558 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20559 maybe-TAGS-libcpp:
20560 @if libcpp
20561 maybe-TAGS-libcpp: TAGS-libcpp
20563 TAGS-libcpp: \
20564 configure-libcpp
20565 @[ -f ./libcpp/Makefile ] || exit 0; \
20566 r=`${PWD_COMMAND}`; export r; \
20567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 $(HOST_EXPORTS) \
20569 for flag in $(EXTRA_HOST_FLAGS) ; do \
20570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20571 done; \
20572 echo "Doing TAGS in libcpp" ; \
20573 (cd $(HOST_SUBDIR)/libcpp && \
20574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20576 "RANLIB=$${RANLIB}" \
20577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20578 TAGS) \
20579 || exit 1
20581 @endif libcpp
20583 .PHONY: maybe-install-info-libcpp install-info-libcpp
20584 maybe-install-info-libcpp:
20585 @if libcpp
20586 maybe-install-info-libcpp: install-info-libcpp
20588 install-info-libcpp: \
20589 configure-libcpp \
20590 info-libcpp
20591 @[ -f ./libcpp/Makefile ] || exit 0; \
20592 r=`${PWD_COMMAND}`; export r; \
20593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 $(HOST_EXPORTS) \
20595 for flag in $(EXTRA_HOST_FLAGS) ; do \
20596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20597 done; \
20598 echo "Doing install-info in libcpp" ; \
20599 (cd $(HOST_SUBDIR)/libcpp && \
20600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20602 "RANLIB=$${RANLIB}" \
20603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20604 install-info) \
20605 || exit 1
20607 @endif libcpp
20609 .PHONY: maybe-install-html-libcpp install-html-libcpp
20610 maybe-install-html-libcpp:
20611 @if libcpp
20612 maybe-install-html-libcpp: install-html-libcpp
20614 install-html-libcpp: \
20615 configure-libcpp \
20616 html-libcpp
20617 @[ -f ./libcpp/Makefile ] || exit 0; \
20618 r=`${PWD_COMMAND}`; export r; \
20619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20620 $(HOST_EXPORTS) \
20621 for flag in $(EXTRA_HOST_FLAGS) ; do \
20622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20623 done; \
20624 echo "Doing install-html in libcpp" ; \
20625 (cd $(HOST_SUBDIR)/libcpp && \
20626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20628 "RANLIB=$${RANLIB}" \
20629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20630 install-html) \
20631 || exit 1
20633 @endif libcpp
20635 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20636 maybe-installcheck-libcpp:
20637 @if libcpp
20638 maybe-installcheck-libcpp: installcheck-libcpp
20640 installcheck-libcpp: \
20641 configure-libcpp
20642 @[ -f ./libcpp/Makefile ] || exit 0; \
20643 r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 $(HOST_EXPORTS) \
20646 for flag in $(EXTRA_HOST_FLAGS) ; do \
20647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20648 done; \
20649 echo "Doing installcheck in libcpp" ; \
20650 (cd $(HOST_SUBDIR)/libcpp && \
20651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20653 "RANLIB=$${RANLIB}" \
20654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20655 installcheck) \
20656 || exit 1
20658 @endif libcpp
20660 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20661 maybe-mostlyclean-libcpp:
20662 @if libcpp
20663 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20665 mostlyclean-libcpp:
20666 @[ -f ./libcpp/Makefile ] || exit 0; \
20667 r=`${PWD_COMMAND}`; export r; \
20668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20669 $(HOST_EXPORTS) \
20670 for flag in $(EXTRA_HOST_FLAGS) ; do \
20671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20672 done; \
20673 echo "Doing mostlyclean in libcpp" ; \
20674 (cd $(HOST_SUBDIR)/libcpp && \
20675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20677 "RANLIB=$${RANLIB}" \
20678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20679 mostlyclean) \
20680 || exit 1
20682 @endif libcpp
20684 .PHONY: maybe-clean-libcpp clean-libcpp
20685 maybe-clean-libcpp:
20686 @if libcpp
20687 maybe-clean-libcpp: clean-libcpp
20689 clean-libcpp:
20690 @[ -f ./libcpp/Makefile ] || exit 0; \
20691 r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 $(HOST_EXPORTS) \
20694 for flag in $(EXTRA_HOST_FLAGS) ; do \
20695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20696 done; \
20697 echo "Doing clean in libcpp" ; \
20698 (cd $(HOST_SUBDIR)/libcpp && \
20699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20701 "RANLIB=$${RANLIB}" \
20702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20703 clean) \
20704 || exit 1
20706 @endif libcpp
20708 .PHONY: maybe-distclean-libcpp distclean-libcpp
20709 maybe-distclean-libcpp:
20710 @if libcpp
20711 maybe-distclean-libcpp: distclean-libcpp
20713 distclean-libcpp:
20714 @[ -f ./libcpp/Makefile ] || exit 0; \
20715 r=`${PWD_COMMAND}`; export r; \
20716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20717 $(HOST_EXPORTS) \
20718 for flag in $(EXTRA_HOST_FLAGS) ; do \
20719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20720 done; \
20721 echo "Doing distclean in libcpp" ; \
20722 (cd $(HOST_SUBDIR)/libcpp && \
20723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20725 "RANLIB=$${RANLIB}" \
20726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20727 distclean) \
20728 || exit 1
20730 @endif libcpp
20732 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20733 maybe-maintainer-clean-libcpp:
20734 @if libcpp
20735 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20737 maintainer-clean-libcpp:
20738 @[ -f ./libcpp/Makefile ] || exit 0; \
20739 r=`${PWD_COMMAND}`; export r; \
20740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20741 $(HOST_EXPORTS) \
20742 for flag in $(EXTRA_HOST_FLAGS) ; do \
20743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20744 done; \
20745 echo "Doing maintainer-clean in libcpp" ; \
20746 (cd $(HOST_SUBDIR)/libcpp && \
20747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20749 "RANLIB=$${RANLIB}" \
20750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20751 maintainer-clean) \
20752 || exit 1
20754 @endif libcpp
20758 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20759 maybe-configure-libdecnumber:
20760 @if gcc-bootstrap
20761 configure-libdecnumber: stage_current
20762 @endif gcc-bootstrap
20763 @if libdecnumber
20764 maybe-configure-libdecnumber: configure-libdecnumber
20765 configure-libdecnumber:
20766 @r=`${PWD_COMMAND}`; export r; \
20767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20768 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20770 $(HOST_EXPORTS) \
20771 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20772 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20773 case $(srcdir) in \
20774 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20775 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20776 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20777 esac; \
20778 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20779 libsrcdir="$$s/libdecnumber"; \
20780 $(SHELL) $${libsrcdir}/configure \
20781 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20782 --target=${target_alias} $${srcdiroption} \
20783 || exit 1
20784 @endif libdecnumber
20788 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
20789 maybe-configure-stage1-libdecnumber:
20790 @if libdecnumber-bootstrap
20791 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
20792 configure-stage1-libdecnumber:
20793 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20795 @r=`${PWD_COMMAND}`; export r; \
20796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20797 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20798 $(HOST_EXPORTS) \
20799 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
20800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20801 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20802 case $(srcdir) in \
20803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20804 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20806 esac; \
20807 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20808 libsrcdir="$$s/libdecnumber"; \
20809 $(SHELL) $${libsrcdir}/configure \
20810 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20811 --target=${target_alias} $${srcdiroption} \
20813 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
20814 @endif libdecnumber-bootstrap
20816 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
20817 maybe-configure-stage2-libdecnumber:
20818 @if libdecnumber-bootstrap
20819 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
20820 configure-stage2-libdecnumber:
20821 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20822 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20823 @r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20825 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20826 $(HOST_EXPORTS) \
20827 $(POSTSTAGE1_HOST_EXPORTS) \
20828 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
20829 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20830 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20831 case $(srcdir) in \
20832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20833 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20835 esac; \
20836 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20837 libsrcdir="$$s/libdecnumber"; \
20838 $(SHELL) $${libsrcdir}/configure \
20839 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20840 --target=${target_alias} $${srcdiroption} \
20841 --with-build-libsubdir=$(HOST_SUBDIR) \
20842 @stage2_werror_flag@
20843 @endif libdecnumber-bootstrap
20845 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
20846 maybe-configure-stage3-libdecnumber:
20847 @if libdecnumber-bootstrap
20848 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
20849 configure-stage3-libdecnumber:
20850 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20851 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20852 @r=`${PWD_COMMAND}`; export r; \
20853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20854 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20855 $(HOST_EXPORTS) \
20856 $(POSTSTAGE1_HOST_EXPORTS) \
20857 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
20858 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20859 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20860 case $(srcdir) in \
20861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20862 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20864 esac; \
20865 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20866 libsrcdir="$$s/libdecnumber"; \
20867 $(SHELL) $${libsrcdir}/configure \
20868 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20869 --target=${target_alias} $${srcdiroption} \
20870 --with-build-libsubdir=$(HOST_SUBDIR) \
20871 @stage2_werror_flag@
20872 @endif libdecnumber-bootstrap
20874 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
20875 maybe-configure-stage4-libdecnumber:
20876 @if libdecnumber-bootstrap
20877 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
20878 configure-stage4-libdecnumber:
20879 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20880 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20881 @r=`${PWD_COMMAND}`; export r; \
20882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20883 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20884 $(HOST_EXPORTS) \
20885 $(POSTSTAGE1_HOST_EXPORTS) \
20886 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
20887 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20888 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20889 case $(srcdir) in \
20890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20891 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20893 esac; \
20894 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20895 libsrcdir="$$s/libdecnumber"; \
20896 $(SHELL) $${libsrcdir}/configure \
20897 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20898 --target=${target_alias} $${srcdiroption} \
20899 --with-build-libsubdir=$(HOST_SUBDIR) \
20900 @stage2_werror_flag@
20901 @endif libdecnumber-bootstrap
20903 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
20904 maybe-configure-stageprofile-libdecnumber:
20905 @if libdecnumber-bootstrap
20906 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
20907 configure-stageprofile-libdecnumber:
20908 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20910 @r=`${PWD_COMMAND}`; export r; \
20911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20912 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20913 $(HOST_EXPORTS) \
20914 $(POSTSTAGE1_HOST_EXPORTS) \
20915 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
20916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20917 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20918 case $(srcdir) in \
20919 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20920 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20921 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20922 esac; \
20923 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20924 libsrcdir="$$s/libdecnumber"; \
20925 $(SHELL) $${libsrcdir}/configure \
20926 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20927 --target=${target_alias} $${srcdiroption} \
20928 --with-build-libsubdir=$(HOST_SUBDIR) \
20929 @stage2_werror_flag@
20930 @endif libdecnumber-bootstrap
20932 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
20933 maybe-configure-stagefeedback-libdecnumber:
20934 @if libdecnumber-bootstrap
20935 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
20936 configure-stagefeedback-libdecnumber:
20937 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20938 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
20939 @r=`${PWD_COMMAND}`; export r; \
20940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20941 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20942 $(HOST_EXPORTS) \
20943 $(POSTSTAGE1_HOST_EXPORTS) \
20944 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
20945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20946 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
20947 case $(srcdir) in \
20948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20949 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
20950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20951 esac; \
20952 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
20953 libsrcdir="$$s/libdecnumber"; \
20954 $(SHELL) $${libsrcdir}/configure \
20955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20956 --target=${target_alias} $${srcdiroption} \
20957 --with-build-libsubdir=$(HOST_SUBDIR) \
20958 @stage2_werror_flag@
20959 @endif libdecnumber-bootstrap
20965 .PHONY: all-libdecnumber maybe-all-libdecnumber
20966 maybe-all-libdecnumber:
20967 @if gcc-bootstrap
20968 all-libdecnumber: stage_current
20969 @endif gcc-bootstrap
20970 @if libdecnumber
20971 TARGET-libdecnumber=all
20972 maybe-all-libdecnumber: all-libdecnumber
20973 all-libdecnumber: configure-libdecnumber
20974 @r=`${PWD_COMMAND}`; export r; \
20975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20976 $(HOST_EXPORTS) \
20977 (cd $(HOST_SUBDIR)/libdecnumber && \
20978 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
20979 @endif libdecnumber
20983 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
20984 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
20985 maybe-all-stage1-libdecnumber:
20986 maybe-clean-stage1-libdecnumber:
20987 @if libdecnumber-bootstrap
20988 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
20989 all-stage1: all-stage1-libdecnumber
20990 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
20991 all-stage1-libdecnumber: configure-stage1-libdecnumber
20992 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20993 @r=`${PWD_COMMAND}`; export r; \
20994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20995 $(HOST_EXPORTS) \
20996 cd $(HOST_SUBDIR)/libdecnumber && \
20997 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
20998 $(TARGET-stage1-libdecnumber)
21000 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21001 clean-stage1: clean-stage1-libdecnumber
21002 clean-stage1-libdecnumber:
21003 @if [ $(current_stage) = stage1 ]; then \
21004 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21005 else \
21006 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21007 $(MAKE) stage1-start; \
21008 fi; \
21009 cd $(HOST_SUBDIR)/libdecnumber && \
21010 $(MAKE) $(FLAGS_TO_PASS) \
21011 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
21012 @endif libdecnumber-bootstrap
21015 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21016 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21017 maybe-all-stage2-libdecnumber:
21018 maybe-clean-stage2-libdecnumber:
21019 @if libdecnumber-bootstrap
21020 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21021 all-stage2: all-stage2-libdecnumber
21022 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21023 all-stage2-libdecnumber: configure-stage2-libdecnumber
21024 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21025 @r=`${PWD_COMMAND}`; export r; \
21026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21027 $(HOST_EXPORTS) \
21028 $(POSTSTAGE1_HOST_EXPORTS) \
21029 cd $(HOST_SUBDIR)/libdecnumber && \
21030 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21031 $(TARGET-stage2-libdecnumber)
21033 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21034 clean-stage2: clean-stage2-libdecnumber
21035 clean-stage2-libdecnumber:
21036 @if [ $(current_stage) = stage2 ]; then \
21037 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21038 else \
21039 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21040 $(MAKE) stage2-start; \
21041 fi; \
21042 cd $(HOST_SUBDIR)/libdecnumber && \
21043 $(MAKE) $(FLAGS_TO_PASS) \
21044 $(POSTSTAGE1_FLAGS_TO_PASS) \
21045 clean
21046 @endif libdecnumber-bootstrap
21049 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21050 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21051 maybe-all-stage3-libdecnumber:
21052 maybe-clean-stage3-libdecnumber:
21053 @if libdecnumber-bootstrap
21054 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21055 all-stage3: all-stage3-libdecnumber
21056 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21057 all-stage3-libdecnumber: configure-stage3-libdecnumber
21058 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21059 @r=`${PWD_COMMAND}`; export r; \
21060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21061 $(HOST_EXPORTS) \
21062 $(POSTSTAGE1_HOST_EXPORTS) \
21063 cd $(HOST_SUBDIR)/libdecnumber && \
21064 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21065 $(TARGET-stage3-libdecnumber)
21067 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21068 clean-stage3: clean-stage3-libdecnumber
21069 clean-stage3-libdecnumber:
21070 @if [ $(current_stage) = stage3 ]; then \
21071 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21072 else \
21073 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21074 $(MAKE) stage3-start; \
21075 fi; \
21076 cd $(HOST_SUBDIR)/libdecnumber && \
21077 $(MAKE) $(FLAGS_TO_PASS) \
21078 $(POSTSTAGE1_FLAGS_TO_PASS) \
21079 clean
21080 @endif libdecnumber-bootstrap
21083 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21084 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21085 maybe-all-stage4-libdecnumber:
21086 maybe-clean-stage4-libdecnumber:
21087 @if libdecnumber-bootstrap
21088 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21089 all-stage4: all-stage4-libdecnumber
21090 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21091 all-stage4-libdecnumber: configure-stage4-libdecnumber
21092 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21093 @r=`${PWD_COMMAND}`; export r; \
21094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21095 $(HOST_EXPORTS) \
21096 $(POSTSTAGE1_HOST_EXPORTS) \
21097 cd $(HOST_SUBDIR)/libdecnumber && \
21098 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21099 $(TARGET-stage4-libdecnumber)
21101 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21102 clean-stage4: clean-stage4-libdecnumber
21103 clean-stage4-libdecnumber:
21104 @if [ $(current_stage) = stage4 ]; then \
21105 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21106 else \
21107 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21108 $(MAKE) stage4-start; \
21109 fi; \
21110 cd $(HOST_SUBDIR)/libdecnumber && \
21111 $(MAKE) $(FLAGS_TO_PASS) \
21112 $(POSTSTAGE1_FLAGS_TO_PASS) \
21113 clean
21114 @endif libdecnumber-bootstrap
21117 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21118 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21119 maybe-all-stageprofile-libdecnumber:
21120 maybe-clean-stageprofile-libdecnumber:
21121 @if libdecnumber-bootstrap
21122 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21123 all-stageprofile: all-stageprofile-libdecnumber
21124 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21125 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21126 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21127 @r=`${PWD_COMMAND}`; export r; \
21128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21129 $(HOST_EXPORTS) \
21130 $(POSTSTAGE1_HOST_EXPORTS) \
21131 cd $(HOST_SUBDIR)/libdecnumber && \
21132 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
21133 $(TARGET-stageprofile-libdecnumber)
21135 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21136 clean-stageprofile: clean-stageprofile-libdecnumber
21137 clean-stageprofile-libdecnumber:
21138 @if [ $(current_stage) = stageprofile ]; then \
21139 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21140 else \
21141 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21142 $(MAKE) stageprofile-start; \
21143 fi; \
21144 cd $(HOST_SUBDIR)/libdecnumber && \
21145 $(MAKE) $(FLAGS_TO_PASS) \
21146 $(POSTSTAGE1_FLAGS_TO_PASS) \
21147 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
21148 @endif libdecnumber-bootstrap
21151 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21152 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21153 maybe-all-stagefeedback-libdecnumber:
21154 maybe-clean-stagefeedback-libdecnumber:
21155 @if libdecnumber-bootstrap
21156 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21157 all-stagefeedback: all-stagefeedback-libdecnumber
21158 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21159 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21160 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21161 @r=`${PWD_COMMAND}`; export r; \
21162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21163 $(HOST_EXPORTS) \
21164 $(POSTSTAGE1_HOST_EXPORTS) \
21165 cd $(HOST_SUBDIR)/libdecnumber && \
21166 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
21167 $(TARGET-stagefeedback-libdecnumber)
21169 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21170 clean-stagefeedback: clean-stagefeedback-libdecnumber
21171 clean-stagefeedback-libdecnumber:
21172 @if [ $(current_stage) = stagefeedback ]; then \
21173 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21174 else \
21175 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21176 $(MAKE) stagefeedback-start; \
21177 fi; \
21178 cd $(HOST_SUBDIR)/libdecnumber && \
21179 $(MAKE) $(FLAGS_TO_PASS) \
21180 $(POSTSTAGE1_FLAGS_TO_PASS) \
21181 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
21182 @endif libdecnumber-bootstrap
21188 .PHONY: check-libdecnumber maybe-check-libdecnumber
21189 maybe-check-libdecnumber:
21190 @if libdecnumber
21191 maybe-check-libdecnumber: check-libdecnumber
21193 check-libdecnumber:
21194 @: $(MAKE); $(unstage)
21195 @r=`${PWD_COMMAND}`; export r; \
21196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21197 $(HOST_EXPORTS) \
21198 (cd $(HOST_SUBDIR)/libdecnumber && \
21199 $(MAKE) $(FLAGS_TO_PASS) check)
21201 @endif libdecnumber
21203 .PHONY: install-libdecnumber maybe-install-libdecnumber
21204 maybe-install-libdecnumber:
21205 @if libdecnumber
21206 maybe-install-libdecnumber: install-libdecnumber
21208 install-libdecnumber: installdirs
21209 @: $(MAKE); $(unstage)
21210 @r=`${PWD_COMMAND}`; export r; \
21211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21212 $(HOST_EXPORTS) \
21213 (cd $(HOST_SUBDIR)/libdecnumber && \
21214 $(MAKE) $(FLAGS_TO_PASS) install)
21216 @endif libdecnumber
21218 # Other targets (info, dvi, pdf, etc.)
21220 .PHONY: maybe-info-libdecnumber info-libdecnumber
21221 maybe-info-libdecnumber:
21222 @if libdecnumber
21223 maybe-info-libdecnumber: info-libdecnumber
21225 info-libdecnumber: \
21226 configure-libdecnumber
21227 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21228 r=`${PWD_COMMAND}`; export r; \
21229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21230 $(HOST_EXPORTS) \
21231 for flag in $(EXTRA_HOST_FLAGS) ; do \
21232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21233 done; \
21234 echo "Doing info in libdecnumber" ; \
21235 (cd $(HOST_SUBDIR)/libdecnumber && \
21236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21238 "RANLIB=$${RANLIB}" \
21239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21240 info) \
21241 || exit 1
21243 @endif libdecnumber
21245 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21246 maybe-dvi-libdecnumber:
21247 @if libdecnumber
21248 maybe-dvi-libdecnumber: dvi-libdecnumber
21250 dvi-libdecnumber: \
21251 configure-libdecnumber
21252 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21253 r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255 $(HOST_EXPORTS) \
21256 for flag in $(EXTRA_HOST_FLAGS) ; do \
21257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21258 done; \
21259 echo "Doing dvi in libdecnumber" ; \
21260 (cd $(HOST_SUBDIR)/libdecnumber && \
21261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21263 "RANLIB=$${RANLIB}" \
21264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21265 dvi) \
21266 || exit 1
21268 @endif libdecnumber
21270 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21271 maybe-pdf-libdecnumber:
21272 @if libdecnumber
21273 maybe-pdf-libdecnumber: pdf-libdecnumber
21275 pdf-libdecnumber: \
21276 configure-libdecnumber
21277 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21278 r=`${PWD_COMMAND}`; export r; \
21279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21280 $(HOST_EXPORTS) \
21281 for flag in $(EXTRA_HOST_FLAGS) ; do \
21282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21283 done; \
21284 echo "Doing pdf in libdecnumber" ; \
21285 (cd $(HOST_SUBDIR)/libdecnumber && \
21286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21288 "RANLIB=$${RANLIB}" \
21289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21290 pdf) \
21291 || exit 1
21293 @endif libdecnumber
21295 .PHONY: maybe-html-libdecnumber html-libdecnumber
21296 maybe-html-libdecnumber:
21297 @if libdecnumber
21298 maybe-html-libdecnumber: html-libdecnumber
21300 html-libdecnumber: \
21301 configure-libdecnumber
21302 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21303 r=`${PWD_COMMAND}`; export r; \
21304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21305 $(HOST_EXPORTS) \
21306 for flag in $(EXTRA_HOST_FLAGS) ; do \
21307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21308 done; \
21309 echo "Doing html in libdecnumber" ; \
21310 (cd $(HOST_SUBDIR)/libdecnumber && \
21311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21313 "RANLIB=$${RANLIB}" \
21314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21315 html) \
21316 || exit 1
21318 @endif libdecnumber
21320 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21321 maybe-TAGS-libdecnumber:
21322 @if libdecnumber
21323 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21325 TAGS-libdecnumber: \
21326 configure-libdecnumber
21327 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21328 r=`${PWD_COMMAND}`; export r; \
21329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21330 $(HOST_EXPORTS) \
21331 for flag in $(EXTRA_HOST_FLAGS) ; do \
21332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21333 done; \
21334 echo "Doing TAGS in libdecnumber" ; \
21335 (cd $(HOST_SUBDIR)/libdecnumber && \
21336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21338 "RANLIB=$${RANLIB}" \
21339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21340 TAGS) \
21341 || exit 1
21343 @endif libdecnumber
21345 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21346 maybe-install-info-libdecnumber:
21347 @if libdecnumber
21348 maybe-install-info-libdecnumber: install-info-libdecnumber
21350 install-info-libdecnumber: \
21351 configure-libdecnumber \
21352 info-libdecnumber
21353 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21354 r=`${PWD_COMMAND}`; export r; \
21355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21356 $(HOST_EXPORTS) \
21357 for flag in $(EXTRA_HOST_FLAGS) ; do \
21358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21359 done; \
21360 echo "Doing install-info in libdecnumber" ; \
21361 (cd $(HOST_SUBDIR)/libdecnumber && \
21362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21364 "RANLIB=$${RANLIB}" \
21365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21366 install-info) \
21367 || exit 1
21369 @endif libdecnumber
21371 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21372 maybe-install-html-libdecnumber:
21373 @if libdecnumber
21374 maybe-install-html-libdecnumber: install-html-libdecnumber
21376 install-html-libdecnumber: \
21377 configure-libdecnumber \
21378 html-libdecnumber
21379 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21380 r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 $(HOST_EXPORTS) \
21383 for flag in $(EXTRA_HOST_FLAGS) ; do \
21384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21385 done; \
21386 echo "Doing install-html in libdecnumber" ; \
21387 (cd $(HOST_SUBDIR)/libdecnumber && \
21388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21390 "RANLIB=$${RANLIB}" \
21391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21392 install-html) \
21393 || exit 1
21395 @endif libdecnumber
21397 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21398 maybe-installcheck-libdecnumber:
21399 @if libdecnumber
21400 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21402 installcheck-libdecnumber: \
21403 configure-libdecnumber
21404 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21405 r=`${PWD_COMMAND}`; export r; \
21406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21407 $(HOST_EXPORTS) \
21408 for flag in $(EXTRA_HOST_FLAGS) ; do \
21409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21410 done; \
21411 echo "Doing installcheck in libdecnumber" ; \
21412 (cd $(HOST_SUBDIR)/libdecnumber && \
21413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21415 "RANLIB=$${RANLIB}" \
21416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21417 installcheck) \
21418 || exit 1
21420 @endif libdecnumber
21422 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21423 maybe-mostlyclean-libdecnumber:
21424 @if libdecnumber
21425 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21427 mostlyclean-libdecnumber:
21428 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21429 r=`${PWD_COMMAND}`; export r; \
21430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21431 $(HOST_EXPORTS) \
21432 for flag in $(EXTRA_HOST_FLAGS) ; do \
21433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21434 done; \
21435 echo "Doing mostlyclean in libdecnumber" ; \
21436 (cd $(HOST_SUBDIR)/libdecnumber && \
21437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21439 "RANLIB=$${RANLIB}" \
21440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21441 mostlyclean) \
21442 || exit 1
21444 @endif libdecnumber
21446 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21447 maybe-clean-libdecnumber:
21448 @if libdecnumber
21449 maybe-clean-libdecnumber: clean-libdecnumber
21451 clean-libdecnumber:
21452 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21453 r=`${PWD_COMMAND}`; export r; \
21454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21455 $(HOST_EXPORTS) \
21456 for flag in $(EXTRA_HOST_FLAGS) ; do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21458 done; \
21459 echo "Doing clean in libdecnumber" ; \
21460 (cd $(HOST_SUBDIR)/libdecnumber && \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21463 "RANLIB=$${RANLIB}" \
21464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21465 clean) \
21466 || exit 1
21468 @endif libdecnumber
21470 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21471 maybe-distclean-libdecnumber:
21472 @if libdecnumber
21473 maybe-distclean-libdecnumber: distclean-libdecnumber
21475 distclean-libdecnumber:
21476 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21477 r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 $(HOST_EXPORTS) \
21480 for flag in $(EXTRA_HOST_FLAGS) ; do \
21481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21482 done; \
21483 echo "Doing distclean in libdecnumber" ; \
21484 (cd $(HOST_SUBDIR)/libdecnumber && \
21485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21487 "RANLIB=$${RANLIB}" \
21488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21489 distclean) \
21490 || exit 1
21492 @endif libdecnumber
21494 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21495 maybe-maintainer-clean-libdecnumber:
21496 @if libdecnumber
21497 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21499 maintainer-clean-libdecnumber:
21500 @[ -f ./libdecnumber/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 maintainer-clean in libdecnumber" ; \
21508 (cd $(HOST_SUBDIR)/libdecnumber && \
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 maintainer-clean) \
21514 || exit 1
21516 @endif libdecnumber
21520 .PHONY: configure-libgui maybe-configure-libgui
21521 maybe-configure-libgui:
21522 @if gcc-bootstrap
21523 configure-libgui: stage_current
21524 @endif gcc-bootstrap
21525 @if libgui
21526 maybe-configure-libgui: configure-libgui
21527 configure-libgui:
21528 @: $(MAKE); $(unstage)
21529 @r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21532 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21533 $(HOST_EXPORTS) \
21534 echo Configuring in $(HOST_SUBDIR)/libgui; \
21535 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21536 case $(srcdir) in \
21537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21538 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21540 esac; \
21541 srcdiroption="--srcdir=$${topdir}/libgui"; \
21542 libsrcdir="$$s/libgui"; \
21543 $(SHELL) $${libsrcdir}/configure \
21544 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21545 --target=${target_alias} $${srcdiroption} \
21546 || exit 1
21547 @endif libgui
21553 .PHONY: all-libgui maybe-all-libgui
21554 maybe-all-libgui:
21555 @if gcc-bootstrap
21556 all-libgui: stage_current
21557 @endif gcc-bootstrap
21558 @if libgui
21559 TARGET-libgui=all
21560 maybe-all-libgui: all-libgui
21561 all-libgui: configure-libgui
21562 @: $(MAKE); $(unstage)
21563 @r=`${PWD_COMMAND}`; export r; \
21564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21565 $(HOST_EXPORTS) \
21566 (cd $(HOST_SUBDIR)/libgui && \
21567 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
21568 @endif libgui
21573 .PHONY: check-libgui maybe-check-libgui
21574 maybe-check-libgui:
21575 @if libgui
21576 maybe-check-libgui: check-libgui
21578 check-libgui:
21579 @: $(MAKE); $(unstage)
21580 @r=`${PWD_COMMAND}`; export r; \
21581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21582 $(HOST_EXPORTS) \
21583 (cd $(HOST_SUBDIR)/libgui && \
21584 $(MAKE) $(FLAGS_TO_PASS) check)
21586 @endif libgui
21588 .PHONY: install-libgui maybe-install-libgui
21589 maybe-install-libgui:
21590 @if libgui
21591 maybe-install-libgui: install-libgui
21593 install-libgui: installdirs
21594 @: $(MAKE); $(unstage)
21595 @r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(HOST_EXPORTS) \
21598 (cd $(HOST_SUBDIR)/libgui && \
21599 $(MAKE) $(FLAGS_TO_PASS) install)
21601 @endif libgui
21603 # Other targets (info, dvi, pdf, etc.)
21605 .PHONY: maybe-info-libgui info-libgui
21606 maybe-info-libgui:
21607 @if libgui
21608 maybe-info-libgui: info-libgui
21610 info-libgui: \
21611 configure-libgui
21612 @: $(MAKE); $(unstage)
21613 @[ -f ./libgui/Makefile ] || exit 0; \
21614 r=`${PWD_COMMAND}`; export r; \
21615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21616 $(HOST_EXPORTS) \
21617 for flag in $(EXTRA_HOST_FLAGS) ; do \
21618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21619 done; \
21620 echo "Doing info in libgui" ; \
21621 (cd $(HOST_SUBDIR)/libgui && \
21622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21624 "RANLIB=$${RANLIB}" \
21625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21626 info) \
21627 || exit 1
21629 @endif libgui
21631 .PHONY: maybe-dvi-libgui dvi-libgui
21632 maybe-dvi-libgui:
21633 @if libgui
21634 maybe-dvi-libgui: dvi-libgui
21636 dvi-libgui: \
21637 configure-libgui
21638 @: $(MAKE); $(unstage)
21639 @[ -f ./libgui/Makefile ] || exit 0; \
21640 r=`${PWD_COMMAND}`; export r; \
21641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21642 $(HOST_EXPORTS) \
21643 for flag in $(EXTRA_HOST_FLAGS) ; do \
21644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21645 done; \
21646 echo "Doing dvi in libgui" ; \
21647 (cd $(HOST_SUBDIR)/libgui && \
21648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21650 "RANLIB=$${RANLIB}" \
21651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21652 dvi) \
21653 || exit 1
21655 @endif libgui
21657 .PHONY: maybe-pdf-libgui pdf-libgui
21658 maybe-pdf-libgui:
21659 @if libgui
21660 maybe-pdf-libgui: pdf-libgui
21662 pdf-libgui: \
21663 configure-libgui
21664 @: $(MAKE); $(unstage)
21665 @[ -f ./libgui/Makefile ] || exit 0; \
21666 r=`${PWD_COMMAND}`; export r; \
21667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21668 $(HOST_EXPORTS) \
21669 for flag in $(EXTRA_HOST_FLAGS) ; do \
21670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21671 done; \
21672 echo "Doing pdf in libgui" ; \
21673 (cd $(HOST_SUBDIR)/libgui && \
21674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21676 "RANLIB=$${RANLIB}" \
21677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21678 pdf) \
21679 || exit 1
21681 @endif libgui
21683 .PHONY: maybe-html-libgui html-libgui
21684 maybe-html-libgui:
21685 @if libgui
21686 maybe-html-libgui: html-libgui
21688 html-libgui: \
21689 configure-libgui
21690 @: $(MAKE); $(unstage)
21691 @[ -f ./libgui/Makefile ] || exit 0; \
21692 r=`${PWD_COMMAND}`; export r; \
21693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21694 $(HOST_EXPORTS) \
21695 for flag in $(EXTRA_HOST_FLAGS) ; do \
21696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21697 done; \
21698 echo "Doing html in libgui" ; \
21699 (cd $(HOST_SUBDIR)/libgui && \
21700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21702 "RANLIB=$${RANLIB}" \
21703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21704 html) \
21705 || exit 1
21707 @endif libgui
21709 .PHONY: maybe-TAGS-libgui TAGS-libgui
21710 maybe-TAGS-libgui:
21711 @if libgui
21712 maybe-TAGS-libgui: TAGS-libgui
21714 TAGS-libgui: \
21715 configure-libgui
21716 @: $(MAKE); $(unstage)
21717 @[ -f ./libgui/Makefile ] || exit 0; \
21718 r=`${PWD_COMMAND}`; export r; \
21719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21720 $(HOST_EXPORTS) \
21721 for flag in $(EXTRA_HOST_FLAGS) ; do \
21722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21723 done; \
21724 echo "Doing TAGS in libgui" ; \
21725 (cd $(HOST_SUBDIR)/libgui && \
21726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21728 "RANLIB=$${RANLIB}" \
21729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21730 TAGS) \
21731 || exit 1
21733 @endif libgui
21735 .PHONY: maybe-install-info-libgui install-info-libgui
21736 maybe-install-info-libgui:
21737 @if libgui
21738 maybe-install-info-libgui: install-info-libgui
21740 install-info-libgui: \
21741 configure-libgui \
21742 info-libgui
21743 @: $(MAKE); $(unstage)
21744 @[ -f ./libgui/Makefile ] || exit 0; \
21745 r=`${PWD_COMMAND}`; export r; \
21746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21747 $(HOST_EXPORTS) \
21748 for flag in $(EXTRA_HOST_FLAGS) ; do \
21749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21750 done; \
21751 echo "Doing install-info in libgui" ; \
21752 (cd $(HOST_SUBDIR)/libgui && \
21753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21755 "RANLIB=$${RANLIB}" \
21756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21757 install-info) \
21758 || exit 1
21760 @endif libgui
21762 .PHONY: maybe-install-html-libgui install-html-libgui
21763 maybe-install-html-libgui:
21764 @if libgui
21765 maybe-install-html-libgui: install-html-libgui
21767 install-html-libgui: \
21768 configure-libgui \
21769 html-libgui
21770 @: $(MAKE); $(unstage)
21771 @[ -f ./libgui/Makefile ] || exit 0; \
21772 r=`${PWD_COMMAND}`; export r; \
21773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21774 $(HOST_EXPORTS) \
21775 for flag in $(EXTRA_HOST_FLAGS) ; do \
21776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21777 done; \
21778 echo "Doing install-html in libgui" ; \
21779 (cd $(HOST_SUBDIR)/libgui && \
21780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21782 "RANLIB=$${RANLIB}" \
21783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21784 install-html) \
21785 || exit 1
21787 @endif libgui
21789 .PHONY: maybe-installcheck-libgui installcheck-libgui
21790 maybe-installcheck-libgui:
21791 @if libgui
21792 maybe-installcheck-libgui: installcheck-libgui
21794 installcheck-libgui: \
21795 configure-libgui
21796 @: $(MAKE); $(unstage)
21797 @[ -f ./libgui/Makefile ] || exit 0; \
21798 r=`${PWD_COMMAND}`; export r; \
21799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21800 $(HOST_EXPORTS) \
21801 for flag in $(EXTRA_HOST_FLAGS) ; do \
21802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21803 done; \
21804 echo "Doing installcheck in libgui" ; \
21805 (cd $(HOST_SUBDIR)/libgui && \
21806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21808 "RANLIB=$${RANLIB}" \
21809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21810 installcheck) \
21811 || exit 1
21813 @endif libgui
21815 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
21816 maybe-mostlyclean-libgui:
21817 @if libgui
21818 maybe-mostlyclean-libgui: mostlyclean-libgui
21820 mostlyclean-libgui:
21821 @: $(MAKE); $(unstage)
21822 @[ -f ./libgui/Makefile ] || exit 0; \
21823 r=`${PWD_COMMAND}`; export r; \
21824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21825 $(HOST_EXPORTS) \
21826 for flag in $(EXTRA_HOST_FLAGS) ; do \
21827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21828 done; \
21829 echo "Doing mostlyclean in libgui" ; \
21830 (cd $(HOST_SUBDIR)/libgui && \
21831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21833 "RANLIB=$${RANLIB}" \
21834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21835 mostlyclean) \
21836 || exit 1
21838 @endif libgui
21840 .PHONY: maybe-clean-libgui clean-libgui
21841 maybe-clean-libgui:
21842 @if libgui
21843 maybe-clean-libgui: clean-libgui
21845 clean-libgui:
21846 @: $(MAKE); $(unstage)
21847 @[ -f ./libgui/Makefile ] || exit 0; \
21848 r=`${PWD_COMMAND}`; export r; \
21849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21850 $(HOST_EXPORTS) \
21851 for flag in $(EXTRA_HOST_FLAGS) ; do \
21852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21853 done; \
21854 echo "Doing clean in libgui" ; \
21855 (cd $(HOST_SUBDIR)/libgui && \
21856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21858 "RANLIB=$${RANLIB}" \
21859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21860 clean) \
21861 || exit 1
21863 @endif libgui
21865 .PHONY: maybe-distclean-libgui distclean-libgui
21866 maybe-distclean-libgui:
21867 @if libgui
21868 maybe-distclean-libgui: distclean-libgui
21870 distclean-libgui:
21871 @: $(MAKE); $(unstage)
21872 @[ -f ./libgui/Makefile ] || exit 0; \
21873 r=`${PWD_COMMAND}`; export r; \
21874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21875 $(HOST_EXPORTS) \
21876 for flag in $(EXTRA_HOST_FLAGS) ; do \
21877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21878 done; \
21879 echo "Doing distclean in libgui" ; \
21880 (cd $(HOST_SUBDIR)/libgui && \
21881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21883 "RANLIB=$${RANLIB}" \
21884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21885 distclean) \
21886 || exit 1
21888 @endif libgui
21890 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
21891 maybe-maintainer-clean-libgui:
21892 @if libgui
21893 maybe-maintainer-clean-libgui: maintainer-clean-libgui
21895 maintainer-clean-libgui:
21896 @: $(MAKE); $(unstage)
21897 @[ -f ./libgui/Makefile ] || exit 0; \
21898 r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900 $(HOST_EXPORTS) \
21901 for flag in $(EXTRA_HOST_FLAGS) ; do \
21902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21903 done; \
21904 echo "Doing maintainer-clean in libgui" ; \
21905 (cd $(HOST_SUBDIR)/libgui && \
21906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21908 "RANLIB=$${RANLIB}" \
21909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21910 maintainer-clean) \
21911 || exit 1
21913 @endif libgui
21917 .PHONY: configure-libiberty maybe-configure-libiberty
21918 maybe-configure-libiberty:
21919 @if gcc-bootstrap
21920 configure-libiberty: stage_current
21921 @endif gcc-bootstrap
21922 @if libiberty
21923 maybe-configure-libiberty: configure-libiberty
21924 configure-libiberty:
21925 @r=`${PWD_COMMAND}`; export r; \
21926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21929 $(HOST_EXPORTS) \
21930 echo Configuring in $(HOST_SUBDIR)/libiberty; \
21931 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
21932 case $(srcdir) in \
21933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21934 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21936 esac; \
21937 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21938 libsrcdir="$$s/libiberty"; \
21939 $(SHELL) $${libsrcdir}/configure \
21940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21941 --target=${target_alias} $${srcdiroption} \
21942 || exit 1
21943 @endif libiberty
21947 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
21948 maybe-configure-stage1-libiberty:
21949 @if libiberty-bootstrap
21950 maybe-configure-stage1-libiberty: configure-stage1-libiberty
21951 configure-stage1-libiberty:
21952 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21953 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21954 @r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21957 $(HOST_EXPORTS) \
21958 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
21959 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21960 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21961 case $(srcdir) in \
21962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21963 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21965 esac; \
21966 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21967 libsrcdir="$$s/libiberty"; \
21968 $(SHELL) $${libsrcdir}/configure \
21969 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21970 --target=${target_alias} $${srcdiroption} \
21972 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
21973 @endif libiberty-bootstrap
21975 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
21976 maybe-configure-stage2-libiberty:
21977 @if libiberty-bootstrap
21978 maybe-configure-stage2-libiberty: configure-stage2-libiberty
21979 configure-stage2-libiberty:
21980 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21981 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
21982 @r=`${PWD_COMMAND}`; export r; \
21983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21984 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
21985 $(HOST_EXPORTS) \
21986 $(POSTSTAGE1_HOST_EXPORTS) \
21987 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
21988 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
21989 cd $(HOST_SUBDIR)/libiberty || exit 1; \
21990 case $(srcdir) in \
21991 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21992 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
21993 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21994 esac; \
21995 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21996 libsrcdir="$$s/libiberty"; \
21997 $(SHELL) $${libsrcdir}/configure \
21998 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21999 --target=${target_alias} $${srcdiroption} \
22000 --with-build-libsubdir=$(HOST_SUBDIR) \
22001 @stage2_werror_flag@
22002 @endif libiberty-bootstrap
22004 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22005 maybe-configure-stage3-libiberty:
22006 @if libiberty-bootstrap
22007 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22008 configure-stage3-libiberty:
22009 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22011 @r=`${PWD_COMMAND}`; export r; \
22012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22013 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22014 $(HOST_EXPORTS) \
22015 $(POSTSTAGE1_HOST_EXPORTS) \
22016 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22017 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22018 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22019 case $(srcdir) in \
22020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22021 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22023 esac; \
22024 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22025 libsrcdir="$$s/libiberty"; \
22026 $(SHELL) $${libsrcdir}/configure \
22027 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22028 --target=${target_alias} $${srcdiroption} \
22029 --with-build-libsubdir=$(HOST_SUBDIR) \
22030 @stage2_werror_flag@
22031 @endif libiberty-bootstrap
22033 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22034 maybe-configure-stage4-libiberty:
22035 @if libiberty-bootstrap
22036 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22037 configure-stage4-libiberty:
22038 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22039 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22040 @r=`${PWD_COMMAND}`; export r; \
22041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22042 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22043 $(HOST_EXPORTS) \
22044 $(POSTSTAGE1_HOST_EXPORTS) \
22045 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22047 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22048 case $(srcdir) in \
22049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22050 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22052 esac; \
22053 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22054 libsrcdir="$$s/libiberty"; \
22055 $(SHELL) $${libsrcdir}/configure \
22056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22057 --target=${target_alias} $${srcdiroption} \
22058 --with-build-libsubdir=$(HOST_SUBDIR) \
22059 @stage2_werror_flag@
22060 @endif libiberty-bootstrap
22062 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22063 maybe-configure-stageprofile-libiberty:
22064 @if libiberty-bootstrap
22065 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22066 configure-stageprofile-libiberty:
22067 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22069 @r=`${PWD_COMMAND}`; export r; \
22070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22071 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22072 $(HOST_EXPORTS) \
22073 $(POSTSTAGE1_HOST_EXPORTS) \
22074 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22076 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22077 case $(srcdir) in \
22078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22079 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22081 esac; \
22082 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22083 libsrcdir="$$s/libiberty"; \
22084 $(SHELL) $${libsrcdir}/configure \
22085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22086 --target=${target_alias} $${srcdiroption} \
22087 --with-build-libsubdir=$(HOST_SUBDIR) \
22088 @stage2_werror_flag@
22089 @endif libiberty-bootstrap
22091 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22092 maybe-configure-stagefeedback-libiberty:
22093 @if libiberty-bootstrap
22094 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22095 configure-stagefeedback-libiberty:
22096 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22098 @r=`${PWD_COMMAND}`; export r; \
22099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22100 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22101 $(HOST_EXPORTS) \
22102 $(POSTSTAGE1_HOST_EXPORTS) \
22103 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22105 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22106 case $(srcdir) in \
22107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22108 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22110 esac; \
22111 srcdiroption="--srcdir=$${topdir}/libiberty"; \
22112 libsrcdir="$$s/libiberty"; \
22113 $(SHELL) $${libsrcdir}/configure \
22114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22115 --target=${target_alias} $${srcdiroption} \
22116 --with-build-libsubdir=$(HOST_SUBDIR) \
22117 @stage2_werror_flag@
22118 @endif libiberty-bootstrap
22124 .PHONY: all-libiberty maybe-all-libiberty
22125 maybe-all-libiberty:
22126 @if gcc-bootstrap
22127 all-libiberty: stage_current
22128 @endif gcc-bootstrap
22129 @if libiberty
22130 TARGET-libiberty=all
22131 maybe-all-libiberty: all-libiberty
22132 all-libiberty: configure-libiberty
22133 @r=`${PWD_COMMAND}`; export r; \
22134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 $(HOST_EXPORTS) \
22136 (cd $(HOST_SUBDIR)/libiberty && \
22137 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
22138 @endif libiberty
22142 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22143 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22144 maybe-all-stage1-libiberty:
22145 maybe-clean-stage1-libiberty:
22146 @if libiberty-bootstrap
22147 maybe-all-stage1-libiberty: all-stage1-libiberty
22148 all-stage1: all-stage1-libiberty
22149 TARGET-stage1-libiberty = $(TARGET-libiberty)
22150 all-stage1-libiberty: configure-stage1-libiberty
22151 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22152 @r=`${PWD_COMMAND}`; export r; \
22153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22154 $(HOST_EXPORTS) \
22155 cd $(HOST_SUBDIR)/libiberty && \
22156 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
22157 $(TARGET-stage1-libiberty)
22159 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22160 clean-stage1: clean-stage1-libiberty
22161 clean-stage1-libiberty:
22162 @if [ $(current_stage) = stage1 ]; then \
22163 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22164 else \
22165 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22166 $(MAKE) stage1-start; \
22167 fi; \
22168 cd $(HOST_SUBDIR)/libiberty && \
22169 $(MAKE) $(FLAGS_TO_PASS) \
22170 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
22171 @endif libiberty-bootstrap
22174 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22175 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22176 maybe-all-stage2-libiberty:
22177 maybe-clean-stage2-libiberty:
22178 @if libiberty-bootstrap
22179 maybe-all-stage2-libiberty: all-stage2-libiberty
22180 all-stage2: all-stage2-libiberty
22181 TARGET-stage2-libiberty = $(TARGET-libiberty)
22182 all-stage2-libiberty: configure-stage2-libiberty
22183 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22184 @r=`${PWD_COMMAND}`; export r; \
22185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22186 $(HOST_EXPORTS) \
22187 $(POSTSTAGE1_HOST_EXPORTS) \
22188 cd $(HOST_SUBDIR)/libiberty && \
22189 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22190 $(TARGET-stage2-libiberty)
22192 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22193 clean-stage2: clean-stage2-libiberty
22194 clean-stage2-libiberty:
22195 @if [ $(current_stage) = stage2 ]; then \
22196 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22197 else \
22198 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22199 $(MAKE) stage2-start; \
22200 fi; \
22201 cd $(HOST_SUBDIR)/libiberty && \
22202 $(MAKE) $(FLAGS_TO_PASS) \
22203 $(POSTSTAGE1_FLAGS_TO_PASS) \
22204 clean
22205 @endif libiberty-bootstrap
22208 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22209 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22210 maybe-all-stage3-libiberty:
22211 maybe-clean-stage3-libiberty:
22212 @if libiberty-bootstrap
22213 maybe-all-stage3-libiberty: all-stage3-libiberty
22214 all-stage3: all-stage3-libiberty
22215 TARGET-stage3-libiberty = $(TARGET-libiberty)
22216 all-stage3-libiberty: configure-stage3-libiberty
22217 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22218 @r=`${PWD_COMMAND}`; export r; \
22219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22220 $(HOST_EXPORTS) \
22221 $(POSTSTAGE1_HOST_EXPORTS) \
22222 cd $(HOST_SUBDIR)/libiberty && \
22223 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22224 $(TARGET-stage3-libiberty)
22226 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22227 clean-stage3: clean-stage3-libiberty
22228 clean-stage3-libiberty:
22229 @if [ $(current_stage) = stage3 ]; then \
22230 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22231 else \
22232 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22233 $(MAKE) stage3-start; \
22234 fi; \
22235 cd $(HOST_SUBDIR)/libiberty && \
22236 $(MAKE) $(FLAGS_TO_PASS) \
22237 $(POSTSTAGE1_FLAGS_TO_PASS) \
22238 clean
22239 @endif libiberty-bootstrap
22242 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22243 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22244 maybe-all-stage4-libiberty:
22245 maybe-clean-stage4-libiberty:
22246 @if libiberty-bootstrap
22247 maybe-all-stage4-libiberty: all-stage4-libiberty
22248 all-stage4: all-stage4-libiberty
22249 TARGET-stage4-libiberty = $(TARGET-libiberty)
22250 all-stage4-libiberty: configure-stage4-libiberty
22251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22252 @r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 $(HOST_EXPORTS) \
22255 $(POSTSTAGE1_HOST_EXPORTS) \
22256 cd $(HOST_SUBDIR)/libiberty && \
22257 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22258 $(TARGET-stage4-libiberty)
22260 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22261 clean-stage4: clean-stage4-libiberty
22262 clean-stage4-libiberty:
22263 @if [ $(current_stage) = stage4 ]; then \
22264 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22265 else \
22266 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22267 $(MAKE) stage4-start; \
22268 fi; \
22269 cd $(HOST_SUBDIR)/libiberty && \
22270 $(MAKE) $(FLAGS_TO_PASS) \
22271 $(POSTSTAGE1_FLAGS_TO_PASS) \
22272 clean
22273 @endif libiberty-bootstrap
22276 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22277 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22278 maybe-all-stageprofile-libiberty:
22279 maybe-clean-stageprofile-libiberty:
22280 @if libiberty-bootstrap
22281 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22282 all-stageprofile: all-stageprofile-libiberty
22283 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22284 all-stageprofile-libiberty: configure-stageprofile-libiberty
22285 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22286 @r=`${PWD_COMMAND}`; export r; \
22287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22288 $(HOST_EXPORTS) \
22289 $(POSTSTAGE1_HOST_EXPORTS) \
22290 cd $(HOST_SUBDIR)/libiberty && \
22291 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
22292 $(TARGET-stageprofile-libiberty)
22294 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22295 clean-stageprofile: clean-stageprofile-libiberty
22296 clean-stageprofile-libiberty:
22297 @if [ $(current_stage) = stageprofile ]; then \
22298 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22299 else \
22300 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22301 $(MAKE) stageprofile-start; \
22302 fi; \
22303 cd $(HOST_SUBDIR)/libiberty && \
22304 $(MAKE) $(FLAGS_TO_PASS) \
22305 $(POSTSTAGE1_FLAGS_TO_PASS) \
22306 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
22307 @endif libiberty-bootstrap
22310 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22311 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22312 maybe-all-stagefeedback-libiberty:
22313 maybe-clean-stagefeedback-libiberty:
22314 @if libiberty-bootstrap
22315 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22316 all-stagefeedback: all-stagefeedback-libiberty
22317 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22318 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22319 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22320 @r=`${PWD_COMMAND}`; export r; \
22321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22322 $(HOST_EXPORTS) \
22323 $(POSTSTAGE1_HOST_EXPORTS) \
22324 cd $(HOST_SUBDIR)/libiberty && \
22325 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
22326 $(TARGET-stagefeedback-libiberty)
22328 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22329 clean-stagefeedback: clean-stagefeedback-libiberty
22330 clean-stagefeedback-libiberty:
22331 @if [ $(current_stage) = stagefeedback ]; then \
22332 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22333 else \
22334 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22335 $(MAKE) stagefeedback-start; \
22336 fi; \
22337 cd $(HOST_SUBDIR)/libiberty && \
22338 $(MAKE) $(FLAGS_TO_PASS) \
22339 $(POSTSTAGE1_FLAGS_TO_PASS) \
22340 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
22341 @endif libiberty-bootstrap
22347 .PHONY: check-libiberty maybe-check-libiberty
22348 maybe-check-libiberty:
22349 @if libiberty
22350 maybe-check-libiberty: check-libiberty
22352 check-libiberty:
22353 @: $(MAKE); $(unstage)
22354 @r=`${PWD_COMMAND}`; export r; \
22355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22356 $(HOST_EXPORTS) \
22357 (cd $(HOST_SUBDIR)/libiberty && \
22358 $(MAKE) $(FLAGS_TO_PASS) check)
22360 @endif libiberty
22362 .PHONY: install-libiberty maybe-install-libiberty
22363 maybe-install-libiberty:
22364 @if libiberty
22365 maybe-install-libiberty: install-libiberty
22367 install-libiberty: installdirs
22368 @: $(MAKE); $(unstage)
22369 @r=`${PWD_COMMAND}`; export r; \
22370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22371 $(HOST_EXPORTS) \
22372 (cd $(HOST_SUBDIR)/libiberty && \
22373 $(MAKE) $(FLAGS_TO_PASS) install)
22375 @endif libiberty
22377 # Other targets (info, dvi, pdf, etc.)
22379 .PHONY: maybe-info-libiberty info-libiberty
22380 maybe-info-libiberty:
22381 @if libiberty
22382 maybe-info-libiberty: info-libiberty
22384 info-libiberty: \
22385 configure-libiberty
22386 @[ -f ./libiberty/Makefile ] || exit 0; \
22387 r=`${PWD_COMMAND}`; export r; \
22388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22389 $(HOST_EXPORTS) \
22390 for flag in $(EXTRA_HOST_FLAGS) ; do \
22391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22392 done; \
22393 echo "Doing info in libiberty" ; \
22394 (cd $(HOST_SUBDIR)/libiberty && \
22395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22397 "RANLIB=$${RANLIB}" \
22398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22399 info) \
22400 || exit 1
22402 @endif libiberty
22404 .PHONY: maybe-dvi-libiberty dvi-libiberty
22405 maybe-dvi-libiberty:
22406 @if libiberty
22407 maybe-dvi-libiberty: dvi-libiberty
22409 dvi-libiberty: \
22410 configure-libiberty
22411 @[ -f ./libiberty/Makefile ] || exit 0; \
22412 r=`${PWD_COMMAND}`; export r; \
22413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22414 $(HOST_EXPORTS) \
22415 for flag in $(EXTRA_HOST_FLAGS) ; do \
22416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22417 done; \
22418 echo "Doing dvi in libiberty" ; \
22419 (cd $(HOST_SUBDIR)/libiberty && \
22420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22422 "RANLIB=$${RANLIB}" \
22423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22424 dvi) \
22425 || exit 1
22427 @endif libiberty
22429 .PHONY: maybe-pdf-libiberty pdf-libiberty
22430 maybe-pdf-libiberty:
22431 @if libiberty
22432 maybe-pdf-libiberty: pdf-libiberty
22434 pdf-libiberty: \
22435 configure-libiberty
22436 @[ -f ./libiberty/Makefile ] || exit 0; \
22437 r=`${PWD_COMMAND}`; export r; \
22438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22439 $(HOST_EXPORTS) \
22440 for flag in $(EXTRA_HOST_FLAGS) ; do \
22441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22442 done; \
22443 echo "Doing pdf in libiberty" ; \
22444 (cd $(HOST_SUBDIR)/libiberty && \
22445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22447 "RANLIB=$${RANLIB}" \
22448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22449 pdf) \
22450 || exit 1
22452 @endif libiberty
22454 .PHONY: maybe-html-libiberty html-libiberty
22455 maybe-html-libiberty:
22456 @if libiberty
22457 maybe-html-libiberty: html-libiberty
22459 html-libiberty: \
22460 configure-libiberty
22461 @[ -f ./libiberty/Makefile ] || exit 0; \
22462 r=`${PWD_COMMAND}`; export r; \
22463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22464 $(HOST_EXPORTS) \
22465 for flag in $(EXTRA_HOST_FLAGS) ; do \
22466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22467 done; \
22468 echo "Doing html in libiberty" ; \
22469 (cd $(HOST_SUBDIR)/libiberty && \
22470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22472 "RANLIB=$${RANLIB}" \
22473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22474 html) \
22475 || exit 1
22477 @endif libiberty
22479 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22480 maybe-TAGS-libiberty:
22481 @if libiberty
22482 maybe-TAGS-libiberty: TAGS-libiberty
22484 TAGS-libiberty: \
22485 configure-libiberty
22486 @[ -f ./libiberty/Makefile ] || exit 0; \
22487 r=`${PWD_COMMAND}`; export r; \
22488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22489 $(HOST_EXPORTS) \
22490 for flag in $(EXTRA_HOST_FLAGS) ; do \
22491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22492 done; \
22493 echo "Doing TAGS in libiberty" ; \
22494 (cd $(HOST_SUBDIR)/libiberty && \
22495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22497 "RANLIB=$${RANLIB}" \
22498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22499 TAGS) \
22500 || exit 1
22502 @endif libiberty
22504 .PHONY: maybe-install-info-libiberty install-info-libiberty
22505 maybe-install-info-libiberty:
22506 @if libiberty
22507 maybe-install-info-libiberty: install-info-libiberty
22509 install-info-libiberty: \
22510 configure-libiberty \
22511 info-libiberty
22512 @[ -f ./libiberty/Makefile ] || exit 0; \
22513 r=`${PWD_COMMAND}`; export r; \
22514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22515 $(HOST_EXPORTS) \
22516 for flag in $(EXTRA_HOST_FLAGS) ; do \
22517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22518 done; \
22519 echo "Doing install-info in libiberty" ; \
22520 (cd $(HOST_SUBDIR)/libiberty && \
22521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22523 "RANLIB=$${RANLIB}" \
22524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22525 install-info) \
22526 || exit 1
22528 @endif libiberty
22530 .PHONY: maybe-install-html-libiberty install-html-libiberty
22531 maybe-install-html-libiberty:
22532 @if libiberty
22533 maybe-install-html-libiberty: install-html-libiberty
22535 install-html-libiberty: \
22536 configure-libiberty \
22537 html-libiberty
22538 @[ -f ./libiberty/Makefile ] || exit 0; \
22539 r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22541 $(HOST_EXPORTS) \
22542 for flag in $(EXTRA_HOST_FLAGS) ; do \
22543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22544 done; \
22545 echo "Doing install-html in libiberty" ; \
22546 (cd $(HOST_SUBDIR)/libiberty && \
22547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22549 "RANLIB=$${RANLIB}" \
22550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22551 install-html) \
22552 || exit 1
22554 @endif libiberty
22556 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
22557 maybe-installcheck-libiberty:
22558 @if libiberty
22559 maybe-installcheck-libiberty: installcheck-libiberty
22561 installcheck-libiberty: \
22562 configure-libiberty
22563 @[ -f ./libiberty/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 installcheck in libiberty" ; \
22571 (cd $(HOST_SUBDIR)/libiberty && \
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 installcheck) \
22577 || exit 1
22579 @endif libiberty
22581 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
22582 maybe-mostlyclean-libiberty:
22583 @if libiberty
22584 maybe-mostlyclean-libiberty: mostlyclean-libiberty
22586 mostlyclean-libiberty:
22587 @[ -f ./libiberty/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 mostlyclean in libiberty" ; \
22595 (cd $(HOST_SUBDIR)/libiberty && \
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 mostlyclean) \
22601 || exit 1
22603 @endif libiberty
22605 .PHONY: maybe-clean-libiberty clean-libiberty
22606 maybe-clean-libiberty:
22607 @if libiberty
22608 maybe-clean-libiberty: clean-libiberty
22610 clean-libiberty:
22611 @[ -f ./libiberty/Makefile ] || exit 0; \
22612 r=`${PWD_COMMAND}`; export r; \
22613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614 $(HOST_EXPORTS) \
22615 for flag in $(EXTRA_HOST_FLAGS) ; do \
22616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22617 done; \
22618 echo "Doing clean in libiberty" ; \
22619 (cd $(HOST_SUBDIR)/libiberty && \
22620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22622 "RANLIB=$${RANLIB}" \
22623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22624 clean) \
22625 || exit 1
22627 @endif libiberty
22629 .PHONY: maybe-distclean-libiberty distclean-libiberty
22630 maybe-distclean-libiberty:
22631 @if libiberty
22632 maybe-distclean-libiberty: distclean-libiberty
22634 distclean-libiberty:
22635 @[ -f ./libiberty/Makefile ] || exit 0; \
22636 r=`${PWD_COMMAND}`; export r; \
22637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22638 $(HOST_EXPORTS) \
22639 for flag in $(EXTRA_HOST_FLAGS) ; do \
22640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22641 done; \
22642 echo "Doing distclean in libiberty" ; \
22643 (cd $(HOST_SUBDIR)/libiberty && \
22644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22646 "RANLIB=$${RANLIB}" \
22647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22648 distclean) \
22649 || exit 1
22651 @endif libiberty
22653 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
22654 maybe-maintainer-clean-libiberty:
22655 @if libiberty
22656 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
22658 maintainer-clean-libiberty:
22659 @[ -f ./libiberty/Makefile ] || exit 0; \
22660 r=`${PWD_COMMAND}`; export r; \
22661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22662 $(HOST_EXPORTS) \
22663 for flag in $(EXTRA_HOST_FLAGS) ; do \
22664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22665 done; \
22666 echo "Doing maintainer-clean in libiberty" ; \
22667 (cd $(HOST_SUBDIR)/libiberty && \
22668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22670 "RANLIB=$${RANLIB}" \
22671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22672 maintainer-clean) \
22673 || exit 1
22675 @endif libiberty
22679 .PHONY: configure-libtool maybe-configure-libtool
22680 maybe-configure-libtool:
22681 @if gcc-bootstrap
22682 configure-libtool: stage_current
22683 @endif gcc-bootstrap
22684 @if libtool
22685 maybe-configure-libtool: configure-libtool
22686 configure-libtool:
22687 @: $(MAKE); $(unstage)
22688 @r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22690 test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
22691 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
22692 $(HOST_EXPORTS) \
22693 echo Configuring in $(HOST_SUBDIR)/libtool; \
22694 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
22695 case $(srcdir) in \
22696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22697 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
22698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22699 esac; \
22700 srcdiroption="--srcdir=$${topdir}/libtool"; \
22701 libsrcdir="$$s/libtool"; \
22702 $(SHELL) $${libsrcdir}/configure \
22703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22704 --target=${target_alias} $${srcdiroption} \
22705 || exit 1
22706 @endif libtool
22712 .PHONY: all-libtool maybe-all-libtool
22713 maybe-all-libtool:
22714 @if gcc-bootstrap
22715 all-libtool: stage_current
22716 @endif gcc-bootstrap
22717 @if libtool
22718 TARGET-libtool=all
22719 maybe-all-libtool: all-libtool
22720 all-libtool: configure-libtool
22721 @: $(MAKE); $(unstage)
22722 @r=`${PWD_COMMAND}`; export r; \
22723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22724 $(HOST_EXPORTS) \
22725 (cd $(HOST_SUBDIR)/libtool && \
22726 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
22727 @endif libtool
22732 .PHONY: check-libtool maybe-check-libtool
22733 maybe-check-libtool:
22734 @if libtool
22735 maybe-check-libtool: check-libtool
22737 check-libtool:
22738 @: $(MAKE); $(unstage)
22739 @r=`${PWD_COMMAND}`; export r; \
22740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22741 $(HOST_EXPORTS) \
22742 (cd $(HOST_SUBDIR)/libtool && \
22743 $(MAKE) $(FLAGS_TO_PASS) check)
22745 @endif libtool
22747 .PHONY: install-libtool maybe-install-libtool
22748 maybe-install-libtool:
22749 @if libtool
22750 maybe-install-libtool: install-libtool
22752 install-libtool: installdirs
22753 @: $(MAKE); $(unstage)
22754 @r=`${PWD_COMMAND}`; export r; \
22755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22756 $(HOST_EXPORTS) \
22757 (cd $(HOST_SUBDIR)/libtool && \
22758 $(MAKE) $(FLAGS_TO_PASS) install)
22760 @endif libtool
22762 # Other targets (info, dvi, pdf, etc.)
22764 .PHONY: maybe-info-libtool info-libtool
22765 maybe-info-libtool:
22766 @if libtool
22767 maybe-info-libtool: info-libtool
22769 info-libtool: \
22770 configure-libtool
22771 @: $(MAKE); $(unstage)
22772 @[ -f ./libtool/Makefile ] || exit 0; \
22773 r=`${PWD_COMMAND}`; export r; \
22774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22775 $(HOST_EXPORTS) \
22776 for flag in $(EXTRA_HOST_FLAGS) ; do \
22777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22778 done; \
22779 echo "Doing info in libtool" ; \
22780 (cd $(HOST_SUBDIR)/libtool && \
22781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22783 "RANLIB=$${RANLIB}" \
22784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22785 info) \
22786 || exit 1
22788 @endif libtool
22790 .PHONY: maybe-dvi-libtool dvi-libtool
22791 maybe-dvi-libtool:
22792 @if libtool
22793 maybe-dvi-libtool: dvi-libtool
22795 dvi-libtool: \
22796 configure-libtool
22797 @: $(MAKE); $(unstage)
22798 @[ -f ./libtool/Makefile ] || exit 0; \
22799 r=`${PWD_COMMAND}`; export r; \
22800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22801 $(HOST_EXPORTS) \
22802 for flag in $(EXTRA_HOST_FLAGS) ; do \
22803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22804 done; \
22805 echo "Doing dvi in libtool" ; \
22806 (cd $(HOST_SUBDIR)/libtool && \
22807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22809 "RANLIB=$${RANLIB}" \
22810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22811 dvi) \
22812 || exit 1
22814 @endif libtool
22816 .PHONY: maybe-pdf-libtool pdf-libtool
22817 maybe-pdf-libtool:
22818 @if libtool
22819 maybe-pdf-libtool: pdf-libtool
22821 pdf-libtool: \
22822 configure-libtool
22823 @: $(MAKE); $(unstage)
22824 @[ -f ./libtool/Makefile ] || exit 0; \
22825 r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 $(HOST_EXPORTS) \
22828 for flag in $(EXTRA_HOST_FLAGS) ; do \
22829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22830 done; \
22831 echo "Doing pdf in libtool" ; \
22832 (cd $(HOST_SUBDIR)/libtool && \
22833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22835 "RANLIB=$${RANLIB}" \
22836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22837 pdf) \
22838 || exit 1
22840 @endif libtool
22842 .PHONY: maybe-html-libtool html-libtool
22843 maybe-html-libtool:
22844 @if libtool
22845 maybe-html-libtool: html-libtool
22847 html-libtool: \
22848 configure-libtool
22849 @: $(MAKE); $(unstage)
22850 @[ -f ./libtool/Makefile ] || exit 0; \
22851 r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 for flag in $(EXTRA_HOST_FLAGS) ; do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 echo "Doing html in libtool" ; \
22858 (cd $(HOST_SUBDIR)/libtool && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 html) \
22864 || exit 1
22866 @endif libtool
22868 .PHONY: maybe-TAGS-libtool TAGS-libtool
22869 maybe-TAGS-libtool:
22870 @if libtool
22871 maybe-TAGS-libtool: TAGS-libtool
22873 TAGS-libtool: \
22874 configure-libtool
22875 @: $(MAKE); $(unstage)
22876 @[ -f ./libtool/Makefile ] || exit 0; \
22877 r=`${PWD_COMMAND}`; export r; \
22878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22879 $(HOST_EXPORTS) \
22880 for flag in $(EXTRA_HOST_FLAGS) ; do \
22881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22882 done; \
22883 echo "Doing TAGS in libtool" ; \
22884 (cd $(HOST_SUBDIR)/libtool && \
22885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22887 "RANLIB=$${RANLIB}" \
22888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22889 TAGS) \
22890 || exit 1
22892 @endif libtool
22894 .PHONY: maybe-install-info-libtool install-info-libtool
22895 maybe-install-info-libtool:
22896 @if libtool
22897 maybe-install-info-libtool: install-info-libtool
22899 install-info-libtool: \
22900 configure-libtool \
22901 info-libtool
22902 @: $(MAKE); $(unstage)
22903 @[ -f ./libtool/Makefile ] || exit 0; \
22904 r=`${PWD_COMMAND}`; export r; \
22905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22906 $(HOST_EXPORTS) \
22907 for flag in $(EXTRA_HOST_FLAGS) ; do \
22908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22909 done; \
22910 echo "Doing install-info in libtool" ; \
22911 (cd $(HOST_SUBDIR)/libtool && \
22912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22914 "RANLIB=$${RANLIB}" \
22915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22916 install-info) \
22917 || exit 1
22919 @endif libtool
22921 .PHONY: maybe-install-html-libtool install-html-libtool
22922 maybe-install-html-libtool:
22923 @if libtool
22924 maybe-install-html-libtool: install-html-libtool
22926 install-html-libtool: \
22927 configure-libtool \
22928 html-libtool
22929 @: $(MAKE); $(unstage)
22930 @[ -f ./libtool/Makefile ] || exit 0; \
22931 r=`${PWD_COMMAND}`; export r; \
22932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22933 $(HOST_EXPORTS) \
22934 for flag in $(EXTRA_HOST_FLAGS) ; do \
22935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22936 done; \
22937 echo "Doing install-html in libtool" ; \
22938 (cd $(HOST_SUBDIR)/libtool && \
22939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22941 "RANLIB=$${RANLIB}" \
22942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22943 install-html) \
22944 || exit 1
22946 @endif libtool
22948 .PHONY: maybe-installcheck-libtool installcheck-libtool
22949 maybe-installcheck-libtool:
22950 @if libtool
22951 maybe-installcheck-libtool: installcheck-libtool
22953 installcheck-libtool: \
22954 configure-libtool
22955 @: $(MAKE); $(unstage)
22956 @[ -f ./libtool/Makefile ] || exit 0; \
22957 r=`${PWD_COMMAND}`; export r; \
22958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22959 $(HOST_EXPORTS) \
22960 for flag in $(EXTRA_HOST_FLAGS) ; do \
22961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22962 done; \
22963 echo "Doing installcheck in libtool" ; \
22964 (cd $(HOST_SUBDIR)/libtool && \
22965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22967 "RANLIB=$${RANLIB}" \
22968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22969 installcheck) \
22970 || exit 1
22972 @endif libtool
22974 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
22975 maybe-mostlyclean-libtool:
22976 @if libtool
22977 maybe-mostlyclean-libtool: mostlyclean-libtool
22979 mostlyclean-libtool:
22980 @: $(MAKE); $(unstage)
22981 @[ -f ./libtool/Makefile ] || exit 0; \
22982 r=`${PWD_COMMAND}`; export r; \
22983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 $(HOST_EXPORTS) \
22985 for flag in $(EXTRA_HOST_FLAGS) ; do \
22986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22987 done; \
22988 echo "Doing mostlyclean in libtool" ; \
22989 (cd $(HOST_SUBDIR)/libtool && \
22990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22992 "RANLIB=$${RANLIB}" \
22993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22994 mostlyclean) \
22995 || exit 1
22997 @endif libtool
22999 .PHONY: maybe-clean-libtool clean-libtool
23000 maybe-clean-libtool:
23001 @if libtool
23002 maybe-clean-libtool: clean-libtool
23004 clean-libtool:
23005 @: $(MAKE); $(unstage)
23006 @[ -f ./libtool/Makefile ] || exit 0; \
23007 r=`${PWD_COMMAND}`; export r; \
23008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23009 $(HOST_EXPORTS) \
23010 for flag in $(EXTRA_HOST_FLAGS) ; do \
23011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23012 done; \
23013 echo "Doing clean in libtool" ; \
23014 (cd $(HOST_SUBDIR)/libtool && \
23015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23017 "RANLIB=$${RANLIB}" \
23018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23019 clean) \
23020 || exit 1
23022 @endif libtool
23024 .PHONY: maybe-distclean-libtool distclean-libtool
23025 maybe-distclean-libtool:
23026 @if libtool
23027 maybe-distclean-libtool: distclean-libtool
23029 distclean-libtool:
23030 @: $(MAKE); $(unstage)
23031 @[ -f ./libtool/Makefile ] || exit 0; \
23032 r=`${PWD_COMMAND}`; export r; \
23033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23034 $(HOST_EXPORTS) \
23035 for flag in $(EXTRA_HOST_FLAGS) ; do \
23036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23037 done; \
23038 echo "Doing distclean in libtool" ; \
23039 (cd $(HOST_SUBDIR)/libtool && \
23040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23042 "RANLIB=$${RANLIB}" \
23043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23044 distclean) \
23045 || exit 1
23047 @endif libtool
23049 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
23050 maybe-maintainer-clean-libtool:
23051 @if libtool
23052 maybe-maintainer-clean-libtool: maintainer-clean-libtool
23054 maintainer-clean-libtool:
23055 @: $(MAKE); $(unstage)
23056 @[ -f ./libtool/Makefile ] || exit 0; \
23057 r=`${PWD_COMMAND}`; export r; \
23058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23059 $(HOST_EXPORTS) \
23060 for flag in $(EXTRA_HOST_FLAGS) ; do \
23061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23062 done; \
23063 echo "Doing maintainer-clean in libtool" ; \
23064 (cd $(HOST_SUBDIR)/libtool && \
23065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23067 "RANLIB=$${RANLIB}" \
23068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23069 maintainer-clean) \
23070 || exit 1
23072 @endif libtool
23076 .PHONY: configure-m4 maybe-configure-m4
23077 maybe-configure-m4:
23078 @if gcc-bootstrap
23079 configure-m4: stage_current
23080 @endif gcc-bootstrap
23081 @if m4
23082 maybe-configure-m4: configure-m4
23083 configure-m4:
23084 @: $(MAKE); $(unstage)
23085 @r=`${PWD_COMMAND}`; export r; \
23086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23087 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
23088 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
23089 $(HOST_EXPORTS) \
23090 echo Configuring in $(HOST_SUBDIR)/m4; \
23091 cd "$(HOST_SUBDIR)/m4" || exit 1; \
23092 case $(srcdir) in \
23093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23094 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
23095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23096 esac; \
23097 srcdiroption="--srcdir=$${topdir}/m4"; \
23098 libsrcdir="$$s/m4"; \
23099 $(SHELL) $${libsrcdir}/configure \
23100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23101 --target=${target_alias} $${srcdiroption} \
23102 || exit 1
23103 @endif m4
23109 .PHONY: all-m4 maybe-all-m4
23110 maybe-all-m4:
23111 @if gcc-bootstrap
23112 all-m4: stage_current
23113 @endif gcc-bootstrap
23114 @if m4
23115 TARGET-m4=all
23116 maybe-all-m4: all-m4
23117 all-m4: configure-m4
23118 @: $(MAKE); $(unstage)
23119 @r=`${PWD_COMMAND}`; export r; \
23120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23121 $(HOST_EXPORTS) \
23122 (cd $(HOST_SUBDIR)/m4 && \
23123 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
23124 @endif m4
23129 .PHONY: check-m4 maybe-check-m4
23130 maybe-check-m4:
23131 @if m4
23132 maybe-check-m4: check-m4
23134 check-m4:
23135 @: $(MAKE); $(unstage)
23136 @r=`${PWD_COMMAND}`; export r; \
23137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 $(HOST_EXPORTS) \
23139 (cd $(HOST_SUBDIR)/m4 && \
23140 $(MAKE) $(FLAGS_TO_PASS) check)
23142 @endif m4
23144 .PHONY: install-m4 maybe-install-m4
23145 maybe-install-m4:
23146 @if m4
23147 maybe-install-m4: install-m4
23149 install-m4: installdirs
23150 @: $(MAKE); $(unstage)
23151 @r=`${PWD_COMMAND}`; export r; \
23152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23153 $(HOST_EXPORTS) \
23154 (cd $(HOST_SUBDIR)/m4 && \
23155 $(MAKE) $(FLAGS_TO_PASS) install)
23157 @endif m4
23159 # Other targets (info, dvi, pdf, etc.)
23161 .PHONY: maybe-info-m4 info-m4
23162 maybe-info-m4:
23163 @if m4
23164 maybe-info-m4: info-m4
23166 info-m4: \
23167 configure-m4
23168 @: $(MAKE); $(unstage)
23169 @[ -f ./m4/Makefile ] || exit 0; \
23170 r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23172 $(HOST_EXPORTS) \
23173 for flag in $(EXTRA_HOST_FLAGS) ; do \
23174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23175 done; \
23176 echo "Doing info in m4" ; \
23177 (cd $(HOST_SUBDIR)/m4 && \
23178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23180 "RANLIB=$${RANLIB}" \
23181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23182 info) \
23183 || exit 1
23185 @endif m4
23187 .PHONY: maybe-dvi-m4 dvi-m4
23188 maybe-dvi-m4:
23189 @if m4
23190 maybe-dvi-m4: dvi-m4
23192 dvi-m4: \
23193 configure-m4
23194 @: $(MAKE); $(unstage)
23195 @[ -f ./m4/Makefile ] || exit 0; \
23196 r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23198 $(HOST_EXPORTS) \
23199 for flag in $(EXTRA_HOST_FLAGS) ; do \
23200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23201 done; \
23202 echo "Doing dvi in m4" ; \
23203 (cd $(HOST_SUBDIR)/m4 && \
23204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23206 "RANLIB=$${RANLIB}" \
23207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23208 dvi) \
23209 || exit 1
23211 @endif m4
23213 .PHONY: maybe-pdf-m4 pdf-m4
23214 maybe-pdf-m4:
23215 @if m4
23216 maybe-pdf-m4: pdf-m4
23218 pdf-m4: \
23219 configure-m4
23220 @: $(MAKE); $(unstage)
23221 @[ -f ./m4/Makefile ] || exit 0; \
23222 r=`${PWD_COMMAND}`; export r; \
23223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23224 $(HOST_EXPORTS) \
23225 for flag in $(EXTRA_HOST_FLAGS) ; do \
23226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23227 done; \
23228 echo "Doing pdf in m4" ; \
23229 (cd $(HOST_SUBDIR)/m4 && \
23230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23232 "RANLIB=$${RANLIB}" \
23233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23234 pdf) \
23235 || exit 1
23237 @endif m4
23239 .PHONY: maybe-html-m4 html-m4
23240 maybe-html-m4:
23241 @if m4
23242 maybe-html-m4: html-m4
23244 html-m4: \
23245 configure-m4
23246 @: $(MAKE); $(unstage)
23247 @[ -f ./m4/Makefile ] || exit 0; \
23248 r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23250 $(HOST_EXPORTS) \
23251 for flag in $(EXTRA_HOST_FLAGS) ; do \
23252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23253 done; \
23254 echo "Doing html in m4" ; \
23255 (cd $(HOST_SUBDIR)/m4 && \
23256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23258 "RANLIB=$${RANLIB}" \
23259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23260 html) \
23261 || exit 1
23263 @endif m4
23265 .PHONY: maybe-TAGS-m4 TAGS-m4
23266 maybe-TAGS-m4:
23267 @if m4
23268 maybe-TAGS-m4: TAGS-m4
23270 TAGS-m4: \
23271 configure-m4
23272 @: $(MAKE); $(unstage)
23273 @[ -f ./m4/Makefile ] || exit 0; \
23274 r=`${PWD_COMMAND}`; export r; \
23275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23276 $(HOST_EXPORTS) \
23277 for flag in $(EXTRA_HOST_FLAGS) ; do \
23278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23279 done; \
23280 echo "Doing TAGS in m4" ; \
23281 (cd $(HOST_SUBDIR)/m4 && \
23282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23284 "RANLIB=$${RANLIB}" \
23285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23286 TAGS) \
23287 || exit 1
23289 @endif m4
23291 .PHONY: maybe-install-info-m4 install-info-m4
23292 maybe-install-info-m4:
23293 @if m4
23294 maybe-install-info-m4: install-info-m4
23296 install-info-m4: \
23297 configure-m4 \
23298 info-m4
23299 @: $(MAKE); $(unstage)
23300 @[ -f ./m4/Makefile ] || exit 0; \
23301 r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 $(HOST_EXPORTS) \
23304 for flag in $(EXTRA_HOST_FLAGS) ; do \
23305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23306 done; \
23307 echo "Doing install-info in m4" ; \
23308 (cd $(HOST_SUBDIR)/m4 && \
23309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23311 "RANLIB=$${RANLIB}" \
23312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23313 install-info) \
23314 || exit 1
23316 @endif m4
23318 .PHONY: maybe-install-html-m4 install-html-m4
23319 maybe-install-html-m4:
23320 @if m4
23321 maybe-install-html-m4: install-html-m4
23323 install-html-m4: \
23324 configure-m4 \
23325 html-m4
23326 @: $(MAKE); $(unstage)
23327 @[ -f ./m4/Makefile ] || exit 0; \
23328 r=`${PWD_COMMAND}`; export r; \
23329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23330 $(HOST_EXPORTS) \
23331 for flag in $(EXTRA_HOST_FLAGS) ; do \
23332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23333 done; \
23334 echo "Doing install-html in m4" ; \
23335 (cd $(HOST_SUBDIR)/m4 && \
23336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23338 "RANLIB=$${RANLIB}" \
23339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23340 install-html) \
23341 || exit 1
23343 @endif m4
23345 .PHONY: maybe-installcheck-m4 installcheck-m4
23346 maybe-installcheck-m4:
23347 @if m4
23348 maybe-installcheck-m4: installcheck-m4
23350 installcheck-m4: \
23351 configure-m4
23352 @: $(MAKE); $(unstage)
23353 @[ -f ./m4/Makefile ] || exit 0; \
23354 r=`${PWD_COMMAND}`; export r; \
23355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23356 $(HOST_EXPORTS) \
23357 for flag in $(EXTRA_HOST_FLAGS) ; do \
23358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23359 done; \
23360 echo "Doing installcheck in m4" ; \
23361 (cd $(HOST_SUBDIR)/m4 && \
23362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23364 "RANLIB=$${RANLIB}" \
23365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23366 installcheck) \
23367 || exit 1
23369 @endif m4
23371 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
23372 maybe-mostlyclean-m4:
23373 @if m4
23374 maybe-mostlyclean-m4: mostlyclean-m4
23376 mostlyclean-m4:
23377 @: $(MAKE); $(unstage)
23378 @[ -f ./m4/Makefile ] || exit 0; \
23379 r=`${PWD_COMMAND}`; export r; \
23380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23381 $(HOST_EXPORTS) \
23382 for flag in $(EXTRA_HOST_FLAGS) ; do \
23383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23384 done; \
23385 echo "Doing mostlyclean in m4" ; \
23386 (cd $(HOST_SUBDIR)/m4 && \
23387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23389 "RANLIB=$${RANLIB}" \
23390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23391 mostlyclean) \
23392 || exit 1
23394 @endif m4
23396 .PHONY: maybe-clean-m4 clean-m4
23397 maybe-clean-m4:
23398 @if m4
23399 maybe-clean-m4: clean-m4
23401 clean-m4:
23402 @: $(MAKE); $(unstage)
23403 @[ -f ./m4/Makefile ] || exit 0; \
23404 r=`${PWD_COMMAND}`; export r; \
23405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23406 $(HOST_EXPORTS) \
23407 for flag in $(EXTRA_HOST_FLAGS) ; do \
23408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23409 done; \
23410 echo "Doing clean in m4" ; \
23411 (cd $(HOST_SUBDIR)/m4 && \
23412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23414 "RANLIB=$${RANLIB}" \
23415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23416 clean) \
23417 || exit 1
23419 @endif m4
23421 .PHONY: maybe-distclean-m4 distclean-m4
23422 maybe-distclean-m4:
23423 @if m4
23424 maybe-distclean-m4: distclean-m4
23426 distclean-m4:
23427 @: $(MAKE); $(unstage)
23428 @[ -f ./m4/Makefile ] || exit 0; \
23429 r=`${PWD_COMMAND}`; export r; \
23430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23431 $(HOST_EXPORTS) \
23432 for flag in $(EXTRA_HOST_FLAGS) ; do \
23433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23434 done; \
23435 echo "Doing distclean in m4" ; \
23436 (cd $(HOST_SUBDIR)/m4 && \
23437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23439 "RANLIB=$${RANLIB}" \
23440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23441 distclean) \
23442 || exit 1
23444 @endif m4
23446 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
23447 maybe-maintainer-clean-m4:
23448 @if m4
23449 maybe-maintainer-clean-m4: maintainer-clean-m4
23451 maintainer-clean-m4:
23452 @: $(MAKE); $(unstage)
23453 @[ -f ./m4/Makefile ] || exit 0; \
23454 r=`${PWD_COMMAND}`; export r; \
23455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23456 $(HOST_EXPORTS) \
23457 for flag in $(EXTRA_HOST_FLAGS) ; do \
23458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23459 done; \
23460 echo "Doing maintainer-clean in m4" ; \
23461 (cd $(HOST_SUBDIR)/m4 && \
23462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23464 "RANLIB=$${RANLIB}" \
23465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23466 maintainer-clean) \
23467 || exit 1
23469 @endif m4
23473 .PHONY: configure-make maybe-configure-make
23474 maybe-configure-make:
23475 @if gcc-bootstrap
23476 configure-make: stage_current
23477 @endif gcc-bootstrap
23478 @if make
23479 maybe-configure-make: configure-make
23480 configure-make:
23481 @: $(MAKE); $(unstage)
23482 @r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
23485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
23486 $(HOST_EXPORTS) \
23487 echo Configuring in $(HOST_SUBDIR)/make; \
23488 cd "$(HOST_SUBDIR)/make" || exit 1; \
23489 case $(srcdir) in \
23490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23491 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
23492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23493 esac; \
23494 srcdiroption="--srcdir=$${topdir}/make"; \
23495 libsrcdir="$$s/make"; \
23496 $(SHELL) $${libsrcdir}/configure \
23497 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23498 --target=${target_alias} $${srcdiroption} \
23499 || exit 1
23500 @endif make
23506 .PHONY: all-make maybe-all-make
23507 maybe-all-make:
23508 @if gcc-bootstrap
23509 all-make: stage_current
23510 @endif gcc-bootstrap
23511 @if make
23512 TARGET-make=all
23513 maybe-all-make: all-make
23514 all-make: configure-make
23515 @: $(MAKE); $(unstage)
23516 @r=`${PWD_COMMAND}`; export r; \
23517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23518 $(HOST_EXPORTS) \
23519 (cd $(HOST_SUBDIR)/make && \
23520 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
23521 @endif make
23526 .PHONY: check-make maybe-check-make
23527 maybe-check-make:
23528 @if make
23529 maybe-check-make: check-make
23531 check-make:
23532 @: $(MAKE); $(unstage)
23533 @r=`${PWD_COMMAND}`; export r; \
23534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 $(HOST_EXPORTS) \
23536 (cd $(HOST_SUBDIR)/make && \
23537 $(MAKE) $(FLAGS_TO_PASS) check)
23539 @endif make
23541 .PHONY: install-make maybe-install-make
23542 maybe-install-make:
23543 @if make
23544 maybe-install-make: install-make
23546 install-make: installdirs
23547 @: $(MAKE); $(unstage)
23548 @r=`${PWD_COMMAND}`; export r; \
23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23550 $(HOST_EXPORTS) \
23551 (cd $(HOST_SUBDIR)/make && \
23552 $(MAKE) $(FLAGS_TO_PASS) install)
23554 @endif make
23556 # Other targets (info, dvi, pdf, etc.)
23558 .PHONY: maybe-info-make info-make
23559 maybe-info-make:
23560 @if make
23561 maybe-info-make: info-make
23563 info-make: \
23564 configure-make
23565 @: $(MAKE); $(unstage)
23566 @[ -f ./make/Makefile ] || exit 0; \
23567 r=`${PWD_COMMAND}`; export r; \
23568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23569 $(HOST_EXPORTS) \
23570 for flag in $(EXTRA_HOST_FLAGS) ; do \
23571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23572 done; \
23573 echo "Doing info in make" ; \
23574 (cd $(HOST_SUBDIR)/make && \
23575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23577 "RANLIB=$${RANLIB}" \
23578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23579 info) \
23580 || exit 1
23582 @endif make
23584 .PHONY: maybe-dvi-make dvi-make
23585 maybe-dvi-make:
23586 @if make
23587 maybe-dvi-make: dvi-make
23589 dvi-make: \
23590 configure-make
23591 @: $(MAKE); $(unstage)
23592 @[ -f ./make/Makefile ] || exit 0; \
23593 r=`${PWD_COMMAND}`; export r; \
23594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23595 $(HOST_EXPORTS) \
23596 for flag in $(EXTRA_HOST_FLAGS) ; do \
23597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23598 done; \
23599 echo "Doing dvi in make" ; \
23600 (cd $(HOST_SUBDIR)/make && \
23601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23603 "RANLIB=$${RANLIB}" \
23604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23605 dvi) \
23606 || exit 1
23608 @endif make
23610 .PHONY: maybe-pdf-make pdf-make
23611 maybe-pdf-make:
23612 @if make
23613 maybe-pdf-make: pdf-make
23615 pdf-make: \
23616 configure-make
23617 @: $(MAKE); $(unstage)
23618 @[ -f ./make/Makefile ] || exit 0; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621 $(HOST_EXPORTS) \
23622 for flag in $(EXTRA_HOST_FLAGS) ; do \
23623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23624 done; \
23625 echo "Doing pdf in make" ; \
23626 (cd $(HOST_SUBDIR)/make && \
23627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23629 "RANLIB=$${RANLIB}" \
23630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23631 pdf) \
23632 || exit 1
23634 @endif make
23636 .PHONY: maybe-html-make html-make
23637 maybe-html-make:
23638 @if make
23639 maybe-html-make: html-make
23641 html-make: \
23642 configure-make
23643 @: $(MAKE); $(unstage)
23644 @[ -f ./make/Makefile ] || exit 0; \
23645 r=`${PWD_COMMAND}`; export r; \
23646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23647 $(HOST_EXPORTS) \
23648 for flag in $(EXTRA_HOST_FLAGS) ; do \
23649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23650 done; \
23651 echo "Doing html in make" ; \
23652 (cd $(HOST_SUBDIR)/make && \
23653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23655 "RANLIB=$${RANLIB}" \
23656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23657 html) \
23658 || exit 1
23660 @endif make
23662 .PHONY: maybe-TAGS-make TAGS-make
23663 maybe-TAGS-make:
23664 @if make
23665 maybe-TAGS-make: TAGS-make
23667 TAGS-make: \
23668 configure-make
23669 @: $(MAKE); $(unstage)
23670 @[ -f ./make/Makefile ] || exit 0; \
23671 r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 $(HOST_EXPORTS) \
23674 for flag in $(EXTRA_HOST_FLAGS) ; do \
23675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23676 done; \
23677 echo "Doing TAGS in make" ; \
23678 (cd $(HOST_SUBDIR)/make && \
23679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23681 "RANLIB=$${RANLIB}" \
23682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23683 TAGS) \
23684 || exit 1
23686 @endif make
23688 .PHONY: maybe-install-info-make install-info-make
23689 maybe-install-info-make:
23690 @if make
23691 maybe-install-info-make: install-info-make
23693 install-info-make: \
23694 configure-make \
23695 info-make
23696 @: $(MAKE); $(unstage)
23697 @[ -f ./make/Makefile ] || exit 0; \
23698 r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 $(HOST_EXPORTS) \
23701 for flag in $(EXTRA_HOST_FLAGS) ; do \
23702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23703 done; \
23704 echo "Doing install-info in make" ; \
23705 (cd $(HOST_SUBDIR)/make && \
23706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23708 "RANLIB=$${RANLIB}" \
23709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23710 install-info) \
23711 || exit 1
23713 @endif make
23715 .PHONY: maybe-install-html-make install-html-make
23716 maybe-install-html-make:
23717 @if make
23718 maybe-install-html-make: install-html-make
23720 install-html-make: \
23721 configure-make \
23722 html-make
23723 @: $(MAKE); $(unstage)
23724 @[ -f ./make/Makefile ] || exit 0; \
23725 r=`${PWD_COMMAND}`; export r; \
23726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23727 $(HOST_EXPORTS) \
23728 for flag in $(EXTRA_HOST_FLAGS) ; do \
23729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730 done; \
23731 echo "Doing install-html in make" ; \
23732 (cd $(HOST_SUBDIR)/make && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23737 install-html) \
23738 || exit 1
23740 @endif make
23742 .PHONY: maybe-installcheck-make installcheck-make
23743 maybe-installcheck-make:
23744 @if make
23745 maybe-installcheck-make: installcheck-make
23747 installcheck-make: \
23748 configure-make
23749 @: $(MAKE); $(unstage)
23750 @[ -f ./make/Makefile ] || exit 0; \
23751 r=`${PWD_COMMAND}`; export r; \
23752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23753 $(HOST_EXPORTS) \
23754 for flag in $(EXTRA_HOST_FLAGS) ; do \
23755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23756 done; \
23757 echo "Doing installcheck in make" ; \
23758 (cd $(HOST_SUBDIR)/make && \
23759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761 "RANLIB=$${RANLIB}" \
23762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23763 installcheck) \
23764 || exit 1
23766 @endif make
23768 .PHONY: maybe-mostlyclean-make mostlyclean-make
23769 maybe-mostlyclean-make:
23770 @if make
23771 maybe-mostlyclean-make: mostlyclean-make
23773 mostlyclean-make:
23774 @: $(MAKE); $(unstage)
23775 @[ -f ./make/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 mostlyclean in make" ; \
23783 (cd $(HOST_SUBDIR)/make && \
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 mostlyclean) \
23789 || exit 1
23791 @endif make
23793 .PHONY: maybe-clean-make clean-make
23794 maybe-clean-make:
23795 @if make
23796 maybe-clean-make: clean-make
23798 clean-make:
23799 @: $(MAKE); $(unstage)
23800 @[ -f ./make/Makefile ] || exit 0; \
23801 r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(HOST_EXPORTS) \
23804 for flag in $(EXTRA_HOST_FLAGS) ; do \
23805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23806 done; \
23807 echo "Doing clean in make" ; \
23808 (cd $(HOST_SUBDIR)/make && \
23809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23811 "RANLIB=$${RANLIB}" \
23812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23813 clean) \
23814 || exit 1
23816 @endif make
23818 .PHONY: maybe-distclean-make distclean-make
23819 maybe-distclean-make:
23820 @if make
23821 maybe-distclean-make: distclean-make
23823 distclean-make:
23824 @: $(MAKE); $(unstage)
23825 @[ -f ./make/Makefile ] || exit 0; \
23826 r=`${PWD_COMMAND}`; export r; \
23827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23828 $(HOST_EXPORTS) \
23829 for flag in $(EXTRA_HOST_FLAGS) ; do \
23830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23831 done; \
23832 echo "Doing distclean in make" ; \
23833 (cd $(HOST_SUBDIR)/make && \
23834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23836 "RANLIB=$${RANLIB}" \
23837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23838 distclean) \
23839 || exit 1
23841 @endif make
23843 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
23844 maybe-maintainer-clean-make:
23845 @if make
23846 maybe-maintainer-clean-make: maintainer-clean-make
23848 maintainer-clean-make:
23849 @: $(MAKE); $(unstage)
23850 @[ -f ./make/Makefile ] || exit 0; \
23851 r=`${PWD_COMMAND}`; export r; \
23852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23853 $(HOST_EXPORTS) \
23854 for flag in $(EXTRA_HOST_FLAGS) ; do \
23855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23856 done; \
23857 echo "Doing maintainer-clean in make" ; \
23858 (cd $(HOST_SUBDIR)/make && \
23859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23861 "RANLIB=$${RANLIB}" \
23862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23863 maintainer-clean) \
23864 || exit 1
23866 @endif make
23870 .PHONY: configure-mmalloc maybe-configure-mmalloc
23871 maybe-configure-mmalloc:
23872 @if gcc-bootstrap
23873 configure-mmalloc: stage_current
23874 @endif gcc-bootstrap
23875 @if mmalloc
23876 maybe-configure-mmalloc: configure-mmalloc
23877 configure-mmalloc:
23878 @: $(MAKE); $(unstage)
23879 @r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
23882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
23883 $(HOST_EXPORTS) \
23884 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
23885 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
23886 case $(srcdir) in \
23887 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23888 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
23889 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23890 esac; \
23891 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
23892 libsrcdir="$$s/mmalloc"; \
23893 $(SHELL) $${libsrcdir}/configure \
23894 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23895 --target=${target_alias} $${srcdiroption} \
23896 || exit 1
23897 @endif mmalloc
23903 .PHONY: all-mmalloc maybe-all-mmalloc
23904 maybe-all-mmalloc:
23905 @if gcc-bootstrap
23906 all-mmalloc: stage_current
23907 @endif gcc-bootstrap
23908 @if mmalloc
23909 TARGET-mmalloc=all
23910 maybe-all-mmalloc: all-mmalloc
23911 all-mmalloc: configure-mmalloc
23912 @: $(MAKE); $(unstage)
23913 @r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(HOST_EXPORTS) \
23916 (cd $(HOST_SUBDIR)/mmalloc && \
23917 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
23918 @endif mmalloc
23923 .PHONY: check-mmalloc maybe-check-mmalloc
23924 maybe-check-mmalloc:
23925 @if mmalloc
23926 maybe-check-mmalloc: check-mmalloc
23928 check-mmalloc:
23930 @endif mmalloc
23932 .PHONY: install-mmalloc maybe-install-mmalloc
23933 maybe-install-mmalloc:
23934 @if mmalloc
23935 maybe-install-mmalloc: install-mmalloc
23937 install-mmalloc: installdirs
23938 @: $(MAKE); $(unstage)
23939 @r=`${PWD_COMMAND}`; export r; \
23940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23941 $(HOST_EXPORTS) \
23942 (cd $(HOST_SUBDIR)/mmalloc && \
23943 $(MAKE) $(FLAGS_TO_PASS) install)
23945 @endif mmalloc
23947 # Other targets (info, dvi, pdf, etc.)
23949 .PHONY: maybe-info-mmalloc info-mmalloc
23950 maybe-info-mmalloc:
23951 @if mmalloc
23952 maybe-info-mmalloc: info-mmalloc
23954 info-mmalloc: \
23955 configure-mmalloc
23956 @: $(MAKE); $(unstage)
23957 @[ -f ./mmalloc/Makefile ] || exit 0; \
23958 r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960 $(HOST_EXPORTS) \
23961 for flag in $(EXTRA_HOST_FLAGS) ; do \
23962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23963 done; \
23964 echo "Doing info in mmalloc" ; \
23965 (cd $(HOST_SUBDIR)/mmalloc && \
23966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23968 "RANLIB=$${RANLIB}" \
23969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23970 info) \
23971 || exit 1
23973 @endif mmalloc
23975 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
23976 maybe-dvi-mmalloc:
23977 @if mmalloc
23978 maybe-dvi-mmalloc: dvi-mmalloc
23980 dvi-mmalloc: \
23981 configure-mmalloc
23982 @: $(MAKE); $(unstage)
23983 @[ -f ./mmalloc/Makefile ] || exit 0; \
23984 r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 $(HOST_EXPORTS) \
23987 for flag in $(EXTRA_HOST_FLAGS) ; do \
23988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23989 done; \
23990 echo "Doing dvi in mmalloc" ; \
23991 (cd $(HOST_SUBDIR)/mmalloc && \
23992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23994 "RANLIB=$${RANLIB}" \
23995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23996 dvi) \
23997 || exit 1
23999 @endif mmalloc
24001 .PHONY: maybe-pdf-mmalloc pdf-mmalloc
24002 maybe-pdf-mmalloc:
24003 @if mmalloc
24004 maybe-pdf-mmalloc: pdf-mmalloc
24006 pdf-mmalloc: \
24007 configure-mmalloc
24008 @: $(MAKE); $(unstage)
24009 @[ -f ./mmalloc/Makefile ] || exit 0; \
24010 r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 $(HOST_EXPORTS) \
24013 for flag in $(EXTRA_HOST_FLAGS) ; do \
24014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24015 done; \
24016 echo "Doing pdf in mmalloc" ; \
24017 (cd $(HOST_SUBDIR)/mmalloc && \
24018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24020 "RANLIB=$${RANLIB}" \
24021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24022 pdf) \
24023 || exit 1
24025 @endif mmalloc
24027 .PHONY: maybe-html-mmalloc html-mmalloc
24028 maybe-html-mmalloc:
24029 @if mmalloc
24030 maybe-html-mmalloc: html-mmalloc
24032 html-mmalloc: \
24033 configure-mmalloc
24034 @: $(MAKE); $(unstage)
24035 @[ -f ./mmalloc/Makefile ] || exit 0; \
24036 r=`${PWD_COMMAND}`; export r; \
24037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24038 $(HOST_EXPORTS) \
24039 for flag in $(EXTRA_HOST_FLAGS) ; do \
24040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24041 done; \
24042 echo "Doing html in mmalloc" ; \
24043 (cd $(HOST_SUBDIR)/mmalloc && \
24044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24046 "RANLIB=$${RANLIB}" \
24047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24048 html) \
24049 || exit 1
24051 @endif mmalloc
24053 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
24054 maybe-TAGS-mmalloc:
24055 @if mmalloc
24056 maybe-TAGS-mmalloc: TAGS-mmalloc
24058 TAGS-mmalloc: \
24059 configure-mmalloc
24060 @: $(MAKE); $(unstage)
24061 @[ -f ./mmalloc/Makefile ] || exit 0; \
24062 r=`${PWD_COMMAND}`; export r; \
24063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24064 $(HOST_EXPORTS) \
24065 for flag in $(EXTRA_HOST_FLAGS) ; do \
24066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24067 done; \
24068 echo "Doing TAGS in mmalloc" ; \
24069 (cd $(HOST_SUBDIR)/mmalloc && \
24070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24072 "RANLIB=$${RANLIB}" \
24073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24074 TAGS) \
24075 || exit 1
24077 @endif mmalloc
24079 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
24080 maybe-install-info-mmalloc:
24081 @if mmalloc
24082 maybe-install-info-mmalloc: install-info-mmalloc
24084 install-info-mmalloc: \
24085 configure-mmalloc \
24086 info-mmalloc
24087 @: $(MAKE); $(unstage)
24088 @[ -f ./mmalloc/Makefile ] || exit 0; \
24089 r=`${PWD_COMMAND}`; export r; \
24090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24091 $(HOST_EXPORTS) \
24092 for flag in $(EXTRA_HOST_FLAGS) ; do \
24093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24094 done; \
24095 echo "Doing install-info in mmalloc" ; \
24096 (cd $(HOST_SUBDIR)/mmalloc && \
24097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24099 "RANLIB=$${RANLIB}" \
24100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24101 install-info) \
24102 || exit 1
24104 @endif mmalloc
24106 .PHONY: maybe-install-html-mmalloc install-html-mmalloc
24107 maybe-install-html-mmalloc:
24108 @if mmalloc
24109 maybe-install-html-mmalloc: install-html-mmalloc
24111 install-html-mmalloc: \
24112 configure-mmalloc \
24113 html-mmalloc
24114 @: $(MAKE); $(unstage)
24115 @[ -f ./mmalloc/Makefile ] || exit 0; \
24116 r=`${PWD_COMMAND}`; export r; \
24117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24118 $(HOST_EXPORTS) \
24119 for flag in $(EXTRA_HOST_FLAGS) ; do \
24120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24121 done; \
24122 echo "Doing install-html in mmalloc" ; \
24123 (cd $(HOST_SUBDIR)/mmalloc && \
24124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24126 "RANLIB=$${RANLIB}" \
24127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24128 install-html) \
24129 || exit 1
24131 @endif mmalloc
24133 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
24134 maybe-installcheck-mmalloc:
24135 @if mmalloc
24136 maybe-installcheck-mmalloc: installcheck-mmalloc
24138 installcheck-mmalloc: \
24139 configure-mmalloc
24140 @: $(MAKE); $(unstage)
24141 @[ -f ./mmalloc/Makefile ] || exit 0; \
24142 r=`${PWD_COMMAND}`; export r; \
24143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24144 $(HOST_EXPORTS) \
24145 for flag in $(EXTRA_HOST_FLAGS) ; do \
24146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24147 done; \
24148 echo "Doing installcheck in mmalloc" ; \
24149 (cd $(HOST_SUBDIR)/mmalloc && \
24150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24152 "RANLIB=$${RANLIB}" \
24153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24154 installcheck) \
24155 || exit 1
24157 @endif mmalloc
24159 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
24160 maybe-mostlyclean-mmalloc:
24161 @if mmalloc
24162 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
24164 mostlyclean-mmalloc:
24165 @: $(MAKE); $(unstage)
24166 @[ -f ./mmalloc/Makefile ] || exit 0; \
24167 r=`${PWD_COMMAND}`; export r; \
24168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24169 $(HOST_EXPORTS) \
24170 for flag in $(EXTRA_HOST_FLAGS) ; do \
24171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24172 done; \
24173 echo "Doing mostlyclean in mmalloc" ; \
24174 (cd $(HOST_SUBDIR)/mmalloc && \
24175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24177 "RANLIB=$${RANLIB}" \
24178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24179 mostlyclean) \
24180 || exit 1
24182 @endif mmalloc
24184 .PHONY: maybe-clean-mmalloc clean-mmalloc
24185 maybe-clean-mmalloc:
24186 @if mmalloc
24187 maybe-clean-mmalloc: clean-mmalloc
24189 clean-mmalloc:
24190 @: $(MAKE); $(unstage)
24191 @[ -f ./mmalloc/Makefile ] || exit 0; \
24192 r=`${PWD_COMMAND}`; export r; \
24193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24194 $(HOST_EXPORTS) \
24195 for flag in $(EXTRA_HOST_FLAGS) ; do \
24196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24197 done; \
24198 echo "Doing clean in mmalloc" ; \
24199 (cd $(HOST_SUBDIR)/mmalloc && \
24200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24202 "RANLIB=$${RANLIB}" \
24203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24204 clean) \
24205 || exit 1
24207 @endif mmalloc
24209 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
24210 maybe-distclean-mmalloc:
24211 @if mmalloc
24212 maybe-distclean-mmalloc: distclean-mmalloc
24214 distclean-mmalloc:
24215 @: $(MAKE); $(unstage)
24216 @[ -f ./mmalloc/Makefile ] || exit 0; \
24217 r=`${PWD_COMMAND}`; export r; \
24218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24219 $(HOST_EXPORTS) \
24220 for flag in $(EXTRA_HOST_FLAGS) ; do \
24221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24222 done; \
24223 echo "Doing distclean in mmalloc" ; \
24224 (cd $(HOST_SUBDIR)/mmalloc && \
24225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24227 "RANLIB=$${RANLIB}" \
24228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24229 distclean) \
24230 || exit 1
24232 @endif mmalloc
24234 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
24235 maybe-maintainer-clean-mmalloc:
24236 @if mmalloc
24237 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
24239 maintainer-clean-mmalloc:
24240 @: $(MAKE); $(unstage)
24241 @[ -f ./mmalloc/Makefile ] || exit 0; \
24242 r=`${PWD_COMMAND}`; export r; \
24243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24244 $(HOST_EXPORTS) \
24245 for flag in $(EXTRA_HOST_FLAGS) ; do \
24246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24247 done; \
24248 echo "Doing maintainer-clean in mmalloc" ; \
24249 (cd $(HOST_SUBDIR)/mmalloc && \
24250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24252 "RANLIB=$${RANLIB}" \
24253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24254 maintainer-clean) \
24255 || exit 1
24257 @endif mmalloc
24261 .PHONY: configure-patch maybe-configure-patch
24262 maybe-configure-patch:
24263 @if gcc-bootstrap
24264 configure-patch: stage_current
24265 @endif gcc-bootstrap
24266 @if patch
24267 maybe-configure-patch: configure-patch
24268 configure-patch:
24269 @: $(MAKE); $(unstage)
24270 @r=`${PWD_COMMAND}`; export r; \
24271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24272 test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
24273 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
24274 $(HOST_EXPORTS) \
24275 echo Configuring in $(HOST_SUBDIR)/patch; \
24276 cd "$(HOST_SUBDIR)/patch" || exit 1; \
24277 case $(srcdir) in \
24278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24279 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
24280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24281 esac; \
24282 srcdiroption="--srcdir=$${topdir}/patch"; \
24283 libsrcdir="$$s/patch"; \
24284 $(SHELL) $${libsrcdir}/configure \
24285 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24286 --target=${target_alias} $${srcdiroption} \
24287 || exit 1
24288 @endif patch
24294 .PHONY: all-patch maybe-all-patch
24295 maybe-all-patch:
24296 @if gcc-bootstrap
24297 all-patch: stage_current
24298 @endif gcc-bootstrap
24299 @if patch
24300 TARGET-patch=all
24301 maybe-all-patch: all-patch
24302 all-patch: configure-patch
24303 @: $(MAKE); $(unstage)
24304 @r=`${PWD_COMMAND}`; export r; \
24305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24306 $(HOST_EXPORTS) \
24307 (cd $(HOST_SUBDIR)/patch && \
24308 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
24309 @endif patch
24314 .PHONY: check-patch maybe-check-patch
24315 maybe-check-patch:
24316 @if patch
24317 maybe-check-patch: check-patch
24319 check-patch:
24320 @: $(MAKE); $(unstage)
24321 @r=`${PWD_COMMAND}`; export r; \
24322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24323 $(HOST_EXPORTS) \
24324 (cd $(HOST_SUBDIR)/patch && \
24325 $(MAKE) $(FLAGS_TO_PASS) check)
24327 @endif patch
24329 .PHONY: install-patch maybe-install-patch
24330 maybe-install-patch:
24331 @if patch
24332 maybe-install-patch: install-patch
24334 install-patch: installdirs
24335 @: $(MAKE); $(unstage)
24336 @r=`${PWD_COMMAND}`; export r; \
24337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24338 $(HOST_EXPORTS) \
24339 (cd $(HOST_SUBDIR)/patch && \
24340 $(MAKE) $(FLAGS_TO_PASS) install)
24342 @endif patch
24344 # Other targets (info, dvi, pdf, etc.)
24346 .PHONY: maybe-info-patch info-patch
24347 maybe-info-patch:
24348 @if patch
24349 maybe-info-patch: info-patch
24351 info-patch: \
24352 configure-patch
24353 @: $(MAKE); $(unstage)
24354 @[ -f ./patch/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing info in patch" ; \
24362 (cd $(HOST_SUBDIR)/patch && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24367 info) \
24368 || exit 1
24370 @endif patch
24372 .PHONY: maybe-dvi-patch dvi-patch
24373 maybe-dvi-patch:
24374 @if patch
24375 maybe-dvi-patch: dvi-patch
24377 dvi-patch: \
24378 configure-patch
24379 @: $(MAKE); $(unstage)
24380 @[ -f ./patch/Makefile ] || exit 0; \
24381 r=`${PWD_COMMAND}`; export r; \
24382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24383 $(HOST_EXPORTS) \
24384 for flag in $(EXTRA_HOST_FLAGS) ; do \
24385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24386 done; \
24387 echo "Doing dvi in patch" ; \
24388 (cd $(HOST_SUBDIR)/patch && \
24389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24391 "RANLIB=$${RANLIB}" \
24392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24393 dvi) \
24394 || exit 1
24396 @endif patch
24398 .PHONY: maybe-pdf-patch pdf-patch
24399 maybe-pdf-patch:
24400 @if patch
24401 maybe-pdf-patch: pdf-patch
24403 pdf-patch: \
24404 configure-patch
24405 @: $(MAKE); $(unstage)
24406 @[ -f ./patch/Makefile ] || exit 0; \
24407 r=`${PWD_COMMAND}`; export r; \
24408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24409 $(HOST_EXPORTS) \
24410 for flag in $(EXTRA_HOST_FLAGS) ; do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24412 done; \
24413 echo "Doing pdf in patch" ; \
24414 (cd $(HOST_SUBDIR)/patch && \
24415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24417 "RANLIB=$${RANLIB}" \
24418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24419 pdf) \
24420 || exit 1
24422 @endif patch
24424 .PHONY: maybe-html-patch html-patch
24425 maybe-html-patch:
24426 @if patch
24427 maybe-html-patch: html-patch
24429 html-patch: \
24430 configure-patch
24431 @: $(MAKE); $(unstage)
24432 @[ -f ./patch/Makefile ] || exit 0; \
24433 r=`${PWD_COMMAND}`; export r; \
24434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24435 $(HOST_EXPORTS) \
24436 for flag in $(EXTRA_HOST_FLAGS) ; do \
24437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24438 done; \
24439 echo "Doing html in patch" ; \
24440 (cd $(HOST_SUBDIR)/patch && \
24441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24443 "RANLIB=$${RANLIB}" \
24444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24445 html) \
24446 || exit 1
24448 @endif patch
24450 .PHONY: maybe-TAGS-patch TAGS-patch
24451 maybe-TAGS-patch:
24452 @if patch
24453 maybe-TAGS-patch: TAGS-patch
24455 TAGS-patch: \
24456 configure-patch
24457 @: $(MAKE); $(unstage)
24458 @[ -f ./patch/Makefile ] || exit 0; \
24459 r=`${PWD_COMMAND}`; export r; \
24460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24461 $(HOST_EXPORTS) \
24462 for flag in $(EXTRA_HOST_FLAGS) ; do \
24463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24464 done; \
24465 echo "Doing TAGS in patch" ; \
24466 (cd $(HOST_SUBDIR)/patch && \
24467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24469 "RANLIB=$${RANLIB}" \
24470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24471 TAGS) \
24472 || exit 1
24474 @endif patch
24476 .PHONY: maybe-install-info-patch install-info-patch
24477 maybe-install-info-patch:
24478 @if patch
24479 maybe-install-info-patch: install-info-patch
24481 install-info-patch: \
24482 configure-patch \
24483 info-patch
24484 @: $(MAKE); $(unstage)
24485 @[ -f ./patch/Makefile ] || exit 0; \
24486 r=`${PWD_COMMAND}`; export r; \
24487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24488 $(HOST_EXPORTS) \
24489 for flag in $(EXTRA_HOST_FLAGS) ; do \
24490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24491 done; \
24492 echo "Doing install-info in patch" ; \
24493 (cd $(HOST_SUBDIR)/patch && \
24494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24496 "RANLIB=$${RANLIB}" \
24497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24498 install-info) \
24499 || exit 1
24501 @endif patch
24503 .PHONY: maybe-install-html-patch install-html-patch
24504 maybe-install-html-patch:
24505 @if patch
24506 maybe-install-html-patch: install-html-patch
24508 install-html-patch: \
24509 configure-patch \
24510 html-patch
24511 @: $(MAKE); $(unstage)
24512 @[ -f ./patch/Makefile ] || exit 0; \
24513 r=`${PWD_COMMAND}`; export r; \
24514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24515 $(HOST_EXPORTS) \
24516 for flag in $(EXTRA_HOST_FLAGS) ; do \
24517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24518 done; \
24519 echo "Doing install-html in patch" ; \
24520 (cd $(HOST_SUBDIR)/patch && \
24521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24523 "RANLIB=$${RANLIB}" \
24524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24525 install-html) \
24526 || exit 1
24528 @endif patch
24530 .PHONY: maybe-installcheck-patch installcheck-patch
24531 maybe-installcheck-patch:
24532 @if patch
24533 maybe-installcheck-patch: installcheck-patch
24535 installcheck-patch: \
24536 configure-patch
24537 @: $(MAKE); $(unstage)
24538 @[ -f ./patch/Makefile ] || exit 0; \
24539 r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 $(HOST_EXPORTS) \
24542 for flag in $(EXTRA_HOST_FLAGS) ; do \
24543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24544 done; \
24545 echo "Doing installcheck in patch" ; \
24546 (cd $(HOST_SUBDIR)/patch && \
24547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24549 "RANLIB=$${RANLIB}" \
24550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24551 installcheck) \
24552 || exit 1
24554 @endif patch
24556 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
24557 maybe-mostlyclean-patch:
24558 @if patch
24559 maybe-mostlyclean-patch: mostlyclean-patch
24561 mostlyclean-patch:
24562 @: $(MAKE); $(unstage)
24563 @[ -f ./patch/Makefile ] || exit 0; \
24564 r=`${PWD_COMMAND}`; export r; \
24565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24566 $(HOST_EXPORTS) \
24567 for flag in $(EXTRA_HOST_FLAGS) ; do \
24568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24569 done; \
24570 echo "Doing mostlyclean in patch" ; \
24571 (cd $(HOST_SUBDIR)/patch && \
24572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24574 "RANLIB=$${RANLIB}" \
24575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24576 mostlyclean) \
24577 || exit 1
24579 @endif patch
24581 .PHONY: maybe-clean-patch clean-patch
24582 maybe-clean-patch:
24583 @if patch
24584 maybe-clean-patch: clean-patch
24586 clean-patch:
24587 @: $(MAKE); $(unstage)
24588 @[ -f ./patch/Makefile ] || exit 0; \
24589 r=`${PWD_COMMAND}`; export r; \
24590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24591 $(HOST_EXPORTS) \
24592 for flag in $(EXTRA_HOST_FLAGS) ; do \
24593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24594 done; \
24595 echo "Doing clean in patch" ; \
24596 (cd $(HOST_SUBDIR)/patch && \
24597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24599 "RANLIB=$${RANLIB}" \
24600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24601 clean) \
24602 || exit 1
24604 @endif patch
24606 .PHONY: maybe-distclean-patch distclean-patch
24607 maybe-distclean-patch:
24608 @if patch
24609 maybe-distclean-patch: distclean-patch
24611 distclean-patch:
24612 @: $(MAKE); $(unstage)
24613 @[ -f ./patch/Makefile ] || exit 0; \
24614 r=`${PWD_COMMAND}`; export r; \
24615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24616 $(HOST_EXPORTS) \
24617 for flag in $(EXTRA_HOST_FLAGS) ; do \
24618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24619 done; \
24620 echo "Doing distclean in patch" ; \
24621 (cd $(HOST_SUBDIR)/patch && \
24622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24624 "RANLIB=$${RANLIB}" \
24625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24626 distclean) \
24627 || exit 1
24629 @endif patch
24631 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
24632 maybe-maintainer-clean-patch:
24633 @if patch
24634 maybe-maintainer-clean-patch: maintainer-clean-patch
24636 maintainer-clean-patch:
24637 @: $(MAKE); $(unstage)
24638 @[ -f ./patch/Makefile ] || exit 0; \
24639 r=`${PWD_COMMAND}`; export r; \
24640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24641 $(HOST_EXPORTS) \
24642 for flag in $(EXTRA_HOST_FLAGS) ; do \
24643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24644 done; \
24645 echo "Doing maintainer-clean in patch" ; \
24646 (cd $(HOST_SUBDIR)/patch && \
24647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24649 "RANLIB=$${RANLIB}" \
24650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24651 maintainer-clean) \
24652 || exit 1
24654 @endif patch
24658 .PHONY: configure-perl maybe-configure-perl
24659 maybe-configure-perl:
24660 @if gcc-bootstrap
24661 configure-perl: stage_current
24662 @endif gcc-bootstrap
24663 @if perl
24664 maybe-configure-perl: configure-perl
24665 configure-perl:
24666 @: $(MAKE); $(unstage)
24667 @r=`${PWD_COMMAND}`; export r; \
24668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24669 test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
24670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
24671 $(HOST_EXPORTS) \
24672 echo Configuring in $(HOST_SUBDIR)/perl; \
24673 cd "$(HOST_SUBDIR)/perl" || exit 1; \
24674 case $(srcdir) in \
24675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24676 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
24677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24678 esac; \
24679 srcdiroption="--srcdir=$${topdir}/perl"; \
24680 libsrcdir="$$s/perl"; \
24681 $(SHELL) $${libsrcdir}/configure \
24682 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24683 --target=${target_alias} $${srcdiroption} \
24684 || exit 1
24685 @endif perl
24691 .PHONY: all-perl maybe-all-perl
24692 maybe-all-perl:
24693 @if gcc-bootstrap
24694 all-perl: stage_current
24695 @endif gcc-bootstrap
24696 @if perl
24697 TARGET-perl=all
24698 maybe-all-perl: all-perl
24699 all-perl: configure-perl
24700 @: $(MAKE); $(unstage)
24701 @r=`${PWD_COMMAND}`; export r; \
24702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24703 $(HOST_EXPORTS) \
24704 (cd $(HOST_SUBDIR)/perl && \
24705 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
24706 @endif perl
24711 .PHONY: check-perl maybe-check-perl
24712 maybe-check-perl:
24713 @if perl
24714 maybe-check-perl: check-perl
24716 check-perl:
24717 @: $(MAKE); $(unstage)
24718 @r=`${PWD_COMMAND}`; export r; \
24719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24720 $(HOST_EXPORTS) \
24721 (cd $(HOST_SUBDIR)/perl && \
24722 $(MAKE) $(FLAGS_TO_PASS) check)
24724 @endif perl
24726 .PHONY: install-perl maybe-install-perl
24727 maybe-install-perl:
24728 @if perl
24729 maybe-install-perl: install-perl
24731 install-perl: installdirs
24732 @: $(MAKE); $(unstage)
24733 @r=`${PWD_COMMAND}`; export r; \
24734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24735 $(HOST_EXPORTS) \
24736 (cd $(HOST_SUBDIR)/perl && \
24737 $(MAKE) $(FLAGS_TO_PASS) install)
24739 @endif perl
24741 # Other targets (info, dvi, pdf, etc.)
24743 .PHONY: maybe-info-perl info-perl
24744 maybe-info-perl:
24745 @if perl
24746 maybe-info-perl: info-perl
24748 info-perl: \
24749 configure-perl
24750 @: $(MAKE); $(unstage)
24751 @[ -f ./perl/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing info in perl" ; \
24759 (cd $(HOST_SUBDIR)/perl && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24764 info) \
24765 || exit 1
24767 @endif perl
24769 .PHONY: maybe-dvi-perl dvi-perl
24770 maybe-dvi-perl:
24771 @if perl
24772 maybe-dvi-perl: dvi-perl
24774 dvi-perl: \
24775 configure-perl
24776 @: $(MAKE); $(unstage)
24777 @[ -f ./perl/Makefile ] || exit 0; \
24778 r=`${PWD_COMMAND}`; export r; \
24779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24780 $(HOST_EXPORTS) \
24781 for flag in $(EXTRA_HOST_FLAGS) ; do \
24782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24783 done; \
24784 echo "Doing dvi in perl" ; \
24785 (cd $(HOST_SUBDIR)/perl && \
24786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24788 "RANLIB=$${RANLIB}" \
24789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24790 dvi) \
24791 || exit 1
24793 @endif perl
24795 .PHONY: maybe-pdf-perl pdf-perl
24796 maybe-pdf-perl:
24797 @if perl
24798 maybe-pdf-perl: pdf-perl
24800 pdf-perl: \
24801 configure-perl
24802 @: $(MAKE); $(unstage)
24803 @[ -f ./perl/Makefile ] || exit 0; \
24804 r=`${PWD_COMMAND}`; export r; \
24805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806 $(HOST_EXPORTS) \
24807 for flag in $(EXTRA_HOST_FLAGS) ; do \
24808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24809 done; \
24810 echo "Doing pdf in perl" ; \
24811 (cd $(HOST_SUBDIR)/perl && \
24812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24814 "RANLIB=$${RANLIB}" \
24815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24816 pdf) \
24817 || exit 1
24819 @endif perl
24821 .PHONY: maybe-html-perl html-perl
24822 maybe-html-perl:
24823 @if perl
24824 maybe-html-perl: html-perl
24826 html-perl: \
24827 configure-perl
24828 @: $(MAKE); $(unstage)
24829 @[ -f ./perl/Makefile ] || exit 0; \
24830 r=`${PWD_COMMAND}`; export r; \
24831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24832 $(HOST_EXPORTS) \
24833 for flag in $(EXTRA_HOST_FLAGS) ; do \
24834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24835 done; \
24836 echo "Doing html in perl" ; \
24837 (cd $(HOST_SUBDIR)/perl && \
24838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24840 "RANLIB=$${RANLIB}" \
24841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24842 html) \
24843 || exit 1
24845 @endif perl
24847 .PHONY: maybe-TAGS-perl TAGS-perl
24848 maybe-TAGS-perl:
24849 @if perl
24850 maybe-TAGS-perl: TAGS-perl
24852 TAGS-perl: \
24853 configure-perl
24854 @: $(MAKE); $(unstage)
24855 @[ -f ./perl/Makefile ] || exit 0; \
24856 r=`${PWD_COMMAND}`; export r; \
24857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24858 $(HOST_EXPORTS) \
24859 for flag in $(EXTRA_HOST_FLAGS) ; do \
24860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24861 done; \
24862 echo "Doing TAGS in perl" ; \
24863 (cd $(HOST_SUBDIR)/perl && \
24864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24866 "RANLIB=$${RANLIB}" \
24867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24868 TAGS) \
24869 || exit 1
24871 @endif perl
24873 .PHONY: maybe-install-info-perl install-info-perl
24874 maybe-install-info-perl:
24875 @if perl
24876 maybe-install-info-perl: install-info-perl
24878 install-info-perl: \
24879 configure-perl \
24880 info-perl
24881 @: $(MAKE); $(unstage)
24882 @[ -f ./perl/Makefile ] || exit 0; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24885 $(HOST_EXPORTS) \
24886 for flag in $(EXTRA_HOST_FLAGS) ; do \
24887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24888 done; \
24889 echo "Doing install-info in perl" ; \
24890 (cd $(HOST_SUBDIR)/perl && \
24891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24893 "RANLIB=$${RANLIB}" \
24894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24895 install-info) \
24896 || exit 1
24898 @endif perl
24900 .PHONY: maybe-install-html-perl install-html-perl
24901 maybe-install-html-perl:
24902 @if perl
24903 maybe-install-html-perl: install-html-perl
24905 install-html-perl: \
24906 configure-perl \
24907 html-perl
24908 @: $(MAKE); $(unstage)
24909 @[ -f ./perl/Makefile ] || exit 0; \
24910 r=`${PWD_COMMAND}`; export r; \
24911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 $(HOST_EXPORTS) \
24913 for flag in $(EXTRA_HOST_FLAGS) ; do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 done; \
24916 echo "Doing install-html in perl" ; \
24917 (cd $(HOST_SUBDIR)/perl && \
24918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24920 "RANLIB=$${RANLIB}" \
24921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24922 install-html) \
24923 || exit 1
24925 @endif perl
24927 .PHONY: maybe-installcheck-perl installcheck-perl
24928 maybe-installcheck-perl:
24929 @if perl
24930 maybe-installcheck-perl: installcheck-perl
24932 installcheck-perl: \
24933 configure-perl
24934 @: $(MAKE); $(unstage)
24935 @[ -f ./perl/Makefile ] || exit 0; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(HOST_EXPORTS) \
24939 for flag in $(EXTRA_HOST_FLAGS) ; do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24941 done; \
24942 echo "Doing installcheck in perl" ; \
24943 (cd $(HOST_SUBDIR)/perl && \
24944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24946 "RANLIB=$${RANLIB}" \
24947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24948 installcheck) \
24949 || exit 1
24951 @endif perl
24953 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
24954 maybe-mostlyclean-perl:
24955 @if perl
24956 maybe-mostlyclean-perl: mostlyclean-perl
24958 mostlyclean-perl:
24959 @: $(MAKE); $(unstage)
24960 @[ -f ./perl/Makefile ] || exit 0; \
24961 r=`${PWD_COMMAND}`; export r; \
24962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24963 $(HOST_EXPORTS) \
24964 for flag in $(EXTRA_HOST_FLAGS) ; do \
24965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24966 done; \
24967 echo "Doing mostlyclean in perl" ; \
24968 (cd $(HOST_SUBDIR)/perl && \
24969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24971 "RANLIB=$${RANLIB}" \
24972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24973 mostlyclean) \
24974 || exit 1
24976 @endif perl
24978 .PHONY: maybe-clean-perl clean-perl
24979 maybe-clean-perl:
24980 @if perl
24981 maybe-clean-perl: clean-perl
24983 clean-perl:
24984 @: $(MAKE); $(unstage)
24985 @[ -f ./perl/Makefile ] || exit 0; \
24986 r=`${PWD_COMMAND}`; export r; \
24987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24988 $(HOST_EXPORTS) \
24989 for flag in $(EXTRA_HOST_FLAGS) ; do \
24990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24991 done; \
24992 echo "Doing clean in perl" ; \
24993 (cd $(HOST_SUBDIR)/perl && \
24994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24996 "RANLIB=$${RANLIB}" \
24997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24998 clean) \
24999 || exit 1
25001 @endif perl
25003 .PHONY: maybe-distclean-perl distclean-perl
25004 maybe-distclean-perl:
25005 @if perl
25006 maybe-distclean-perl: distclean-perl
25008 distclean-perl:
25009 @: $(MAKE); $(unstage)
25010 @[ -f ./perl/Makefile ] || exit 0; \
25011 r=`${PWD_COMMAND}`; export r; \
25012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25013 $(HOST_EXPORTS) \
25014 for flag in $(EXTRA_HOST_FLAGS) ; do \
25015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25016 done; \
25017 echo "Doing distclean in perl" ; \
25018 (cd $(HOST_SUBDIR)/perl && \
25019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25021 "RANLIB=$${RANLIB}" \
25022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25023 distclean) \
25024 || exit 1
25026 @endif perl
25028 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
25029 maybe-maintainer-clean-perl:
25030 @if perl
25031 maybe-maintainer-clean-perl: maintainer-clean-perl
25033 maintainer-clean-perl:
25034 @: $(MAKE); $(unstage)
25035 @[ -f ./perl/Makefile ] || exit 0; \
25036 r=`${PWD_COMMAND}`; export r; \
25037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25038 $(HOST_EXPORTS) \
25039 for flag in $(EXTRA_HOST_FLAGS) ; do \
25040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25041 done; \
25042 echo "Doing maintainer-clean in perl" ; \
25043 (cd $(HOST_SUBDIR)/perl && \
25044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25046 "RANLIB=$${RANLIB}" \
25047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25048 maintainer-clean) \
25049 || exit 1
25051 @endif perl
25055 .PHONY: configure-prms maybe-configure-prms
25056 maybe-configure-prms:
25057 @if gcc-bootstrap
25058 configure-prms: stage_current
25059 @endif gcc-bootstrap
25060 @if prms
25061 maybe-configure-prms: configure-prms
25062 configure-prms:
25063 @: $(MAKE); $(unstage)
25064 @r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066 test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
25067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
25068 $(HOST_EXPORTS) \
25069 echo Configuring in $(HOST_SUBDIR)/prms; \
25070 cd "$(HOST_SUBDIR)/prms" || exit 1; \
25071 case $(srcdir) in \
25072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25073 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
25074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25075 esac; \
25076 srcdiroption="--srcdir=$${topdir}/prms"; \
25077 libsrcdir="$$s/prms"; \
25078 $(SHELL) $${libsrcdir}/configure \
25079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25080 --target=${target_alias} $${srcdiroption} \
25081 || exit 1
25082 @endif prms
25088 .PHONY: all-prms maybe-all-prms
25089 maybe-all-prms:
25090 @if gcc-bootstrap
25091 all-prms: stage_current
25092 @endif gcc-bootstrap
25093 @if prms
25094 TARGET-prms=all
25095 maybe-all-prms: all-prms
25096 all-prms: configure-prms
25097 @: $(MAKE); $(unstage)
25098 @r=`${PWD_COMMAND}`; export r; \
25099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25100 $(HOST_EXPORTS) \
25101 (cd $(HOST_SUBDIR)/prms && \
25102 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
25103 @endif prms
25108 .PHONY: check-prms maybe-check-prms
25109 maybe-check-prms:
25110 @if prms
25111 maybe-check-prms: check-prms
25113 check-prms:
25114 @: $(MAKE); $(unstage)
25115 @r=`${PWD_COMMAND}`; export r; \
25116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25117 $(HOST_EXPORTS) \
25118 (cd $(HOST_SUBDIR)/prms && \
25119 $(MAKE) $(FLAGS_TO_PASS) check)
25121 @endif prms
25123 .PHONY: install-prms maybe-install-prms
25124 maybe-install-prms:
25125 @if prms
25126 maybe-install-prms: install-prms
25128 install-prms: installdirs
25129 @: $(MAKE); $(unstage)
25130 @r=`${PWD_COMMAND}`; export r; \
25131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25132 $(HOST_EXPORTS) \
25133 (cd $(HOST_SUBDIR)/prms && \
25134 $(MAKE) $(FLAGS_TO_PASS) install)
25136 @endif prms
25138 # Other targets (info, dvi, pdf, etc.)
25140 .PHONY: maybe-info-prms info-prms
25141 maybe-info-prms:
25142 @if prms
25143 maybe-info-prms: info-prms
25145 info-prms: \
25146 configure-prms
25147 @: $(MAKE); $(unstage)
25148 @[ -f ./prms/Makefile ] || exit 0; \
25149 r=`${PWD_COMMAND}`; export r; \
25150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151 $(HOST_EXPORTS) \
25152 for flag in $(EXTRA_HOST_FLAGS) ; do \
25153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25154 done; \
25155 echo "Doing info in prms" ; \
25156 (cd $(HOST_SUBDIR)/prms && \
25157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25159 "RANLIB=$${RANLIB}" \
25160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25161 info) \
25162 || exit 1
25164 @endif prms
25166 .PHONY: maybe-dvi-prms dvi-prms
25167 maybe-dvi-prms:
25168 @if prms
25169 maybe-dvi-prms: dvi-prms
25171 dvi-prms: \
25172 configure-prms
25173 @: $(MAKE); $(unstage)
25174 @[ -f ./prms/Makefile ] || exit 0; \
25175 r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 $(HOST_EXPORTS) \
25178 for flag in $(EXTRA_HOST_FLAGS) ; do \
25179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25180 done; \
25181 echo "Doing dvi in prms" ; \
25182 (cd $(HOST_SUBDIR)/prms && \
25183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25185 "RANLIB=$${RANLIB}" \
25186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25187 dvi) \
25188 || exit 1
25190 @endif prms
25192 .PHONY: maybe-pdf-prms pdf-prms
25193 maybe-pdf-prms:
25194 @if prms
25195 maybe-pdf-prms: pdf-prms
25197 pdf-prms: \
25198 configure-prms
25199 @: $(MAKE); $(unstage)
25200 @[ -f ./prms/Makefile ] || exit 0; \
25201 r=`${PWD_COMMAND}`; export r; \
25202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25203 $(HOST_EXPORTS) \
25204 for flag in $(EXTRA_HOST_FLAGS) ; do \
25205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25206 done; \
25207 echo "Doing pdf in prms" ; \
25208 (cd $(HOST_SUBDIR)/prms && \
25209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25211 "RANLIB=$${RANLIB}" \
25212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25213 pdf) \
25214 || exit 1
25216 @endif prms
25218 .PHONY: maybe-html-prms html-prms
25219 maybe-html-prms:
25220 @if prms
25221 maybe-html-prms: html-prms
25223 html-prms: \
25224 configure-prms
25225 @: $(MAKE); $(unstage)
25226 @[ -f ./prms/Makefile ] || exit 0; \
25227 r=`${PWD_COMMAND}`; export r; \
25228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25229 $(HOST_EXPORTS) \
25230 for flag in $(EXTRA_HOST_FLAGS) ; do \
25231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25232 done; \
25233 echo "Doing html in prms" ; \
25234 (cd $(HOST_SUBDIR)/prms && \
25235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25237 "RANLIB=$${RANLIB}" \
25238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25239 html) \
25240 || exit 1
25242 @endif prms
25244 .PHONY: maybe-TAGS-prms TAGS-prms
25245 maybe-TAGS-prms:
25246 @if prms
25247 maybe-TAGS-prms: TAGS-prms
25249 TAGS-prms: \
25250 configure-prms
25251 @: $(MAKE); $(unstage)
25252 @[ -f ./prms/Makefile ] || exit 0; \
25253 r=`${PWD_COMMAND}`; export r; \
25254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25255 $(HOST_EXPORTS) \
25256 for flag in $(EXTRA_HOST_FLAGS) ; do \
25257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25258 done; \
25259 echo "Doing TAGS in prms" ; \
25260 (cd $(HOST_SUBDIR)/prms && \
25261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25263 "RANLIB=$${RANLIB}" \
25264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25265 TAGS) \
25266 || exit 1
25268 @endif prms
25270 .PHONY: maybe-install-info-prms install-info-prms
25271 maybe-install-info-prms:
25272 @if prms
25273 maybe-install-info-prms: install-info-prms
25275 install-info-prms: \
25276 configure-prms \
25277 info-prms
25278 @: $(MAKE); $(unstage)
25279 @[ -f ./prms/Makefile ] || exit 0; \
25280 r=`${PWD_COMMAND}`; export r; \
25281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25282 $(HOST_EXPORTS) \
25283 for flag in $(EXTRA_HOST_FLAGS) ; do \
25284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25285 done; \
25286 echo "Doing install-info in prms" ; \
25287 (cd $(HOST_SUBDIR)/prms && \
25288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25290 "RANLIB=$${RANLIB}" \
25291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25292 install-info) \
25293 || exit 1
25295 @endif prms
25297 .PHONY: maybe-install-html-prms install-html-prms
25298 maybe-install-html-prms:
25299 @if prms
25300 maybe-install-html-prms: install-html-prms
25302 install-html-prms: \
25303 configure-prms \
25304 html-prms
25305 @: $(MAKE); $(unstage)
25306 @[ -f ./prms/Makefile ] || exit 0; \
25307 r=`${PWD_COMMAND}`; export r; \
25308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25309 $(HOST_EXPORTS) \
25310 for flag in $(EXTRA_HOST_FLAGS) ; do \
25311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25312 done; \
25313 echo "Doing install-html in prms" ; \
25314 (cd $(HOST_SUBDIR)/prms && \
25315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25317 "RANLIB=$${RANLIB}" \
25318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25319 install-html) \
25320 || exit 1
25322 @endif prms
25324 .PHONY: maybe-installcheck-prms installcheck-prms
25325 maybe-installcheck-prms:
25326 @if prms
25327 maybe-installcheck-prms: installcheck-prms
25329 installcheck-prms: \
25330 configure-prms
25331 @: $(MAKE); $(unstage)
25332 @[ -f ./prms/Makefile ] || exit 0; \
25333 r=`${PWD_COMMAND}`; export r; \
25334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25335 $(HOST_EXPORTS) \
25336 for flag in $(EXTRA_HOST_FLAGS) ; do \
25337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25338 done; \
25339 echo "Doing installcheck in prms" ; \
25340 (cd $(HOST_SUBDIR)/prms && \
25341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25343 "RANLIB=$${RANLIB}" \
25344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25345 installcheck) \
25346 || exit 1
25348 @endif prms
25350 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
25351 maybe-mostlyclean-prms:
25352 @if prms
25353 maybe-mostlyclean-prms: mostlyclean-prms
25355 mostlyclean-prms:
25356 @: $(MAKE); $(unstage)
25357 @[ -f ./prms/Makefile ] || exit 0; \
25358 r=`${PWD_COMMAND}`; export r; \
25359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25360 $(HOST_EXPORTS) \
25361 for flag in $(EXTRA_HOST_FLAGS) ; do \
25362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25363 done; \
25364 echo "Doing mostlyclean in prms" ; \
25365 (cd $(HOST_SUBDIR)/prms && \
25366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25368 "RANLIB=$${RANLIB}" \
25369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25370 mostlyclean) \
25371 || exit 1
25373 @endif prms
25375 .PHONY: maybe-clean-prms clean-prms
25376 maybe-clean-prms:
25377 @if prms
25378 maybe-clean-prms: clean-prms
25380 clean-prms:
25381 @: $(MAKE); $(unstage)
25382 @[ -f ./prms/Makefile ] || exit 0; \
25383 r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 $(HOST_EXPORTS) \
25386 for flag in $(EXTRA_HOST_FLAGS) ; do \
25387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25388 done; \
25389 echo "Doing clean in prms" ; \
25390 (cd $(HOST_SUBDIR)/prms && \
25391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25393 "RANLIB=$${RANLIB}" \
25394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25395 clean) \
25396 || exit 1
25398 @endif prms
25400 .PHONY: maybe-distclean-prms distclean-prms
25401 maybe-distclean-prms:
25402 @if prms
25403 maybe-distclean-prms: distclean-prms
25405 distclean-prms:
25406 @: $(MAKE); $(unstage)
25407 @[ -f ./prms/Makefile ] || exit 0; \
25408 r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25410 $(HOST_EXPORTS) \
25411 for flag in $(EXTRA_HOST_FLAGS) ; do \
25412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25413 done; \
25414 echo "Doing distclean in prms" ; \
25415 (cd $(HOST_SUBDIR)/prms && \
25416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25418 "RANLIB=$${RANLIB}" \
25419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25420 distclean) \
25421 || exit 1
25423 @endif prms
25425 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
25426 maybe-maintainer-clean-prms:
25427 @if prms
25428 maybe-maintainer-clean-prms: maintainer-clean-prms
25430 maintainer-clean-prms:
25431 @: $(MAKE); $(unstage)
25432 @[ -f ./prms/Makefile ] || exit 0; \
25433 r=`${PWD_COMMAND}`; export r; \
25434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25435 $(HOST_EXPORTS) \
25436 for flag in $(EXTRA_HOST_FLAGS) ; do \
25437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25438 done; \
25439 echo "Doing maintainer-clean in prms" ; \
25440 (cd $(HOST_SUBDIR)/prms && \
25441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25443 "RANLIB=$${RANLIB}" \
25444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25445 maintainer-clean) \
25446 || exit 1
25448 @endif prms
25452 .PHONY: configure-rcs maybe-configure-rcs
25453 maybe-configure-rcs:
25454 @if gcc-bootstrap
25455 configure-rcs: stage_current
25456 @endif gcc-bootstrap
25457 @if rcs
25458 maybe-configure-rcs: configure-rcs
25459 configure-rcs:
25460 @: $(MAKE); $(unstage)
25461 @r=`${PWD_COMMAND}`; export r; \
25462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25463 test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
25464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
25465 $(HOST_EXPORTS) \
25466 echo Configuring in $(HOST_SUBDIR)/rcs; \
25467 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
25468 case $(srcdir) in \
25469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25470 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
25471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25472 esac; \
25473 srcdiroption="--srcdir=$${topdir}/rcs"; \
25474 libsrcdir="$$s/rcs"; \
25475 $(SHELL) $${libsrcdir}/configure \
25476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25477 --target=${target_alias} $${srcdiroption} \
25478 || exit 1
25479 @endif rcs
25485 .PHONY: all-rcs maybe-all-rcs
25486 maybe-all-rcs:
25487 @if gcc-bootstrap
25488 all-rcs: stage_current
25489 @endif gcc-bootstrap
25490 @if rcs
25491 TARGET-rcs=all
25492 maybe-all-rcs: all-rcs
25493 all-rcs: configure-rcs
25494 @: $(MAKE); $(unstage)
25495 @r=`${PWD_COMMAND}`; export r; \
25496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25497 $(HOST_EXPORTS) \
25498 (cd $(HOST_SUBDIR)/rcs && \
25499 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
25500 @endif rcs
25505 .PHONY: check-rcs maybe-check-rcs
25506 maybe-check-rcs:
25507 @if rcs
25508 maybe-check-rcs: check-rcs
25510 check-rcs:
25511 @: $(MAKE); $(unstage)
25512 @r=`${PWD_COMMAND}`; export r; \
25513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25514 $(HOST_EXPORTS) \
25515 (cd $(HOST_SUBDIR)/rcs && \
25516 $(MAKE) $(FLAGS_TO_PASS) check)
25518 @endif rcs
25520 .PHONY: install-rcs maybe-install-rcs
25521 maybe-install-rcs:
25522 @if rcs
25523 maybe-install-rcs: install-rcs
25525 install-rcs: installdirs
25526 @: $(MAKE); $(unstage)
25527 @r=`${PWD_COMMAND}`; export r; \
25528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25529 $(HOST_EXPORTS) \
25530 (cd $(HOST_SUBDIR)/rcs && \
25531 $(MAKE) $(FLAGS_TO_PASS) install)
25533 @endif rcs
25535 # Other targets (info, dvi, pdf, etc.)
25537 .PHONY: maybe-info-rcs info-rcs
25538 maybe-info-rcs:
25539 @if rcs
25540 maybe-info-rcs: info-rcs
25542 info-rcs: \
25543 configure-rcs
25544 @: $(MAKE); $(unstage)
25545 @[ -f ./rcs/Makefile ] || exit 0; \
25546 r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(HOST_EXPORTS) \
25549 for flag in $(EXTRA_HOST_FLAGS) ; do \
25550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25551 done; \
25552 echo "Doing info in rcs" ; \
25553 (cd $(HOST_SUBDIR)/rcs && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25558 info) \
25559 || exit 1
25561 @endif rcs
25563 .PHONY: maybe-dvi-rcs dvi-rcs
25564 maybe-dvi-rcs:
25565 @if rcs
25566 maybe-dvi-rcs: dvi-rcs
25568 dvi-rcs: \
25569 configure-rcs
25570 @: $(MAKE); $(unstage)
25571 @[ -f ./rcs/Makefile ] || exit 0; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(HOST_EXPORTS) \
25575 for flag in $(EXTRA_HOST_FLAGS) ; do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 echo "Doing dvi in rcs" ; \
25579 (cd $(HOST_SUBDIR)/rcs && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584 dvi) \
25585 || exit 1
25587 @endif rcs
25589 .PHONY: maybe-pdf-rcs pdf-rcs
25590 maybe-pdf-rcs:
25591 @if rcs
25592 maybe-pdf-rcs: pdf-rcs
25594 pdf-rcs: \
25595 configure-rcs
25596 @: $(MAKE); $(unstage)
25597 @[ -f ./rcs/Makefile ] || exit 0; \
25598 r=`${PWD_COMMAND}`; export r; \
25599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25600 $(HOST_EXPORTS) \
25601 for flag in $(EXTRA_HOST_FLAGS) ; do \
25602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25603 done; \
25604 echo "Doing pdf in rcs" ; \
25605 (cd $(HOST_SUBDIR)/rcs && \
25606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25608 "RANLIB=$${RANLIB}" \
25609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25610 pdf) \
25611 || exit 1
25613 @endif rcs
25615 .PHONY: maybe-html-rcs html-rcs
25616 maybe-html-rcs:
25617 @if rcs
25618 maybe-html-rcs: html-rcs
25620 html-rcs: \
25621 configure-rcs
25622 @: $(MAKE); $(unstage)
25623 @[ -f ./rcs/Makefile ] || exit 0; \
25624 r=`${PWD_COMMAND}`; export r; \
25625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25626 $(HOST_EXPORTS) \
25627 for flag in $(EXTRA_HOST_FLAGS) ; do \
25628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25629 done; \
25630 echo "Doing html in rcs" ; \
25631 (cd $(HOST_SUBDIR)/rcs && \
25632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25634 "RANLIB=$${RANLIB}" \
25635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25636 html) \
25637 || exit 1
25639 @endif rcs
25641 .PHONY: maybe-TAGS-rcs TAGS-rcs
25642 maybe-TAGS-rcs:
25643 @if rcs
25644 maybe-TAGS-rcs: TAGS-rcs
25646 TAGS-rcs: \
25647 configure-rcs
25648 @: $(MAKE); $(unstage)
25649 @[ -f ./rcs/Makefile ] || exit 0; \
25650 r=`${PWD_COMMAND}`; export r; \
25651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25652 $(HOST_EXPORTS) \
25653 for flag in $(EXTRA_HOST_FLAGS) ; do \
25654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25655 done; \
25656 echo "Doing TAGS in rcs" ; \
25657 (cd $(HOST_SUBDIR)/rcs && \
25658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25660 "RANLIB=$${RANLIB}" \
25661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25662 TAGS) \
25663 || exit 1
25665 @endif rcs
25667 .PHONY: maybe-install-info-rcs install-info-rcs
25668 maybe-install-info-rcs:
25669 @if rcs
25670 maybe-install-info-rcs: install-info-rcs
25672 install-info-rcs: \
25673 configure-rcs \
25674 info-rcs
25675 @: $(MAKE); $(unstage)
25676 @[ -f ./rcs/Makefile ] || exit 0; \
25677 r=`${PWD_COMMAND}`; export r; \
25678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 $(HOST_EXPORTS) \
25680 for flag in $(EXTRA_HOST_FLAGS) ; do \
25681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25682 done; \
25683 echo "Doing install-info in rcs" ; \
25684 (cd $(HOST_SUBDIR)/rcs && \
25685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687 "RANLIB=$${RANLIB}" \
25688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25689 install-info) \
25690 || exit 1
25692 @endif rcs
25694 .PHONY: maybe-install-html-rcs install-html-rcs
25695 maybe-install-html-rcs:
25696 @if rcs
25697 maybe-install-html-rcs: install-html-rcs
25699 install-html-rcs: \
25700 configure-rcs \
25701 html-rcs
25702 @: $(MAKE); $(unstage)
25703 @[ -f ./rcs/Makefile ] || exit 0; \
25704 r=`${PWD_COMMAND}`; export r; \
25705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25706 $(HOST_EXPORTS) \
25707 for flag in $(EXTRA_HOST_FLAGS) ; do \
25708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25709 done; \
25710 echo "Doing install-html in rcs" ; \
25711 (cd $(HOST_SUBDIR)/rcs && \
25712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25714 "RANLIB=$${RANLIB}" \
25715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25716 install-html) \
25717 || exit 1
25719 @endif rcs
25721 .PHONY: maybe-installcheck-rcs installcheck-rcs
25722 maybe-installcheck-rcs:
25723 @if rcs
25724 maybe-installcheck-rcs: installcheck-rcs
25726 installcheck-rcs: \
25727 configure-rcs
25728 @: $(MAKE); $(unstage)
25729 @[ -f ./rcs/Makefile ] || exit 0; \
25730 r=`${PWD_COMMAND}`; export r; \
25731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25732 $(HOST_EXPORTS) \
25733 for flag in $(EXTRA_HOST_FLAGS) ; do \
25734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25735 done; \
25736 echo "Doing installcheck in rcs" ; \
25737 (cd $(HOST_SUBDIR)/rcs && \
25738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25740 "RANLIB=$${RANLIB}" \
25741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25742 installcheck) \
25743 || exit 1
25745 @endif rcs
25747 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
25748 maybe-mostlyclean-rcs:
25749 @if rcs
25750 maybe-mostlyclean-rcs: mostlyclean-rcs
25752 mostlyclean-rcs:
25753 @: $(MAKE); $(unstage)
25754 @[ -f ./rcs/Makefile ] || exit 0; \
25755 r=`${PWD_COMMAND}`; export r; \
25756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25757 $(HOST_EXPORTS) \
25758 for flag in $(EXTRA_HOST_FLAGS) ; do \
25759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25760 done; \
25761 echo "Doing mostlyclean in rcs" ; \
25762 (cd $(HOST_SUBDIR)/rcs && \
25763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25765 "RANLIB=$${RANLIB}" \
25766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25767 mostlyclean) \
25768 || exit 1
25770 @endif rcs
25772 .PHONY: maybe-clean-rcs clean-rcs
25773 maybe-clean-rcs:
25774 @if rcs
25775 maybe-clean-rcs: clean-rcs
25777 clean-rcs:
25778 @: $(MAKE); $(unstage)
25779 @[ -f ./rcs/Makefile ] || exit 0; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25782 $(HOST_EXPORTS) \
25783 for flag in $(EXTRA_HOST_FLAGS) ; do \
25784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25785 done; \
25786 echo "Doing clean in rcs" ; \
25787 (cd $(HOST_SUBDIR)/rcs && \
25788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25790 "RANLIB=$${RANLIB}" \
25791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25792 clean) \
25793 || exit 1
25795 @endif rcs
25797 .PHONY: maybe-distclean-rcs distclean-rcs
25798 maybe-distclean-rcs:
25799 @if rcs
25800 maybe-distclean-rcs: distclean-rcs
25802 distclean-rcs:
25803 @: $(MAKE); $(unstage)
25804 @[ -f ./rcs/Makefile ] || exit 0; \
25805 r=`${PWD_COMMAND}`; export r; \
25806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25807 $(HOST_EXPORTS) \
25808 for flag in $(EXTRA_HOST_FLAGS) ; do \
25809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25810 done; \
25811 echo "Doing distclean in rcs" ; \
25812 (cd $(HOST_SUBDIR)/rcs && \
25813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25815 "RANLIB=$${RANLIB}" \
25816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25817 distclean) \
25818 || exit 1
25820 @endif rcs
25822 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
25823 maybe-maintainer-clean-rcs:
25824 @if rcs
25825 maybe-maintainer-clean-rcs: maintainer-clean-rcs
25827 maintainer-clean-rcs:
25828 @: $(MAKE); $(unstage)
25829 @[ -f ./rcs/Makefile ] || exit 0; \
25830 r=`${PWD_COMMAND}`; export r; \
25831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25832 $(HOST_EXPORTS) \
25833 for flag in $(EXTRA_HOST_FLAGS) ; do \
25834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25835 done; \
25836 echo "Doing maintainer-clean in rcs" ; \
25837 (cd $(HOST_SUBDIR)/rcs && \
25838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25840 "RANLIB=$${RANLIB}" \
25841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25842 maintainer-clean) \
25843 || exit 1
25845 @endif rcs
25849 .PHONY: configure-readline maybe-configure-readline
25850 maybe-configure-readline:
25851 @if gcc-bootstrap
25852 configure-readline: stage_current
25853 @endif gcc-bootstrap
25854 @if readline
25855 maybe-configure-readline: configure-readline
25856 configure-readline:
25857 @: $(MAKE); $(unstage)
25858 @r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25860 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
25861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
25862 $(HOST_EXPORTS) \
25863 echo Configuring in $(HOST_SUBDIR)/readline; \
25864 cd "$(HOST_SUBDIR)/readline" || exit 1; \
25865 case $(srcdir) in \
25866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25867 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
25868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25869 esac; \
25870 srcdiroption="--srcdir=$${topdir}/readline"; \
25871 libsrcdir="$$s/readline"; \
25872 $(SHELL) $${libsrcdir}/configure \
25873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25874 --target=${target_alias} $${srcdiroption} \
25875 || exit 1
25876 @endif readline
25882 .PHONY: all-readline maybe-all-readline
25883 maybe-all-readline:
25884 @if gcc-bootstrap
25885 all-readline: stage_current
25886 @endif gcc-bootstrap
25887 @if readline
25888 TARGET-readline=all
25889 maybe-all-readline: all-readline
25890 all-readline: configure-readline
25891 @: $(MAKE); $(unstage)
25892 @r=`${PWD_COMMAND}`; export r; \
25893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25894 $(HOST_EXPORTS) \
25895 (cd $(HOST_SUBDIR)/readline && \
25896 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
25897 @endif readline
25902 .PHONY: check-readline maybe-check-readline
25903 maybe-check-readline:
25904 @if readline
25905 maybe-check-readline: check-readline
25907 check-readline:
25908 @: $(MAKE); $(unstage)
25909 @r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 (cd $(HOST_SUBDIR)/readline && \
25913 $(MAKE) $(FLAGS_TO_PASS) check)
25915 @endif readline
25917 .PHONY: install-readline maybe-install-readline
25918 maybe-install-readline:
25919 @if readline
25920 maybe-install-readline: install-readline
25922 install-readline: installdirs
25923 @: $(MAKE); $(unstage)
25924 @r=`${PWD_COMMAND}`; export r; \
25925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25926 $(HOST_EXPORTS) \
25927 (cd $(HOST_SUBDIR)/readline && \
25928 $(MAKE) $(FLAGS_TO_PASS) install)
25930 @endif readline
25932 # Other targets (info, dvi, pdf, etc.)
25934 .PHONY: maybe-info-readline info-readline
25935 maybe-info-readline:
25936 @if readline
25937 maybe-info-readline: info-readline
25939 info-readline: \
25940 configure-readline
25941 @: $(MAKE); $(unstage)
25942 @[ -f ./readline/Makefile ] || exit 0; \
25943 r=`${PWD_COMMAND}`; export r; \
25944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25945 $(HOST_EXPORTS) \
25946 for flag in $(EXTRA_HOST_FLAGS) ; do \
25947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25948 done; \
25949 echo "Doing info in readline" ; \
25950 (cd $(HOST_SUBDIR)/readline && \
25951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25953 "RANLIB=$${RANLIB}" \
25954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25955 info) \
25956 || exit 1
25958 @endif readline
25960 .PHONY: maybe-dvi-readline dvi-readline
25961 maybe-dvi-readline:
25962 @if readline
25963 maybe-dvi-readline: dvi-readline
25965 dvi-readline: \
25966 configure-readline
25967 @: $(MAKE); $(unstage)
25968 @[ -f ./readline/Makefile ] || exit 0; \
25969 r=`${PWD_COMMAND}`; export r; \
25970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25971 $(HOST_EXPORTS) \
25972 for flag in $(EXTRA_HOST_FLAGS) ; do \
25973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25974 done; \
25975 echo "Doing dvi in readline" ; \
25976 (cd $(HOST_SUBDIR)/readline && \
25977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25979 "RANLIB=$${RANLIB}" \
25980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25981 dvi) \
25982 || exit 1
25984 @endif readline
25986 .PHONY: maybe-pdf-readline pdf-readline
25987 maybe-pdf-readline:
25988 @if readline
25989 maybe-pdf-readline: pdf-readline
25991 pdf-readline: \
25992 configure-readline
25993 @: $(MAKE); $(unstage)
25994 @[ -f ./readline/Makefile ] || exit 0; \
25995 r=`${PWD_COMMAND}`; export r; \
25996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25997 $(HOST_EXPORTS) \
25998 for flag in $(EXTRA_HOST_FLAGS) ; do \
25999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26000 done; \
26001 echo "Doing pdf in readline" ; \
26002 (cd $(HOST_SUBDIR)/readline && \
26003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26005 "RANLIB=$${RANLIB}" \
26006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26007 pdf) \
26008 || exit 1
26010 @endif readline
26012 .PHONY: maybe-html-readline html-readline
26013 maybe-html-readline:
26014 @if readline
26015 maybe-html-readline: html-readline
26017 html-readline: \
26018 configure-readline
26019 @: $(MAKE); $(unstage)
26020 @[ -f ./readline/Makefile ] || exit 0; \
26021 r=`${PWD_COMMAND}`; export r; \
26022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 $(HOST_EXPORTS) \
26024 for flag in $(EXTRA_HOST_FLAGS) ; do \
26025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26026 done; \
26027 echo "Doing html in readline" ; \
26028 (cd $(HOST_SUBDIR)/readline && \
26029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26031 "RANLIB=$${RANLIB}" \
26032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26033 html) \
26034 || exit 1
26036 @endif readline
26038 .PHONY: maybe-TAGS-readline TAGS-readline
26039 maybe-TAGS-readline:
26040 @if readline
26041 maybe-TAGS-readline: TAGS-readline
26043 TAGS-readline: \
26044 configure-readline
26045 @: $(MAKE); $(unstage)
26046 @[ -f ./readline/Makefile ] || exit 0; \
26047 r=`${PWD_COMMAND}`; export r; \
26048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26049 $(HOST_EXPORTS) \
26050 for flag in $(EXTRA_HOST_FLAGS) ; do \
26051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26052 done; \
26053 echo "Doing TAGS in readline" ; \
26054 (cd $(HOST_SUBDIR)/readline && \
26055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26057 "RANLIB=$${RANLIB}" \
26058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26059 TAGS) \
26060 || exit 1
26062 @endif readline
26064 .PHONY: maybe-install-info-readline install-info-readline
26065 maybe-install-info-readline:
26066 @if readline
26067 maybe-install-info-readline: install-info-readline
26069 install-info-readline: \
26070 configure-readline \
26071 info-readline
26072 @: $(MAKE); $(unstage)
26073 @[ -f ./readline/Makefile ] || exit 0; \
26074 r=`${PWD_COMMAND}`; export r; \
26075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26076 $(HOST_EXPORTS) \
26077 for flag in $(EXTRA_HOST_FLAGS) ; do \
26078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26079 done; \
26080 echo "Doing install-info in readline" ; \
26081 (cd $(HOST_SUBDIR)/readline && \
26082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26084 "RANLIB=$${RANLIB}" \
26085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26086 install-info) \
26087 || exit 1
26089 @endif readline
26091 .PHONY: maybe-install-html-readline install-html-readline
26092 maybe-install-html-readline:
26093 @if readline
26094 maybe-install-html-readline: install-html-readline
26096 install-html-readline: \
26097 configure-readline \
26098 html-readline
26099 @: $(MAKE); $(unstage)
26100 @[ -f ./readline/Makefile ] || exit 0; \
26101 r=`${PWD_COMMAND}`; export r; \
26102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26103 $(HOST_EXPORTS) \
26104 for flag in $(EXTRA_HOST_FLAGS) ; do \
26105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26106 done; \
26107 echo "Doing install-html in readline" ; \
26108 (cd $(HOST_SUBDIR)/readline && \
26109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26111 "RANLIB=$${RANLIB}" \
26112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26113 install-html) \
26114 || exit 1
26116 @endif readline
26118 .PHONY: maybe-installcheck-readline installcheck-readline
26119 maybe-installcheck-readline:
26120 @if readline
26121 maybe-installcheck-readline: installcheck-readline
26123 installcheck-readline: \
26124 configure-readline
26125 @: $(MAKE); $(unstage)
26126 @[ -f ./readline/Makefile ] || exit 0; \
26127 r=`${PWD_COMMAND}`; export r; \
26128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26129 $(HOST_EXPORTS) \
26130 for flag in $(EXTRA_HOST_FLAGS) ; do \
26131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26132 done; \
26133 echo "Doing installcheck in readline" ; \
26134 (cd $(HOST_SUBDIR)/readline && \
26135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26137 "RANLIB=$${RANLIB}" \
26138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26139 installcheck) \
26140 || exit 1
26142 @endif readline
26144 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
26145 maybe-mostlyclean-readline:
26146 @if readline
26147 maybe-mostlyclean-readline: mostlyclean-readline
26149 mostlyclean-readline:
26150 @: $(MAKE); $(unstage)
26151 @[ -f ./readline/Makefile ] || exit 0; \
26152 r=`${PWD_COMMAND}`; export r; \
26153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26154 $(HOST_EXPORTS) \
26155 for flag in $(EXTRA_HOST_FLAGS) ; do \
26156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26157 done; \
26158 echo "Doing mostlyclean in readline" ; \
26159 (cd $(HOST_SUBDIR)/readline && \
26160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26162 "RANLIB=$${RANLIB}" \
26163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26164 mostlyclean) \
26165 || exit 1
26167 @endif readline
26169 .PHONY: maybe-clean-readline clean-readline
26170 maybe-clean-readline:
26171 @if readline
26172 maybe-clean-readline: clean-readline
26174 clean-readline:
26175 @: $(MAKE); $(unstage)
26176 @[ -f ./readline/Makefile ] || exit 0; \
26177 r=`${PWD_COMMAND}`; export r; \
26178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26179 $(HOST_EXPORTS) \
26180 for flag in $(EXTRA_HOST_FLAGS) ; do \
26181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26182 done; \
26183 echo "Doing clean in readline" ; \
26184 (cd $(HOST_SUBDIR)/readline && \
26185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26187 "RANLIB=$${RANLIB}" \
26188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26189 clean) \
26190 || exit 1
26192 @endif readline
26194 .PHONY: maybe-distclean-readline distclean-readline
26195 maybe-distclean-readline:
26196 @if readline
26197 maybe-distclean-readline: distclean-readline
26199 distclean-readline:
26200 @: $(MAKE); $(unstage)
26201 @[ -f ./readline/Makefile ] || exit 0; \
26202 r=`${PWD_COMMAND}`; export r; \
26203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26204 $(HOST_EXPORTS) \
26205 for flag in $(EXTRA_HOST_FLAGS) ; do \
26206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26207 done; \
26208 echo "Doing distclean in readline" ; \
26209 (cd $(HOST_SUBDIR)/readline && \
26210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26212 "RANLIB=$${RANLIB}" \
26213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26214 distclean) \
26215 || exit 1
26217 @endif readline
26219 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
26220 maybe-maintainer-clean-readline:
26221 @if readline
26222 maybe-maintainer-clean-readline: maintainer-clean-readline
26224 maintainer-clean-readline:
26225 @: $(MAKE); $(unstage)
26226 @[ -f ./readline/Makefile ] || exit 0; \
26227 r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(HOST_EXPORTS) \
26230 for flag in $(EXTRA_HOST_FLAGS) ; do \
26231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26232 done; \
26233 echo "Doing maintainer-clean in readline" ; \
26234 (cd $(HOST_SUBDIR)/readline && \
26235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237 "RANLIB=$${RANLIB}" \
26238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26239 maintainer-clean) \
26240 || exit 1
26242 @endif readline
26246 .PHONY: configure-release maybe-configure-release
26247 maybe-configure-release:
26248 @if gcc-bootstrap
26249 configure-release: stage_current
26250 @endif gcc-bootstrap
26251 @if release
26252 maybe-configure-release: configure-release
26253 configure-release:
26254 @: $(MAKE); $(unstage)
26255 @r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
26258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
26259 $(HOST_EXPORTS) \
26260 echo Configuring in $(HOST_SUBDIR)/release; \
26261 cd "$(HOST_SUBDIR)/release" || exit 1; \
26262 case $(srcdir) in \
26263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26264 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
26265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26266 esac; \
26267 srcdiroption="--srcdir=$${topdir}/release"; \
26268 libsrcdir="$$s/release"; \
26269 $(SHELL) $${libsrcdir}/configure \
26270 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26271 --target=${target_alias} $${srcdiroption} \
26272 || exit 1
26273 @endif release
26279 .PHONY: all-release maybe-all-release
26280 maybe-all-release:
26281 @if gcc-bootstrap
26282 all-release: stage_current
26283 @endif gcc-bootstrap
26284 @if release
26285 TARGET-release=all
26286 maybe-all-release: all-release
26287 all-release: configure-release
26288 @: $(MAKE); $(unstage)
26289 @r=`${PWD_COMMAND}`; export r; \
26290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26291 $(HOST_EXPORTS) \
26292 (cd $(HOST_SUBDIR)/release && \
26293 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
26294 @endif release
26299 .PHONY: check-release maybe-check-release
26300 maybe-check-release:
26301 @if release
26302 maybe-check-release: check-release
26304 check-release:
26306 @endif release
26308 .PHONY: install-release maybe-install-release
26309 maybe-install-release:
26310 @if release
26311 maybe-install-release: install-release
26313 install-release:
26315 @endif release
26317 # Other targets (info, dvi, pdf, etc.)
26319 .PHONY: maybe-info-release info-release
26320 maybe-info-release:
26321 @if release
26322 maybe-info-release: info-release
26324 info-release: \
26325 configure-release
26326 @: $(MAKE); $(unstage)
26327 @[ -f ./release/Makefile ] || exit 0; \
26328 r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 $(HOST_EXPORTS) \
26331 for flag in $(EXTRA_HOST_FLAGS) ; do \
26332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26333 done; \
26334 echo "Doing info in release" ; \
26335 (cd $(HOST_SUBDIR)/release && \
26336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26338 "RANLIB=$${RANLIB}" \
26339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26340 info) \
26341 || exit 1
26343 @endif release
26345 .PHONY: maybe-dvi-release dvi-release
26346 maybe-dvi-release:
26347 @if release
26348 maybe-dvi-release: dvi-release
26350 dvi-release: \
26351 configure-release
26352 @: $(MAKE); $(unstage)
26353 @[ -f ./release/Makefile ] || exit 0; \
26354 r=`${PWD_COMMAND}`; export r; \
26355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26356 $(HOST_EXPORTS) \
26357 for flag in $(EXTRA_HOST_FLAGS) ; do \
26358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26359 done; \
26360 echo "Doing dvi in release" ; \
26361 (cd $(HOST_SUBDIR)/release && \
26362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26364 "RANLIB=$${RANLIB}" \
26365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26366 dvi) \
26367 || exit 1
26369 @endif release
26371 .PHONY: maybe-pdf-release pdf-release
26372 maybe-pdf-release:
26373 @if release
26374 maybe-pdf-release: pdf-release
26376 pdf-release: \
26377 configure-release
26378 @: $(MAKE); $(unstage)
26379 @[ -f ./release/Makefile ] || exit 0; \
26380 r=`${PWD_COMMAND}`; export r; \
26381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26382 $(HOST_EXPORTS) \
26383 for flag in $(EXTRA_HOST_FLAGS) ; do \
26384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26385 done; \
26386 echo "Doing pdf in release" ; \
26387 (cd $(HOST_SUBDIR)/release && \
26388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26390 "RANLIB=$${RANLIB}" \
26391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26392 pdf) \
26393 || exit 1
26395 @endif release
26397 .PHONY: maybe-html-release html-release
26398 maybe-html-release:
26399 @if release
26400 maybe-html-release: html-release
26402 html-release: \
26403 configure-release
26404 @: $(MAKE); $(unstage)
26405 @[ -f ./release/Makefile ] || exit 0; \
26406 r=`${PWD_COMMAND}`; export r; \
26407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26408 $(HOST_EXPORTS) \
26409 for flag in $(EXTRA_HOST_FLAGS) ; do \
26410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26411 done; \
26412 echo "Doing html in release" ; \
26413 (cd $(HOST_SUBDIR)/release && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26418 html) \
26419 || exit 1
26421 @endif release
26423 .PHONY: maybe-TAGS-release TAGS-release
26424 maybe-TAGS-release:
26425 @if release
26426 maybe-TAGS-release: TAGS-release
26428 TAGS-release: \
26429 configure-release
26430 @: $(MAKE); $(unstage)
26431 @[ -f ./release/Makefile ] || exit 0; \
26432 r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 $(HOST_EXPORTS) \
26435 for flag in $(EXTRA_HOST_FLAGS) ; do \
26436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26437 done; \
26438 echo "Doing TAGS in release" ; \
26439 (cd $(HOST_SUBDIR)/release && \
26440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26442 "RANLIB=$${RANLIB}" \
26443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26444 TAGS) \
26445 || exit 1
26447 @endif release
26449 .PHONY: maybe-install-info-release install-info-release
26450 maybe-install-info-release:
26451 @if release
26452 maybe-install-info-release: install-info-release
26454 install-info-release: \
26455 configure-release \
26456 info-release
26457 @: $(MAKE); $(unstage)
26458 @[ -f ./release/Makefile ] || exit 0; \
26459 r=`${PWD_COMMAND}`; export r; \
26460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26461 $(HOST_EXPORTS) \
26462 for flag in $(EXTRA_HOST_FLAGS) ; do \
26463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26464 done; \
26465 echo "Doing install-info in release" ; \
26466 (cd $(HOST_SUBDIR)/release && \
26467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26469 "RANLIB=$${RANLIB}" \
26470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26471 install-info) \
26472 || exit 1
26474 @endif release
26476 .PHONY: maybe-install-html-release install-html-release
26477 maybe-install-html-release:
26478 @if release
26479 maybe-install-html-release: install-html-release
26481 install-html-release: \
26482 configure-release \
26483 html-release
26484 @: $(MAKE); $(unstage)
26485 @[ -f ./release/Makefile ] || exit 0; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(HOST_EXPORTS) \
26489 for flag in $(EXTRA_HOST_FLAGS) ; do \
26490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26491 done; \
26492 echo "Doing install-html in release" ; \
26493 (cd $(HOST_SUBDIR)/release && \
26494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496 "RANLIB=$${RANLIB}" \
26497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26498 install-html) \
26499 || exit 1
26501 @endif release
26503 .PHONY: maybe-installcheck-release installcheck-release
26504 maybe-installcheck-release:
26505 @if release
26506 maybe-installcheck-release: installcheck-release
26508 installcheck-release: \
26509 configure-release
26510 @: $(MAKE); $(unstage)
26511 @[ -f ./release/Makefile ] || exit 0; \
26512 r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(HOST_EXPORTS) \
26515 for flag in $(EXTRA_HOST_FLAGS) ; do \
26516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26517 done; \
26518 echo "Doing installcheck in release" ; \
26519 (cd $(HOST_SUBDIR)/release && \
26520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26522 "RANLIB=$${RANLIB}" \
26523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26524 installcheck) \
26525 || exit 1
26527 @endif release
26529 .PHONY: maybe-mostlyclean-release mostlyclean-release
26530 maybe-mostlyclean-release:
26531 @if release
26532 maybe-mostlyclean-release: mostlyclean-release
26534 mostlyclean-release:
26535 @: $(MAKE); $(unstage)
26536 @[ -f ./release/Makefile ] || exit 0; \
26537 r=`${PWD_COMMAND}`; export r; \
26538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26539 $(HOST_EXPORTS) \
26540 for flag in $(EXTRA_HOST_FLAGS) ; do \
26541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26542 done; \
26543 echo "Doing mostlyclean in release" ; \
26544 (cd $(HOST_SUBDIR)/release && \
26545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26547 "RANLIB=$${RANLIB}" \
26548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26549 mostlyclean) \
26550 || exit 1
26552 @endif release
26554 .PHONY: maybe-clean-release clean-release
26555 maybe-clean-release:
26556 @if release
26557 maybe-clean-release: clean-release
26559 clean-release:
26560 @: $(MAKE); $(unstage)
26561 @[ -f ./release/Makefile ] || exit 0; \
26562 r=`${PWD_COMMAND}`; export r; \
26563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26564 $(HOST_EXPORTS) \
26565 for flag in $(EXTRA_HOST_FLAGS) ; do \
26566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26567 done; \
26568 echo "Doing clean in release" ; \
26569 (cd $(HOST_SUBDIR)/release && \
26570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26572 "RANLIB=$${RANLIB}" \
26573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26574 clean) \
26575 || exit 1
26577 @endif release
26579 .PHONY: maybe-distclean-release distclean-release
26580 maybe-distclean-release:
26581 @if release
26582 maybe-distclean-release: distclean-release
26584 distclean-release:
26585 @: $(MAKE); $(unstage)
26586 @[ -f ./release/Makefile ] || exit 0; \
26587 r=`${PWD_COMMAND}`; export r; \
26588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26589 $(HOST_EXPORTS) \
26590 for flag in $(EXTRA_HOST_FLAGS) ; do \
26591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26592 done; \
26593 echo "Doing distclean in release" ; \
26594 (cd $(HOST_SUBDIR)/release && \
26595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26597 "RANLIB=$${RANLIB}" \
26598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26599 distclean) \
26600 || exit 1
26602 @endif release
26604 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
26605 maybe-maintainer-clean-release:
26606 @if release
26607 maybe-maintainer-clean-release: maintainer-clean-release
26609 maintainer-clean-release:
26610 @: $(MAKE); $(unstage)
26611 @[ -f ./release/Makefile ] || exit 0; \
26612 r=`${PWD_COMMAND}`; export r; \
26613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26614 $(HOST_EXPORTS) \
26615 for flag in $(EXTRA_HOST_FLAGS) ; do \
26616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26617 done; \
26618 echo "Doing maintainer-clean in release" ; \
26619 (cd $(HOST_SUBDIR)/release && \
26620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26622 "RANLIB=$${RANLIB}" \
26623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26624 maintainer-clean) \
26625 || exit 1
26627 @endif release
26631 .PHONY: configure-recode maybe-configure-recode
26632 maybe-configure-recode:
26633 @if gcc-bootstrap
26634 configure-recode: stage_current
26635 @endif gcc-bootstrap
26636 @if recode
26637 maybe-configure-recode: configure-recode
26638 configure-recode:
26639 @: $(MAKE); $(unstage)
26640 @r=`${PWD_COMMAND}`; export r; \
26641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
26643 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
26644 $(HOST_EXPORTS) \
26645 echo Configuring in $(HOST_SUBDIR)/recode; \
26646 cd "$(HOST_SUBDIR)/recode" || exit 1; \
26647 case $(srcdir) in \
26648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26649 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
26650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26651 esac; \
26652 srcdiroption="--srcdir=$${topdir}/recode"; \
26653 libsrcdir="$$s/recode"; \
26654 $(SHELL) $${libsrcdir}/configure \
26655 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26656 --target=${target_alias} $${srcdiroption} \
26657 || exit 1
26658 @endif recode
26664 .PHONY: all-recode maybe-all-recode
26665 maybe-all-recode:
26666 @if gcc-bootstrap
26667 all-recode: stage_current
26668 @endif gcc-bootstrap
26669 @if recode
26670 TARGET-recode=all
26671 maybe-all-recode: all-recode
26672 all-recode: configure-recode
26673 @: $(MAKE); $(unstage)
26674 @r=`${PWD_COMMAND}`; export r; \
26675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26676 $(HOST_EXPORTS) \
26677 (cd $(HOST_SUBDIR)/recode && \
26678 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
26679 @endif recode
26684 .PHONY: check-recode maybe-check-recode
26685 maybe-check-recode:
26686 @if recode
26687 maybe-check-recode: check-recode
26689 check-recode:
26690 @: $(MAKE); $(unstage)
26691 @r=`${PWD_COMMAND}`; export r; \
26692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26693 $(HOST_EXPORTS) \
26694 (cd $(HOST_SUBDIR)/recode && \
26695 $(MAKE) $(FLAGS_TO_PASS) check)
26697 @endif recode
26699 .PHONY: install-recode maybe-install-recode
26700 maybe-install-recode:
26701 @if recode
26702 maybe-install-recode: install-recode
26704 install-recode: installdirs
26705 @: $(MAKE); $(unstage)
26706 @r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 $(HOST_EXPORTS) \
26709 (cd $(HOST_SUBDIR)/recode && \
26710 $(MAKE) $(FLAGS_TO_PASS) install)
26712 @endif recode
26714 # Other targets (info, dvi, pdf, etc.)
26716 .PHONY: maybe-info-recode info-recode
26717 maybe-info-recode:
26718 @if recode
26719 maybe-info-recode: info-recode
26721 info-recode: \
26722 configure-recode
26723 @: $(MAKE); $(unstage)
26724 @[ -f ./recode/Makefile ] || exit 0; \
26725 r=`${PWD_COMMAND}`; export r; \
26726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26727 $(HOST_EXPORTS) \
26728 for flag in $(EXTRA_HOST_FLAGS) ; do \
26729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26730 done; \
26731 echo "Doing info in recode" ; \
26732 (cd $(HOST_SUBDIR)/recode && \
26733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26735 "RANLIB=$${RANLIB}" \
26736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26737 info) \
26738 || exit 1
26740 @endif recode
26742 .PHONY: maybe-dvi-recode dvi-recode
26743 maybe-dvi-recode:
26744 @if recode
26745 maybe-dvi-recode: dvi-recode
26747 dvi-recode: \
26748 configure-recode
26749 @: $(MAKE); $(unstage)
26750 @[ -f ./recode/Makefile ] || exit 0; \
26751 r=`${PWD_COMMAND}`; export r; \
26752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26753 $(HOST_EXPORTS) \
26754 for flag in $(EXTRA_HOST_FLAGS) ; do \
26755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26756 done; \
26757 echo "Doing dvi in recode" ; \
26758 (cd $(HOST_SUBDIR)/recode && \
26759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26761 "RANLIB=$${RANLIB}" \
26762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26763 dvi) \
26764 || exit 1
26766 @endif recode
26768 .PHONY: maybe-pdf-recode pdf-recode
26769 maybe-pdf-recode:
26770 @if recode
26771 maybe-pdf-recode: pdf-recode
26773 pdf-recode: \
26774 configure-recode
26775 @: $(MAKE); $(unstage)
26776 @[ -f ./recode/Makefile ] || exit 0; \
26777 r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 $(HOST_EXPORTS) \
26780 for flag in $(EXTRA_HOST_FLAGS) ; do \
26781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26782 done; \
26783 echo "Doing pdf in recode" ; \
26784 (cd $(HOST_SUBDIR)/recode && \
26785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26787 "RANLIB=$${RANLIB}" \
26788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26789 pdf) \
26790 || exit 1
26792 @endif recode
26794 .PHONY: maybe-html-recode html-recode
26795 maybe-html-recode:
26796 @if recode
26797 maybe-html-recode: html-recode
26799 html-recode: \
26800 configure-recode
26801 @: $(MAKE); $(unstage)
26802 @[ -f ./recode/Makefile ] || exit 0; \
26803 r=`${PWD_COMMAND}`; export r; \
26804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(HOST_EXPORTS) \
26806 for flag in $(EXTRA_HOST_FLAGS) ; do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 echo "Doing html in recode" ; \
26810 (cd $(HOST_SUBDIR)/recode && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26815 html) \
26816 || exit 1
26818 @endif recode
26820 .PHONY: maybe-TAGS-recode TAGS-recode
26821 maybe-TAGS-recode:
26822 @if recode
26823 maybe-TAGS-recode: TAGS-recode
26825 TAGS-recode: \
26826 configure-recode
26827 @: $(MAKE); $(unstage)
26828 @[ -f ./recode/Makefile ] || exit 0; \
26829 r=`${PWD_COMMAND}`; export r; \
26830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26831 $(HOST_EXPORTS) \
26832 for flag in $(EXTRA_HOST_FLAGS) ; do \
26833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26834 done; \
26835 echo "Doing TAGS in recode" ; \
26836 (cd $(HOST_SUBDIR)/recode && \
26837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26839 "RANLIB=$${RANLIB}" \
26840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26841 TAGS) \
26842 || exit 1
26844 @endif recode
26846 .PHONY: maybe-install-info-recode install-info-recode
26847 maybe-install-info-recode:
26848 @if recode
26849 maybe-install-info-recode: install-info-recode
26851 install-info-recode: \
26852 configure-recode \
26853 info-recode
26854 @: $(MAKE); $(unstage)
26855 @[ -f ./recode/Makefile ] || exit 0; \
26856 r=`${PWD_COMMAND}`; export r; \
26857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26858 $(HOST_EXPORTS) \
26859 for flag in $(EXTRA_HOST_FLAGS) ; do \
26860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26861 done; \
26862 echo "Doing install-info in recode" ; \
26863 (cd $(HOST_SUBDIR)/recode && \
26864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26866 "RANLIB=$${RANLIB}" \
26867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26868 install-info) \
26869 || exit 1
26871 @endif recode
26873 .PHONY: maybe-install-html-recode install-html-recode
26874 maybe-install-html-recode:
26875 @if recode
26876 maybe-install-html-recode: install-html-recode
26878 install-html-recode: \
26879 configure-recode \
26880 html-recode
26881 @: $(MAKE); $(unstage)
26882 @[ -f ./recode/Makefile ] || exit 0; \
26883 r=`${PWD_COMMAND}`; export r; \
26884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26885 $(HOST_EXPORTS) \
26886 for flag in $(EXTRA_HOST_FLAGS) ; do \
26887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26888 done; \
26889 echo "Doing install-html in recode" ; \
26890 (cd $(HOST_SUBDIR)/recode && \
26891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26893 "RANLIB=$${RANLIB}" \
26894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26895 install-html) \
26896 || exit 1
26898 @endif recode
26900 .PHONY: maybe-installcheck-recode installcheck-recode
26901 maybe-installcheck-recode:
26902 @if recode
26903 maybe-installcheck-recode: installcheck-recode
26905 installcheck-recode: \
26906 configure-recode
26907 @: $(MAKE); $(unstage)
26908 @[ -f ./recode/Makefile ] || exit 0; \
26909 r=`${PWD_COMMAND}`; export r; \
26910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26911 $(HOST_EXPORTS) \
26912 for flag in $(EXTRA_HOST_FLAGS) ; do \
26913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26914 done; \
26915 echo "Doing installcheck in recode" ; \
26916 (cd $(HOST_SUBDIR)/recode && \
26917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26919 "RANLIB=$${RANLIB}" \
26920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26921 installcheck) \
26922 || exit 1
26924 @endif recode
26926 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
26927 maybe-mostlyclean-recode:
26928 @if recode
26929 maybe-mostlyclean-recode: mostlyclean-recode
26931 mostlyclean-recode:
26932 @: $(MAKE); $(unstage)
26933 @[ -f ./recode/Makefile ] || exit 0; \
26934 r=`${PWD_COMMAND}`; export r; \
26935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26936 $(HOST_EXPORTS) \
26937 for flag in $(EXTRA_HOST_FLAGS) ; do \
26938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26939 done; \
26940 echo "Doing mostlyclean in recode" ; \
26941 (cd $(HOST_SUBDIR)/recode && \
26942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26944 "RANLIB=$${RANLIB}" \
26945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26946 mostlyclean) \
26947 || exit 1
26949 @endif recode
26951 .PHONY: maybe-clean-recode clean-recode
26952 maybe-clean-recode:
26953 @if recode
26954 maybe-clean-recode: clean-recode
26956 clean-recode:
26957 @: $(MAKE); $(unstage)
26958 @[ -f ./recode/Makefile ] || exit 0; \
26959 r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26961 $(HOST_EXPORTS) \
26962 for flag in $(EXTRA_HOST_FLAGS) ; do \
26963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26964 done; \
26965 echo "Doing clean in recode" ; \
26966 (cd $(HOST_SUBDIR)/recode && \
26967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26969 "RANLIB=$${RANLIB}" \
26970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26971 clean) \
26972 || exit 1
26974 @endif recode
26976 .PHONY: maybe-distclean-recode distclean-recode
26977 maybe-distclean-recode:
26978 @if recode
26979 maybe-distclean-recode: distclean-recode
26981 distclean-recode:
26982 @: $(MAKE); $(unstage)
26983 @[ -f ./recode/Makefile ] || exit 0; \
26984 r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26986 $(HOST_EXPORTS) \
26987 for flag in $(EXTRA_HOST_FLAGS) ; do \
26988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26989 done; \
26990 echo "Doing distclean in recode" ; \
26991 (cd $(HOST_SUBDIR)/recode && \
26992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26994 "RANLIB=$${RANLIB}" \
26995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26996 distclean) \
26997 || exit 1
26999 @endif recode
27001 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
27002 maybe-maintainer-clean-recode:
27003 @if recode
27004 maybe-maintainer-clean-recode: maintainer-clean-recode
27006 maintainer-clean-recode:
27007 @: $(MAKE); $(unstage)
27008 @[ -f ./recode/Makefile ] || exit 0; \
27009 r=`${PWD_COMMAND}`; export r; \
27010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27011 $(HOST_EXPORTS) \
27012 for flag in $(EXTRA_HOST_FLAGS) ; do \
27013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27014 done; \
27015 echo "Doing maintainer-clean in recode" ; \
27016 (cd $(HOST_SUBDIR)/recode && \
27017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27019 "RANLIB=$${RANLIB}" \
27020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27021 maintainer-clean) \
27022 || exit 1
27024 @endif recode
27028 .PHONY: configure-sed maybe-configure-sed
27029 maybe-configure-sed:
27030 @if gcc-bootstrap
27031 configure-sed: stage_current
27032 @endif gcc-bootstrap
27033 @if sed
27034 maybe-configure-sed: configure-sed
27035 configure-sed:
27036 @: $(MAKE); $(unstage)
27037 @r=`${PWD_COMMAND}`; export r; \
27038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27039 test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
27040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
27041 $(HOST_EXPORTS) \
27042 echo Configuring in $(HOST_SUBDIR)/sed; \
27043 cd "$(HOST_SUBDIR)/sed" || exit 1; \
27044 case $(srcdir) in \
27045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27046 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
27047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27048 esac; \
27049 srcdiroption="--srcdir=$${topdir}/sed"; \
27050 libsrcdir="$$s/sed"; \
27051 $(SHELL) $${libsrcdir}/configure \
27052 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27053 --target=${target_alias} $${srcdiroption} \
27054 || exit 1
27055 @endif sed
27061 .PHONY: all-sed maybe-all-sed
27062 maybe-all-sed:
27063 @if gcc-bootstrap
27064 all-sed: stage_current
27065 @endif gcc-bootstrap
27066 @if sed
27067 TARGET-sed=all
27068 maybe-all-sed: all-sed
27069 all-sed: configure-sed
27070 @: $(MAKE); $(unstage)
27071 @r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(HOST_EXPORTS) \
27074 (cd $(HOST_SUBDIR)/sed && \
27075 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
27076 @endif sed
27081 .PHONY: check-sed maybe-check-sed
27082 maybe-check-sed:
27083 @if sed
27084 maybe-check-sed: check-sed
27086 check-sed:
27087 @: $(MAKE); $(unstage)
27088 @r=`${PWD_COMMAND}`; export r; \
27089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27090 $(HOST_EXPORTS) \
27091 (cd $(HOST_SUBDIR)/sed && \
27092 $(MAKE) $(FLAGS_TO_PASS) check)
27094 @endif sed
27096 .PHONY: install-sed maybe-install-sed
27097 maybe-install-sed:
27098 @if sed
27099 maybe-install-sed: install-sed
27101 install-sed: installdirs
27102 @: $(MAKE); $(unstage)
27103 @r=`${PWD_COMMAND}`; export r; \
27104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27105 $(HOST_EXPORTS) \
27106 (cd $(HOST_SUBDIR)/sed && \
27107 $(MAKE) $(FLAGS_TO_PASS) install)
27109 @endif sed
27111 # Other targets (info, dvi, pdf, etc.)
27113 .PHONY: maybe-info-sed info-sed
27114 maybe-info-sed:
27115 @if sed
27116 maybe-info-sed: info-sed
27118 info-sed: \
27119 configure-sed
27120 @: $(MAKE); $(unstage)
27121 @[ -f ./sed/Makefile ] || exit 0; \
27122 r=`${PWD_COMMAND}`; export r; \
27123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27124 $(HOST_EXPORTS) \
27125 for flag in $(EXTRA_HOST_FLAGS) ; do \
27126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27127 done; \
27128 echo "Doing info in sed" ; \
27129 (cd $(HOST_SUBDIR)/sed && \
27130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27132 "RANLIB=$${RANLIB}" \
27133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27134 info) \
27135 || exit 1
27137 @endif sed
27139 .PHONY: maybe-dvi-sed dvi-sed
27140 maybe-dvi-sed:
27141 @if sed
27142 maybe-dvi-sed: dvi-sed
27144 dvi-sed: \
27145 configure-sed
27146 @: $(MAKE); $(unstage)
27147 @[ -f ./sed/Makefile ] || exit 0; \
27148 r=`${PWD_COMMAND}`; export r; \
27149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27150 $(HOST_EXPORTS) \
27151 for flag in $(EXTRA_HOST_FLAGS) ; do \
27152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27153 done; \
27154 echo "Doing dvi in sed" ; \
27155 (cd $(HOST_SUBDIR)/sed && \
27156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27158 "RANLIB=$${RANLIB}" \
27159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27160 dvi) \
27161 || exit 1
27163 @endif sed
27165 .PHONY: maybe-pdf-sed pdf-sed
27166 maybe-pdf-sed:
27167 @if sed
27168 maybe-pdf-sed: pdf-sed
27170 pdf-sed: \
27171 configure-sed
27172 @: $(MAKE); $(unstage)
27173 @[ -f ./sed/Makefile ] || exit 0; \
27174 r=`${PWD_COMMAND}`; export r; \
27175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(HOST_EXPORTS) \
27177 for flag in $(EXTRA_HOST_FLAGS) ; do \
27178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27179 done; \
27180 echo "Doing pdf in sed" ; \
27181 (cd $(HOST_SUBDIR)/sed && \
27182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184 "RANLIB=$${RANLIB}" \
27185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27186 pdf) \
27187 || exit 1
27189 @endif sed
27191 .PHONY: maybe-html-sed html-sed
27192 maybe-html-sed:
27193 @if sed
27194 maybe-html-sed: html-sed
27196 html-sed: \
27197 configure-sed
27198 @: $(MAKE); $(unstage)
27199 @[ -f ./sed/Makefile ] || exit 0; \
27200 r=`${PWD_COMMAND}`; export r; \
27201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27202 $(HOST_EXPORTS) \
27203 for flag in $(EXTRA_HOST_FLAGS) ; do \
27204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27205 done; \
27206 echo "Doing html in sed" ; \
27207 (cd $(HOST_SUBDIR)/sed && \
27208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27210 "RANLIB=$${RANLIB}" \
27211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27212 html) \
27213 || exit 1
27215 @endif sed
27217 .PHONY: maybe-TAGS-sed TAGS-sed
27218 maybe-TAGS-sed:
27219 @if sed
27220 maybe-TAGS-sed: TAGS-sed
27222 TAGS-sed: \
27223 configure-sed
27224 @: $(MAKE); $(unstage)
27225 @[ -f ./sed/Makefile ] || exit 0; \
27226 r=`${PWD_COMMAND}`; export r; \
27227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 $(HOST_EXPORTS) \
27229 for flag in $(EXTRA_HOST_FLAGS) ; do \
27230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27231 done; \
27232 echo "Doing TAGS in sed" ; \
27233 (cd $(HOST_SUBDIR)/sed && \
27234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236 "RANLIB=$${RANLIB}" \
27237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27238 TAGS) \
27239 || exit 1
27241 @endif sed
27243 .PHONY: maybe-install-info-sed install-info-sed
27244 maybe-install-info-sed:
27245 @if sed
27246 maybe-install-info-sed: install-info-sed
27248 install-info-sed: \
27249 configure-sed \
27250 info-sed
27251 @: $(MAKE); $(unstage)
27252 @[ -f ./sed/Makefile ] || exit 0; \
27253 r=`${PWD_COMMAND}`; export r; \
27254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(HOST_EXPORTS) \
27256 for flag in $(EXTRA_HOST_FLAGS) ; do \
27257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27258 done; \
27259 echo "Doing install-info in sed" ; \
27260 (cd $(HOST_SUBDIR)/sed && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27265 install-info) \
27266 || exit 1
27268 @endif sed
27270 .PHONY: maybe-install-html-sed install-html-sed
27271 maybe-install-html-sed:
27272 @if sed
27273 maybe-install-html-sed: install-html-sed
27275 install-html-sed: \
27276 configure-sed \
27277 html-sed
27278 @: $(MAKE); $(unstage)
27279 @[ -f ./sed/Makefile ] || exit 0; \
27280 r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(HOST_EXPORTS) \
27283 for flag in $(EXTRA_HOST_FLAGS) ; do \
27284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27285 done; \
27286 echo "Doing install-html in sed" ; \
27287 (cd $(HOST_SUBDIR)/sed && \
27288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27290 "RANLIB=$${RANLIB}" \
27291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27292 install-html) \
27293 || exit 1
27295 @endif sed
27297 .PHONY: maybe-installcheck-sed installcheck-sed
27298 maybe-installcheck-sed:
27299 @if sed
27300 maybe-installcheck-sed: installcheck-sed
27302 installcheck-sed: \
27303 configure-sed
27304 @: $(MAKE); $(unstage)
27305 @[ -f ./sed/Makefile ] || exit 0; \
27306 r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(HOST_EXPORTS) \
27309 for flag in $(EXTRA_HOST_FLAGS) ; do \
27310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27311 done; \
27312 echo "Doing installcheck in sed" ; \
27313 (cd $(HOST_SUBDIR)/sed && \
27314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27316 "RANLIB=$${RANLIB}" \
27317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27318 installcheck) \
27319 || exit 1
27321 @endif sed
27323 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
27324 maybe-mostlyclean-sed:
27325 @if sed
27326 maybe-mostlyclean-sed: mostlyclean-sed
27328 mostlyclean-sed:
27329 @: $(MAKE); $(unstage)
27330 @[ -f ./sed/Makefile ] || exit 0; \
27331 r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333 $(HOST_EXPORTS) \
27334 for flag in $(EXTRA_HOST_FLAGS) ; do \
27335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27336 done; \
27337 echo "Doing mostlyclean in sed" ; \
27338 (cd $(HOST_SUBDIR)/sed && \
27339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27341 "RANLIB=$${RANLIB}" \
27342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27343 mostlyclean) \
27344 || exit 1
27346 @endif sed
27348 .PHONY: maybe-clean-sed clean-sed
27349 maybe-clean-sed:
27350 @if sed
27351 maybe-clean-sed: clean-sed
27353 clean-sed:
27354 @: $(MAKE); $(unstage)
27355 @[ -f ./sed/Makefile ] || exit 0; \
27356 r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(HOST_EXPORTS) \
27359 for flag in $(EXTRA_HOST_FLAGS) ; do \
27360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27361 done; \
27362 echo "Doing clean in sed" ; \
27363 (cd $(HOST_SUBDIR)/sed && \
27364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27366 "RANLIB=$${RANLIB}" \
27367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27368 clean) \
27369 || exit 1
27371 @endif sed
27373 .PHONY: maybe-distclean-sed distclean-sed
27374 maybe-distclean-sed:
27375 @if sed
27376 maybe-distclean-sed: distclean-sed
27378 distclean-sed:
27379 @: $(MAKE); $(unstage)
27380 @[ -f ./sed/Makefile ] || exit 0; \
27381 r=`${PWD_COMMAND}`; export r; \
27382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27383 $(HOST_EXPORTS) \
27384 for flag in $(EXTRA_HOST_FLAGS) ; do \
27385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27386 done; \
27387 echo "Doing distclean in sed" ; \
27388 (cd $(HOST_SUBDIR)/sed && \
27389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27391 "RANLIB=$${RANLIB}" \
27392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27393 distclean) \
27394 || exit 1
27396 @endif sed
27398 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
27399 maybe-maintainer-clean-sed:
27400 @if sed
27401 maybe-maintainer-clean-sed: maintainer-clean-sed
27403 maintainer-clean-sed:
27404 @: $(MAKE); $(unstage)
27405 @[ -f ./sed/Makefile ] || exit 0; \
27406 r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 $(HOST_EXPORTS) \
27409 for flag in $(EXTRA_HOST_FLAGS) ; do \
27410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27411 done; \
27412 echo "Doing maintainer-clean in sed" ; \
27413 (cd $(HOST_SUBDIR)/sed && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27416 "RANLIB=$${RANLIB}" \
27417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27418 maintainer-clean) \
27419 || exit 1
27421 @endif sed
27425 .PHONY: configure-send-pr maybe-configure-send-pr
27426 maybe-configure-send-pr:
27427 @if gcc-bootstrap
27428 configure-send-pr: stage_current
27429 @endif gcc-bootstrap
27430 @if send-pr
27431 maybe-configure-send-pr: configure-send-pr
27432 configure-send-pr:
27433 @: $(MAKE); $(unstage)
27434 @r=`${PWD_COMMAND}`; export r; \
27435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27436 test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
27437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
27438 $(HOST_EXPORTS) \
27439 echo Configuring in $(HOST_SUBDIR)/send-pr; \
27440 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
27441 case $(srcdir) in \
27442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27443 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
27444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27445 esac; \
27446 srcdiroption="--srcdir=$${topdir}/send-pr"; \
27447 libsrcdir="$$s/send-pr"; \
27448 $(SHELL) $${libsrcdir}/configure \
27449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27450 --target=${target_alias} $${srcdiroption} \
27451 || exit 1
27452 @endif send-pr
27458 .PHONY: all-send-pr maybe-all-send-pr
27459 maybe-all-send-pr:
27460 @if gcc-bootstrap
27461 all-send-pr: stage_current
27462 @endif gcc-bootstrap
27463 @if send-pr
27464 TARGET-send-pr=all
27465 maybe-all-send-pr: all-send-pr
27466 all-send-pr: configure-send-pr
27467 @: $(MAKE); $(unstage)
27468 @r=`${PWD_COMMAND}`; export r; \
27469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27470 $(HOST_EXPORTS) \
27471 (cd $(HOST_SUBDIR)/send-pr && \
27472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
27473 @endif send-pr
27478 .PHONY: check-send-pr maybe-check-send-pr
27479 maybe-check-send-pr:
27480 @if send-pr
27481 maybe-check-send-pr: check-send-pr
27483 check-send-pr:
27484 @: $(MAKE); $(unstage)
27485 @r=`${PWD_COMMAND}`; export r; \
27486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(HOST_EXPORTS) \
27488 (cd $(HOST_SUBDIR)/send-pr && \
27489 $(MAKE) $(FLAGS_TO_PASS) check)
27491 @endif send-pr
27493 .PHONY: install-send-pr maybe-install-send-pr
27494 maybe-install-send-pr:
27495 @if send-pr
27496 maybe-install-send-pr: install-send-pr
27498 install-send-pr: installdirs
27499 @: $(MAKE); $(unstage)
27500 @r=`${PWD_COMMAND}`; export r; \
27501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27502 $(HOST_EXPORTS) \
27503 (cd $(HOST_SUBDIR)/send-pr && \
27504 $(MAKE) $(FLAGS_TO_PASS) install)
27506 @endif send-pr
27508 # Other targets (info, dvi, pdf, etc.)
27510 .PHONY: maybe-info-send-pr info-send-pr
27511 maybe-info-send-pr:
27512 @if send-pr
27513 maybe-info-send-pr: info-send-pr
27515 info-send-pr: \
27516 configure-send-pr
27517 @: $(MAKE); $(unstage)
27518 @[ -f ./send-pr/Makefile ] || exit 0; \
27519 r=`${PWD_COMMAND}`; export r; \
27520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27521 $(HOST_EXPORTS) \
27522 for flag in $(EXTRA_HOST_FLAGS) ; do \
27523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27524 done; \
27525 echo "Doing info in send-pr" ; \
27526 (cd $(HOST_SUBDIR)/send-pr && \
27527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27529 "RANLIB=$${RANLIB}" \
27530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27531 info) \
27532 || exit 1
27534 @endif send-pr
27536 .PHONY: maybe-dvi-send-pr dvi-send-pr
27537 maybe-dvi-send-pr:
27538 @if send-pr
27539 maybe-dvi-send-pr: dvi-send-pr
27541 dvi-send-pr: \
27542 configure-send-pr
27543 @: $(MAKE); $(unstage)
27544 @[ -f ./send-pr/Makefile ] || exit 0; \
27545 r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547 $(HOST_EXPORTS) \
27548 for flag in $(EXTRA_HOST_FLAGS) ; do \
27549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27550 done; \
27551 echo "Doing dvi in send-pr" ; \
27552 (cd $(HOST_SUBDIR)/send-pr && \
27553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27555 "RANLIB=$${RANLIB}" \
27556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27557 dvi) \
27558 || exit 1
27560 @endif send-pr
27562 .PHONY: maybe-pdf-send-pr pdf-send-pr
27563 maybe-pdf-send-pr:
27564 @if send-pr
27565 maybe-pdf-send-pr: pdf-send-pr
27567 pdf-send-pr: \
27568 configure-send-pr
27569 @: $(MAKE); $(unstage)
27570 @[ -f ./send-pr/Makefile ] || exit 0; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27573 $(HOST_EXPORTS) \
27574 for flag in $(EXTRA_HOST_FLAGS) ; do \
27575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27576 done; \
27577 echo "Doing pdf in send-pr" ; \
27578 (cd $(HOST_SUBDIR)/send-pr && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27583 pdf) \
27584 || exit 1
27586 @endif send-pr
27588 .PHONY: maybe-html-send-pr html-send-pr
27589 maybe-html-send-pr:
27590 @if send-pr
27591 maybe-html-send-pr: html-send-pr
27593 html-send-pr: \
27594 configure-send-pr
27595 @: $(MAKE); $(unstage)
27596 @[ -f ./send-pr/Makefile ] || exit 0; \
27597 r=`${PWD_COMMAND}`; export r; \
27598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27599 $(HOST_EXPORTS) \
27600 for flag in $(EXTRA_HOST_FLAGS) ; do \
27601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 done; \
27603 echo "Doing html in send-pr" ; \
27604 (cd $(HOST_SUBDIR)/send-pr && \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607 "RANLIB=$${RANLIB}" \
27608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27609 html) \
27610 || exit 1
27612 @endif send-pr
27614 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
27615 maybe-TAGS-send-pr:
27616 @if send-pr
27617 maybe-TAGS-send-pr: TAGS-send-pr
27619 TAGS-send-pr: \
27620 configure-send-pr
27621 @: $(MAKE); $(unstage)
27622 @[ -f ./send-pr/Makefile ] || exit 0; \
27623 r=`${PWD_COMMAND}`; export r; \
27624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27625 $(HOST_EXPORTS) \
27626 for flag in $(EXTRA_HOST_FLAGS) ; do \
27627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27628 done; \
27629 echo "Doing TAGS in send-pr" ; \
27630 (cd $(HOST_SUBDIR)/send-pr && \
27631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27633 "RANLIB=$${RANLIB}" \
27634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27635 TAGS) \
27636 || exit 1
27638 @endif send-pr
27640 .PHONY: maybe-install-info-send-pr install-info-send-pr
27641 maybe-install-info-send-pr:
27642 @if send-pr
27643 maybe-install-info-send-pr: install-info-send-pr
27645 install-info-send-pr: \
27646 configure-send-pr \
27647 info-send-pr
27648 @: $(MAKE); $(unstage)
27649 @[ -f ./send-pr/Makefile ] || exit 0; \
27650 r=`${PWD_COMMAND}`; export r; \
27651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27652 $(HOST_EXPORTS) \
27653 for flag in $(EXTRA_HOST_FLAGS) ; do \
27654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27655 done; \
27656 echo "Doing install-info in send-pr" ; \
27657 (cd $(HOST_SUBDIR)/send-pr && \
27658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27660 "RANLIB=$${RANLIB}" \
27661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27662 install-info) \
27663 || exit 1
27665 @endif send-pr
27667 .PHONY: maybe-install-html-send-pr install-html-send-pr
27668 maybe-install-html-send-pr:
27669 @if send-pr
27670 maybe-install-html-send-pr: install-html-send-pr
27672 install-html-send-pr: \
27673 configure-send-pr \
27674 html-send-pr
27675 @: $(MAKE); $(unstage)
27676 @[ -f ./send-pr/Makefile ] || exit 0; \
27677 r=`${PWD_COMMAND}`; export r; \
27678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27679 $(HOST_EXPORTS) \
27680 for flag in $(EXTRA_HOST_FLAGS) ; do \
27681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27682 done; \
27683 echo "Doing install-html in send-pr" ; \
27684 (cd $(HOST_SUBDIR)/send-pr && \
27685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27687 "RANLIB=$${RANLIB}" \
27688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27689 install-html) \
27690 || exit 1
27692 @endif send-pr
27694 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
27695 maybe-installcheck-send-pr:
27696 @if send-pr
27697 maybe-installcheck-send-pr: installcheck-send-pr
27699 installcheck-send-pr: \
27700 configure-send-pr
27701 @: $(MAKE); $(unstage)
27702 @[ -f ./send-pr/Makefile ] || exit 0; \
27703 r=`${PWD_COMMAND}`; export r; \
27704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 $(HOST_EXPORTS) \
27706 for flag in $(EXTRA_HOST_FLAGS) ; do \
27707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27708 done; \
27709 echo "Doing installcheck in send-pr" ; \
27710 (cd $(HOST_SUBDIR)/send-pr && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27715 installcheck) \
27716 || exit 1
27718 @endif send-pr
27720 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
27721 maybe-mostlyclean-send-pr:
27722 @if send-pr
27723 maybe-mostlyclean-send-pr: mostlyclean-send-pr
27725 mostlyclean-send-pr:
27726 @: $(MAKE); $(unstage)
27727 @[ -f ./send-pr/Makefile ] || exit 0; \
27728 r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 $(HOST_EXPORTS) \
27731 for flag in $(EXTRA_HOST_FLAGS) ; do \
27732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27733 done; \
27734 echo "Doing mostlyclean in send-pr" ; \
27735 (cd $(HOST_SUBDIR)/send-pr && \
27736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27738 "RANLIB=$${RANLIB}" \
27739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27740 mostlyclean) \
27741 || exit 1
27743 @endif send-pr
27745 .PHONY: maybe-clean-send-pr clean-send-pr
27746 maybe-clean-send-pr:
27747 @if send-pr
27748 maybe-clean-send-pr: clean-send-pr
27750 clean-send-pr:
27751 @: $(MAKE); $(unstage)
27752 @[ -f ./send-pr/Makefile ] || exit 0; \
27753 r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(HOST_EXPORTS) \
27756 for flag in $(EXTRA_HOST_FLAGS) ; do \
27757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27758 done; \
27759 echo "Doing clean in send-pr" ; \
27760 (cd $(HOST_SUBDIR)/send-pr && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27765 clean) \
27766 || exit 1
27768 @endif send-pr
27770 .PHONY: maybe-distclean-send-pr distclean-send-pr
27771 maybe-distclean-send-pr:
27772 @if send-pr
27773 maybe-distclean-send-pr: distclean-send-pr
27775 distclean-send-pr:
27776 @: $(MAKE); $(unstage)
27777 @[ -f ./send-pr/Makefile ] || exit 0; \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(HOST_EXPORTS) \
27781 for flag in $(EXTRA_HOST_FLAGS) ; do \
27782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27783 done; \
27784 echo "Doing distclean in send-pr" ; \
27785 (cd $(HOST_SUBDIR)/send-pr && \
27786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27788 "RANLIB=$${RANLIB}" \
27789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27790 distclean) \
27791 || exit 1
27793 @endif send-pr
27795 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
27796 maybe-maintainer-clean-send-pr:
27797 @if send-pr
27798 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
27800 maintainer-clean-send-pr:
27801 @: $(MAKE); $(unstage)
27802 @[ -f ./send-pr/Makefile ] || exit 0; \
27803 r=`${PWD_COMMAND}`; export r; \
27804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27805 $(HOST_EXPORTS) \
27806 for flag in $(EXTRA_HOST_FLAGS) ; do \
27807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27808 done; \
27809 echo "Doing maintainer-clean in send-pr" ; \
27810 (cd $(HOST_SUBDIR)/send-pr && \
27811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27813 "RANLIB=$${RANLIB}" \
27814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27815 maintainer-clean) \
27816 || exit 1
27818 @endif send-pr
27822 .PHONY: configure-shellutils maybe-configure-shellutils
27823 maybe-configure-shellutils:
27824 @if gcc-bootstrap
27825 configure-shellutils: stage_current
27826 @endif gcc-bootstrap
27827 @if shellutils
27828 maybe-configure-shellutils: configure-shellutils
27829 configure-shellutils:
27830 @: $(MAKE); $(unstage)
27831 @r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
27834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
27835 $(HOST_EXPORTS) \
27836 echo Configuring in $(HOST_SUBDIR)/shellutils; \
27837 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
27838 case $(srcdir) in \
27839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27840 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
27841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27842 esac; \
27843 srcdiroption="--srcdir=$${topdir}/shellutils"; \
27844 libsrcdir="$$s/shellutils"; \
27845 $(SHELL) $${libsrcdir}/configure \
27846 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27847 --target=${target_alias} $${srcdiroption} \
27848 || exit 1
27849 @endif shellutils
27855 .PHONY: all-shellutils maybe-all-shellutils
27856 maybe-all-shellutils:
27857 @if gcc-bootstrap
27858 all-shellutils: stage_current
27859 @endif gcc-bootstrap
27860 @if shellutils
27861 TARGET-shellutils=all
27862 maybe-all-shellutils: all-shellutils
27863 all-shellutils: configure-shellutils
27864 @: $(MAKE); $(unstage)
27865 @r=`${PWD_COMMAND}`; export r; \
27866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27867 $(HOST_EXPORTS) \
27868 (cd $(HOST_SUBDIR)/shellutils && \
27869 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
27870 @endif shellutils
27875 .PHONY: check-shellutils maybe-check-shellutils
27876 maybe-check-shellutils:
27877 @if shellutils
27878 maybe-check-shellutils: check-shellutils
27880 check-shellutils:
27881 @: $(MAKE); $(unstage)
27882 @r=`${PWD_COMMAND}`; export r; \
27883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27884 $(HOST_EXPORTS) \
27885 (cd $(HOST_SUBDIR)/shellutils && \
27886 $(MAKE) $(FLAGS_TO_PASS) check)
27888 @endif shellutils
27890 .PHONY: install-shellutils maybe-install-shellutils
27891 maybe-install-shellutils:
27892 @if shellutils
27893 maybe-install-shellutils: install-shellutils
27895 install-shellutils: installdirs
27896 @: $(MAKE); $(unstage)
27897 @r=`${PWD_COMMAND}`; export r; \
27898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27899 $(HOST_EXPORTS) \
27900 (cd $(HOST_SUBDIR)/shellutils && \
27901 $(MAKE) $(FLAGS_TO_PASS) install)
27903 @endif shellutils
27905 # Other targets (info, dvi, pdf, etc.)
27907 .PHONY: maybe-info-shellutils info-shellutils
27908 maybe-info-shellutils:
27909 @if shellutils
27910 maybe-info-shellutils: info-shellutils
27912 info-shellutils: \
27913 configure-shellutils
27914 @: $(MAKE); $(unstage)
27915 @[ -f ./shellutils/Makefile ] || exit 0; \
27916 r=`${PWD_COMMAND}`; export r; \
27917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27918 $(HOST_EXPORTS) \
27919 for flag in $(EXTRA_HOST_FLAGS) ; do \
27920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27921 done; \
27922 echo "Doing info in shellutils" ; \
27923 (cd $(HOST_SUBDIR)/shellutils && \
27924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27926 "RANLIB=$${RANLIB}" \
27927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27928 info) \
27929 || exit 1
27931 @endif shellutils
27933 .PHONY: maybe-dvi-shellutils dvi-shellutils
27934 maybe-dvi-shellutils:
27935 @if shellutils
27936 maybe-dvi-shellutils: dvi-shellutils
27938 dvi-shellutils: \
27939 configure-shellutils
27940 @: $(MAKE); $(unstage)
27941 @[ -f ./shellutils/Makefile ] || exit 0; \
27942 r=`${PWD_COMMAND}`; export r; \
27943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27944 $(HOST_EXPORTS) \
27945 for flag in $(EXTRA_HOST_FLAGS) ; do \
27946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27947 done; \
27948 echo "Doing dvi in shellutils" ; \
27949 (cd $(HOST_SUBDIR)/shellutils && \
27950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27952 "RANLIB=$${RANLIB}" \
27953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27954 dvi) \
27955 || exit 1
27957 @endif shellutils
27959 .PHONY: maybe-pdf-shellutils pdf-shellutils
27960 maybe-pdf-shellutils:
27961 @if shellutils
27962 maybe-pdf-shellutils: pdf-shellutils
27964 pdf-shellutils: \
27965 configure-shellutils
27966 @: $(MAKE); $(unstage)
27967 @[ -f ./shellutils/Makefile ] || exit 0; \
27968 r=`${PWD_COMMAND}`; export r; \
27969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 $(HOST_EXPORTS) \
27971 for flag in $(EXTRA_HOST_FLAGS) ; do \
27972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27973 done; \
27974 echo "Doing pdf in shellutils" ; \
27975 (cd $(HOST_SUBDIR)/shellutils && \
27976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27978 "RANLIB=$${RANLIB}" \
27979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27980 pdf) \
27981 || exit 1
27983 @endif shellutils
27985 .PHONY: maybe-html-shellutils html-shellutils
27986 maybe-html-shellutils:
27987 @if shellutils
27988 maybe-html-shellutils: html-shellutils
27990 html-shellutils: \
27991 configure-shellutils
27992 @: $(MAKE); $(unstage)
27993 @[ -f ./shellutils/Makefile ] || exit 0; \
27994 r=`${PWD_COMMAND}`; export r; \
27995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996 $(HOST_EXPORTS) \
27997 for flag in $(EXTRA_HOST_FLAGS) ; do \
27998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27999 done; \
28000 echo "Doing html in shellutils" ; \
28001 (cd $(HOST_SUBDIR)/shellutils && \
28002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28004 "RANLIB=$${RANLIB}" \
28005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28006 html) \
28007 || exit 1
28009 @endif shellutils
28011 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
28012 maybe-TAGS-shellutils:
28013 @if shellutils
28014 maybe-TAGS-shellutils: TAGS-shellutils
28016 TAGS-shellutils: \
28017 configure-shellutils
28018 @: $(MAKE); $(unstage)
28019 @[ -f ./shellutils/Makefile ] || exit 0; \
28020 r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28022 $(HOST_EXPORTS) \
28023 for flag in $(EXTRA_HOST_FLAGS) ; do \
28024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28025 done; \
28026 echo "Doing TAGS in shellutils" ; \
28027 (cd $(HOST_SUBDIR)/shellutils && \
28028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28030 "RANLIB=$${RANLIB}" \
28031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28032 TAGS) \
28033 || exit 1
28035 @endif shellutils
28037 .PHONY: maybe-install-info-shellutils install-info-shellutils
28038 maybe-install-info-shellutils:
28039 @if shellutils
28040 maybe-install-info-shellutils: install-info-shellutils
28042 install-info-shellutils: \
28043 configure-shellutils \
28044 info-shellutils
28045 @: $(MAKE); $(unstage)
28046 @[ -f ./shellutils/Makefile ] || exit 0; \
28047 r=`${PWD_COMMAND}`; export r; \
28048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(HOST_EXPORTS) \
28050 for flag in $(EXTRA_HOST_FLAGS) ; do \
28051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28052 done; \
28053 echo "Doing install-info in shellutils" ; \
28054 (cd $(HOST_SUBDIR)/shellutils && \
28055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28057 "RANLIB=$${RANLIB}" \
28058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28059 install-info) \
28060 || exit 1
28062 @endif shellutils
28064 .PHONY: maybe-install-html-shellutils install-html-shellutils
28065 maybe-install-html-shellutils:
28066 @if shellutils
28067 maybe-install-html-shellutils: install-html-shellutils
28069 install-html-shellutils: \
28070 configure-shellutils \
28071 html-shellutils
28072 @: $(MAKE); $(unstage)
28073 @[ -f ./shellutils/Makefile ] || exit 0; \
28074 r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 $(HOST_EXPORTS) \
28077 for flag in $(EXTRA_HOST_FLAGS) ; do \
28078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079 done; \
28080 echo "Doing install-html in shellutils" ; \
28081 (cd $(HOST_SUBDIR)/shellutils && \
28082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28084 "RANLIB=$${RANLIB}" \
28085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28086 install-html) \
28087 || exit 1
28089 @endif shellutils
28091 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
28092 maybe-installcheck-shellutils:
28093 @if shellutils
28094 maybe-installcheck-shellutils: installcheck-shellutils
28096 installcheck-shellutils: \
28097 configure-shellutils
28098 @: $(MAKE); $(unstage)
28099 @[ -f ./shellutils/Makefile ] || exit 0; \
28100 r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 $(HOST_EXPORTS) \
28103 for flag in $(EXTRA_HOST_FLAGS) ; do \
28104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 done; \
28106 echo "Doing installcheck in shellutils" ; \
28107 (cd $(HOST_SUBDIR)/shellutils && \
28108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28110 "RANLIB=$${RANLIB}" \
28111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28112 installcheck) \
28113 || exit 1
28115 @endif shellutils
28117 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
28118 maybe-mostlyclean-shellutils:
28119 @if shellutils
28120 maybe-mostlyclean-shellutils: mostlyclean-shellutils
28122 mostlyclean-shellutils:
28123 @: $(MAKE); $(unstage)
28124 @[ -f ./shellutils/Makefile ] || exit 0; \
28125 r=`${PWD_COMMAND}`; export r; \
28126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28127 $(HOST_EXPORTS) \
28128 for flag in $(EXTRA_HOST_FLAGS) ; do \
28129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28130 done; \
28131 echo "Doing mostlyclean in shellutils" ; \
28132 (cd $(HOST_SUBDIR)/shellutils && \
28133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28135 "RANLIB=$${RANLIB}" \
28136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28137 mostlyclean) \
28138 || exit 1
28140 @endif shellutils
28142 .PHONY: maybe-clean-shellutils clean-shellutils
28143 maybe-clean-shellutils:
28144 @if shellutils
28145 maybe-clean-shellutils: clean-shellutils
28147 clean-shellutils:
28148 @: $(MAKE); $(unstage)
28149 @[ -f ./shellutils/Makefile ] || exit 0; \
28150 r=`${PWD_COMMAND}`; export r; \
28151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28152 $(HOST_EXPORTS) \
28153 for flag in $(EXTRA_HOST_FLAGS) ; do \
28154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28155 done; \
28156 echo "Doing clean in shellutils" ; \
28157 (cd $(HOST_SUBDIR)/shellutils && \
28158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28160 "RANLIB=$${RANLIB}" \
28161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28162 clean) \
28163 || exit 1
28165 @endif shellutils
28167 .PHONY: maybe-distclean-shellutils distclean-shellutils
28168 maybe-distclean-shellutils:
28169 @if shellutils
28170 maybe-distclean-shellutils: distclean-shellutils
28172 distclean-shellutils:
28173 @: $(MAKE); $(unstage)
28174 @[ -f ./shellutils/Makefile ] || exit 0; \
28175 r=`${PWD_COMMAND}`; export r; \
28176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28177 $(HOST_EXPORTS) \
28178 for flag in $(EXTRA_HOST_FLAGS) ; do \
28179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28180 done; \
28181 echo "Doing distclean in shellutils" ; \
28182 (cd $(HOST_SUBDIR)/shellutils && \
28183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28185 "RANLIB=$${RANLIB}" \
28186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28187 distclean) \
28188 || exit 1
28190 @endif shellutils
28192 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
28193 maybe-maintainer-clean-shellutils:
28194 @if shellutils
28195 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
28197 maintainer-clean-shellutils:
28198 @: $(MAKE); $(unstage)
28199 @[ -f ./shellutils/Makefile ] || exit 0; \
28200 r=`${PWD_COMMAND}`; export r; \
28201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28202 $(HOST_EXPORTS) \
28203 for flag in $(EXTRA_HOST_FLAGS) ; do \
28204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28205 done; \
28206 echo "Doing maintainer-clean in shellutils" ; \
28207 (cd $(HOST_SUBDIR)/shellutils && \
28208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28210 "RANLIB=$${RANLIB}" \
28211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28212 maintainer-clean) \
28213 || exit 1
28215 @endif shellutils
28219 .PHONY: configure-sid maybe-configure-sid
28220 maybe-configure-sid:
28221 @if gcc-bootstrap
28222 configure-sid: stage_current
28223 @endif gcc-bootstrap
28224 @if sid
28225 maybe-configure-sid: configure-sid
28226 configure-sid:
28227 @: $(MAKE); $(unstage)
28228 @r=`${PWD_COMMAND}`; export r; \
28229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28230 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
28231 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
28232 $(HOST_EXPORTS) \
28233 echo Configuring in $(HOST_SUBDIR)/sid; \
28234 cd "$(HOST_SUBDIR)/sid" || exit 1; \
28235 case $(srcdir) in \
28236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28237 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
28238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28239 esac; \
28240 srcdiroption="--srcdir=$${topdir}/sid"; \
28241 libsrcdir="$$s/sid"; \
28242 $(SHELL) $${libsrcdir}/configure \
28243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28244 --target=${target_alias} $${srcdiroption} \
28245 || exit 1
28246 @endif sid
28252 .PHONY: all-sid maybe-all-sid
28253 maybe-all-sid:
28254 @if gcc-bootstrap
28255 all-sid: stage_current
28256 @endif gcc-bootstrap
28257 @if sid
28258 TARGET-sid=all
28259 maybe-all-sid: all-sid
28260 all-sid: configure-sid
28261 @: $(MAKE); $(unstage)
28262 @r=`${PWD_COMMAND}`; export r; \
28263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28264 $(HOST_EXPORTS) \
28265 (cd $(HOST_SUBDIR)/sid && \
28266 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
28267 @endif sid
28272 .PHONY: check-sid maybe-check-sid
28273 maybe-check-sid:
28274 @if sid
28275 maybe-check-sid: check-sid
28277 check-sid:
28278 @: $(MAKE); $(unstage)
28279 @r=`${PWD_COMMAND}`; export r; \
28280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28281 $(HOST_EXPORTS) \
28282 (cd $(HOST_SUBDIR)/sid && \
28283 $(MAKE) $(FLAGS_TO_PASS) check)
28285 @endif sid
28287 .PHONY: install-sid maybe-install-sid
28288 maybe-install-sid:
28289 @if sid
28290 maybe-install-sid: install-sid
28292 install-sid: installdirs
28293 @: $(MAKE); $(unstage)
28294 @r=`${PWD_COMMAND}`; export r; \
28295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28296 $(HOST_EXPORTS) \
28297 (cd $(HOST_SUBDIR)/sid && \
28298 $(MAKE) $(FLAGS_TO_PASS) install)
28300 @endif sid
28302 # Other targets (info, dvi, pdf, etc.)
28304 .PHONY: maybe-info-sid info-sid
28305 maybe-info-sid:
28306 @if sid
28307 maybe-info-sid: info-sid
28309 info-sid: \
28310 configure-sid
28311 @: $(MAKE); $(unstage)
28312 @[ -f ./sid/Makefile ] || exit 0; \
28313 r=`${PWD_COMMAND}`; export r; \
28314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28315 $(HOST_EXPORTS) \
28316 for flag in $(EXTRA_HOST_FLAGS) ; do \
28317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28318 done; \
28319 echo "Doing info in sid" ; \
28320 (cd $(HOST_SUBDIR)/sid && \
28321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28323 "RANLIB=$${RANLIB}" \
28324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28325 info) \
28326 || exit 1
28328 @endif sid
28330 .PHONY: maybe-dvi-sid dvi-sid
28331 maybe-dvi-sid:
28332 @if sid
28333 maybe-dvi-sid: dvi-sid
28335 dvi-sid: \
28336 configure-sid
28337 @: $(MAKE); $(unstage)
28338 @[ -f ./sid/Makefile ] || exit 0; \
28339 r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28341 $(HOST_EXPORTS) \
28342 for flag in $(EXTRA_HOST_FLAGS) ; do \
28343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28344 done; \
28345 echo "Doing dvi in sid" ; \
28346 (cd $(HOST_SUBDIR)/sid && \
28347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28349 "RANLIB=$${RANLIB}" \
28350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28351 dvi) \
28352 || exit 1
28354 @endif sid
28356 .PHONY: maybe-pdf-sid pdf-sid
28357 maybe-pdf-sid:
28358 @if sid
28359 maybe-pdf-sid: pdf-sid
28361 pdf-sid: \
28362 configure-sid
28363 @: $(MAKE); $(unstage)
28364 @[ -f ./sid/Makefile ] || exit 0; \
28365 r=`${PWD_COMMAND}`; export r; \
28366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28367 $(HOST_EXPORTS) \
28368 for flag in $(EXTRA_HOST_FLAGS) ; do \
28369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28370 done; \
28371 echo "Doing pdf in sid" ; \
28372 (cd $(HOST_SUBDIR)/sid && \
28373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28375 "RANLIB=$${RANLIB}" \
28376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28377 pdf) \
28378 || exit 1
28380 @endif sid
28382 .PHONY: maybe-html-sid html-sid
28383 maybe-html-sid:
28384 @if sid
28385 maybe-html-sid: html-sid
28387 html-sid: \
28388 configure-sid
28389 @: $(MAKE); $(unstage)
28390 @[ -f ./sid/Makefile ] || exit 0; \
28391 r=`${PWD_COMMAND}`; export r; \
28392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28393 $(HOST_EXPORTS) \
28394 for flag in $(EXTRA_HOST_FLAGS) ; do \
28395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28396 done; \
28397 echo "Doing html in sid" ; \
28398 (cd $(HOST_SUBDIR)/sid && \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28403 html) \
28404 || exit 1
28406 @endif sid
28408 .PHONY: maybe-TAGS-sid TAGS-sid
28409 maybe-TAGS-sid:
28410 @if sid
28411 maybe-TAGS-sid: TAGS-sid
28413 TAGS-sid: \
28414 configure-sid
28415 @: $(MAKE); $(unstage)
28416 @[ -f ./sid/Makefile ] || exit 0; \
28417 r=`${PWD_COMMAND}`; export r; \
28418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28419 $(HOST_EXPORTS) \
28420 for flag in $(EXTRA_HOST_FLAGS) ; do \
28421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28422 done; \
28423 echo "Doing TAGS in sid" ; \
28424 (cd $(HOST_SUBDIR)/sid && \
28425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28427 "RANLIB=$${RANLIB}" \
28428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28429 TAGS) \
28430 || exit 1
28432 @endif sid
28434 .PHONY: maybe-install-info-sid install-info-sid
28435 maybe-install-info-sid:
28436 @if sid
28437 maybe-install-info-sid: install-info-sid
28439 install-info-sid: \
28440 configure-sid \
28441 info-sid
28442 @: $(MAKE); $(unstage)
28443 @[ -f ./sid/Makefile ] || exit 0; \
28444 r=`${PWD_COMMAND}`; export r; \
28445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28446 $(HOST_EXPORTS) \
28447 for flag in $(EXTRA_HOST_FLAGS) ; do \
28448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28449 done; \
28450 echo "Doing install-info in sid" ; \
28451 (cd $(HOST_SUBDIR)/sid && \
28452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28454 "RANLIB=$${RANLIB}" \
28455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28456 install-info) \
28457 || exit 1
28459 @endif sid
28461 .PHONY: maybe-install-html-sid install-html-sid
28462 maybe-install-html-sid:
28463 @if sid
28464 maybe-install-html-sid: install-html-sid
28466 install-html-sid: \
28467 configure-sid \
28468 html-sid
28469 @: $(MAKE); $(unstage)
28470 @[ -f ./sid/Makefile ] || exit 0; \
28471 r=`${PWD_COMMAND}`; export r; \
28472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28473 $(HOST_EXPORTS) \
28474 for flag in $(EXTRA_HOST_FLAGS) ; do \
28475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28476 done; \
28477 echo "Doing install-html in sid" ; \
28478 (cd $(HOST_SUBDIR)/sid && \
28479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28481 "RANLIB=$${RANLIB}" \
28482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28483 install-html) \
28484 || exit 1
28486 @endif sid
28488 .PHONY: maybe-installcheck-sid installcheck-sid
28489 maybe-installcheck-sid:
28490 @if sid
28491 maybe-installcheck-sid: installcheck-sid
28493 installcheck-sid: \
28494 configure-sid
28495 @: $(MAKE); $(unstage)
28496 @[ -f ./sid/Makefile ] || exit 0; \
28497 r=`${PWD_COMMAND}`; export r; \
28498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28499 $(HOST_EXPORTS) \
28500 for flag in $(EXTRA_HOST_FLAGS) ; do \
28501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28502 done; \
28503 echo "Doing installcheck in sid" ; \
28504 (cd $(HOST_SUBDIR)/sid && \
28505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28507 "RANLIB=$${RANLIB}" \
28508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28509 installcheck) \
28510 || exit 1
28512 @endif sid
28514 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
28515 maybe-mostlyclean-sid:
28516 @if sid
28517 maybe-mostlyclean-sid: mostlyclean-sid
28519 mostlyclean-sid:
28520 @: $(MAKE); $(unstage)
28521 @[ -f ./sid/Makefile ] || exit 0; \
28522 r=`${PWD_COMMAND}`; export r; \
28523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28524 $(HOST_EXPORTS) \
28525 for flag in $(EXTRA_HOST_FLAGS) ; do \
28526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28527 done; \
28528 echo "Doing mostlyclean in sid" ; \
28529 (cd $(HOST_SUBDIR)/sid && \
28530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28532 "RANLIB=$${RANLIB}" \
28533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28534 mostlyclean) \
28535 || exit 1
28537 @endif sid
28539 .PHONY: maybe-clean-sid clean-sid
28540 maybe-clean-sid:
28541 @if sid
28542 maybe-clean-sid: clean-sid
28544 clean-sid:
28545 @: $(MAKE); $(unstage)
28546 @[ -f ./sid/Makefile ] || exit 0; \
28547 r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28549 $(HOST_EXPORTS) \
28550 for flag in $(EXTRA_HOST_FLAGS) ; do \
28551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28552 done; \
28553 echo "Doing clean in sid" ; \
28554 (cd $(HOST_SUBDIR)/sid && \
28555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28557 "RANLIB=$${RANLIB}" \
28558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28559 clean) \
28560 || exit 1
28562 @endif sid
28564 .PHONY: maybe-distclean-sid distclean-sid
28565 maybe-distclean-sid:
28566 @if sid
28567 maybe-distclean-sid: distclean-sid
28569 distclean-sid:
28570 @: $(MAKE); $(unstage)
28571 @[ -f ./sid/Makefile ] || exit 0; \
28572 r=`${PWD_COMMAND}`; export r; \
28573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28574 $(HOST_EXPORTS) \
28575 for flag in $(EXTRA_HOST_FLAGS) ; do \
28576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28577 done; \
28578 echo "Doing distclean in sid" ; \
28579 (cd $(HOST_SUBDIR)/sid && \
28580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28582 "RANLIB=$${RANLIB}" \
28583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28584 distclean) \
28585 || exit 1
28587 @endif sid
28589 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
28590 maybe-maintainer-clean-sid:
28591 @if sid
28592 maybe-maintainer-clean-sid: maintainer-clean-sid
28594 maintainer-clean-sid:
28595 @: $(MAKE); $(unstage)
28596 @[ -f ./sid/Makefile ] || exit 0; \
28597 r=`${PWD_COMMAND}`; export r; \
28598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28599 $(HOST_EXPORTS) \
28600 for flag in $(EXTRA_HOST_FLAGS) ; do \
28601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28602 done; \
28603 echo "Doing maintainer-clean in sid" ; \
28604 (cd $(HOST_SUBDIR)/sid && \
28605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28607 "RANLIB=$${RANLIB}" \
28608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28609 maintainer-clean) \
28610 || exit 1
28612 @endif sid
28616 .PHONY: configure-sim maybe-configure-sim
28617 maybe-configure-sim:
28618 @if gcc-bootstrap
28619 configure-sim: stage_current
28620 @endif gcc-bootstrap
28621 @if sim
28622 maybe-configure-sim: configure-sim
28623 configure-sim:
28624 @: $(MAKE); $(unstage)
28625 @r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
28628 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
28629 $(HOST_EXPORTS) \
28630 echo Configuring in $(HOST_SUBDIR)/sim; \
28631 cd "$(HOST_SUBDIR)/sim" || exit 1; \
28632 case $(srcdir) in \
28633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28634 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
28635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28636 esac; \
28637 srcdiroption="--srcdir=$${topdir}/sim"; \
28638 libsrcdir="$$s/sim"; \
28639 $(SHELL) $${libsrcdir}/configure \
28640 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28641 --target=${target_alias} $${srcdiroption} \
28642 || exit 1
28643 @endif sim
28649 .PHONY: all-sim maybe-all-sim
28650 maybe-all-sim:
28651 @if gcc-bootstrap
28652 all-sim: stage_current
28653 @endif gcc-bootstrap
28654 @if sim
28655 TARGET-sim=all
28656 maybe-all-sim: all-sim
28657 all-sim: configure-sim
28658 @: $(MAKE); $(unstage)
28659 @r=`${PWD_COMMAND}`; export r; \
28660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28661 $(HOST_EXPORTS) \
28662 (cd $(HOST_SUBDIR)/sim && \
28663 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
28664 @endif sim
28669 .PHONY: check-sim maybe-check-sim
28670 maybe-check-sim:
28671 @if sim
28672 maybe-check-sim: check-sim
28674 check-sim:
28675 @: $(MAKE); $(unstage)
28676 @r=`${PWD_COMMAND}`; export r; \
28677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28678 $(HOST_EXPORTS) \
28679 (cd $(HOST_SUBDIR)/sim && \
28680 $(MAKE) $(FLAGS_TO_PASS) check)
28682 @endif sim
28684 .PHONY: install-sim maybe-install-sim
28685 maybe-install-sim:
28686 @if sim
28687 maybe-install-sim: install-sim
28689 install-sim: installdirs
28690 @: $(MAKE); $(unstage)
28691 @r=`${PWD_COMMAND}`; export r; \
28692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28693 $(HOST_EXPORTS) \
28694 (cd $(HOST_SUBDIR)/sim && \
28695 $(MAKE) $(FLAGS_TO_PASS) install)
28697 @endif sim
28699 # Other targets (info, dvi, pdf, etc.)
28701 .PHONY: maybe-info-sim info-sim
28702 maybe-info-sim:
28703 @if sim
28704 maybe-info-sim: info-sim
28706 info-sim: \
28707 configure-sim
28708 @: $(MAKE); $(unstage)
28709 @[ -f ./sim/Makefile ] || exit 0; \
28710 r=`${PWD_COMMAND}`; export r; \
28711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28712 $(HOST_EXPORTS) \
28713 for flag in $(EXTRA_HOST_FLAGS) ; do \
28714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28715 done; \
28716 echo "Doing info in sim" ; \
28717 (cd $(HOST_SUBDIR)/sim && \
28718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28720 "RANLIB=$${RANLIB}" \
28721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28722 info) \
28723 || exit 1
28725 @endif sim
28727 .PHONY: maybe-dvi-sim dvi-sim
28728 maybe-dvi-sim:
28729 @if sim
28730 maybe-dvi-sim: dvi-sim
28732 dvi-sim: \
28733 configure-sim
28734 @: $(MAKE); $(unstage)
28735 @[ -f ./sim/Makefile ] || exit 0; \
28736 r=`${PWD_COMMAND}`; export r; \
28737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28738 $(HOST_EXPORTS) \
28739 for flag in $(EXTRA_HOST_FLAGS) ; do \
28740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28741 done; \
28742 echo "Doing dvi in sim" ; \
28743 (cd $(HOST_SUBDIR)/sim && \
28744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28746 "RANLIB=$${RANLIB}" \
28747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28748 dvi) \
28749 || exit 1
28751 @endif sim
28753 .PHONY: maybe-pdf-sim pdf-sim
28754 maybe-pdf-sim:
28755 @if sim
28756 maybe-pdf-sim: pdf-sim
28758 pdf-sim: \
28759 configure-sim
28760 @: $(MAKE); $(unstage)
28761 @[ -f ./sim/Makefile ] || exit 0; \
28762 r=`${PWD_COMMAND}`; export r; \
28763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28764 $(HOST_EXPORTS) \
28765 for flag in $(EXTRA_HOST_FLAGS) ; do \
28766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28767 done; \
28768 echo "Doing pdf in sim" ; \
28769 (cd $(HOST_SUBDIR)/sim && \
28770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28772 "RANLIB=$${RANLIB}" \
28773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28774 pdf) \
28775 || exit 1
28777 @endif sim
28779 .PHONY: maybe-html-sim html-sim
28780 maybe-html-sim:
28781 @if sim
28782 maybe-html-sim: html-sim
28784 html-sim: \
28785 configure-sim
28786 @: $(MAKE); $(unstage)
28787 @[ -f ./sim/Makefile ] || exit 0; \
28788 r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(HOST_EXPORTS) \
28791 for flag in $(EXTRA_HOST_FLAGS) ; do \
28792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28793 done; \
28794 echo "Doing html in sim" ; \
28795 (cd $(HOST_SUBDIR)/sim && \
28796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28798 "RANLIB=$${RANLIB}" \
28799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28800 html) \
28801 || exit 1
28803 @endif sim
28805 .PHONY: maybe-TAGS-sim TAGS-sim
28806 maybe-TAGS-sim:
28807 @if sim
28808 maybe-TAGS-sim: TAGS-sim
28810 TAGS-sim: \
28811 configure-sim
28812 @: $(MAKE); $(unstage)
28813 @[ -f ./sim/Makefile ] || exit 0; \
28814 r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(HOST_EXPORTS) \
28817 for flag in $(EXTRA_HOST_FLAGS) ; do \
28818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28819 done; \
28820 echo "Doing TAGS in sim" ; \
28821 (cd $(HOST_SUBDIR)/sim && \
28822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28824 "RANLIB=$${RANLIB}" \
28825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28826 TAGS) \
28827 || exit 1
28829 @endif sim
28831 .PHONY: maybe-install-info-sim install-info-sim
28832 maybe-install-info-sim:
28833 @if sim
28834 maybe-install-info-sim: install-info-sim
28836 install-info-sim: \
28837 configure-sim \
28838 info-sim
28839 @: $(MAKE); $(unstage)
28840 @[ -f ./sim/Makefile ] || exit 0; \
28841 r=`${PWD_COMMAND}`; export r; \
28842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28843 $(HOST_EXPORTS) \
28844 for flag in $(EXTRA_HOST_FLAGS) ; do \
28845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28846 done; \
28847 echo "Doing install-info in sim" ; \
28848 (cd $(HOST_SUBDIR)/sim && \
28849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28851 "RANLIB=$${RANLIB}" \
28852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28853 install-info) \
28854 || exit 1
28856 @endif sim
28858 .PHONY: maybe-install-html-sim install-html-sim
28859 maybe-install-html-sim:
28860 @if sim
28861 maybe-install-html-sim: install-html-sim
28863 install-html-sim: \
28864 configure-sim \
28865 html-sim
28866 @: $(MAKE); $(unstage)
28867 @[ -f ./sim/Makefile ] || exit 0; \
28868 r=`${PWD_COMMAND}`; export r; \
28869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28870 $(HOST_EXPORTS) \
28871 for flag in $(EXTRA_HOST_FLAGS) ; do \
28872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28873 done; \
28874 echo "Doing install-html in sim" ; \
28875 (cd $(HOST_SUBDIR)/sim && \
28876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28878 "RANLIB=$${RANLIB}" \
28879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28880 install-html) \
28881 || exit 1
28883 @endif sim
28885 .PHONY: maybe-installcheck-sim installcheck-sim
28886 maybe-installcheck-sim:
28887 @if sim
28888 maybe-installcheck-sim: installcheck-sim
28890 installcheck-sim: \
28891 configure-sim
28892 @: $(MAKE); $(unstage)
28893 @[ -f ./sim/Makefile ] || exit 0; \
28894 r=`${PWD_COMMAND}`; export r; \
28895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28896 $(HOST_EXPORTS) \
28897 for flag in $(EXTRA_HOST_FLAGS) ; do \
28898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28899 done; \
28900 echo "Doing installcheck in sim" ; \
28901 (cd $(HOST_SUBDIR)/sim && \
28902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28904 "RANLIB=$${RANLIB}" \
28905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28906 installcheck) \
28907 || exit 1
28909 @endif sim
28911 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
28912 maybe-mostlyclean-sim:
28913 @if sim
28914 maybe-mostlyclean-sim: mostlyclean-sim
28916 mostlyclean-sim:
28917 @: $(MAKE); $(unstage)
28918 @[ -f ./sim/Makefile ] || exit 0; \
28919 r=`${PWD_COMMAND}`; export r; \
28920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28921 $(HOST_EXPORTS) \
28922 for flag in $(EXTRA_HOST_FLAGS) ; do \
28923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28924 done; \
28925 echo "Doing mostlyclean in sim" ; \
28926 (cd $(HOST_SUBDIR)/sim && \
28927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28929 "RANLIB=$${RANLIB}" \
28930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28931 mostlyclean) \
28932 || exit 1
28934 @endif sim
28936 .PHONY: maybe-clean-sim clean-sim
28937 maybe-clean-sim:
28938 @if sim
28939 maybe-clean-sim: clean-sim
28941 clean-sim:
28942 @: $(MAKE); $(unstage)
28943 @[ -f ./sim/Makefile ] || exit 0; \
28944 r=`${PWD_COMMAND}`; export r; \
28945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28946 $(HOST_EXPORTS) \
28947 for flag in $(EXTRA_HOST_FLAGS) ; do \
28948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28949 done; \
28950 echo "Doing clean in sim" ; \
28951 (cd $(HOST_SUBDIR)/sim && \
28952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28954 "RANLIB=$${RANLIB}" \
28955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28956 clean) \
28957 || exit 1
28959 @endif sim
28961 .PHONY: maybe-distclean-sim distclean-sim
28962 maybe-distclean-sim:
28963 @if sim
28964 maybe-distclean-sim: distclean-sim
28966 distclean-sim:
28967 @: $(MAKE); $(unstage)
28968 @[ -f ./sim/Makefile ] || exit 0; \
28969 r=`${PWD_COMMAND}`; export r; \
28970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 $(HOST_EXPORTS) \
28972 for flag in $(EXTRA_HOST_FLAGS) ; do \
28973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28974 done; \
28975 echo "Doing distclean in sim" ; \
28976 (cd $(HOST_SUBDIR)/sim && \
28977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28979 "RANLIB=$${RANLIB}" \
28980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28981 distclean) \
28982 || exit 1
28984 @endif sim
28986 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
28987 maybe-maintainer-clean-sim:
28988 @if sim
28989 maybe-maintainer-clean-sim: maintainer-clean-sim
28991 maintainer-clean-sim:
28992 @: $(MAKE); $(unstage)
28993 @[ -f ./sim/Makefile ] || exit 0; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(HOST_EXPORTS) \
28997 for flag in $(EXTRA_HOST_FLAGS) ; do \
28998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28999 done; \
29000 echo "Doing maintainer-clean in sim" ; \
29001 (cd $(HOST_SUBDIR)/sim && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29006 maintainer-clean) \
29007 || exit 1
29009 @endif sim
29013 .PHONY: configure-tar maybe-configure-tar
29014 maybe-configure-tar:
29015 @if gcc-bootstrap
29016 configure-tar: stage_current
29017 @endif gcc-bootstrap
29018 @if tar
29019 maybe-configure-tar: configure-tar
29020 configure-tar:
29021 @: $(MAKE); $(unstage)
29022 @r=`${PWD_COMMAND}`; export r; \
29023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29024 test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
29025 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
29026 $(HOST_EXPORTS) \
29027 echo Configuring in $(HOST_SUBDIR)/tar; \
29028 cd "$(HOST_SUBDIR)/tar" || exit 1; \
29029 case $(srcdir) in \
29030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29031 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
29032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29033 esac; \
29034 srcdiroption="--srcdir=$${topdir}/tar"; \
29035 libsrcdir="$$s/tar"; \
29036 $(SHELL) $${libsrcdir}/configure \
29037 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29038 --target=${target_alias} $${srcdiroption} \
29039 || exit 1
29040 @endif tar
29046 .PHONY: all-tar maybe-all-tar
29047 maybe-all-tar:
29048 @if gcc-bootstrap
29049 all-tar: stage_current
29050 @endif gcc-bootstrap
29051 @if tar
29052 TARGET-tar=all
29053 maybe-all-tar: all-tar
29054 all-tar: configure-tar
29055 @: $(MAKE); $(unstage)
29056 @r=`${PWD_COMMAND}`; export r; \
29057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29058 $(HOST_EXPORTS) \
29059 (cd $(HOST_SUBDIR)/tar && \
29060 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
29061 @endif tar
29066 .PHONY: check-tar maybe-check-tar
29067 maybe-check-tar:
29068 @if tar
29069 maybe-check-tar: check-tar
29071 check-tar:
29072 @: $(MAKE); $(unstage)
29073 @r=`${PWD_COMMAND}`; export r; \
29074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29075 $(HOST_EXPORTS) \
29076 (cd $(HOST_SUBDIR)/tar && \
29077 $(MAKE) $(FLAGS_TO_PASS) check)
29079 @endif tar
29081 .PHONY: install-tar maybe-install-tar
29082 maybe-install-tar:
29083 @if tar
29084 maybe-install-tar: install-tar
29086 install-tar: installdirs
29087 @: $(MAKE); $(unstage)
29088 @r=`${PWD_COMMAND}`; export r; \
29089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29090 $(HOST_EXPORTS) \
29091 (cd $(HOST_SUBDIR)/tar && \
29092 $(MAKE) $(FLAGS_TO_PASS) install)
29094 @endif tar
29096 # Other targets (info, dvi, pdf, etc.)
29098 .PHONY: maybe-info-tar info-tar
29099 maybe-info-tar:
29100 @if tar
29101 maybe-info-tar: info-tar
29103 info-tar: \
29104 configure-tar
29105 @: $(MAKE); $(unstage)
29106 @[ -f ./tar/Makefile ] || exit 0; \
29107 r=`${PWD_COMMAND}`; export r; \
29108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29109 $(HOST_EXPORTS) \
29110 for flag in $(EXTRA_HOST_FLAGS) ; do \
29111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29112 done; \
29113 echo "Doing info in tar" ; \
29114 (cd $(HOST_SUBDIR)/tar && \
29115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29117 "RANLIB=$${RANLIB}" \
29118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29119 info) \
29120 || exit 1
29122 @endif tar
29124 .PHONY: maybe-dvi-tar dvi-tar
29125 maybe-dvi-tar:
29126 @if tar
29127 maybe-dvi-tar: dvi-tar
29129 dvi-tar: \
29130 configure-tar
29131 @: $(MAKE); $(unstage)
29132 @[ -f ./tar/Makefile ] || exit 0; \
29133 r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 $(HOST_EXPORTS) \
29136 for flag in $(EXTRA_HOST_FLAGS) ; do \
29137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29138 done; \
29139 echo "Doing dvi in tar" ; \
29140 (cd $(HOST_SUBDIR)/tar && \
29141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29143 "RANLIB=$${RANLIB}" \
29144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29145 dvi) \
29146 || exit 1
29148 @endif tar
29150 .PHONY: maybe-pdf-tar pdf-tar
29151 maybe-pdf-tar:
29152 @if tar
29153 maybe-pdf-tar: pdf-tar
29155 pdf-tar: \
29156 configure-tar
29157 @: $(MAKE); $(unstage)
29158 @[ -f ./tar/Makefile ] || exit 0; \
29159 r=`${PWD_COMMAND}`; export r; \
29160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29161 $(HOST_EXPORTS) \
29162 for flag in $(EXTRA_HOST_FLAGS) ; do \
29163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29164 done; \
29165 echo "Doing pdf in tar" ; \
29166 (cd $(HOST_SUBDIR)/tar && \
29167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29169 "RANLIB=$${RANLIB}" \
29170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29171 pdf) \
29172 || exit 1
29174 @endif tar
29176 .PHONY: maybe-html-tar html-tar
29177 maybe-html-tar:
29178 @if tar
29179 maybe-html-tar: html-tar
29181 html-tar: \
29182 configure-tar
29183 @: $(MAKE); $(unstage)
29184 @[ -f ./tar/Makefile ] || exit 0; \
29185 r=`${PWD_COMMAND}`; export r; \
29186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29187 $(HOST_EXPORTS) \
29188 for flag in $(EXTRA_HOST_FLAGS) ; do \
29189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29190 done; \
29191 echo "Doing html in tar" ; \
29192 (cd $(HOST_SUBDIR)/tar && \
29193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29195 "RANLIB=$${RANLIB}" \
29196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29197 html) \
29198 || exit 1
29200 @endif tar
29202 .PHONY: maybe-TAGS-tar TAGS-tar
29203 maybe-TAGS-tar:
29204 @if tar
29205 maybe-TAGS-tar: TAGS-tar
29207 TAGS-tar: \
29208 configure-tar
29209 @: $(MAKE); $(unstage)
29210 @[ -f ./tar/Makefile ] || exit 0; \
29211 r=`${PWD_COMMAND}`; export r; \
29212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29213 $(HOST_EXPORTS) \
29214 for flag in $(EXTRA_HOST_FLAGS) ; do \
29215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29216 done; \
29217 echo "Doing TAGS in tar" ; \
29218 (cd $(HOST_SUBDIR)/tar && \
29219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29221 "RANLIB=$${RANLIB}" \
29222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29223 TAGS) \
29224 || exit 1
29226 @endif tar
29228 .PHONY: maybe-install-info-tar install-info-tar
29229 maybe-install-info-tar:
29230 @if tar
29231 maybe-install-info-tar: install-info-tar
29233 install-info-tar: \
29234 configure-tar \
29235 info-tar
29236 @: $(MAKE); $(unstage)
29237 @[ -f ./tar/Makefile ] || exit 0; \
29238 r=`${PWD_COMMAND}`; export r; \
29239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29240 $(HOST_EXPORTS) \
29241 for flag in $(EXTRA_HOST_FLAGS) ; do \
29242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29243 done; \
29244 echo "Doing install-info in tar" ; \
29245 (cd $(HOST_SUBDIR)/tar && \
29246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29248 "RANLIB=$${RANLIB}" \
29249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29250 install-info) \
29251 || exit 1
29253 @endif tar
29255 .PHONY: maybe-install-html-tar install-html-tar
29256 maybe-install-html-tar:
29257 @if tar
29258 maybe-install-html-tar: install-html-tar
29260 install-html-tar: \
29261 configure-tar \
29262 html-tar
29263 @: $(MAKE); $(unstage)
29264 @[ -f ./tar/Makefile ] || exit 0; \
29265 r=`${PWD_COMMAND}`; export r; \
29266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29267 $(HOST_EXPORTS) \
29268 for flag in $(EXTRA_HOST_FLAGS) ; do \
29269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29270 done; \
29271 echo "Doing install-html in tar" ; \
29272 (cd $(HOST_SUBDIR)/tar && \
29273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29275 "RANLIB=$${RANLIB}" \
29276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29277 install-html) \
29278 || exit 1
29280 @endif tar
29282 .PHONY: maybe-installcheck-tar installcheck-tar
29283 maybe-installcheck-tar:
29284 @if tar
29285 maybe-installcheck-tar: installcheck-tar
29287 installcheck-tar: \
29288 configure-tar
29289 @: $(MAKE); $(unstage)
29290 @[ -f ./tar/Makefile ] || exit 0; \
29291 r=`${PWD_COMMAND}`; export r; \
29292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29293 $(HOST_EXPORTS) \
29294 for flag in $(EXTRA_HOST_FLAGS) ; do \
29295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29296 done; \
29297 echo "Doing installcheck in tar" ; \
29298 (cd $(HOST_SUBDIR)/tar && \
29299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29301 "RANLIB=$${RANLIB}" \
29302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29303 installcheck) \
29304 || exit 1
29306 @endif tar
29308 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
29309 maybe-mostlyclean-tar:
29310 @if tar
29311 maybe-mostlyclean-tar: mostlyclean-tar
29313 mostlyclean-tar:
29314 @: $(MAKE); $(unstage)
29315 @[ -f ./tar/Makefile ] || exit 0; \
29316 r=`${PWD_COMMAND}`; export r; \
29317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29318 $(HOST_EXPORTS) \
29319 for flag in $(EXTRA_HOST_FLAGS) ; do \
29320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29321 done; \
29322 echo "Doing mostlyclean in tar" ; \
29323 (cd $(HOST_SUBDIR)/tar && \
29324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29326 "RANLIB=$${RANLIB}" \
29327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29328 mostlyclean) \
29329 || exit 1
29331 @endif tar
29333 .PHONY: maybe-clean-tar clean-tar
29334 maybe-clean-tar:
29335 @if tar
29336 maybe-clean-tar: clean-tar
29338 clean-tar:
29339 @: $(MAKE); $(unstage)
29340 @[ -f ./tar/Makefile ] || exit 0; \
29341 r=`${PWD_COMMAND}`; export r; \
29342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29343 $(HOST_EXPORTS) \
29344 for flag in $(EXTRA_HOST_FLAGS) ; do \
29345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29346 done; \
29347 echo "Doing clean in tar" ; \
29348 (cd $(HOST_SUBDIR)/tar && \
29349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29351 "RANLIB=$${RANLIB}" \
29352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29353 clean) \
29354 || exit 1
29356 @endif tar
29358 .PHONY: maybe-distclean-tar distclean-tar
29359 maybe-distclean-tar:
29360 @if tar
29361 maybe-distclean-tar: distclean-tar
29363 distclean-tar:
29364 @: $(MAKE); $(unstage)
29365 @[ -f ./tar/Makefile ] || exit 0; \
29366 r=`${PWD_COMMAND}`; export r; \
29367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29368 $(HOST_EXPORTS) \
29369 for flag in $(EXTRA_HOST_FLAGS) ; do \
29370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29371 done; \
29372 echo "Doing distclean in tar" ; \
29373 (cd $(HOST_SUBDIR)/tar && \
29374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29376 "RANLIB=$${RANLIB}" \
29377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29378 distclean) \
29379 || exit 1
29381 @endif tar
29383 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
29384 maybe-maintainer-clean-tar:
29385 @if tar
29386 maybe-maintainer-clean-tar: maintainer-clean-tar
29388 maintainer-clean-tar:
29389 @: $(MAKE); $(unstage)
29390 @[ -f ./tar/Makefile ] || exit 0; \
29391 r=`${PWD_COMMAND}`; export r; \
29392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29393 $(HOST_EXPORTS) \
29394 for flag in $(EXTRA_HOST_FLAGS) ; do \
29395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29396 done; \
29397 echo "Doing maintainer-clean in tar" ; \
29398 (cd $(HOST_SUBDIR)/tar && \
29399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29401 "RANLIB=$${RANLIB}" \
29402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29403 maintainer-clean) \
29404 || exit 1
29406 @endif tar
29410 .PHONY: configure-texinfo maybe-configure-texinfo
29411 maybe-configure-texinfo:
29412 @if gcc-bootstrap
29413 configure-texinfo: stage_current
29414 @endif gcc-bootstrap
29415 @if texinfo
29416 maybe-configure-texinfo: configure-texinfo
29417 configure-texinfo:
29418 @: $(MAKE); $(unstage)
29419 @r=`${PWD_COMMAND}`; export r; \
29420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29421 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
29422 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
29423 $(HOST_EXPORTS) \
29424 echo Configuring in $(HOST_SUBDIR)/texinfo; \
29425 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
29426 case $(srcdir) in \
29427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29428 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
29429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29430 esac; \
29431 srcdiroption="--srcdir=$${topdir}/texinfo"; \
29432 libsrcdir="$$s/texinfo"; \
29433 $(SHELL) $${libsrcdir}/configure \
29434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29435 --target=${target_alias} $${srcdiroption} \
29436 || exit 1
29437 @endif texinfo
29443 .PHONY: all-texinfo maybe-all-texinfo
29444 maybe-all-texinfo:
29445 @if gcc-bootstrap
29446 all-texinfo: stage_current
29447 @endif gcc-bootstrap
29448 @if texinfo
29449 TARGET-texinfo=all
29450 maybe-all-texinfo: all-texinfo
29451 all-texinfo: configure-texinfo
29452 @: $(MAKE); $(unstage)
29453 @r=`${PWD_COMMAND}`; export r; \
29454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29455 $(HOST_EXPORTS) \
29456 (cd $(HOST_SUBDIR)/texinfo && \
29457 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
29458 @endif texinfo
29463 .PHONY: check-texinfo maybe-check-texinfo
29464 maybe-check-texinfo:
29465 @if texinfo
29466 maybe-check-texinfo: check-texinfo
29468 check-texinfo:
29469 @: $(MAKE); $(unstage)
29470 @r=`${PWD_COMMAND}`; export r; \
29471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29472 $(HOST_EXPORTS) \
29473 (cd $(HOST_SUBDIR)/texinfo && \
29474 $(MAKE) $(FLAGS_TO_PASS) check)
29476 @endif texinfo
29478 .PHONY: install-texinfo maybe-install-texinfo
29479 maybe-install-texinfo:
29480 @if texinfo
29481 maybe-install-texinfo: install-texinfo
29483 install-texinfo:
29485 @endif texinfo
29487 # Other targets (info, dvi, pdf, etc.)
29489 .PHONY: maybe-info-texinfo info-texinfo
29490 maybe-info-texinfo:
29491 @if texinfo
29492 maybe-info-texinfo: info-texinfo
29494 info-texinfo: \
29495 configure-texinfo
29496 @: $(MAKE); $(unstage)
29497 @[ -f ./texinfo/Makefile ] || exit 0; \
29498 r=`${PWD_COMMAND}`; export r; \
29499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29500 $(HOST_EXPORTS) \
29501 for flag in $(EXTRA_HOST_FLAGS) ; do \
29502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29503 done; \
29504 echo "Doing info in texinfo" ; \
29505 (cd $(HOST_SUBDIR)/texinfo && \
29506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29508 "RANLIB=$${RANLIB}" \
29509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29510 info) \
29511 || exit 1
29513 @endif texinfo
29515 .PHONY: maybe-dvi-texinfo dvi-texinfo
29516 maybe-dvi-texinfo:
29517 @if texinfo
29518 maybe-dvi-texinfo: dvi-texinfo
29520 dvi-texinfo: \
29521 configure-texinfo
29522 @: $(MAKE); $(unstage)
29523 @[ -f ./texinfo/Makefile ] || exit 0; \
29524 r=`${PWD_COMMAND}`; export r; \
29525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29526 $(HOST_EXPORTS) \
29527 for flag in $(EXTRA_HOST_FLAGS) ; do \
29528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29529 done; \
29530 echo "Doing dvi in texinfo" ; \
29531 (cd $(HOST_SUBDIR)/texinfo && \
29532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29534 "RANLIB=$${RANLIB}" \
29535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29536 dvi) \
29537 || exit 1
29539 @endif texinfo
29541 .PHONY: maybe-pdf-texinfo pdf-texinfo
29542 maybe-pdf-texinfo:
29543 @if texinfo
29544 maybe-pdf-texinfo: pdf-texinfo
29546 pdf-texinfo: \
29547 configure-texinfo
29548 @: $(MAKE); $(unstage)
29549 @[ -f ./texinfo/Makefile ] || exit 0; \
29550 r=`${PWD_COMMAND}`; export r; \
29551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29552 $(HOST_EXPORTS) \
29553 for flag in $(EXTRA_HOST_FLAGS) ; do \
29554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29555 done; \
29556 echo "Doing pdf in texinfo" ; \
29557 (cd $(HOST_SUBDIR)/texinfo && \
29558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29560 "RANLIB=$${RANLIB}" \
29561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29562 pdf) \
29563 || exit 1
29565 @endif texinfo
29567 .PHONY: maybe-html-texinfo html-texinfo
29568 maybe-html-texinfo:
29569 @if texinfo
29570 maybe-html-texinfo: html-texinfo
29572 html-texinfo: \
29573 configure-texinfo
29574 @: $(MAKE); $(unstage)
29575 @[ -f ./texinfo/Makefile ] || exit 0; \
29576 r=`${PWD_COMMAND}`; export r; \
29577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29578 $(HOST_EXPORTS) \
29579 for flag in $(EXTRA_HOST_FLAGS) ; do \
29580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29581 done; \
29582 echo "Doing html in texinfo" ; \
29583 (cd $(HOST_SUBDIR)/texinfo && \
29584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29586 "RANLIB=$${RANLIB}" \
29587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29588 html) \
29589 || exit 1
29591 @endif texinfo
29593 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
29594 maybe-TAGS-texinfo:
29595 @if texinfo
29596 maybe-TAGS-texinfo: TAGS-texinfo
29598 TAGS-texinfo: \
29599 configure-texinfo
29600 @: $(MAKE); $(unstage)
29601 @[ -f ./texinfo/Makefile ] || exit 0; \
29602 r=`${PWD_COMMAND}`; export r; \
29603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 $(HOST_EXPORTS) \
29605 for flag in $(EXTRA_HOST_FLAGS) ; do \
29606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29607 done; \
29608 echo "Doing TAGS in texinfo" ; \
29609 (cd $(HOST_SUBDIR)/texinfo && \
29610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29612 "RANLIB=$${RANLIB}" \
29613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29614 TAGS) \
29615 || exit 1
29617 @endif texinfo
29619 .PHONY: maybe-install-info-texinfo install-info-texinfo
29620 maybe-install-info-texinfo:
29621 @if texinfo
29622 maybe-install-info-texinfo: install-info-texinfo
29624 install-info-texinfo: \
29625 configure-texinfo \
29626 info-texinfo
29627 @: $(MAKE); $(unstage)
29628 @[ -f ./texinfo/Makefile ] || exit 0; \
29629 r=`${PWD_COMMAND}`; export r; \
29630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29631 $(HOST_EXPORTS) \
29632 for flag in $(EXTRA_HOST_FLAGS) ; do \
29633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29634 done; \
29635 echo "Doing install-info in texinfo" ; \
29636 (cd $(HOST_SUBDIR)/texinfo && \
29637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29639 "RANLIB=$${RANLIB}" \
29640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29641 install-info) \
29642 || exit 1
29644 @endif texinfo
29646 .PHONY: maybe-install-html-texinfo install-html-texinfo
29647 maybe-install-html-texinfo:
29648 @if texinfo
29649 maybe-install-html-texinfo: install-html-texinfo
29651 install-html-texinfo: \
29652 configure-texinfo \
29653 html-texinfo
29654 @: $(MAKE); $(unstage)
29655 @[ -f ./texinfo/Makefile ] || exit 0; \
29656 r=`${PWD_COMMAND}`; export r; \
29657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29658 $(HOST_EXPORTS) \
29659 for flag in $(EXTRA_HOST_FLAGS) ; do \
29660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29661 done; \
29662 echo "Doing install-html in texinfo" ; \
29663 (cd $(HOST_SUBDIR)/texinfo && \
29664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29666 "RANLIB=$${RANLIB}" \
29667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29668 install-html) \
29669 || exit 1
29671 @endif texinfo
29673 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
29674 maybe-installcheck-texinfo:
29675 @if texinfo
29676 maybe-installcheck-texinfo: installcheck-texinfo
29678 installcheck-texinfo: \
29679 configure-texinfo
29680 @: $(MAKE); $(unstage)
29681 @[ -f ./texinfo/Makefile ] || exit 0; \
29682 r=`${PWD_COMMAND}`; export r; \
29683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29684 $(HOST_EXPORTS) \
29685 for flag in $(EXTRA_HOST_FLAGS) ; do \
29686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29687 done; \
29688 echo "Doing installcheck in texinfo" ; \
29689 (cd $(HOST_SUBDIR)/texinfo && \
29690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29692 "RANLIB=$${RANLIB}" \
29693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29694 installcheck) \
29695 || exit 1
29697 @endif texinfo
29699 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
29700 maybe-mostlyclean-texinfo:
29701 @if texinfo
29702 maybe-mostlyclean-texinfo: mostlyclean-texinfo
29704 mostlyclean-texinfo:
29705 @: $(MAKE); $(unstage)
29706 @[ -f ./texinfo/Makefile ] || exit 0; \
29707 r=`${PWD_COMMAND}`; export r; \
29708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29709 $(HOST_EXPORTS) \
29710 for flag in $(EXTRA_HOST_FLAGS) ; do \
29711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29712 done; \
29713 echo "Doing mostlyclean in texinfo" ; \
29714 (cd $(HOST_SUBDIR)/texinfo && \
29715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29717 "RANLIB=$${RANLIB}" \
29718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29719 mostlyclean) \
29720 || exit 1
29722 @endif texinfo
29724 .PHONY: maybe-clean-texinfo clean-texinfo
29725 maybe-clean-texinfo:
29726 @if texinfo
29727 maybe-clean-texinfo: clean-texinfo
29729 clean-texinfo:
29730 @: $(MAKE); $(unstage)
29731 @[ -f ./texinfo/Makefile ] || exit 0; \
29732 r=`${PWD_COMMAND}`; export r; \
29733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29734 $(HOST_EXPORTS) \
29735 for flag in $(EXTRA_HOST_FLAGS) ; do \
29736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29737 done; \
29738 echo "Doing clean in texinfo" ; \
29739 (cd $(HOST_SUBDIR)/texinfo && \
29740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29742 "RANLIB=$${RANLIB}" \
29743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29744 clean) \
29745 || exit 1
29747 @endif texinfo
29749 .PHONY: maybe-distclean-texinfo distclean-texinfo
29750 maybe-distclean-texinfo:
29751 @if texinfo
29752 maybe-distclean-texinfo: distclean-texinfo
29754 distclean-texinfo:
29755 @: $(MAKE); $(unstage)
29756 @[ -f ./texinfo/Makefile ] || exit 0; \
29757 r=`${PWD_COMMAND}`; export r; \
29758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(HOST_EXPORTS) \
29760 for flag in $(EXTRA_HOST_FLAGS) ; do \
29761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29762 done; \
29763 echo "Doing distclean in texinfo" ; \
29764 (cd $(HOST_SUBDIR)/texinfo && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29769 distclean) \
29770 || exit 1
29772 @endif texinfo
29774 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
29775 maybe-maintainer-clean-texinfo:
29776 @if texinfo
29777 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
29779 maintainer-clean-texinfo:
29780 @: $(MAKE); $(unstage)
29781 @[ -f ./texinfo/Makefile ] || exit 0; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29784 $(HOST_EXPORTS) \
29785 for flag in $(EXTRA_HOST_FLAGS) ; do \
29786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29787 done; \
29788 echo "Doing maintainer-clean in texinfo" ; \
29789 (cd $(HOST_SUBDIR)/texinfo && \
29790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29792 "RANLIB=$${RANLIB}" \
29793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29794 maintainer-clean) \
29795 || exit 1
29797 @endif texinfo
29801 .PHONY: configure-textutils maybe-configure-textutils
29802 maybe-configure-textutils:
29803 @if gcc-bootstrap
29804 configure-textutils: stage_current
29805 @endif gcc-bootstrap
29806 @if textutils
29807 maybe-configure-textutils: configure-textutils
29808 configure-textutils:
29809 @: $(MAKE); $(unstage)
29810 @r=`${PWD_COMMAND}`; export r; \
29811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29812 test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
29813 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
29814 $(HOST_EXPORTS) \
29815 echo Configuring in $(HOST_SUBDIR)/textutils; \
29816 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
29817 case $(srcdir) in \
29818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29819 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
29820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29821 esac; \
29822 srcdiroption="--srcdir=$${topdir}/textutils"; \
29823 libsrcdir="$$s/textutils"; \
29824 $(SHELL) $${libsrcdir}/configure \
29825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29826 --target=${target_alias} $${srcdiroption} \
29827 || exit 1
29828 @endif textutils
29834 .PHONY: all-textutils maybe-all-textutils
29835 maybe-all-textutils:
29836 @if gcc-bootstrap
29837 all-textutils: stage_current
29838 @endif gcc-bootstrap
29839 @if textutils
29840 TARGET-textutils=all
29841 maybe-all-textutils: all-textutils
29842 all-textutils: configure-textutils
29843 @: $(MAKE); $(unstage)
29844 @r=`${PWD_COMMAND}`; export r; \
29845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29846 $(HOST_EXPORTS) \
29847 (cd $(HOST_SUBDIR)/textutils && \
29848 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
29849 @endif textutils
29854 .PHONY: check-textutils maybe-check-textutils
29855 maybe-check-textutils:
29856 @if textutils
29857 maybe-check-textutils: check-textutils
29859 check-textutils:
29860 @: $(MAKE); $(unstage)
29861 @r=`${PWD_COMMAND}`; export r; \
29862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29863 $(HOST_EXPORTS) \
29864 (cd $(HOST_SUBDIR)/textutils && \
29865 $(MAKE) $(FLAGS_TO_PASS) check)
29867 @endif textutils
29869 .PHONY: install-textutils maybe-install-textutils
29870 maybe-install-textutils:
29871 @if textutils
29872 maybe-install-textutils: install-textutils
29874 install-textutils: installdirs
29875 @: $(MAKE); $(unstage)
29876 @r=`${PWD_COMMAND}`; export r; \
29877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29878 $(HOST_EXPORTS) \
29879 (cd $(HOST_SUBDIR)/textutils && \
29880 $(MAKE) $(FLAGS_TO_PASS) install)
29882 @endif textutils
29884 # Other targets (info, dvi, pdf, etc.)
29886 .PHONY: maybe-info-textutils info-textutils
29887 maybe-info-textutils:
29888 @if textutils
29889 maybe-info-textutils: info-textutils
29891 info-textutils: \
29892 configure-textutils
29893 @: $(MAKE); $(unstage)
29894 @[ -f ./textutils/Makefile ] || exit 0; \
29895 r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(HOST_EXPORTS) \
29898 for flag in $(EXTRA_HOST_FLAGS) ; do \
29899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29900 done; \
29901 echo "Doing info in textutils" ; \
29902 (cd $(HOST_SUBDIR)/textutils && \
29903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29905 "RANLIB=$${RANLIB}" \
29906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29907 info) \
29908 || exit 1
29910 @endif textutils
29912 .PHONY: maybe-dvi-textutils dvi-textutils
29913 maybe-dvi-textutils:
29914 @if textutils
29915 maybe-dvi-textutils: dvi-textutils
29917 dvi-textutils: \
29918 configure-textutils
29919 @: $(MAKE); $(unstage)
29920 @[ -f ./textutils/Makefile ] || exit 0; \
29921 r=`${PWD_COMMAND}`; export r; \
29922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29923 $(HOST_EXPORTS) \
29924 for flag in $(EXTRA_HOST_FLAGS) ; do \
29925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29926 done; \
29927 echo "Doing dvi in textutils" ; \
29928 (cd $(HOST_SUBDIR)/textutils && \
29929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29931 "RANLIB=$${RANLIB}" \
29932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29933 dvi) \
29934 || exit 1
29936 @endif textutils
29938 .PHONY: maybe-pdf-textutils pdf-textutils
29939 maybe-pdf-textutils:
29940 @if textutils
29941 maybe-pdf-textutils: pdf-textutils
29943 pdf-textutils: \
29944 configure-textutils
29945 @: $(MAKE); $(unstage)
29946 @[ -f ./textutils/Makefile ] || exit 0; \
29947 r=`${PWD_COMMAND}`; export r; \
29948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29949 $(HOST_EXPORTS) \
29950 for flag in $(EXTRA_HOST_FLAGS) ; do \
29951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29952 done; \
29953 echo "Doing pdf in textutils" ; \
29954 (cd $(HOST_SUBDIR)/textutils && \
29955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29957 "RANLIB=$${RANLIB}" \
29958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29959 pdf) \
29960 || exit 1
29962 @endif textutils
29964 .PHONY: maybe-html-textutils html-textutils
29965 maybe-html-textutils:
29966 @if textutils
29967 maybe-html-textutils: html-textutils
29969 html-textutils: \
29970 configure-textutils
29971 @: $(MAKE); $(unstage)
29972 @[ -f ./textutils/Makefile ] || exit 0; \
29973 r=`${PWD_COMMAND}`; export r; \
29974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29975 $(HOST_EXPORTS) \
29976 for flag in $(EXTRA_HOST_FLAGS) ; do \
29977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29978 done; \
29979 echo "Doing html in textutils" ; \
29980 (cd $(HOST_SUBDIR)/textutils && \
29981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29983 "RANLIB=$${RANLIB}" \
29984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29985 html) \
29986 || exit 1
29988 @endif textutils
29990 .PHONY: maybe-TAGS-textutils TAGS-textutils
29991 maybe-TAGS-textutils:
29992 @if textutils
29993 maybe-TAGS-textutils: TAGS-textutils
29995 TAGS-textutils: \
29996 configure-textutils
29997 @: $(MAKE); $(unstage)
29998 @[ -f ./textutils/Makefile ] || exit 0; \
29999 r=`${PWD_COMMAND}`; export r; \
30000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30001 $(HOST_EXPORTS) \
30002 for flag in $(EXTRA_HOST_FLAGS) ; do \
30003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30004 done; \
30005 echo "Doing TAGS in textutils" ; \
30006 (cd $(HOST_SUBDIR)/textutils && \
30007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30009 "RANLIB=$${RANLIB}" \
30010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30011 TAGS) \
30012 || exit 1
30014 @endif textutils
30016 .PHONY: maybe-install-info-textutils install-info-textutils
30017 maybe-install-info-textutils:
30018 @if textutils
30019 maybe-install-info-textutils: install-info-textutils
30021 install-info-textutils: \
30022 configure-textutils \
30023 info-textutils
30024 @: $(MAKE); $(unstage)
30025 @[ -f ./textutils/Makefile ] || exit 0; \
30026 r=`${PWD_COMMAND}`; export r; \
30027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30028 $(HOST_EXPORTS) \
30029 for flag in $(EXTRA_HOST_FLAGS) ; do \
30030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30031 done; \
30032 echo "Doing install-info in textutils" ; \
30033 (cd $(HOST_SUBDIR)/textutils && \
30034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30036 "RANLIB=$${RANLIB}" \
30037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30038 install-info) \
30039 || exit 1
30041 @endif textutils
30043 .PHONY: maybe-install-html-textutils install-html-textutils
30044 maybe-install-html-textutils:
30045 @if textutils
30046 maybe-install-html-textutils: install-html-textutils
30048 install-html-textutils: \
30049 configure-textutils \
30050 html-textutils
30051 @: $(MAKE); $(unstage)
30052 @[ -f ./textutils/Makefile ] || exit 0; \
30053 r=`${PWD_COMMAND}`; export r; \
30054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30055 $(HOST_EXPORTS) \
30056 for flag in $(EXTRA_HOST_FLAGS) ; do \
30057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30058 done; \
30059 echo "Doing install-html in textutils" ; \
30060 (cd $(HOST_SUBDIR)/textutils && \
30061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30063 "RANLIB=$${RANLIB}" \
30064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30065 install-html) \
30066 || exit 1
30068 @endif textutils
30070 .PHONY: maybe-installcheck-textutils installcheck-textutils
30071 maybe-installcheck-textutils:
30072 @if textutils
30073 maybe-installcheck-textutils: installcheck-textutils
30075 installcheck-textutils: \
30076 configure-textutils
30077 @: $(MAKE); $(unstage)
30078 @[ -f ./textutils/Makefile ] || exit 0; \
30079 r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30081 $(HOST_EXPORTS) \
30082 for flag in $(EXTRA_HOST_FLAGS) ; do \
30083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30084 done; \
30085 echo "Doing installcheck in textutils" ; \
30086 (cd $(HOST_SUBDIR)/textutils && \
30087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30089 "RANLIB=$${RANLIB}" \
30090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30091 installcheck) \
30092 || exit 1
30094 @endif textutils
30096 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
30097 maybe-mostlyclean-textutils:
30098 @if textutils
30099 maybe-mostlyclean-textutils: mostlyclean-textutils
30101 mostlyclean-textutils:
30102 @: $(MAKE); $(unstage)
30103 @[ -f ./textutils/Makefile ] || exit 0; \
30104 r=`${PWD_COMMAND}`; export r; \
30105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30106 $(HOST_EXPORTS) \
30107 for flag in $(EXTRA_HOST_FLAGS) ; do \
30108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30109 done; \
30110 echo "Doing mostlyclean in textutils" ; \
30111 (cd $(HOST_SUBDIR)/textutils && \
30112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30114 "RANLIB=$${RANLIB}" \
30115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30116 mostlyclean) \
30117 || exit 1
30119 @endif textutils
30121 .PHONY: maybe-clean-textutils clean-textutils
30122 maybe-clean-textutils:
30123 @if textutils
30124 maybe-clean-textutils: clean-textutils
30126 clean-textutils:
30127 @: $(MAKE); $(unstage)
30128 @[ -f ./textutils/Makefile ] || exit 0; \
30129 r=`${PWD_COMMAND}`; export r; \
30130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30131 $(HOST_EXPORTS) \
30132 for flag in $(EXTRA_HOST_FLAGS) ; do \
30133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30134 done; \
30135 echo "Doing clean in textutils" ; \
30136 (cd $(HOST_SUBDIR)/textutils && \
30137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30139 "RANLIB=$${RANLIB}" \
30140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30141 clean) \
30142 || exit 1
30144 @endif textutils
30146 .PHONY: maybe-distclean-textutils distclean-textutils
30147 maybe-distclean-textutils:
30148 @if textutils
30149 maybe-distclean-textutils: distclean-textutils
30151 distclean-textutils:
30152 @: $(MAKE); $(unstage)
30153 @[ -f ./textutils/Makefile ] || exit 0; \
30154 r=`${PWD_COMMAND}`; export r; \
30155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30156 $(HOST_EXPORTS) \
30157 for flag in $(EXTRA_HOST_FLAGS) ; do \
30158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30159 done; \
30160 echo "Doing distclean in textutils" ; \
30161 (cd $(HOST_SUBDIR)/textutils && \
30162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30164 "RANLIB=$${RANLIB}" \
30165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30166 distclean) \
30167 || exit 1
30169 @endif textutils
30171 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
30172 maybe-maintainer-clean-textutils:
30173 @if textutils
30174 maybe-maintainer-clean-textutils: maintainer-clean-textutils
30176 maintainer-clean-textutils:
30177 @: $(MAKE); $(unstage)
30178 @[ -f ./textutils/Makefile ] || exit 0; \
30179 r=`${PWD_COMMAND}`; export r; \
30180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30181 $(HOST_EXPORTS) \
30182 for flag in $(EXTRA_HOST_FLAGS) ; do \
30183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30184 done; \
30185 echo "Doing maintainer-clean in textutils" ; \
30186 (cd $(HOST_SUBDIR)/textutils && \
30187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30189 "RANLIB=$${RANLIB}" \
30190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30191 maintainer-clean) \
30192 || exit 1
30194 @endif textutils
30198 .PHONY: configure-time maybe-configure-time
30199 maybe-configure-time:
30200 @if gcc-bootstrap
30201 configure-time: stage_current
30202 @endif gcc-bootstrap
30203 @if time
30204 maybe-configure-time: configure-time
30205 configure-time:
30206 @: $(MAKE); $(unstage)
30207 @r=`${PWD_COMMAND}`; export r; \
30208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30209 test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
30210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
30211 $(HOST_EXPORTS) \
30212 echo Configuring in $(HOST_SUBDIR)/time; \
30213 cd "$(HOST_SUBDIR)/time" || exit 1; \
30214 case $(srcdir) in \
30215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30216 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
30217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30218 esac; \
30219 srcdiroption="--srcdir=$${topdir}/time"; \
30220 libsrcdir="$$s/time"; \
30221 $(SHELL) $${libsrcdir}/configure \
30222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30223 --target=${target_alias} $${srcdiroption} \
30224 || exit 1
30225 @endif time
30231 .PHONY: all-time maybe-all-time
30232 maybe-all-time:
30233 @if gcc-bootstrap
30234 all-time: stage_current
30235 @endif gcc-bootstrap
30236 @if time
30237 TARGET-time=all
30238 maybe-all-time: all-time
30239 all-time: configure-time
30240 @: $(MAKE); $(unstage)
30241 @r=`${PWD_COMMAND}`; export r; \
30242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30243 $(HOST_EXPORTS) \
30244 (cd $(HOST_SUBDIR)/time && \
30245 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
30246 @endif time
30251 .PHONY: check-time maybe-check-time
30252 maybe-check-time:
30253 @if time
30254 maybe-check-time: check-time
30256 check-time:
30257 @: $(MAKE); $(unstage)
30258 @r=`${PWD_COMMAND}`; export r; \
30259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30260 $(HOST_EXPORTS) \
30261 (cd $(HOST_SUBDIR)/time && \
30262 $(MAKE) $(FLAGS_TO_PASS) check)
30264 @endif time
30266 .PHONY: install-time maybe-install-time
30267 maybe-install-time:
30268 @if time
30269 maybe-install-time: install-time
30271 install-time: installdirs
30272 @: $(MAKE); $(unstage)
30273 @r=`${PWD_COMMAND}`; export r; \
30274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30275 $(HOST_EXPORTS) \
30276 (cd $(HOST_SUBDIR)/time && \
30277 $(MAKE) $(FLAGS_TO_PASS) install)
30279 @endif time
30281 # Other targets (info, dvi, pdf, etc.)
30283 .PHONY: maybe-info-time info-time
30284 maybe-info-time:
30285 @if time
30286 maybe-info-time: info-time
30288 info-time: \
30289 configure-time
30290 @: $(MAKE); $(unstage)
30291 @[ -f ./time/Makefile ] || exit 0; \
30292 r=`${PWD_COMMAND}`; export r; \
30293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30294 $(HOST_EXPORTS) \
30295 for flag in $(EXTRA_HOST_FLAGS) ; do \
30296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30297 done; \
30298 echo "Doing info in time" ; \
30299 (cd $(HOST_SUBDIR)/time && \
30300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30302 "RANLIB=$${RANLIB}" \
30303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30304 info) \
30305 || exit 1
30307 @endif time
30309 .PHONY: maybe-dvi-time dvi-time
30310 maybe-dvi-time:
30311 @if time
30312 maybe-dvi-time: dvi-time
30314 dvi-time: \
30315 configure-time
30316 @: $(MAKE); $(unstage)
30317 @[ -f ./time/Makefile ] || exit 0; \
30318 r=`${PWD_COMMAND}`; export r; \
30319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30320 $(HOST_EXPORTS) \
30321 for flag in $(EXTRA_HOST_FLAGS) ; do \
30322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30323 done; \
30324 echo "Doing dvi in time" ; \
30325 (cd $(HOST_SUBDIR)/time && \
30326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30328 "RANLIB=$${RANLIB}" \
30329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30330 dvi) \
30331 || exit 1
30333 @endif time
30335 .PHONY: maybe-pdf-time pdf-time
30336 maybe-pdf-time:
30337 @if time
30338 maybe-pdf-time: pdf-time
30340 pdf-time: \
30341 configure-time
30342 @: $(MAKE); $(unstage)
30343 @[ -f ./time/Makefile ] || exit 0; \
30344 r=`${PWD_COMMAND}`; export r; \
30345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30346 $(HOST_EXPORTS) \
30347 for flag in $(EXTRA_HOST_FLAGS) ; do \
30348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30349 done; \
30350 echo "Doing pdf in time" ; \
30351 (cd $(HOST_SUBDIR)/time && \
30352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30354 "RANLIB=$${RANLIB}" \
30355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30356 pdf) \
30357 || exit 1
30359 @endif time
30361 .PHONY: maybe-html-time html-time
30362 maybe-html-time:
30363 @if time
30364 maybe-html-time: html-time
30366 html-time: \
30367 configure-time
30368 @: $(MAKE); $(unstage)
30369 @[ -f ./time/Makefile ] || exit 0; \
30370 r=`${PWD_COMMAND}`; export r; \
30371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30372 $(HOST_EXPORTS) \
30373 for flag in $(EXTRA_HOST_FLAGS) ; do \
30374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30375 done; \
30376 echo "Doing html in time" ; \
30377 (cd $(HOST_SUBDIR)/time && \
30378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30380 "RANLIB=$${RANLIB}" \
30381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30382 html) \
30383 || exit 1
30385 @endif time
30387 .PHONY: maybe-TAGS-time TAGS-time
30388 maybe-TAGS-time:
30389 @if time
30390 maybe-TAGS-time: TAGS-time
30392 TAGS-time: \
30393 configure-time
30394 @: $(MAKE); $(unstage)
30395 @[ -f ./time/Makefile ] || exit 0; \
30396 r=`${PWD_COMMAND}`; export r; \
30397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30398 $(HOST_EXPORTS) \
30399 for flag in $(EXTRA_HOST_FLAGS) ; do \
30400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30401 done; \
30402 echo "Doing TAGS in time" ; \
30403 (cd $(HOST_SUBDIR)/time && \
30404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30406 "RANLIB=$${RANLIB}" \
30407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30408 TAGS) \
30409 || exit 1
30411 @endif time
30413 .PHONY: maybe-install-info-time install-info-time
30414 maybe-install-info-time:
30415 @if time
30416 maybe-install-info-time: install-info-time
30418 install-info-time: \
30419 configure-time \
30420 info-time
30421 @: $(MAKE); $(unstage)
30422 @[ -f ./time/Makefile ] || exit 0; \
30423 r=`${PWD_COMMAND}`; export r; \
30424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30425 $(HOST_EXPORTS) \
30426 for flag in $(EXTRA_HOST_FLAGS) ; do \
30427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30428 done; \
30429 echo "Doing install-info in time" ; \
30430 (cd $(HOST_SUBDIR)/time && \
30431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30433 "RANLIB=$${RANLIB}" \
30434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30435 install-info) \
30436 || exit 1
30438 @endif time
30440 .PHONY: maybe-install-html-time install-html-time
30441 maybe-install-html-time:
30442 @if time
30443 maybe-install-html-time: install-html-time
30445 install-html-time: \
30446 configure-time \
30447 html-time
30448 @: $(MAKE); $(unstage)
30449 @[ -f ./time/Makefile ] || exit 0; \
30450 r=`${PWD_COMMAND}`; export r; \
30451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30452 $(HOST_EXPORTS) \
30453 for flag in $(EXTRA_HOST_FLAGS) ; do \
30454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30455 done; \
30456 echo "Doing install-html in time" ; \
30457 (cd $(HOST_SUBDIR)/time && \
30458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30460 "RANLIB=$${RANLIB}" \
30461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30462 install-html) \
30463 || exit 1
30465 @endif time
30467 .PHONY: maybe-installcheck-time installcheck-time
30468 maybe-installcheck-time:
30469 @if time
30470 maybe-installcheck-time: installcheck-time
30472 installcheck-time: \
30473 configure-time
30474 @: $(MAKE); $(unstage)
30475 @[ -f ./time/Makefile ] || exit 0; \
30476 r=`${PWD_COMMAND}`; export r; \
30477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30478 $(HOST_EXPORTS) \
30479 for flag in $(EXTRA_HOST_FLAGS) ; do \
30480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30481 done; \
30482 echo "Doing installcheck in time" ; \
30483 (cd $(HOST_SUBDIR)/time && \
30484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30486 "RANLIB=$${RANLIB}" \
30487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30488 installcheck) \
30489 || exit 1
30491 @endif time
30493 .PHONY: maybe-mostlyclean-time mostlyclean-time
30494 maybe-mostlyclean-time:
30495 @if time
30496 maybe-mostlyclean-time: mostlyclean-time
30498 mostlyclean-time:
30499 @: $(MAKE); $(unstage)
30500 @[ -f ./time/Makefile ] || exit 0; \
30501 r=`${PWD_COMMAND}`; export r; \
30502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30503 $(HOST_EXPORTS) \
30504 for flag in $(EXTRA_HOST_FLAGS) ; do \
30505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30506 done; \
30507 echo "Doing mostlyclean in time" ; \
30508 (cd $(HOST_SUBDIR)/time && \
30509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30511 "RANLIB=$${RANLIB}" \
30512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30513 mostlyclean) \
30514 || exit 1
30516 @endif time
30518 .PHONY: maybe-clean-time clean-time
30519 maybe-clean-time:
30520 @if time
30521 maybe-clean-time: clean-time
30523 clean-time:
30524 @: $(MAKE); $(unstage)
30525 @[ -f ./time/Makefile ] || exit 0; \
30526 r=`${PWD_COMMAND}`; export r; \
30527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30528 $(HOST_EXPORTS) \
30529 for flag in $(EXTRA_HOST_FLAGS) ; do \
30530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30531 done; \
30532 echo "Doing clean in time" ; \
30533 (cd $(HOST_SUBDIR)/time && \
30534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30536 "RANLIB=$${RANLIB}" \
30537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30538 clean) \
30539 || exit 1
30541 @endif time
30543 .PHONY: maybe-distclean-time distclean-time
30544 maybe-distclean-time:
30545 @if time
30546 maybe-distclean-time: distclean-time
30548 distclean-time:
30549 @: $(MAKE); $(unstage)
30550 @[ -f ./time/Makefile ] || exit 0; \
30551 r=`${PWD_COMMAND}`; export r; \
30552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30553 $(HOST_EXPORTS) \
30554 for flag in $(EXTRA_HOST_FLAGS) ; do \
30555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30556 done; \
30557 echo "Doing distclean in time" ; \
30558 (cd $(HOST_SUBDIR)/time && \
30559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30561 "RANLIB=$${RANLIB}" \
30562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30563 distclean) \
30564 || exit 1
30566 @endif time
30568 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
30569 maybe-maintainer-clean-time:
30570 @if time
30571 maybe-maintainer-clean-time: maintainer-clean-time
30573 maintainer-clean-time:
30574 @: $(MAKE); $(unstage)
30575 @[ -f ./time/Makefile ] || exit 0; \
30576 r=`${PWD_COMMAND}`; export r; \
30577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30578 $(HOST_EXPORTS) \
30579 for flag in $(EXTRA_HOST_FLAGS) ; do \
30580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30581 done; \
30582 echo "Doing maintainer-clean in time" ; \
30583 (cd $(HOST_SUBDIR)/time && \
30584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30586 "RANLIB=$${RANLIB}" \
30587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30588 maintainer-clean) \
30589 || exit 1
30591 @endif time
30595 .PHONY: configure-uudecode maybe-configure-uudecode
30596 maybe-configure-uudecode:
30597 @if gcc-bootstrap
30598 configure-uudecode: stage_current
30599 @endif gcc-bootstrap
30600 @if uudecode
30601 maybe-configure-uudecode: configure-uudecode
30602 configure-uudecode:
30603 @: $(MAKE); $(unstage)
30604 @r=`${PWD_COMMAND}`; export r; \
30605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30606 test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
30607 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
30608 $(HOST_EXPORTS) \
30609 echo Configuring in $(HOST_SUBDIR)/uudecode; \
30610 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
30611 case $(srcdir) in \
30612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30613 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
30614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30615 esac; \
30616 srcdiroption="--srcdir=$${topdir}/uudecode"; \
30617 libsrcdir="$$s/uudecode"; \
30618 $(SHELL) $${libsrcdir}/configure \
30619 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30620 --target=${target_alias} $${srcdiroption} \
30621 || exit 1
30622 @endif uudecode
30628 .PHONY: all-uudecode maybe-all-uudecode
30629 maybe-all-uudecode:
30630 @if gcc-bootstrap
30631 all-uudecode: stage_current
30632 @endif gcc-bootstrap
30633 @if uudecode
30634 TARGET-uudecode=all
30635 maybe-all-uudecode: all-uudecode
30636 all-uudecode: configure-uudecode
30637 @: $(MAKE); $(unstage)
30638 @r=`${PWD_COMMAND}`; export r; \
30639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30640 $(HOST_EXPORTS) \
30641 (cd $(HOST_SUBDIR)/uudecode && \
30642 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
30643 @endif uudecode
30648 .PHONY: check-uudecode maybe-check-uudecode
30649 maybe-check-uudecode:
30650 @if uudecode
30651 maybe-check-uudecode: check-uudecode
30653 check-uudecode:
30654 @: $(MAKE); $(unstage)
30655 @r=`${PWD_COMMAND}`; export r; \
30656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30657 $(HOST_EXPORTS) \
30658 (cd $(HOST_SUBDIR)/uudecode && \
30659 $(MAKE) $(FLAGS_TO_PASS) check)
30661 @endif uudecode
30663 .PHONY: install-uudecode maybe-install-uudecode
30664 maybe-install-uudecode:
30665 @if uudecode
30666 maybe-install-uudecode: install-uudecode
30668 install-uudecode: installdirs
30669 @: $(MAKE); $(unstage)
30670 @r=`${PWD_COMMAND}`; export r; \
30671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30672 $(HOST_EXPORTS) \
30673 (cd $(HOST_SUBDIR)/uudecode && \
30674 $(MAKE) $(FLAGS_TO_PASS) install)
30676 @endif uudecode
30678 # Other targets (info, dvi, pdf, etc.)
30680 .PHONY: maybe-info-uudecode info-uudecode
30681 maybe-info-uudecode:
30682 @if uudecode
30683 maybe-info-uudecode: info-uudecode
30685 info-uudecode: \
30686 configure-uudecode
30687 @: $(MAKE); $(unstage)
30688 @[ -f ./uudecode/Makefile ] || exit 0; \
30689 r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 $(HOST_EXPORTS) \
30692 for flag in $(EXTRA_HOST_FLAGS) ; do \
30693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30694 done; \
30695 echo "Doing info in uudecode" ; \
30696 (cd $(HOST_SUBDIR)/uudecode && \
30697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30699 "RANLIB=$${RANLIB}" \
30700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30701 info) \
30702 || exit 1
30704 @endif uudecode
30706 .PHONY: maybe-dvi-uudecode dvi-uudecode
30707 maybe-dvi-uudecode:
30708 @if uudecode
30709 maybe-dvi-uudecode: dvi-uudecode
30711 dvi-uudecode: \
30712 configure-uudecode
30713 @: $(MAKE); $(unstage)
30714 @[ -f ./uudecode/Makefile ] || exit 0; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(HOST_EXPORTS) \
30718 for flag in $(EXTRA_HOST_FLAGS) ; do \
30719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30720 done; \
30721 echo "Doing dvi in uudecode" ; \
30722 (cd $(HOST_SUBDIR)/uudecode && \
30723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30725 "RANLIB=$${RANLIB}" \
30726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30727 dvi) \
30728 || exit 1
30730 @endif uudecode
30732 .PHONY: maybe-pdf-uudecode pdf-uudecode
30733 maybe-pdf-uudecode:
30734 @if uudecode
30735 maybe-pdf-uudecode: pdf-uudecode
30737 pdf-uudecode: \
30738 configure-uudecode
30739 @: $(MAKE); $(unstage)
30740 @[ -f ./uudecode/Makefile ] || exit 0; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(HOST_EXPORTS) \
30744 for flag in $(EXTRA_HOST_FLAGS) ; do \
30745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30746 done; \
30747 echo "Doing pdf in uudecode" ; \
30748 (cd $(HOST_SUBDIR)/uudecode && \
30749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30751 "RANLIB=$${RANLIB}" \
30752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30753 pdf) \
30754 || exit 1
30756 @endif uudecode
30758 .PHONY: maybe-html-uudecode html-uudecode
30759 maybe-html-uudecode:
30760 @if uudecode
30761 maybe-html-uudecode: html-uudecode
30763 html-uudecode: \
30764 configure-uudecode
30765 @: $(MAKE); $(unstage)
30766 @[ -f ./uudecode/Makefile ] || exit 0; \
30767 r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(HOST_EXPORTS) \
30770 for flag in $(EXTRA_HOST_FLAGS) ; do \
30771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30772 done; \
30773 echo "Doing html in uudecode" ; \
30774 (cd $(HOST_SUBDIR)/uudecode && \
30775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30777 "RANLIB=$${RANLIB}" \
30778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30779 html) \
30780 || exit 1
30782 @endif uudecode
30784 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
30785 maybe-TAGS-uudecode:
30786 @if uudecode
30787 maybe-TAGS-uudecode: TAGS-uudecode
30789 TAGS-uudecode: \
30790 configure-uudecode
30791 @: $(MAKE); $(unstage)
30792 @[ -f ./uudecode/Makefile ] || exit 0; \
30793 r=`${PWD_COMMAND}`; export r; \
30794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30795 $(HOST_EXPORTS) \
30796 for flag in $(EXTRA_HOST_FLAGS) ; do \
30797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30798 done; \
30799 echo "Doing TAGS in uudecode" ; \
30800 (cd $(HOST_SUBDIR)/uudecode && \
30801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30803 "RANLIB=$${RANLIB}" \
30804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30805 TAGS) \
30806 || exit 1
30808 @endif uudecode
30810 .PHONY: maybe-install-info-uudecode install-info-uudecode
30811 maybe-install-info-uudecode:
30812 @if uudecode
30813 maybe-install-info-uudecode: install-info-uudecode
30815 install-info-uudecode: \
30816 configure-uudecode \
30817 info-uudecode
30818 @: $(MAKE); $(unstage)
30819 @[ -f ./uudecode/Makefile ] || exit 0; \
30820 r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 $(HOST_EXPORTS) \
30823 for flag in $(EXTRA_HOST_FLAGS) ; do \
30824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30825 done; \
30826 echo "Doing install-info in uudecode" ; \
30827 (cd $(HOST_SUBDIR)/uudecode && \
30828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30830 "RANLIB=$${RANLIB}" \
30831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30832 install-info) \
30833 || exit 1
30835 @endif uudecode
30837 .PHONY: maybe-install-html-uudecode install-html-uudecode
30838 maybe-install-html-uudecode:
30839 @if uudecode
30840 maybe-install-html-uudecode: install-html-uudecode
30842 install-html-uudecode: \
30843 configure-uudecode \
30844 html-uudecode
30845 @: $(MAKE); $(unstage)
30846 @[ -f ./uudecode/Makefile ] || exit 0; \
30847 r=`${PWD_COMMAND}`; export r; \
30848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30849 $(HOST_EXPORTS) \
30850 for flag in $(EXTRA_HOST_FLAGS) ; do \
30851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30852 done; \
30853 echo "Doing install-html in uudecode" ; \
30854 (cd $(HOST_SUBDIR)/uudecode && \
30855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30857 "RANLIB=$${RANLIB}" \
30858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30859 install-html) \
30860 || exit 1
30862 @endif uudecode
30864 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
30865 maybe-installcheck-uudecode:
30866 @if uudecode
30867 maybe-installcheck-uudecode: installcheck-uudecode
30869 installcheck-uudecode: \
30870 configure-uudecode
30871 @: $(MAKE); $(unstage)
30872 @[ -f ./uudecode/Makefile ] || exit 0; \
30873 r=`${PWD_COMMAND}`; export r; \
30874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30875 $(HOST_EXPORTS) \
30876 for flag in $(EXTRA_HOST_FLAGS) ; do \
30877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30878 done; \
30879 echo "Doing installcheck in uudecode" ; \
30880 (cd $(HOST_SUBDIR)/uudecode && \
30881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30883 "RANLIB=$${RANLIB}" \
30884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30885 installcheck) \
30886 || exit 1
30888 @endif uudecode
30890 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
30891 maybe-mostlyclean-uudecode:
30892 @if uudecode
30893 maybe-mostlyclean-uudecode: mostlyclean-uudecode
30895 mostlyclean-uudecode:
30896 @: $(MAKE); $(unstage)
30897 @[ -f ./uudecode/Makefile ] || exit 0; \
30898 r=`${PWD_COMMAND}`; export r; \
30899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30900 $(HOST_EXPORTS) \
30901 for flag in $(EXTRA_HOST_FLAGS) ; do \
30902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30903 done; \
30904 echo "Doing mostlyclean in uudecode" ; \
30905 (cd $(HOST_SUBDIR)/uudecode && \
30906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30908 "RANLIB=$${RANLIB}" \
30909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30910 mostlyclean) \
30911 || exit 1
30913 @endif uudecode
30915 .PHONY: maybe-clean-uudecode clean-uudecode
30916 maybe-clean-uudecode:
30917 @if uudecode
30918 maybe-clean-uudecode: clean-uudecode
30920 clean-uudecode:
30921 @: $(MAKE); $(unstage)
30922 @[ -f ./uudecode/Makefile ] || exit 0; \
30923 r=`${PWD_COMMAND}`; export r; \
30924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30925 $(HOST_EXPORTS) \
30926 for flag in $(EXTRA_HOST_FLAGS) ; do \
30927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30928 done; \
30929 echo "Doing clean in uudecode" ; \
30930 (cd $(HOST_SUBDIR)/uudecode && \
30931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30933 "RANLIB=$${RANLIB}" \
30934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30935 clean) \
30936 || exit 1
30938 @endif uudecode
30940 .PHONY: maybe-distclean-uudecode distclean-uudecode
30941 maybe-distclean-uudecode:
30942 @if uudecode
30943 maybe-distclean-uudecode: distclean-uudecode
30945 distclean-uudecode:
30946 @: $(MAKE); $(unstage)
30947 @[ -f ./uudecode/Makefile ] || exit 0; \
30948 r=`${PWD_COMMAND}`; export r; \
30949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30950 $(HOST_EXPORTS) \
30951 for flag in $(EXTRA_HOST_FLAGS) ; do \
30952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30953 done; \
30954 echo "Doing distclean in uudecode" ; \
30955 (cd $(HOST_SUBDIR)/uudecode && \
30956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30958 "RANLIB=$${RANLIB}" \
30959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30960 distclean) \
30961 || exit 1
30963 @endif uudecode
30965 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
30966 maybe-maintainer-clean-uudecode:
30967 @if uudecode
30968 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
30970 maintainer-clean-uudecode:
30971 @: $(MAKE); $(unstage)
30972 @[ -f ./uudecode/Makefile ] || exit 0; \
30973 r=`${PWD_COMMAND}`; export r; \
30974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30975 $(HOST_EXPORTS) \
30976 for flag in $(EXTRA_HOST_FLAGS) ; do \
30977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30978 done; \
30979 echo "Doing maintainer-clean in uudecode" ; \
30980 (cd $(HOST_SUBDIR)/uudecode && \
30981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30983 "RANLIB=$${RANLIB}" \
30984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30985 maintainer-clean) \
30986 || exit 1
30988 @endif uudecode
30992 .PHONY: configure-wdiff maybe-configure-wdiff
30993 maybe-configure-wdiff:
30994 @if gcc-bootstrap
30995 configure-wdiff: stage_current
30996 @endif gcc-bootstrap
30997 @if wdiff
30998 maybe-configure-wdiff: configure-wdiff
30999 configure-wdiff:
31000 @: $(MAKE); $(unstage)
31001 @r=`${PWD_COMMAND}`; export r; \
31002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31003 test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
31004 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
31005 $(HOST_EXPORTS) \
31006 echo Configuring in $(HOST_SUBDIR)/wdiff; \
31007 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
31008 case $(srcdir) in \
31009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31010 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
31011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31012 esac; \
31013 srcdiroption="--srcdir=$${topdir}/wdiff"; \
31014 libsrcdir="$$s/wdiff"; \
31015 $(SHELL) $${libsrcdir}/configure \
31016 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31017 --target=${target_alias} $${srcdiroption} \
31018 || exit 1
31019 @endif wdiff
31025 .PHONY: all-wdiff maybe-all-wdiff
31026 maybe-all-wdiff:
31027 @if gcc-bootstrap
31028 all-wdiff: stage_current
31029 @endif gcc-bootstrap
31030 @if wdiff
31031 TARGET-wdiff=all
31032 maybe-all-wdiff: all-wdiff
31033 all-wdiff: configure-wdiff
31034 @: $(MAKE); $(unstage)
31035 @r=`${PWD_COMMAND}`; export r; \
31036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31037 $(HOST_EXPORTS) \
31038 (cd $(HOST_SUBDIR)/wdiff && \
31039 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
31040 @endif wdiff
31045 .PHONY: check-wdiff maybe-check-wdiff
31046 maybe-check-wdiff:
31047 @if wdiff
31048 maybe-check-wdiff: check-wdiff
31050 check-wdiff:
31051 @: $(MAKE); $(unstage)
31052 @r=`${PWD_COMMAND}`; export r; \
31053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31054 $(HOST_EXPORTS) \
31055 (cd $(HOST_SUBDIR)/wdiff && \
31056 $(MAKE) $(FLAGS_TO_PASS) check)
31058 @endif wdiff
31060 .PHONY: install-wdiff maybe-install-wdiff
31061 maybe-install-wdiff:
31062 @if wdiff
31063 maybe-install-wdiff: install-wdiff
31065 install-wdiff: installdirs
31066 @: $(MAKE); $(unstage)
31067 @r=`${PWD_COMMAND}`; export r; \
31068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31069 $(HOST_EXPORTS) \
31070 (cd $(HOST_SUBDIR)/wdiff && \
31071 $(MAKE) $(FLAGS_TO_PASS) install)
31073 @endif wdiff
31075 # Other targets (info, dvi, pdf, etc.)
31077 .PHONY: maybe-info-wdiff info-wdiff
31078 maybe-info-wdiff:
31079 @if wdiff
31080 maybe-info-wdiff: info-wdiff
31082 info-wdiff: \
31083 configure-wdiff
31084 @: $(MAKE); $(unstage)
31085 @[ -f ./wdiff/Makefile ] || exit 0; \
31086 r=`${PWD_COMMAND}`; export r; \
31087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31088 $(HOST_EXPORTS) \
31089 for flag in $(EXTRA_HOST_FLAGS) ; do \
31090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31091 done; \
31092 echo "Doing info in wdiff" ; \
31093 (cd $(HOST_SUBDIR)/wdiff && \
31094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31096 "RANLIB=$${RANLIB}" \
31097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31098 info) \
31099 || exit 1
31101 @endif wdiff
31103 .PHONY: maybe-dvi-wdiff dvi-wdiff
31104 maybe-dvi-wdiff:
31105 @if wdiff
31106 maybe-dvi-wdiff: dvi-wdiff
31108 dvi-wdiff: \
31109 configure-wdiff
31110 @: $(MAKE); $(unstage)
31111 @[ -f ./wdiff/Makefile ] || exit 0; \
31112 r=`${PWD_COMMAND}`; export r; \
31113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31114 $(HOST_EXPORTS) \
31115 for flag in $(EXTRA_HOST_FLAGS) ; do \
31116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31117 done; \
31118 echo "Doing dvi in wdiff" ; \
31119 (cd $(HOST_SUBDIR)/wdiff && \
31120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31122 "RANLIB=$${RANLIB}" \
31123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31124 dvi) \
31125 || exit 1
31127 @endif wdiff
31129 .PHONY: maybe-pdf-wdiff pdf-wdiff
31130 maybe-pdf-wdiff:
31131 @if wdiff
31132 maybe-pdf-wdiff: pdf-wdiff
31134 pdf-wdiff: \
31135 configure-wdiff
31136 @: $(MAKE); $(unstage)
31137 @[ -f ./wdiff/Makefile ] || exit 0; \
31138 r=`${PWD_COMMAND}`; export r; \
31139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31140 $(HOST_EXPORTS) \
31141 for flag in $(EXTRA_HOST_FLAGS) ; do \
31142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31143 done; \
31144 echo "Doing pdf in wdiff" ; \
31145 (cd $(HOST_SUBDIR)/wdiff && \
31146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31148 "RANLIB=$${RANLIB}" \
31149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31150 pdf) \
31151 || exit 1
31153 @endif wdiff
31155 .PHONY: maybe-html-wdiff html-wdiff
31156 maybe-html-wdiff:
31157 @if wdiff
31158 maybe-html-wdiff: html-wdiff
31160 html-wdiff: \
31161 configure-wdiff
31162 @: $(MAKE); $(unstage)
31163 @[ -f ./wdiff/Makefile ] || exit 0; \
31164 r=`${PWD_COMMAND}`; export r; \
31165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31166 $(HOST_EXPORTS) \
31167 for flag in $(EXTRA_HOST_FLAGS) ; do \
31168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31169 done; \
31170 echo "Doing html in wdiff" ; \
31171 (cd $(HOST_SUBDIR)/wdiff && \
31172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31174 "RANLIB=$${RANLIB}" \
31175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31176 html) \
31177 || exit 1
31179 @endif wdiff
31181 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
31182 maybe-TAGS-wdiff:
31183 @if wdiff
31184 maybe-TAGS-wdiff: TAGS-wdiff
31186 TAGS-wdiff: \
31187 configure-wdiff
31188 @: $(MAKE); $(unstage)
31189 @[ -f ./wdiff/Makefile ] || exit 0; \
31190 r=`${PWD_COMMAND}`; export r; \
31191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31192 $(HOST_EXPORTS) \
31193 for flag in $(EXTRA_HOST_FLAGS) ; do \
31194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31195 done; \
31196 echo "Doing TAGS in wdiff" ; \
31197 (cd $(HOST_SUBDIR)/wdiff && \
31198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31200 "RANLIB=$${RANLIB}" \
31201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31202 TAGS) \
31203 || exit 1
31205 @endif wdiff
31207 .PHONY: maybe-install-info-wdiff install-info-wdiff
31208 maybe-install-info-wdiff:
31209 @if wdiff
31210 maybe-install-info-wdiff: install-info-wdiff
31212 install-info-wdiff: \
31213 configure-wdiff \
31214 info-wdiff
31215 @: $(MAKE); $(unstage)
31216 @[ -f ./wdiff/Makefile ] || exit 0; \
31217 r=`${PWD_COMMAND}`; export r; \
31218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31219 $(HOST_EXPORTS) \
31220 for flag in $(EXTRA_HOST_FLAGS) ; do \
31221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31222 done; \
31223 echo "Doing install-info in wdiff" ; \
31224 (cd $(HOST_SUBDIR)/wdiff && \
31225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31227 "RANLIB=$${RANLIB}" \
31228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31229 install-info) \
31230 || exit 1
31232 @endif wdiff
31234 .PHONY: maybe-install-html-wdiff install-html-wdiff
31235 maybe-install-html-wdiff:
31236 @if wdiff
31237 maybe-install-html-wdiff: install-html-wdiff
31239 install-html-wdiff: \
31240 configure-wdiff \
31241 html-wdiff
31242 @: $(MAKE); $(unstage)
31243 @[ -f ./wdiff/Makefile ] || exit 0; \
31244 r=`${PWD_COMMAND}`; export r; \
31245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31246 $(HOST_EXPORTS) \
31247 for flag in $(EXTRA_HOST_FLAGS) ; do \
31248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31249 done; \
31250 echo "Doing install-html in wdiff" ; \
31251 (cd $(HOST_SUBDIR)/wdiff && \
31252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31254 "RANLIB=$${RANLIB}" \
31255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31256 install-html) \
31257 || exit 1
31259 @endif wdiff
31261 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
31262 maybe-installcheck-wdiff:
31263 @if wdiff
31264 maybe-installcheck-wdiff: installcheck-wdiff
31266 installcheck-wdiff: \
31267 configure-wdiff
31268 @: $(MAKE); $(unstage)
31269 @[ -f ./wdiff/Makefile ] || exit 0; \
31270 r=`${PWD_COMMAND}`; export r; \
31271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31272 $(HOST_EXPORTS) \
31273 for flag in $(EXTRA_HOST_FLAGS) ; do \
31274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31275 done; \
31276 echo "Doing installcheck in wdiff" ; \
31277 (cd $(HOST_SUBDIR)/wdiff && \
31278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31280 "RANLIB=$${RANLIB}" \
31281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31282 installcheck) \
31283 || exit 1
31285 @endif wdiff
31287 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
31288 maybe-mostlyclean-wdiff:
31289 @if wdiff
31290 maybe-mostlyclean-wdiff: mostlyclean-wdiff
31292 mostlyclean-wdiff:
31293 @: $(MAKE); $(unstage)
31294 @[ -f ./wdiff/Makefile ] || exit 0; \
31295 r=`${PWD_COMMAND}`; export r; \
31296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31297 $(HOST_EXPORTS) \
31298 for flag in $(EXTRA_HOST_FLAGS) ; do \
31299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31300 done; \
31301 echo "Doing mostlyclean in wdiff" ; \
31302 (cd $(HOST_SUBDIR)/wdiff && \
31303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31305 "RANLIB=$${RANLIB}" \
31306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31307 mostlyclean) \
31308 || exit 1
31310 @endif wdiff
31312 .PHONY: maybe-clean-wdiff clean-wdiff
31313 maybe-clean-wdiff:
31314 @if wdiff
31315 maybe-clean-wdiff: clean-wdiff
31317 clean-wdiff:
31318 @: $(MAKE); $(unstage)
31319 @[ -f ./wdiff/Makefile ] || exit 0; \
31320 r=`${PWD_COMMAND}`; export r; \
31321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31322 $(HOST_EXPORTS) \
31323 for flag in $(EXTRA_HOST_FLAGS) ; do \
31324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31325 done; \
31326 echo "Doing clean in wdiff" ; \
31327 (cd $(HOST_SUBDIR)/wdiff && \
31328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31330 "RANLIB=$${RANLIB}" \
31331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31332 clean) \
31333 || exit 1
31335 @endif wdiff
31337 .PHONY: maybe-distclean-wdiff distclean-wdiff
31338 maybe-distclean-wdiff:
31339 @if wdiff
31340 maybe-distclean-wdiff: distclean-wdiff
31342 distclean-wdiff:
31343 @: $(MAKE); $(unstage)
31344 @[ -f ./wdiff/Makefile ] || exit 0; \
31345 r=`${PWD_COMMAND}`; export r; \
31346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31347 $(HOST_EXPORTS) \
31348 for flag in $(EXTRA_HOST_FLAGS) ; do \
31349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31350 done; \
31351 echo "Doing distclean in wdiff" ; \
31352 (cd $(HOST_SUBDIR)/wdiff && \
31353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31355 "RANLIB=$${RANLIB}" \
31356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31357 distclean) \
31358 || exit 1
31360 @endif wdiff
31362 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
31363 maybe-maintainer-clean-wdiff:
31364 @if wdiff
31365 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
31367 maintainer-clean-wdiff:
31368 @: $(MAKE); $(unstage)
31369 @[ -f ./wdiff/Makefile ] || exit 0; \
31370 r=`${PWD_COMMAND}`; export r; \
31371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31372 $(HOST_EXPORTS) \
31373 for flag in $(EXTRA_HOST_FLAGS) ; do \
31374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31375 done; \
31376 echo "Doing maintainer-clean in wdiff" ; \
31377 (cd $(HOST_SUBDIR)/wdiff && \
31378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31380 "RANLIB=$${RANLIB}" \
31381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31382 maintainer-clean) \
31383 || exit 1
31385 @endif wdiff
31389 .PHONY: configure-zip maybe-configure-zip
31390 maybe-configure-zip:
31391 @if gcc-bootstrap
31392 configure-zip: stage_current
31393 @endif gcc-bootstrap
31394 @if zip
31395 maybe-configure-zip: configure-zip
31396 configure-zip:
31397 @: $(MAKE); $(unstage)
31398 @r=`${PWD_COMMAND}`; export r; \
31399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31400 test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
31401 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
31402 $(HOST_EXPORTS) \
31403 echo Configuring in $(HOST_SUBDIR)/zip; \
31404 cd "$(HOST_SUBDIR)/zip" || exit 1; \
31405 case $(srcdir) in \
31406 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31407 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
31408 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31409 esac; \
31410 srcdiroption="--srcdir=$${topdir}/zip"; \
31411 libsrcdir="$$s/zip"; \
31412 $(SHELL) $${libsrcdir}/configure \
31413 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31414 --target=${target_alias} $${srcdiroption} \
31415 || exit 1
31416 @endif zip
31422 .PHONY: all-zip maybe-all-zip
31423 maybe-all-zip:
31424 @if gcc-bootstrap
31425 all-zip: stage_current
31426 @endif gcc-bootstrap
31427 @if zip
31428 TARGET-zip=all
31429 maybe-all-zip: all-zip
31430 all-zip: configure-zip
31431 @: $(MAKE); $(unstage)
31432 @r=`${PWD_COMMAND}`; export r; \
31433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31434 $(HOST_EXPORTS) \
31435 (cd $(HOST_SUBDIR)/zip && \
31436 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
31437 @endif zip
31442 .PHONY: check-zip maybe-check-zip
31443 maybe-check-zip:
31444 @if zip
31445 maybe-check-zip: check-zip
31447 # This module is only tested in a native toolchain.
31448 check-zip:
31449 @: $(MAKE); $(unstage)
31450 @if [ '$(host)' = '$(target)' ] ; then \
31451 r=`${PWD_COMMAND}`; export r; \
31452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31453 $(HOST_EXPORTS) \
31454 (cd $(HOST_SUBDIR)/zip && \
31455 $(MAKE) $(FLAGS_TO_PASS) check); \
31458 @endif zip
31460 .PHONY: install-zip maybe-install-zip
31461 maybe-install-zip:
31462 @if zip
31463 maybe-install-zip: install-zip
31465 install-zip: installdirs
31466 @: $(MAKE); $(unstage)
31467 @r=`${PWD_COMMAND}`; export r; \
31468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31469 $(HOST_EXPORTS) \
31470 (cd $(HOST_SUBDIR)/zip && \
31471 $(MAKE) $(FLAGS_TO_PASS) install)
31473 @endif zip
31475 # Other targets (info, dvi, pdf, etc.)
31477 .PHONY: maybe-info-zip info-zip
31478 maybe-info-zip:
31479 @if zip
31480 maybe-info-zip: info-zip
31482 info-zip: \
31483 configure-zip
31484 @: $(MAKE); $(unstage)
31485 @[ -f ./zip/Makefile ] || exit 0; \
31486 r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(HOST_EXPORTS) \
31489 for flag in $(EXTRA_HOST_FLAGS) ; do \
31490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31491 done; \
31492 echo "Doing info in zip" ; \
31493 (cd $(HOST_SUBDIR)/zip && \
31494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31496 "RANLIB=$${RANLIB}" \
31497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31498 info) \
31499 || exit 1
31501 @endif zip
31503 .PHONY: maybe-dvi-zip dvi-zip
31504 maybe-dvi-zip:
31505 @if zip
31506 maybe-dvi-zip: dvi-zip
31508 dvi-zip: \
31509 configure-zip
31510 @: $(MAKE); $(unstage)
31511 @[ -f ./zip/Makefile ] || exit 0; \
31512 r=`${PWD_COMMAND}`; export r; \
31513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31514 $(HOST_EXPORTS) \
31515 for flag in $(EXTRA_HOST_FLAGS) ; do \
31516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31517 done; \
31518 echo "Doing dvi in zip" ; \
31519 (cd $(HOST_SUBDIR)/zip && \
31520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31522 "RANLIB=$${RANLIB}" \
31523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31524 dvi) \
31525 || exit 1
31527 @endif zip
31529 .PHONY: maybe-pdf-zip pdf-zip
31530 maybe-pdf-zip:
31531 @if zip
31532 maybe-pdf-zip: pdf-zip
31534 pdf-zip: \
31535 configure-zip
31536 @: $(MAKE); $(unstage)
31537 @[ -f ./zip/Makefile ] || exit 0; \
31538 r=`${PWD_COMMAND}`; export r; \
31539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31540 $(HOST_EXPORTS) \
31541 for flag in $(EXTRA_HOST_FLAGS) ; do \
31542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31543 done; \
31544 echo "Doing pdf in zip" ; \
31545 (cd $(HOST_SUBDIR)/zip && \
31546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31548 "RANLIB=$${RANLIB}" \
31549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31550 pdf) \
31551 || exit 1
31553 @endif zip
31555 .PHONY: maybe-html-zip html-zip
31556 maybe-html-zip:
31557 @if zip
31558 maybe-html-zip: html-zip
31560 html-zip: \
31561 configure-zip
31562 @: $(MAKE); $(unstage)
31563 @[ -f ./zip/Makefile ] || exit 0; \
31564 r=`${PWD_COMMAND}`; export r; \
31565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31566 $(HOST_EXPORTS) \
31567 for flag in $(EXTRA_HOST_FLAGS) ; do \
31568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31569 done; \
31570 echo "Doing html in zip" ; \
31571 (cd $(HOST_SUBDIR)/zip && \
31572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31574 "RANLIB=$${RANLIB}" \
31575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31576 html) \
31577 || exit 1
31579 @endif zip
31581 .PHONY: maybe-TAGS-zip TAGS-zip
31582 maybe-TAGS-zip:
31583 @if zip
31584 maybe-TAGS-zip: TAGS-zip
31586 TAGS-zip: \
31587 configure-zip
31588 @: $(MAKE); $(unstage)
31589 @[ -f ./zip/Makefile ] || exit 0; \
31590 r=`${PWD_COMMAND}`; export r; \
31591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31592 $(HOST_EXPORTS) \
31593 for flag in $(EXTRA_HOST_FLAGS) ; do \
31594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31595 done; \
31596 echo "Doing TAGS in zip" ; \
31597 (cd $(HOST_SUBDIR)/zip && \
31598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31600 "RANLIB=$${RANLIB}" \
31601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31602 TAGS) \
31603 || exit 1
31605 @endif zip
31607 .PHONY: maybe-install-info-zip install-info-zip
31608 maybe-install-info-zip:
31609 @if zip
31610 maybe-install-info-zip: install-info-zip
31612 install-info-zip: \
31613 configure-zip \
31614 info-zip
31615 @: $(MAKE); $(unstage)
31616 @[ -f ./zip/Makefile ] || exit 0; \
31617 r=`${PWD_COMMAND}`; export r; \
31618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31619 $(HOST_EXPORTS) \
31620 for flag in $(EXTRA_HOST_FLAGS) ; do \
31621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31622 done; \
31623 echo "Doing install-info in zip" ; \
31624 (cd $(HOST_SUBDIR)/zip && \
31625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31627 "RANLIB=$${RANLIB}" \
31628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31629 install-info) \
31630 || exit 1
31632 @endif zip
31634 .PHONY: maybe-install-html-zip install-html-zip
31635 maybe-install-html-zip:
31636 @if zip
31637 maybe-install-html-zip: install-html-zip
31639 install-html-zip: \
31640 configure-zip \
31641 html-zip
31642 @: $(MAKE); $(unstage)
31643 @[ -f ./zip/Makefile ] || exit 0; \
31644 r=`${PWD_COMMAND}`; export r; \
31645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31646 $(HOST_EXPORTS) \
31647 for flag in $(EXTRA_HOST_FLAGS) ; do \
31648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31649 done; \
31650 echo "Doing install-html in zip" ; \
31651 (cd $(HOST_SUBDIR)/zip && \
31652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31654 "RANLIB=$${RANLIB}" \
31655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31656 install-html) \
31657 || exit 1
31659 @endif zip
31661 .PHONY: maybe-installcheck-zip installcheck-zip
31662 maybe-installcheck-zip:
31663 @if zip
31664 maybe-installcheck-zip: installcheck-zip
31666 installcheck-zip: \
31667 configure-zip
31668 @: $(MAKE); $(unstage)
31669 @[ -f ./zip/Makefile ] || exit 0; \
31670 r=`${PWD_COMMAND}`; export r; \
31671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31672 $(HOST_EXPORTS) \
31673 for flag in $(EXTRA_HOST_FLAGS) ; do \
31674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31675 done; \
31676 echo "Doing installcheck in zip" ; \
31677 (cd $(HOST_SUBDIR)/zip && \
31678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31680 "RANLIB=$${RANLIB}" \
31681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31682 installcheck) \
31683 || exit 1
31685 @endif zip
31687 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
31688 maybe-mostlyclean-zip:
31689 @if zip
31690 maybe-mostlyclean-zip: mostlyclean-zip
31692 mostlyclean-zip:
31693 @: $(MAKE); $(unstage)
31694 @[ -f ./zip/Makefile ] || exit 0; \
31695 r=`${PWD_COMMAND}`; export r; \
31696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31697 $(HOST_EXPORTS) \
31698 for flag in $(EXTRA_HOST_FLAGS) ; do \
31699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31700 done; \
31701 echo "Doing mostlyclean in zip" ; \
31702 (cd $(HOST_SUBDIR)/zip && \
31703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31705 "RANLIB=$${RANLIB}" \
31706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31707 mostlyclean) \
31708 || exit 1
31710 @endif zip
31712 .PHONY: maybe-clean-zip clean-zip
31713 maybe-clean-zip:
31714 @if zip
31715 maybe-clean-zip: clean-zip
31717 clean-zip:
31718 @: $(MAKE); $(unstage)
31719 @[ -f ./zip/Makefile ] || exit 0; \
31720 r=`${PWD_COMMAND}`; export r; \
31721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31722 $(HOST_EXPORTS) \
31723 for flag in $(EXTRA_HOST_FLAGS) ; do \
31724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31725 done; \
31726 echo "Doing clean in zip" ; \
31727 (cd $(HOST_SUBDIR)/zip && \
31728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31730 "RANLIB=$${RANLIB}" \
31731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31732 clean) \
31733 || exit 1
31735 @endif zip
31737 .PHONY: maybe-distclean-zip distclean-zip
31738 maybe-distclean-zip:
31739 @if zip
31740 maybe-distclean-zip: distclean-zip
31742 distclean-zip:
31743 @: $(MAKE); $(unstage)
31744 @[ -f ./zip/Makefile ] || exit 0; \
31745 r=`${PWD_COMMAND}`; export r; \
31746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31747 $(HOST_EXPORTS) \
31748 for flag in $(EXTRA_HOST_FLAGS) ; do \
31749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31750 done; \
31751 echo "Doing distclean in zip" ; \
31752 (cd $(HOST_SUBDIR)/zip && \
31753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31755 "RANLIB=$${RANLIB}" \
31756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31757 distclean) \
31758 || exit 1
31760 @endif zip
31762 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
31763 maybe-maintainer-clean-zip:
31764 @if zip
31765 maybe-maintainer-clean-zip: maintainer-clean-zip
31767 maintainer-clean-zip:
31768 @: $(MAKE); $(unstage)
31769 @[ -f ./zip/Makefile ] || exit 0; \
31770 r=`${PWD_COMMAND}`; export r; \
31771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31772 $(HOST_EXPORTS) \
31773 for flag in $(EXTRA_HOST_FLAGS) ; do \
31774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31775 done; \
31776 echo "Doing maintainer-clean in zip" ; \
31777 (cd $(HOST_SUBDIR)/zip && \
31778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31780 "RANLIB=$${RANLIB}" \
31781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31782 maintainer-clean) \
31783 || exit 1
31785 @endif zip
31789 .PHONY: configure-zlib maybe-configure-zlib
31790 maybe-configure-zlib:
31791 @if gcc-bootstrap
31792 configure-zlib: stage_current
31793 @endif gcc-bootstrap
31794 @if zlib
31795 maybe-configure-zlib: configure-zlib
31796 configure-zlib:
31797 @r=`${PWD_COMMAND}`; export r; \
31798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31799 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31801 $(HOST_EXPORTS) \
31802 echo Configuring in $(HOST_SUBDIR)/zlib; \
31803 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
31804 case $(srcdir) in \
31805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31806 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31808 esac; \
31809 srcdiroption="--srcdir=$${topdir}/zlib"; \
31810 libsrcdir="$$s/zlib"; \
31811 $(SHELL) $${libsrcdir}/configure \
31812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31813 --target=${target_alias} $${srcdiroption} \
31814 || exit 1
31815 @endif zlib
31819 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31820 maybe-configure-stage1-zlib:
31821 @if zlib-bootstrap
31822 maybe-configure-stage1-zlib: configure-stage1-zlib
31823 configure-stage1-zlib:
31824 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31825 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31826 @r=`${PWD_COMMAND}`; export r; \
31827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31828 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31829 $(HOST_EXPORTS) \
31830 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
31831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31832 cd $(HOST_SUBDIR)/zlib || exit 1; \
31833 case $(srcdir) in \
31834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31835 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31837 esac; \
31838 srcdiroption="--srcdir=$${topdir}/zlib"; \
31839 libsrcdir="$$s/zlib"; \
31840 $(SHELL) $${libsrcdir}/configure \
31841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31842 --target=${target_alias} $${srcdiroption} \
31844 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31845 @endif zlib-bootstrap
31847 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31848 maybe-configure-stage2-zlib:
31849 @if zlib-bootstrap
31850 maybe-configure-stage2-zlib: configure-stage2-zlib
31851 configure-stage2-zlib:
31852 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31853 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31854 @r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31857 $(HOST_EXPORTS) \
31858 $(POSTSTAGE1_HOST_EXPORTS) \
31859 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
31860 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31861 cd $(HOST_SUBDIR)/zlib || exit 1; \
31862 case $(srcdir) in \
31863 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31864 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31865 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31866 esac; \
31867 srcdiroption="--srcdir=$${topdir}/zlib"; \
31868 libsrcdir="$$s/zlib"; \
31869 $(SHELL) $${libsrcdir}/configure \
31870 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31871 --target=${target_alias} $${srcdiroption} \
31872 --with-build-libsubdir=$(HOST_SUBDIR) \
31873 @stage2_werror_flag@
31874 @endif zlib-bootstrap
31876 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
31877 maybe-configure-stage3-zlib:
31878 @if zlib-bootstrap
31879 maybe-configure-stage3-zlib: configure-stage3-zlib
31880 configure-stage3-zlib:
31881 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31882 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31883 @r=`${PWD_COMMAND}`; export r; \
31884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31885 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31886 $(HOST_EXPORTS) \
31887 $(POSTSTAGE1_HOST_EXPORTS) \
31888 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
31889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31890 cd $(HOST_SUBDIR)/zlib || exit 1; \
31891 case $(srcdir) in \
31892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31893 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31895 esac; \
31896 srcdiroption="--srcdir=$${topdir}/zlib"; \
31897 libsrcdir="$$s/zlib"; \
31898 $(SHELL) $${libsrcdir}/configure \
31899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31900 --target=${target_alias} $${srcdiroption} \
31901 --with-build-libsubdir=$(HOST_SUBDIR) \
31902 @stage2_werror_flag@
31903 @endif zlib-bootstrap
31905 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31906 maybe-configure-stage4-zlib:
31907 @if zlib-bootstrap
31908 maybe-configure-stage4-zlib: configure-stage4-zlib
31909 configure-stage4-zlib:
31910 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31911 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31912 @r=`${PWD_COMMAND}`; export r; \
31913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31914 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31915 $(HOST_EXPORTS) \
31916 $(POSTSTAGE1_HOST_EXPORTS) \
31917 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
31918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31919 cd $(HOST_SUBDIR)/zlib || exit 1; \
31920 case $(srcdir) in \
31921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31922 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31924 esac; \
31925 srcdiroption="--srcdir=$${topdir}/zlib"; \
31926 libsrcdir="$$s/zlib"; \
31927 $(SHELL) $${libsrcdir}/configure \
31928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31929 --target=${target_alias} $${srcdiroption} \
31930 --with-build-libsubdir=$(HOST_SUBDIR) \
31931 @stage2_werror_flag@
31932 @endif zlib-bootstrap
31934 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31935 maybe-configure-stageprofile-zlib:
31936 @if zlib-bootstrap
31937 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31938 configure-stageprofile-zlib:
31939 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31941 @r=`${PWD_COMMAND}`; export r; \
31942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31943 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31944 $(HOST_EXPORTS) \
31945 $(POSTSTAGE1_HOST_EXPORTS) \
31946 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
31947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31948 cd $(HOST_SUBDIR)/zlib || exit 1; \
31949 case $(srcdir) in \
31950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31951 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31953 esac; \
31954 srcdiroption="--srcdir=$${topdir}/zlib"; \
31955 libsrcdir="$$s/zlib"; \
31956 $(SHELL) $${libsrcdir}/configure \
31957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31958 --target=${target_alias} $${srcdiroption} \
31959 --with-build-libsubdir=$(HOST_SUBDIR) \
31960 @stage2_werror_flag@
31961 @endif zlib-bootstrap
31963 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
31964 maybe-configure-stagefeedback-zlib:
31965 @if zlib-bootstrap
31966 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
31967 configure-stagefeedback-zlib:
31968 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
31970 @r=`${PWD_COMMAND}`; export r; \
31971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31972 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
31973 $(HOST_EXPORTS) \
31974 $(POSTSTAGE1_HOST_EXPORTS) \
31975 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
31976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
31977 cd $(HOST_SUBDIR)/zlib || exit 1; \
31978 case $(srcdir) in \
31979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31980 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31982 esac; \
31983 srcdiroption="--srcdir=$${topdir}/zlib"; \
31984 libsrcdir="$$s/zlib"; \
31985 $(SHELL) $${libsrcdir}/configure \
31986 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31987 --target=${target_alias} $${srcdiroption} \
31988 --with-build-libsubdir=$(HOST_SUBDIR) \
31989 @stage2_werror_flag@
31990 @endif zlib-bootstrap
31996 .PHONY: all-zlib maybe-all-zlib
31997 maybe-all-zlib:
31998 @if gcc-bootstrap
31999 all-zlib: stage_current
32000 @endif gcc-bootstrap
32001 @if zlib
32002 TARGET-zlib=all
32003 maybe-all-zlib: all-zlib
32004 all-zlib: configure-zlib
32005 @r=`${PWD_COMMAND}`; export r; \
32006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32007 $(HOST_EXPORTS) \
32008 (cd $(HOST_SUBDIR)/zlib && \
32009 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
32010 @endif zlib
32014 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
32015 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
32016 maybe-all-stage1-zlib:
32017 maybe-clean-stage1-zlib:
32018 @if zlib-bootstrap
32019 maybe-all-stage1-zlib: all-stage1-zlib
32020 all-stage1: all-stage1-zlib
32021 TARGET-stage1-zlib = $(TARGET-zlib)
32022 all-stage1-zlib: configure-stage1-zlib
32023 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32024 @r=`${PWD_COMMAND}`; export r; \
32025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32026 $(HOST_EXPORTS) \
32027 cd $(HOST_SUBDIR)/zlib && \
32028 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
32029 $(TARGET-stage1-zlib)
32031 maybe-clean-stage1-zlib: clean-stage1-zlib
32032 clean-stage1: clean-stage1-zlib
32033 clean-stage1-zlib:
32034 @if [ $(current_stage) = stage1 ]; then \
32035 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32036 else \
32037 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
32038 $(MAKE) stage1-start; \
32039 fi; \
32040 cd $(HOST_SUBDIR)/zlib && \
32041 $(MAKE) $(FLAGS_TO_PASS) \
32042 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
32043 @endif zlib-bootstrap
32046 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32047 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32048 maybe-all-stage2-zlib:
32049 maybe-clean-stage2-zlib:
32050 @if zlib-bootstrap
32051 maybe-all-stage2-zlib: all-stage2-zlib
32052 all-stage2: all-stage2-zlib
32053 TARGET-stage2-zlib = $(TARGET-zlib)
32054 all-stage2-zlib: configure-stage2-zlib
32055 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32056 @r=`${PWD_COMMAND}`; export r; \
32057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32058 $(HOST_EXPORTS) \
32059 $(POSTSTAGE1_HOST_EXPORTS) \
32060 cd $(HOST_SUBDIR)/zlib && \
32061 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32062 $(TARGET-stage2-zlib)
32064 maybe-clean-stage2-zlib: clean-stage2-zlib
32065 clean-stage2: clean-stage2-zlib
32066 clean-stage2-zlib:
32067 @if [ $(current_stage) = stage2 ]; then \
32068 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32069 else \
32070 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
32071 $(MAKE) stage2-start; \
32072 fi; \
32073 cd $(HOST_SUBDIR)/zlib && \
32074 $(MAKE) $(FLAGS_TO_PASS) \
32075 $(POSTSTAGE1_FLAGS_TO_PASS) \
32076 clean
32077 @endif zlib-bootstrap
32080 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32081 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32082 maybe-all-stage3-zlib:
32083 maybe-clean-stage3-zlib:
32084 @if zlib-bootstrap
32085 maybe-all-stage3-zlib: all-stage3-zlib
32086 all-stage3: all-stage3-zlib
32087 TARGET-stage3-zlib = $(TARGET-zlib)
32088 all-stage3-zlib: configure-stage3-zlib
32089 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32090 @r=`${PWD_COMMAND}`; export r; \
32091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32092 $(HOST_EXPORTS) \
32093 $(POSTSTAGE1_HOST_EXPORTS) \
32094 cd $(HOST_SUBDIR)/zlib && \
32095 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32096 $(TARGET-stage3-zlib)
32098 maybe-clean-stage3-zlib: clean-stage3-zlib
32099 clean-stage3: clean-stage3-zlib
32100 clean-stage3-zlib:
32101 @if [ $(current_stage) = stage3 ]; then \
32102 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32103 else \
32104 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
32105 $(MAKE) stage3-start; \
32106 fi; \
32107 cd $(HOST_SUBDIR)/zlib && \
32108 $(MAKE) $(FLAGS_TO_PASS) \
32109 $(POSTSTAGE1_FLAGS_TO_PASS) \
32110 clean
32111 @endif zlib-bootstrap
32114 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
32115 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
32116 maybe-all-stage4-zlib:
32117 maybe-clean-stage4-zlib:
32118 @if zlib-bootstrap
32119 maybe-all-stage4-zlib: all-stage4-zlib
32120 all-stage4: all-stage4-zlib
32121 TARGET-stage4-zlib = $(TARGET-zlib)
32122 all-stage4-zlib: configure-stage4-zlib
32123 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32124 @r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(HOST_EXPORTS) \
32127 $(POSTSTAGE1_HOST_EXPORTS) \
32128 cd $(HOST_SUBDIR)/zlib && \
32129 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
32130 $(TARGET-stage4-zlib)
32132 maybe-clean-stage4-zlib: clean-stage4-zlib
32133 clean-stage4: clean-stage4-zlib
32134 clean-stage4-zlib:
32135 @if [ $(current_stage) = stage4 ]; then \
32136 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32137 else \
32138 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
32139 $(MAKE) stage4-start; \
32140 fi; \
32141 cd $(HOST_SUBDIR)/zlib && \
32142 $(MAKE) $(FLAGS_TO_PASS) \
32143 $(POSTSTAGE1_FLAGS_TO_PASS) \
32144 clean
32145 @endif zlib-bootstrap
32148 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
32149 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
32150 maybe-all-stageprofile-zlib:
32151 maybe-clean-stageprofile-zlib:
32152 @if zlib-bootstrap
32153 maybe-all-stageprofile-zlib: all-stageprofile-zlib
32154 all-stageprofile: all-stageprofile-zlib
32155 TARGET-stageprofile-zlib = $(TARGET-zlib)
32156 all-stageprofile-zlib: configure-stageprofile-zlib
32157 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32158 @r=`${PWD_COMMAND}`; export r; \
32159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32160 $(HOST_EXPORTS) \
32161 $(POSTSTAGE1_HOST_EXPORTS) \
32162 cd $(HOST_SUBDIR)/zlib && \
32163 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
32164 $(TARGET-stageprofile-zlib)
32166 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
32167 clean-stageprofile: clean-stageprofile-zlib
32168 clean-stageprofile-zlib:
32169 @if [ $(current_stage) = stageprofile ]; then \
32170 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32171 else \
32172 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
32173 $(MAKE) stageprofile-start; \
32174 fi; \
32175 cd $(HOST_SUBDIR)/zlib && \
32176 $(MAKE) $(FLAGS_TO_PASS) \
32177 $(POSTSTAGE1_FLAGS_TO_PASS) \
32178 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
32179 @endif zlib-bootstrap
32182 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32183 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32184 maybe-all-stagefeedback-zlib:
32185 maybe-clean-stagefeedback-zlib:
32186 @if zlib-bootstrap
32187 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32188 all-stagefeedback: all-stagefeedback-zlib
32189 TARGET-stagefeedback-zlib = $(TARGET-zlib)
32190 all-stagefeedback-zlib: configure-stagefeedback-zlib
32191 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32192 @r=`${PWD_COMMAND}`; export r; \
32193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32194 $(HOST_EXPORTS) \
32195 $(POSTSTAGE1_HOST_EXPORTS) \
32196 cd $(HOST_SUBDIR)/zlib && \
32197 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
32198 $(TARGET-stagefeedback-zlib)
32200 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32201 clean-stagefeedback: clean-stagefeedback-zlib
32202 clean-stagefeedback-zlib:
32203 @if [ $(current_stage) = stagefeedback ]; then \
32204 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
32205 else \
32206 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
32207 $(MAKE) stagefeedback-start; \
32208 fi; \
32209 cd $(HOST_SUBDIR)/zlib && \
32210 $(MAKE) $(FLAGS_TO_PASS) \
32211 $(POSTSTAGE1_FLAGS_TO_PASS) \
32212 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32213 @endif zlib-bootstrap
32219 .PHONY: check-zlib maybe-check-zlib
32220 maybe-check-zlib:
32221 @if zlib
32222 maybe-check-zlib: check-zlib
32224 check-zlib:
32226 @endif zlib
32228 .PHONY: install-zlib maybe-install-zlib
32229 maybe-install-zlib:
32230 @if zlib
32231 maybe-install-zlib: install-zlib
32233 install-zlib:
32235 @endif zlib
32237 # Other targets (info, dvi, pdf, etc.)
32239 .PHONY: maybe-info-zlib info-zlib
32240 maybe-info-zlib:
32241 @if zlib
32242 maybe-info-zlib: info-zlib
32244 info-zlib: \
32245 configure-zlib
32246 @[ -f ./zlib/Makefile ] || exit 0; \
32247 r=`${PWD_COMMAND}`; export r; \
32248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32249 $(HOST_EXPORTS) \
32250 for flag in $(EXTRA_HOST_FLAGS) ; do \
32251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32252 done; \
32253 echo "Doing info in zlib" ; \
32254 (cd $(HOST_SUBDIR)/zlib && \
32255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32257 "RANLIB=$${RANLIB}" \
32258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32259 info) \
32260 || exit 1
32262 @endif zlib
32264 .PHONY: maybe-dvi-zlib dvi-zlib
32265 maybe-dvi-zlib:
32266 @if zlib
32267 maybe-dvi-zlib: dvi-zlib
32269 dvi-zlib: \
32270 configure-zlib
32271 @[ -f ./zlib/Makefile ] || exit 0; \
32272 r=`${PWD_COMMAND}`; export r; \
32273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32274 $(HOST_EXPORTS) \
32275 for flag in $(EXTRA_HOST_FLAGS) ; do \
32276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32277 done; \
32278 echo "Doing dvi in zlib" ; \
32279 (cd $(HOST_SUBDIR)/zlib && \
32280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32282 "RANLIB=$${RANLIB}" \
32283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32284 dvi) \
32285 || exit 1
32287 @endif zlib
32289 .PHONY: maybe-pdf-zlib pdf-zlib
32290 maybe-pdf-zlib:
32291 @if zlib
32292 maybe-pdf-zlib: pdf-zlib
32294 pdf-zlib: \
32295 configure-zlib
32296 @[ -f ./zlib/Makefile ] || exit 0; \
32297 r=`${PWD_COMMAND}`; export r; \
32298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32299 $(HOST_EXPORTS) \
32300 for flag in $(EXTRA_HOST_FLAGS) ; do \
32301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32302 done; \
32303 echo "Doing pdf in zlib" ; \
32304 (cd $(HOST_SUBDIR)/zlib && \
32305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32307 "RANLIB=$${RANLIB}" \
32308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32309 pdf) \
32310 || exit 1
32312 @endif zlib
32314 .PHONY: maybe-html-zlib html-zlib
32315 maybe-html-zlib:
32316 @if zlib
32317 maybe-html-zlib: html-zlib
32319 html-zlib: \
32320 configure-zlib
32321 @[ -f ./zlib/Makefile ] || exit 0; \
32322 r=`${PWD_COMMAND}`; export r; \
32323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32324 $(HOST_EXPORTS) \
32325 for flag in $(EXTRA_HOST_FLAGS) ; do \
32326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32327 done; \
32328 echo "Doing html in zlib" ; \
32329 (cd $(HOST_SUBDIR)/zlib && \
32330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32332 "RANLIB=$${RANLIB}" \
32333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32334 html) \
32335 || exit 1
32337 @endif zlib
32339 .PHONY: maybe-TAGS-zlib TAGS-zlib
32340 maybe-TAGS-zlib:
32341 @if zlib
32342 maybe-TAGS-zlib: TAGS-zlib
32344 TAGS-zlib: \
32345 configure-zlib
32346 @[ -f ./zlib/Makefile ] || exit 0; \
32347 r=`${PWD_COMMAND}`; export r; \
32348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32349 $(HOST_EXPORTS) \
32350 for flag in $(EXTRA_HOST_FLAGS) ; do \
32351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32352 done; \
32353 echo "Doing TAGS in zlib" ; \
32354 (cd $(HOST_SUBDIR)/zlib && \
32355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32357 "RANLIB=$${RANLIB}" \
32358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32359 TAGS) \
32360 || exit 1
32362 @endif zlib
32364 .PHONY: maybe-install-info-zlib install-info-zlib
32365 maybe-install-info-zlib:
32366 @if zlib
32367 maybe-install-info-zlib: install-info-zlib
32369 install-info-zlib: \
32370 configure-zlib \
32371 info-zlib
32372 @[ -f ./zlib/Makefile ] || exit 0; \
32373 r=`${PWD_COMMAND}`; export r; \
32374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32375 $(HOST_EXPORTS) \
32376 for flag in $(EXTRA_HOST_FLAGS) ; do \
32377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32378 done; \
32379 echo "Doing install-info in zlib" ; \
32380 (cd $(HOST_SUBDIR)/zlib && \
32381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32383 "RANLIB=$${RANLIB}" \
32384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32385 install-info) \
32386 || exit 1
32388 @endif zlib
32390 .PHONY: maybe-install-html-zlib install-html-zlib
32391 maybe-install-html-zlib:
32392 @if zlib
32393 maybe-install-html-zlib: install-html-zlib
32395 install-html-zlib: \
32396 configure-zlib \
32397 html-zlib
32398 @[ -f ./zlib/Makefile ] || exit 0; \
32399 r=`${PWD_COMMAND}`; export r; \
32400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32401 $(HOST_EXPORTS) \
32402 for flag in $(EXTRA_HOST_FLAGS) ; do \
32403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32404 done; \
32405 echo "Doing install-html in zlib" ; \
32406 (cd $(HOST_SUBDIR)/zlib && \
32407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32409 "RANLIB=$${RANLIB}" \
32410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32411 install-html) \
32412 || exit 1
32414 @endif zlib
32416 .PHONY: maybe-installcheck-zlib installcheck-zlib
32417 maybe-installcheck-zlib:
32418 @if zlib
32419 maybe-installcheck-zlib: installcheck-zlib
32421 installcheck-zlib: \
32422 configure-zlib
32423 @[ -f ./zlib/Makefile ] || exit 0; \
32424 r=`${PWD_COMMAND}`; export r; \
32425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32426 $(HOST_EXPORTS) \
32427 for flag in $(EXTRA_HOST_FLAGS) ; do \
32428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32429 done; \
32430 echo "Doing installcheck in zlib" ; \
32431 (cd $(HOST_SUBDIR)/zlib && \
32432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32434 "RANLIB=$${RANLIB}" \
32435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32436 installcheck) \
32437 || exit 1
32439 @endif zlib
32441 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
32442 maybe-mostlyclean-zlib:
32443 @if zlib
32444 maybe-mostlyclean-zlib: mostlyclean-zlib
32446 mostlyclean-zlib:
32447 @[ -f ./zlib/Makefile ] || exit 0; \
32448 r=`${PWD_COMMAND}`; export r; \
32449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32450 $(HOST_EXPORTS) \
32451 for flag in $(EXTRA_HOST_FLAGS) ; do \
32452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32453 done; \
32454 echo "Doing mostlyclean in zlib" ; \
32455 (cd $(HOST_SUBDIR)/zlib && \
32456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32458 "RANLIB=$${RANLIB}" \
32459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32460 mostlyclean) \
32461 || exit 1
32463 @endif zlib
32465 .PHONY: maybe-clean-zlib clean-zlib
32466 maybe-clean-zlib:
32467 @if zlib
32468 maybe-clean-zlib: clean-zlib
32470 clean-zlib:
32471 @[ -f ./zlib/Makefile ] || exit 0; \
32472 r=`${PWD_COMMAND}`; export r; \
32473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32474 $(HOST_EXPORTS) \
32475 for flag in $(EXTRA_HOST_FLAGS) ; do \
32476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32477 done; \
32478 echo "Doing clean in zlib" ; \
32479 (cd $(HOST_SUBDIR)/zlib && \
32480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32482 "RANLIB=$${RANLIB}" \
32483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32484 clean) \
32485 || exit 1
32487 @endif zlib
32489 .PHONY: maybe-distclean-zlib distclean-zlib
32490 maybe-distclean-zlib:
32491 @if zlib
32492 maybe-distclean-zlib: distclean-zlib
32494 distclean-zlib:
32495 @[ -f ./zlib/Makefile ] || exit 0; \
32496 r=`${PWD_COMMAND}`; export r; \
32497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32498 $(HOST_EXPORTS) \
32499 for flag in $(EXTRA_HOST_FLAGS) ; do \
32500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32501 done; \
32502 echo "Doing distclean in zlib" ; \
32503 (cd $(HOST_SUBDIR)/zlib && \
32504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32506 "RANLIB=$${RANLIB}" \
32507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32508 distclean) \
32509 || exit 1
32511 @endif zlib
32513 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
32514 maybe-maintainer-clean-zlib:
32515 @if zlib
32516 maybe-maintainer-clean-zlib: maintainer-clean-zlib
32518 maintainer-clean-zlib:
32519 @[ -f ./zlib/Makefile ] || exit 0; \
32520 r=`${PWD_COMMAND}`; export r; \
32521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32522 $(HOST_EXPORTS) \
32523 for flag in $(EXTRA_HOST_FLAGS) ; do \
32524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32525 done; \
32526 echo "Doing maintainer-clean in zlib" ; \
32527 (cd $(HOST_SUBDIR)/zlib && \
32528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32530 "RANLIB=$${RANLIB}" \
32531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32532 maintainer-clean) \
32533 || exit 1
32535 @endif zlib
32539 .PHONY: configure-gdb maybe-configure-gdb
32540 maybe-configure-gdb:
32541 @if gcc-bootstrap
32542 configure-gdb: stage_current
32543 @endif gcc-bootstrap
32544 @if gdb
32545 maybe-configure-gdb: configure-gdb
32546 configure-gdb:
32547 @: $(MAKE); $(unstage)
32548 @r=`${PWD_COMMAND}`; export r; \
32549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32550 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
32551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
32552 $(HOST_EXPORTS) \
32553 echo Configuring in $(HOST_SUBDIR)/gdb; \
32554 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
32555 case $(srcdir) in \
32556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32557 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
32558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32559 esac; \
32560 srcdiroption="--srcdir=$${topdir}/gdb"; \
32561 libsrcdir="$$s/gdb"; \
32562 $(SHELL) $${libsrcdir}/configure \
32563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32564 --target=${target_alias} $${srcdiroption} \
32565 || exit 1
32566 @endif gdb
32572 .PHONY: all-gdb maybe-all-gdb
32573 maybe-all-gdb:
32574 @if gcc-bootstrap
32575 all-gdb: stage_current
32576 @endif gcc-bootstrap
32577 @if gdb
32578 TARGET-gdb=all
32579 maybe-all-gdb: all-gdb
32580 all-gdb: configure-gdb
32581 @: $(MAKE); $(unstage)
32582 @r=`${PWD_COMMAND}`; export r; \
32583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32584 $(HOST_EXPORTS) \
32585 (cd $(HOST_SUBDIR)/gdb && \
32586 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
32587 @endif gdb
32592 .PHONY: check-gdb maybe-check-gdb
32593 maybe-check-gdb:
32594 @if gdb
32595 maybe-check-gdb: check-gdb
32597 check-gdb:
32598 @: $(MAKE); $(unstage)
32599 @r=`${PWD_COMMAND}`; export r; \
32600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32601 $(HOST_EXPORTS) \
32602 (cd $(HOST_SUBDIR)/gdb && \
32603 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
32605 @endif gdb
32607 .PHONY: install-gdb maybe-install-gdb
32608 maybe-install-gdb:
32609 @if gdb
32610 maybe-install-gdb: install-gdb
32612 install-gdb: installdirs
32613 @: $(MAKE); $(unstage)
32614 @r=`${PWD_COMMAND}`; export r; \
32615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32616 $(HOST_EXPORTS) \
32617 (cd $(HOST_SUBDIR)/gdb && \
32618 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
32620 @endif gdb
32622 # Other targets (info, dvi, pdf, etc.)
32624 .PHONY: maybe-info-gdb info-gdb
32625 maybe-info-gdb:
32626 @if gdb
32627 maybe-info-gdb: info-gdb
32629 info-gdb: \
32630 configure-gdb
32631 @: $(MAKE); $(unstage)
32632 @[ -f ./gdb/Makefile ] || exit 0; \
32633 r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(HOST_EXPORTS) \
32636 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32638 done; \
32639 echo "Doing info in gdb" ; \
32640 (cd $(HOST_SUBDIR)/gdb && \
32641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32643 "RANLIB=$${RANLIB}" \
32644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32645 info) \
32646 || exit 1
32648 @endif gdb
32650 .PHONY: maybe-dvi-gdb dvi-gdb
32651 maybe-dvi-gdb:
32652 @if gdb
32653 maybe-dvi-gdb: dvi-gdb
32655 dvi-gdb: \
32656 configure-gdb
32657 @: $(MAKE); $(unstage)
32658 @[ -f ./gdb/Makefile ] || exit 0; \
32659 r=`${PWD_COMMAND}`; export r; \
32660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32661 $(HOST_EXPORTS) \
32662 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32664 done; \
32665 echo "Doing dvi in gdb" ; \
32666 (cd $(HOST_SUBDIR)/gdb && \
32667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32669 "RANLIB=$${RANLIB}" \
32670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32671 dvi) \
32672 || exit 1
32674 @endif gdb
32676 .PHONY: maybe-pdf-gdb pdf-gdb
32677 maybe-pdf-gdb:
32678 @if gdb
32679 maybe-pdf-gdb: pdf-gdb
32681 pdf-gdb: \
32682 configure-gdb
32683 @: $(MAKE); $(unstage)
32684 @[ -f ./gdb/Makefile ] || exit 0; \
32685 r=`${PWD_COMMAND}`; export r; \
32686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32687 $(HOST_EXPORTS) \
32688 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32690 done; \
32691 echo "Doing pdf in gdb" ; \
32692 (cd $(HOST_SUBDIR)/gdb && \
32693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32695 "RANLIB=$${RANLIB}" \
32696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32697 pdf) \
32698 || exit 1
32700 @endif gdb
32702 .PHONY: maybe-html-gdb html-gdb
32703 maybe-html-gdb:
32704 @if gdb
32705 maybe-html-gdb: html-gdb
32707 html-gdb: \
32708 configure-gdb
32709 @: $(MAKE); $(unstage)
32710 @[ -f ./gdb/Makefile ] || exit 0; \
32711 r=`${PWD_COMMAND}`; export r; \
32712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32713 $(HOST_EXPORTS) \
32714 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32716 done; \
32717 echo "Doing html in gdb" ; \
32718 (cd $(HOST_SUBDIR)/gdb && \
32719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32721 "RANLIB=$${RANLIB}" \
32722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32723 html) \
32724 || exit 1
32726 @endif gdb
32728 .PHONY: maybe-TAGS-gdb TAGS-gdb
32729 maybe-TAGS-gdb:
32730 @if gdb
32731 maybe-TAGS-gdb: TAGS-gdb
32733 TAGS-gdb: \
32734 configure-gdb
32735 @: $(MAKE); $(unstage)
32736 @[ -f ./gdb/Makefile ] || exit 0; \
32737 r=`${PWD_COMMAND}`; export r; \
32738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32739 $(HOST_EXPORTS) \
32740 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32742 done; \
32743 echo "Doing TAGS in gdb" ; \
32744 (cd $(HOST_SUBDIR)/gdb && \
32745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32747 "RANLIB=$${RANLIB}" \
32748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32749 TAGS) \
32750 || exit 1
32752 @endif gdb
32754 .PHONY: maybe-install-info-gdb install-info-gdb
32755 maybe-install-info-gdb:
32756 @if gdb
32757 maybe-install-info-gdb: install-info-gdb
32759 install-info-gdb: \
32760 configure-gdb \
32761 info-gdb
32762 @: $(MAKE); $(unstage)
32763 @[ -f ./gdb/Makefile ] || exit 0; \
32764 r=`${PWD_COMMAND}`; export r; \
32765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32766 $(HOST_EXPORTS) \
32767 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32769 done; \
32770 echo "Doing install-info in gdb" ; \
32771 (cd $(HOST_SUBDIR)/gdb && \
32772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32774 "RANLIB=$${RANLIB}" \
32775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32776 install-info) \
32777 || exit 1
32779 @endif gdb
32781 .PHONY: maybe-install-html-gdb install-html-gdb
32782 maybe-install-html-gdb:
32783 @if gdb
32784 maybe-install-html-gdb: install-html-gdb
32786 install-html-gdb: \
32787 configure-gdb \
32788 html-gdb
32789 @: $(MAKE); $(unstage)
32790 @[ -f ./gdb/Makefile ] || exit 0; \
32791 r=`${PWD_COMMAND}`; export r; \
32792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32793 $(HOST_EXPORTS) \
32794 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32796 done; \
32797 echo "Doing install-html in gdb" ; \
32798 (cd $(HOST_SUBDIR)/gdb && \
32799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32801 "RANLIB=$${RANLIB}" \
32802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32803 install-html) \
32804 || exit 1
32806 @endif gdb
32808 .PHONY: maybe-installcheck-gdb installcheck-gdb
32809 maybe-installcheck-gdb:
32810 @if gdb
32811 maybe-installcheck-gdb: installcheck-gdb
32813 installcheck-gdb: \
32814 configure-gdb
32815 @: $(MAKE); $(unstage)
32816 @[ -f ./gdb/Makefile ] || exit 0; \
32817 r=`${PWD_COMMAND}`; export r; \
32818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32819 $(HOST_EXPORTS) \
32820 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32822 done; \
32823 echo "Doing installcheck in gdb" ; \
32824 (cd $(HOST_SUBDIR)/gdb && \
32825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32827 "RANLIB=$${RANLIB}" \
32828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32829 installcheck) \
32830 || exit 1
32832 @endif gdb
32834 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
32835 maybe-mostlyclean-gdb:
32836 @if gdb
32837 maybe-mostlyclean-gdb: mostlyclean-gdb
32839 mostlyclean-gdb:
32840 @: $(MAKE); $(unstage)
32841 @[ -f ./gdb/Makefile ] || exit 0; \
32842 r=`${PWD_COMMAND}`; export r; \
32843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32844 $(HOST_EXPORTS) \
32845 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32847 done; \
32848 echo "Doing mostlyclean in gdb" ; \
32849 (cd $(HOST_SUBDIR)/gdb && \
32850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32852 "RANLIB=$${RANLIB}" \
32853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32854 mostlyclean) \
32855 || exit 1
32857 @endif gdb
32859 .PHONY: maybe-clean-gdb clean-gdb
32860 maybe-clean-gdb:
32861 @if gdb
32862 maybe-clean-gdb: clean-gdb
32864 clean-gdb:
32865 @: $(MAKE); $(unstage)
32866 @[ -f ./gdb/Makefile ] || exit 0; \
32867 r=`${PWD_COMMAND}`; export r; \
32868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32869 $(HOST_EXPORTS) \
32870 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32872 done; \
32873 echo "Doing clean in gdb" ; \
32874 (cd $(HOST_SUBDIR)/gdb && \
32875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32877 "RANLIB=$${RANLIB}" \
32878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32879 clean) \
32880 || exit 1
32882 @endif gdb
32884 .PHONY: maybe-distclean-gdb distclean-gdb
32885 maybe-distclean-gdb:
32886 @if gdb
32887 maybe-distclean-gdb: distclean-gdb
32889 distclean-gdb:
32890 @: $(MAKE); $(unstage)
32891 @[ -f ./gdb/Makefile ] || exit 0; \
32892 r=`${PWD_COMMAND}`; export r; \
32893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32894 $(HOST_EXPORTS) \
32895 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32897 done; \
32898 echo "Doing distclean in gdb" ; \
32899 (cd $(HOST_SUBDIR)/gdb && \
32900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32902 "RANLIB=$${RANLIB}" \
32903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32904 distclean) \
32905 || exit 1
32907 @endif gdb
32909 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
32910 maybe-maintainer-clean-gdb:
32911 @if gdb
32912 maybe-maintainer-clean-gdb: maintainer-clean-gdb
32914 maintainer-clean-gdb:
32915 @: $(MAKE); $(unstage)
32916 @[ -f ./gdb/Makefile ] || exit 0; \
32917 r=`${PWD_COMMAND}`; export r; \
32918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32919 $(HOST_EXPORTS) \
32920 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
32921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32922 done; \
32923 echo "Doing maintainer-clean in gdb" ; \
32924 (cd $(HOST_SUBDIR)/gdb && \
32925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32927 "RANLIB=$${RANLIB}" \
32928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32929 maintainer-clean) \
32930 || exit 1
32932 @endif gdb
32936 .PHONY: configure-expect maybe-configure-expect
32937 maybe-configure-expect:
32938 @if gcc-bootstrap
32939 configure-expect: stage_current
32940 @endif gcc-bootstrap
32941 @if expect
32942 maybe-configure-expect: configure-expect
32943 configure-expect:
32944 @: $(MAKE); $(unstage)
32945 @r=`${PWD_COMMAND}`; export r; \
32946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32947 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
32948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
32949 $(HOST_EXPORTS) \
32950 echo Configuring in $(HOST_SUBDIR)/expect; \
32951 cd "$(HOST_SUBDIR)/expect" || exit 1; \
32952 case $(srcdir) in \
32953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32954 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
32955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32956 esac; \
32957 srcdiroption="--srcdir=$${topdir}/expect"; \
32958 libsrcdir="$$s/expect"; \
32959 $(SHELL) $${libsrcdir}/configure \
32960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
32961 --target=${target_alias} $${srcdiroption} \
32962 || exit 1
32963 @endif expect
32969 .PHONY: all-expect maybe-all-expect
32970 maybe-all-expect:
32971 @if gcc-bootstrap
32972 all-expect: stage_current
32973 @endif gcc-bootstrap
32974 @if expect
32975 TARGET-expect=all
32976 maybe-all-expect: all-expect
32977 all-expect: configure-expect
32978 @: $(MAKE); $(unstage)
32979 @r=`${PWD_COMMAND}`; export r; \
32980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32981 $(HOST_EXPORTS) \
32982 (cd $(HOST_SUBDIR)/expect && \
32983 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
32984 @endif expect
32989 .PHONY: check-expect maybe-check-expect
32990 maybe-check-expect:
32991 @if expect
32992 maybe-check-expect: check-expect
32994 check-expect:
32995 @: $(MAKE); $(unstage)
32996 @r=`${PWD_COMMAND}`; export r; \
32997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32998 $(HOST_EXPORTS) \
32999 (cd $(HOST_SUBDIR)/expect && \
33000 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
33002 @endif expect
33004 .PHONY: install-expect maybe-install-expect
33005 maybe-install-expect:
33006 @if expect
33007 maybe-install-expect: install-expect
33009 install-expect: installdirs
33010 @: $(MAKE); $(unstage)
33011 @r=`${PWD_COMMAND}`; export r; \
33012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33013 $(HOST_EXPORTS) \
33014 (cd $(HOST_SUBDIR)/expect && \
33015 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
33017 @endif expect
33019 # Other targets (info, dvi, pdf, etc.)
33021 .PHONY: maybe-info-expect info-expect
33022 maybe-info-expect:
33023 @if expect
33024 maybe-info-expect: info-expect
33026 info-expect: \
33027 configure-expect
33028 @: $(MAKE); $(unstage)
33029 @[ -f ./expect/Makefile ] || exit 0; \
33030 r=`${PWD_COMMAND}`; export r; \
33031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33032 $(HOST_EXPORTS) \
33033 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33035 done; \
33036 echo "Doing info in expect" ; \
33037 (cd $(HOST_SUBDIR)/expect && \
33038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33040 "RANLIB=$${RANLIB}" \
33041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33042 info) \
33043 || exit 1
33045 @endif expect
33047 .PHONY: maybe-dvi-expect dvi-expect
33048 maybe-dvi-expect:
33049 @if expect
33050 maybe-dvi-expect: dvi-expect
33052 dvi-expect: \
33053 configure-expect
33054 @: $(MAKE); $(unstage)
33055 @[ -f ./expect/Makefile ] || exit 0; \
33056 r=`${PWD_COMMAND}`; export r; \
33057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33058 $(HOST_EXPORTS) \
33059 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33061 done; \
33062 echo "Doing dvi in expect" ; \
33063 (cd $(HOST_SUBDIR)/expect && \
33064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33066 "RANLIB=$${RANLIB}" \
33067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33068 dvi) \
33069 || exit 1
33071 @endif expect
33073 .PHONY: maybe-pdf-expect pdf-expect
33074 maybe-pdf-expect:
33075 @if expect
33076 maybe-pdf-expect: pdf-expect
33078 pdf-expect: \
33079 configure-expect
33080 @: $(MAKE); $(unstage)
33081 @[ -f ./expect/Makefile ] || exit 0; \
33082 r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 $(HOST_EXPORTS) \
33085 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33087 done; \
33088 echo "Doing pdf in expect" ; \
33089 (cd $(HOST_SUBDIR)/expect && \
33090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33092 "RANLIB=$${RANLIB}" \
33093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33094 pdf) \
33095 || exit 1
33097 @endif expect
33099 .PHONY: maybe-html-expect html-expect
33100 maybe-html-expect:
33101 @if expect
33102 maybe-html-expect: html-expect
33104 html-expect: \
33105 configure-expect
33106 @: $(MAKE); $(unstage)
33107 @[ -f ./expect/Makefile ] || exit 0; \
33108 r=`${PWD_COMMAND}`; export r; \
33109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33110 $(HOST_EXPORTS) \
33111 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33113 done; \
33114 echo "Doing html in expect" ; \
33115 (cd $(HOST_SUBDIR)/expect && \
33116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33118 "RANLIB=$${RANLIB}" \
33119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33120 html) \
33121 || exit 1
33123 @endif expect
33125 .PHONY: maybe-TAGS-expect TAGS-expect
33126 maybe-TAGS-expect:
33127 @if expect
33128 maybe-TAGS-expect: TAGS-expect
33130 TAGS-expect: \
33131 configure-expect
33132 @: $(MAKE); $(unstage)
33133 @[ -f ./expect/Makefile ] || exit 0; \
33134 r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 $(HOST_EXPORTS) \
33137 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33139 done; \
33140 echo "Doing TAGS in expect" ; \
33141 (cd $(HOST_SUBDIR)/expect && \
33142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33144 "RANLIB=$${RANLIB}" \
33145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33146 TAGS) \
33147 || exit 1
33149 @endif expect
33151 .PHONY: maybe-install-info-expect install-info-expect
33152 maybe-install-info-expect:
33153 @if expect
33154 maybe-install-info-expect: install-info-expect
33156 install-info-expect: \
33157 configure-expect \
33158 info-expect
33159 @: $(MAKE); $(unstage)
33160 @[ -f ./expect/Makefile ] || exit 0; \
33161 r=`${PWD_COMMAND}`; export r; \
33162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33163 $(HOST_EXPORTS) \
33164 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33166 done; \
33167 echo "Doing install-info in expect" ; \
33168 (cd $(HOST_SUBDIR)/expect && \
33169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33171 "RANLIB=$${RANLIB}" \
33172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33173 install-info) \
33174 || exit 1
33176 @endif expect
33178 .PHONY: maybe-install-html-expect install-html-expect
33179 maybe-install-html-expect:
33180 @if expect
33181 maybe-install-html-expect: install-html-expect
33183 install-html-expect: \
33184 configure-expect \
33185 html-expect
33186 @: $(MAKE); $(unstage)
33187 @[ -f ./expect/Makefile ] || exit 0; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(HOST_EXPORTS) \
33191 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33193 done; \
33194 echo "Doing install-html in expect" ; \
33195 (cd $(HOST_SUBDIR)/expect && \
33196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33198 "RANLIB=$${RANLIB}" \
33199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33200 install-html) \
33201 || exit 1
33203 @endif expect
33205 .PHONY: maybe-installcheck-expect installcheck-expect
33206 maybe-installcheck-expect:
33207 @if expect
33208 maybe-installcheck-expect: installcheck-expect
33210 installcheck-expect: \
33211 configure-expect
33212 @: $(MAKE); $(unstage)
33213 @[ -f ./expect/Makefile ] || exit 0; \
33214 r=`${PWD_COMMAND}`; export r; \
33215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33216 $(HOST_EXPORTS) \
33217 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33219 done; \
33220 echo "Doing installcheck in expect" ; \
33221 (cd $(HOST_SUBDIR)/expect && \
33222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33224 "RANLIB=$${RANLIB}" \
33225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33226 installcheck) \
33227 || exit 1
33229 @endif expect
33231 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
33232 maybe-mostlyclean-expect:
33233 @if expect
33234 maybe-mostlyclean-expect: mostlyclean-expect
33236 mostlyclean-expect:
33237 @: $(MAKE); $(unstage)
33238 @[ -f ./expect/Makefile ] || exit 0; \
33239 r=`${PWD_COMMAND}`; export r; \
33240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33241 $(HOST_EXPORTS) \
33242 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33244 done; \
33245 echo "Doing mostlyclean in expect" ; \
33246 (cd $(HOST_SUBDIR)/expect && \
33247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33249 "RANLIB=$${RANLIB}" \
33250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33251 mostlyclean) \
33252 || exit 1
33254 @endif expect
33256 .PHONY: maybe-clean-expect clean-expect
33257 maybe-clean-expect:
33258 @if expect
33259 maybe-clean-expect: clean-expect
33261 clean-expect:
33262 @: $(MAKE); $(unstage)
33263 @[ -f ./expect/Makefile ] || exit 0; \
33264 r=`${PWD_COMMAND}`; export r; \
33265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33266 $(HOST_EXPORTS) \
33267 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33269 done; \
33270 echo "Doing clean in expect" ; \
33271 (cd $(HOST_SUBDIR)/expect && \
33272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33274 "RANLIB=$${RANLIB}" \
33275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33276 clean) \
33277 || exit 1
33279 @endif expect
33281 .PHONY: maybe-distclean-expect distclean-expect
33282 maybe-distclean-expect:
33283 @if expect
33284 maybe-distclean-expect: distclean-expect
33286 distclean-expect:
33287 @: $(MAKE); $(unstage)
33288 @[ -f ./expect/Makefile ] || exit 0; \
33289 r=`${PWD_COMMAND}`; export r; \
33290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33291 $(HOST_EXPORTS) \
33292 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33294 done; \
33295 echo "Doing distclean in expect" ; \
33296 (cd $(HOST_SUBDIR)/expect && \
33297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33299 "RANLIB=$${RANLIB}" \
33300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33301 distclean) \
33302 || exit 1
33304 @endif expect
33306 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
33307 maybe-maintainer-clean-expect:
33308 @if expect
33309 maybe-maintainer-clean-expect: maintainer-clean-expect
33311 maintainer-clean-expect:
33312 @: $(MAKE); $(unstage)
33313 @[ -f ./expect/Makefile ] || exit 0; \
33314 r=`${PWD_COMMAND}`; export r; \
33315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33316 $(HOST_EXPORTS) \
33317 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33319 done; \
33320 echo "Doing maintainer-clean in expect" ; \
33321 (cd $(HOST_SUBDIR)/expect && \
33322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33324 "RANLIB=$${RANLIB}" \
33325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33326 maintainer-clean) \
33327 || exit 1
33329 @endif expect
33333 .PHONY: configure-guile maybe-configure-guile
33334 maybe-configure-guile:
33335 @if gcc-bootstrap
33336 configure-guile: stage_current
33337 @endif gcc-bootstrap
33338 @if guile
33339 maybe-configure-guile: configure-guile
33340 configure-guile:
33341 @: $(MAKE); $(unstage)
33342 @r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
33345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
33346 $(HOST_EXPORTS) \
33347 echo Configuring in $(HOST_SUBDIR)/guile; \
33348 cd "$(HOST_SUBDIR)/guile" || exit 1; \
33349 case $(srcdir) in \
33350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33351 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
33352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33353 esac; \
33354 srcdiroption="--srcdir=$${topdir}/guile"; \
33355 libsrcdir="$$s/guile"; \
33356 $(SHELL) $${libsrcdir}/configure \
33357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33358 --target=${target_alias} $${srcdiroption} \
33359 || exit 1
33360 @endif guile
33366 .PHONY: all-guile maybe-all-guile
33367 maybe-all-guile:
33368 @if gcc-bootstrap
33369 all-guile: stage_current
33370 @endif gcc-bootstrap
33371 @if guile
33372 TARGET-guile=all
33373 maybe-all-guile: all-guile
33374 all-guile: configure-guile
33375 @: $(MAKE); $(unstage)
33376 @r=`${PWD_COMMAND}`; export r; \
33377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33378 $(HOST_EXPORTS) \
33379 (cd $(HOST_SUBDIR)/guile && \
33380 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
33381 @endif guile
33386 .PHONY: check-guile maybe-check-guile
33387 maybe-check-guile:
33388 @if guile
33389 maybe-check-guile: check-guile
33391 check-guile:
33392 @: $(MAKE); $(unstage)
33393 @r=`${PWD_COMMAND}`; export r; \
33394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33395 $(HOST_EXPORTS) \
33396 (cd $(HOST_SUBDIR)/guile && \
33397 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
33399 @endif guile
33401 .PHONY: install-guile maybe-install-guile
33402 maybe-install-guile:
33403 @if guile
33404 maybe-install-guile: install-guile
33406 install-guile: installdirs
33407 @: $(MAKE); $(unstage)
33408 @r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 $(HOST_EXPORTS) \
33411 (cd $(HOST_SUBDIR)/guile && \
33412 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
33414 @endif guile
33416 # Other targets (info, dvi, pdf, etc.)
33418 .PHONY: maybe-info-guile info-guile
33419 maybe-info-guile:
33420 @if guile
33421 maybe-info-guile: info-guile
33423 info-guile: \
33424 configure-guile
33425 @: $(MAKE); $(unstage)
33426 @[ -f ./guile/Makefile ] || exit 0; \
33427 r=`${PWD_COMMAND}`; export r; \
33428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33429 $(HOST_EXPORTS) \
33430 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33432 done; \
33433 echo "Doing info in guile" ; \
33434 (cd $(HOST_SUBDIR)/guile && \
33435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33437 "RANLIB=$${RANLIB}" \
33438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33439 info) \
33440 || exit 1
33442 @endif guile
33444 .PHONY: maybe-dvi-guile dvi-guile
33445 maybe-dvi-guile:
33446 @if guile
33447 maybe-dvi-guile: dvi-guile
33449 dvi-guile: \
33450 configure-guile
33451 @: $(MAKE); $(unstage)
33452 @[ -f ./guile/Makefile ] || exit 0; \
33453 r=`${PWD_COMMAND}`; export r; \
33454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33455 $(HOST_EXPORTS) \
33456 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33458 done; \
33459 echo "Doing dvi in guile" ; \
33460 (cd $(HOST_SUBDIR)/guile && \
33461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33463 "RANLIB=$${RANLIB}" \
33464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33465 dvi) \
33466 || exit 1
33468 @endif guile
33470 .PHONY: maybe-pdf-guile pdf-guile
33471 maybe-pdf-guile:
33472 @if guile
33473 maybe-pdf-guile: pdf-guile
33475 pdf-guile: \
33476 configure-guile
33477 @: $(MAKE); $(unstage)
33478 @[ -f ./guile/Makefile ] || exit 0; \
33479 r=`${PWD_COMMAND}`; export r; \
33480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33481 $(HOST_EXPORTS) \
33482 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 echo "Doing pdf in guile" ; \
33486 (cd $(HOST_SUBDIR)/guile && \
33487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33489 "RANLIB=$${RANLIB}" \
33490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33491 pdf) \
33492 || exit 1
33494 @endif guile
33496 .PHONY: maybe-html-guile html-guile
33497 maybe-html-guile:
33498 @if guile
33499 maybe-html-guile: html-guile
33501 html-guile: \
33502 configure-guile
33503 @: $(MAKE); $(unstage)
33504 @[ -f ./guile/Makefile ] || exit 0; \
33505 r=`${PWD_COMMAND}`; export r; \
33506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33507 $(HOST_EXPORTS) \
33508 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33510 done; \
33511 echo "Doing html in guile" ; \
33512 (cd $(HOST_SUBDIR)/guile && \
33513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33515 "RANLIB=$${RANLIB}" \
33516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33517 html) \
33518 || exit 1
33520 @endif guile
33522 .PHONY: maybe-TAGS-guile TAGS-guile
33523 maybe-TAGS-guile:
33524 @if guile
33525 maybe-TAGS-guile: TAGS-guile
33527 TAGS-guile: \
33528 configure-guile
33529 @: $(MAKE); $(unstage)
33530 @[ -f ./guile/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) $(X11_FLAGS_TO_PASS); do \
33535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33536 done; \
33537 echo "Doing TAGS in guile" ; \
33538 (cd $(HOST_SUBDIR)/guile && \
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 TAGS) \
33544 || exit 1
33546 @endif guile
33548 .PHONY: maybe-install-info-guile install-info-guile
33549 maybe-install-info-guile:
33550 @if guile
33551 maybe-install-info-guile: install-info-guile
33553 install-info-guile: \
33554 configure-guile \
33555 info-guile
33556 @: $(MAKE); $(unstage)
33557 @[ -f ./guile/Makefile ] || exit 0; \
33558 r=`${PWD_COMMAND}`; export r; \
33559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33560 $(HOST_EXPORTS) \
33561 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33563 done; \
33564 echo "Doing install-info in guile" ; \
33565 (cd $(HOST_SUBDIR)/guile && \
33566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33568 "RANLIB=$${RANLIB}" \
33569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33570 install-info) \
33571 || exit 1
33573 @endif guile
33575 .PHONY: maybe-install-html-guile install-html-guile
33576 maybe-install-html-guile:
33577 @if guile
33578 maybe-install-html-guile: install-html-guile
33580 install-html-guile: \
33581 configure-guile \
33582 html-guile
33583 @: $(MAKE); $(unstage)
33584 @[ -f ./guile/Makefile ] || exit 0; \
33585 r=`${PWD_COMMAND}`; export r; \
33586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33587 $(HOST_EXPORTS) \
33588 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33590 done; \
33591 echo "Doing install-html in guile" ; \
33592 (cd $(HOST_SUBDIR)/guile && \
33593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33595 "RANLIB=$${RANLIB}" \
33596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33597 install-html) \
33598 || exit 1
33600 @endif guile
33602 .PHONY: maybe-installcheck-guile installcheck-guile
33603 maybe-installcheck-guile:
33604 @if guile
33605 maybe-installcheck-guile: installcheck-guile
33607 installcheck-guile: \
33608 configure-guile
33609 @: $(MAKE); $(unstage)
33610 @[ -f ./guile/Makefile ] || exit 0; \
33611 r=`${PWD_COMMAND}`; export r; \
33612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33613 $(HOST_EXPORTS) \
33614 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33616 done; \
33617 echo "Doing installcheck in guile" ; \
33618 (cd $(HOST_SUBDIR)/guile && \
33619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33621 "RANLIB=$${RANLIB}" \
33622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33623 installcheck) \
33624 || exit 1
33626 @endif guile
33628 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
33629 maybe-mostlyclean-guile:
33630 @if guile
33631 maybe-mostlyclean-guile: mostlyclean-guile
33633 mostlyclean-guile:
33634 @: $(MAKE); $(unstage)
33635 @[ -f ./guile/Makefile ] || exit 0; \
33636 r=`${PWD_COMMAND}`; export r; \
33637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33638 $(HOST_EXPORTS) \
33639 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33641 done; \
33642 echo "Doing mostlyclean in guile" ; \
33643 (cd $(HOST_SUBDIR)/guile && \
33644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33646 "RANLIB=$${RANLIB}" \
33647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33648 mostlyclean) \
33649 || exit 1
33651 @endif guile
33653 .PHONY: maybe-clean-guile clean-guile
33654 maybe-clean-guile:
33655 @if guile
33656 maybe-clean-guile: clean-guile
33658 clean-guile:
33659 @: $(MAKE); $(unstage)
33660 @[ -f ./guile/Makefile ] || exit 0; \
33661 r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 $(HOST_EXPORTS) \
33664 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33666 done; \
33667 echo "Doing clean in guile" ; \
33668 (cd $(HOST_SUBDIR)/guile && \
33669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33671 "RANLIB=$${RANLIB}" \
33672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33673 clean) \
33674 || exit 1
33676 @endif guile
33678 .PHONY: maybe-distclean-guile distclean-guile
33679 maybe-distclean-guile:
33680 @if guile
33681 maybe-distclean-guile: distclean-guile
33683 distclean-guile:
33684 @: $(MAKE); $(unstage)
33685 @[ -f ./guile/Makefile ] || exit 0; \
33686 r=`${PWD_COMMAND}`; export r; \
33687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33688 $(HOST_EXPORTS) \
33689 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33691 done; \
33692 echo "Doing distclean in guile" ; \
33693 (cd $(HOST_SUBDIR)/guile && \
33694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33696 "RANLIB=$${RANLIB}" \
33697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33698 distclean) \
33699 || exit 1
33701 @endif guile
33703 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
33704 maybe-maintainer-clean-guile:
33705 @if guile
33706 maybe-maintainer-clean-guile: maintainer-clean-guile
33708 maintainer-clean-guile:
33709 @: $(MAKE); $(unstage)
33710 @[ -f ./guile/Makefile ] || exit 0; \
33711 r=`${PWD_COMMAND}`; export r; \
33712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33713 $(HOST_EXPORTS) \
33714 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33716 done; \
33717 echo "Doing maintainer-clean in guile" ; \
33718 (cd $(HOST_SUBDIR)/guile && \
33719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33721 "RANLIB=$${RANLIB}" \
33722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33723 maintainer-clean) \
33724 || exit 1
33726 @endif guile
33730 .PHONY: configure-tk maybe-configure-tk
33731 maybe-configure-tk:
33732 @if gcc-bootstrap
33733 configure-tk: stage_current
33734 @endif gcc-bootstrap
33735 @if tk
33736 maybe-configure-tk: configure-tk
33737 configure-tk:
33738 @: $(MAKE); $(unstage)
33739 @r=`${PWD_COMMAND}`; export r; \
33740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33741 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
33742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
33743 $(HOST_EXPORTS) \
33744 echo Configuring in $(HOST_SUBDIR)/tk; \
33745 cd "$(HOST_SUBDIR)/tk" || exit 1; \
33746 case $(srcdir) in \
33747 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33748 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
33749 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33750 esac; \
33751 srcdiroption="--srcdir=$${topdir}/tk"; \
33752 libsrcdir="$$s/tk"; \
33753 $(SHELL) $${libsrcdir}/configure \
33754 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
33755 --target=${target_alias} $${srcdiroption} \
33756 || exit 1
33757 @endif tk
33763 .PHONY: all-tk maybe-all-tk
33764 maybe-all-tk:
33765 @if gcc-bootstrap
33766 all-tk: stage_current
33767 @endif gcc-bootstrap
33768 @if tk
33769 TARGET-tk=all
33770 maybe-all-tk: all-tk
33771 all-tk: configure-tk
33772 @: $(MAKE); $(unstage)
33773 @r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 $(HOST_EXPORTS) \
33776 (cd $(HOST_SUBDIR)/tk && \
33777 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
33778 @endif tk
33783 .PHONY: check-tk maybe-check-tk
33784 maybe-check-tk:
33785 @if tk
33786 maybe-check-tk: check-tk
33788 check-tk:
33789 @: $(MAKE); $(unstage)
33790 @r=`${PWD_COMMAND}`; export r; \
33791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33792 $(HOST_EXPORTS) \
33793 (cd $(HOST_SUBDIR)/tk && \
33794 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
33796 @endif tk
33798 .PHONY: install-tk maybe-install-tk
33799 maybe-install-tk:
33800 @if tk
33801 maybe-install-tk: install-tk
33803 install-tk: installdirs
33804 @: $(MAKE); $(unstage)
33805 @r=`${PWD_COMMAND}`; export r; \
33806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33807 $(HOST_EXPORTS) \
33808 (cd $(HOST_SUBDIR)/tk && \
33809 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
33811 @endif tk
33813 # Other targets (info, dvi, pdf, etc.)
33815 .PHONY: maybe-info-tk info-tk
33816 maybe-info-tk:
33817 @if tk
33818 maybe-info-tk: info-tk
33820 info-tk: \
33821 configure-tk
33822 @: $(MAKE); $(unstage)
33823 @[ -f ./tk/Makefile ] || exit 0; \
33824 r=`${PWD_COMMAND}`; export r; \
33825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33826 $(HOST_EXPORTS) \
33827 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33829 done; \
33830 echo "Doing info in tk" ; \
33831 (cd $(HOST_SUBDIR)/tk && \
33832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33834 "RANLIB=$${RANLIB}" \
33835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33836 info) \
33837 || exit 1
33839 @endif tk
33841 .PHONY: maybe-dvi-tk dvi-tk
33842 maybe-dvi-tk:
33843 @if tk
33844 maybe-dvi-tk: dvi-tk
33846 dvi-tk: \
33847 configure-tk
33848 @: $(MAKE); $(unstage)
33849 @[ -f ./tk/Makefile ] || exit 0; \
33850 r=`${PWD_COMMAND}`; export r; \
33851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33852 $(HOST_EXPORTS) \
33853 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33855 done; \
33856 echo "Doing dvi in tk" ; \
33857 (cd $(HOST_SUBDIR)/tk && \
33858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33860 "RANLIB=$${RANLIB}" \
33861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33862 dvi) \
33863 || exit 1
33865 @endif tk
33867 .PHONY: maybe-pdf-tk pdf-tk
33868 maybe-pdf-tk:
33869 @if tk
33870 maybe-pdf-tk: pdf-tk
33872 pdf-tk: \
33873 configure-tk
33874 @: $(MAKE); $(unstage)
33875 @[ -f ./tk/Makefile ] || exit 0; \
33876 r=`${PWD_COMMAND}`; export r; \
33877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33878 $(HOST_EXPORTS) \
33879 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33881 done; \
33882 echo "Doing pdf in tk" ; \
33883 (cd $(HOST_SUBDIR)/tk && \
33884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33886 "RANLIB=$${RANLIB}" \
33887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33888 pdf) \
33889 || exit 1
33891 @endif tk
33893 .PHONY: maybe-html-tk html-tk
33894 maybe-html-tk:
33895 @if tk
33896 maybe-html-tk: html-tk
33898 html-tk: \
33899 configure-tk
33900 @: $(MAKE); $(unstage)
33901 @[ -f ./tk/Makefile ] || exit 0; \
33902 r=`${PWD_COMMAND}`; export r; \
33903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33904 $(HOST_EXPORTS) \
33905 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33907 done; \
33908 echo "Doing html in tk" ; \
33909 (cd $(HOST_SUBDIR)/tk && \
33910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33912 "RANLIB=$${RANLIB}" \
33913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33914 html) \
33915 || exit 1
33917 @endif tk
33919 .PHONY: maybe-TAGS-tk TAGS-tk
33920 maybe-TAGS-tk:
33921 @if tk
33922 maybe-TAGS-tk: TAGS-tk
33924 TAGS-tk: \
33925 configure-tk
33926 @: $(MAKE); $(unstage)
33927 @[ -f ./tk/Makefile ] || exit 0; \
33928 r=`${PWD_COMMAND}`; export r; \
33929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33930 $(HOST_EXPORTS) \
33931 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33933 done; \
33934 echo "Doing TAGS in tk" ; \
33935 (cd $(HOST_SUBDIR)/tk && \
33936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33938 "RANLIB=$${RANLIB}" \
33939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33940 TAGS) \
33941 || exit 1
33943 @endif tk
33945 .PHONY: maybe-install-info-tk install-info-tk
33946 maybe-install-info-tk:
33947 @if tk
33948 maybe-install-info-tk: install-info-tk
33950 install-info-tk: \
33951 configure-tk \
33952 info-tk
33953 @: $(MAKE); $(unstage)
33954 @[ -f ./tk/Makefile ] || exit 0; \
33955 r=`${PWD_COMMAND}`; export r; \
33956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33957 $(HOST_EXPORTS) \
33958 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33960 done; \
33961 echo "Doing install-info in tk" ; \
33962 (cd $(HOST_SUBDIR)/tk && \
33963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33965 "RANLIB=$${RANLIB}" \
33966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33967 install-info) \
33968 || exit 1
33970 @endif tk
33972 .PHONY: maybe-install-html-tk install-html-tk
33973 maybe-install-html-tk:
33974 @if tk
33975 maybe-install-html-tk: install-html-tk
33977 install-html-tk: \
33978 configure-tk \
33979 html-tk
33980 @: $(MAKE); $(unstage)
33981 @[ -f ./tk/Makefile ] || exit 0; \
33982 r=`${PWD_COMMAND}`; export r; \
33983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33984 $(HOST_EXPORTS) \
33985 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
33986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33987 done; \
33988 echo "Doing install-html in tk" ; \
33989 (cd $(HOST_SUBDIR)/tk && \
33990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33992 "RANLIB=$${RANLIB}" \
33993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33994 install-html) \
33995 || exit 1
33997 @endif tk
33999 .PHONY: maybe-installcheck-tk installcheck-tk
34000 maybe-installcheck-tk:
34001 @if tk
34002 maybe-installcheck-tk: installcheck-tk
34004 installcheck-tk: \
34005 configure-tk
34006 @: $(MAKE); $(unstage)
34007 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
34012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34013 done; \
34014 echo "Doing installcheck in tk" ; \
34015 (cd $(HOST_SUBDIR)/tk && \
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 installcheck) \
34021 || exit 1
34023 @endif tk
34025 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
34026 maybe-mostlyclean-tk:
34027 @if tk
34028 maybe-mostlyclean-tk: mostlyclean-tk
34030 mostlyclean-tk:
34031 @: $(MAKE); $(unstage)
34032 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
34037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34038 done; \
34039 echo "Doing mostlyclean in tk" ; \
34040 (cd $(HOST_SUBDIR)/tk && \
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 mostlyclean) \
34046 || exit 1
34048 @endif tk
34050 .PHONY: maybe-clean-tk clean-tk
34051 maybe-clean-tk:
34052 @if tk
34053 maybe-clean-tk: clean-tk
34055 clean-tk:
34056 @: $(MAKE); $(unstage)
34057 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
34062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34063 done; \
34064 echo "Doing clean in tk" ; \
34065 (cd $(HOST_SUBDIR)/tk && \
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 clean) \
34071 || exit 1
34073 @endif tk
34075 .PHONY: maybe-distclean-tk distclean-tk
34076 maybe-distclean-tk:
34077 @if tk
34078 maybe-distclean-tk: distclean-tk
34080 distclean-tk:
34081 @: $(MAKE); $(unstage)
34082 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
34087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34088 done; \
34089 echo "Doing distclean in tk" ; \
34090 (cd $(HOST_SUBDIR)/tk && \
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 distclean) \
34096 || exit 1
34098 @endif tk
34100 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
34101 maybe-maintainer-clean-tk:
34102 @if tk
34103 maybe-maintainer-clean-tk: maintainer-clean-tk
34105 maintainer-clean-tk:
34106 @: $(MAKE); $(unstage)
34107 @[ -f ./tk/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) $(X11_FLAGS_TO_PASS); do \
34112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34113 done; \
34114 echo "Doing maintainer-clean in tk" ; \
34115 (cd $(HOST_SUBDIR)/tk && \
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 maintainer-clean) \
34121 || exit 1
34123 @endif tk
34127 .PHONY: configure-libtermcap maybe-configure-libtermcap
34128 maybe-configure-libtermcap:
34129 @if gcc-bootstrap
34130 configure-libtermcap: stage_current
34131 @endif gcc-bootstrap
34132 @if libtermcap
34133 maybe-configure-libtermcap: configure-libtermcap
34134 configure-libtermcap:
34135 @: $(MAKE); $(unstage)
34136 @r=`${PWD_COMMAND}`; export r; \
34137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34138 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
34139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
34140 $(HOST_EXPORTS) \
34141 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
34142 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
34143 case $(srcdir) in \
34144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34145 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
34146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34147 esac; \
34148 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
34149 libsrcdir="$$s/libtermcap"; \
34150 $(SHELL) $${libsrcdir}/configure \
34151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34152 --target=${target_alias} $${srcdiroption} \
34153 || exit 1
34154 @endif libtermcap
34160 .PHONY: all-libtermcap maybe-all-libtermcap
34161 maybe-all-libtermcap:
34162 @if gcc-bootstrap
34163 all-libtermcap: stage_current
34164 @endif gcc-bootstrap
34165 @if libtermcap
34166 TARGET-libtermcap=all
34167 maybe-all-libtermcap: all-libtermcap
34168 all-libtermcap: configure-libtermcap
34169 @: $(MAKE); $(unstage)
34170 @r=`${PWD_COMMAND}`; export r; \
34171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34172 $(HOST_EXPORTS) \
34173 (cd $(HOST_SUBDIR)/libtermcap && \
34174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
34175 @endif libtermcap
34180 .PHONY: check-libtermcap maybe-check-libtermcap
34181 maybe-check-libtermcap:
34182 @if libtermcap
34183 maybe-check-libtermcap: check-libtermcap
34185 check-libtermcap:
34187 @endif libtermcap
34189 .PHONY: install-libtermcap maybe-install-libtermcap
34190 maybe-install-libtermcap:
34191 @if libtermcap
34192 maybe-install-libtermcap: install-libtermcap
34194 install-libtermcap: installdirs
34195 @: $(MAKE); $(unstage)
34196 @r=`${PWD_COMMAND}`; export r; \
34197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34198 $(HOST_EXPORTS) \
34199 (cd $(HOST_SUBDIR)/libtermcap && \
34200 $(MAKE) $(FLAGS_TO_PASS) install)
34202 @endif libtermcap
34204 # Other targets (info, dvi, pdf, etc.)
34206 .PHONY: maybe-info-libtermcap info-libtermcap
34207 maybe-info-libtermcap:
34208 @if libtermcap
34209 maybe-info-libtermcap: info-libtermcap
34211 info-libtermcap: \
34212 configure-libtermcap
34213 @: $(MAKE); $(unstage)
34214 @[ -f ./libtermcap/Makefile ] || exit 0; \
34215 r=`${PWD_COMMAND}`; export r; \
34216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34217 $(HOST_EXPORTS) \
34218 for flag in $(EXTRA_HOST_FLAGS) ; do \
34219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34220 done; \
34221 echo "Doing info in libtermcap" ; \
34222 (cd $(HOST_SUBDIR)/libtermcap && \
34223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34225 "RANLIB=$${RANLIB}" \
34226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34227 info) \
34228 || exit 1
34230 @endif libtermcap
34232 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
34233 maybe-dvi-libtermcap:
34234 @if libtermcap
34235 maybe-dvi-libtermcap: dvi-libtermcap
34237 dvi-libtermcap: \
34238 configure-libtermcap
34239 @: $(MAKE); $(unstage)
34240 @[ -f ./libtermcap/Makefile ] || exit 0; \
34241 r=`${PWD_COMMAND}`; export r; \
34242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34243 $(HOST_EXPORTS) \
34244 for flag in $(EXTRA_HOST_FLAGS) ; do \
34245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34246 done; \
34247 echo "Doing dvi in libtermcap" ; \
34248 (cd $(HOST_SUBDIR)/libtermcap && \
34249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34251 "RANLIB=$${RANLIB}" \
34252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34253 dvi) \
34254 || exit 1
34256 @endif libtermcap
34258 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
34259 maybe-pdf-libtermcap:
34260 @if libtermcap
34261 maybe-pdf-libtermcap: pdf-libtermcap
34263 pdf-libtermcap: \
34264 configure-libtermcap
34265 @: $(MAKE); $(unstage)
34266 @[ -f ./libtermcap/Makefile ] || exit 0; \
34267 r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 $(HOST_EXPORTS) \
34270 for flag in $(EXTRA_HOST_FLAGS) ; do \
34271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34272 done; \
34273 echo "Doing pdf in libtermcap" ; \
34274 (cd $(HOST_SUBDIR)/libtermcap && \
34275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34277 "RANLIB=$${RANLIB}" \
34278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34279 pdf) \
34280 || exit 1
34282 @endif libtermcap
34284 .PHONY: maybe-html-libtermcap html-libtermcap
34285 maybe-html-libtermcap:
34286 @if libtermcap
34287 maybe-html-libtermcap: html-libtermcap
34289 html-libtermcap: \
34290 configure-libtermcap
34291 @: $(MAKE); $(unstage)
34292 @[ -f ./libtermcap/Makefile ] || exit 0; \
34293 r=`${PWD_COMMAND}`; export r; \
34294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34295 $(HOST_EXPORTS) \
34296 for flag in $(EXTRA_HOST_FLAGS) ; do \
34297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34298 done; \
34299 echo "Doing html in libtermcap" ; \
34300 (cd $(HOST_SUBDIR)/libtermcap && \
34301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34303 "RANLIB=$${RANLIB}" \
34304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34305 html) \
34306 || exit 1
34308 @endif libtermcap
34310 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
34311 maybe-TAGS-libtermcap:
34312 @if libtermcap
34313 maybe-TAGS-libtermcap: TAGS-libtermcap
34315 TAGS-libtermcap: \
34316 configure-libtermcap
34317 @: $(MAKE); $(unstage)
34318 @[ -f ./libtermcap/Makefile ] || exit 0; \
34319 r=`${PWD_COMMAND}`; export r; \
34320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34321 $(HOST_EXPORTS) \
34322 for flag in $(EXTRA_HOST_FLAGS) ; do \
34323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34324 done; \
34325 echo "Doing TAGS in libtermcap" ; \
34326 (cd $(HOST_SUBDIR)/libtermcap && \
34327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34329 "RANLIB=$${RANLIB}" \
34330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34331 TAGS) \
34332 || exit 1
34334 @endif libtermcap
34336 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
34337 maybe-install-info-libtermcap:
34338 @if libtermcap
34339 maybe-install-info-libtermcap: install-info-libtermcap
34341 install-info-libtermcap: \
34342 configure-libtermcap \
34343 info-libtermcap
34344 @: $(MAKE); $(unstage)
34345 @[ -f ./libtermcap/Makefile ] || exit 0; \
34346 r=`${PWD_COMMAND}`; export r; \
34347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34348 $(HOST_EXPORTS) \
34349 for flag in $(EXTRA_HOST_FLAGS) ; do \
34350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34351 done; \
34352 echo "Doing install-info in libtermcap" ; \
34353 (cd $(HOST_SUBDIR)/libtermcap && \
34354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34356 "RANLIB=$${RANLIB}" \
34357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34358 install-info) \
34359 || exit 1
34361 @endif libtermcap
34363 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
34364 maybe-install-html-libtermcap:
34365 @if libtermcap
34366 maybe-install-html-libtermcap: install-html-libtermcap
34368 install-html-libtermcap: \
34369 configure-libtermcap \
34370 html-libtermcap
34371 @: $(MAKE); $(unstage)
34372 @[ -f ./libtermcap/Makefile ] || exit 0; \
34373 r=`${PWD_COMMAND}`; export r; \
34374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34375 $(HOST_EXPORTS) \
34376 for flag in $(EXTRA_HOST_FLAGS) ; do \
34377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34378 done; \
34379 echo "Doing install-html in libtermcap" ; \
34380 (cd $(HOST_SUBDIR)/libtermcap && \
34381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34383 "RANLIB=$${RANLIB}" \
34384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34385 install-html) \
34386 || exit 1
34388 @endif libtermcap
34390 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
34391 maybe-installcheck-libtermcap:
34392 @if libtermcap
34393 maybe-installcheck-libtermcap: installcheck-libtermcap
34395 installcheck-libtermcap: \
34396 configure-libtermcap
34397 @: $(MAKE); $(unstage)
34398 @[ -f ./libtermcap/Makefile ] || exit 0; \
34399 r=`${PWD_COMMAND}`; export r; \
34400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34401 $(HOST_EXPORTS) \
34402 for flag in $(EXTRA_HOST_FLAGS) ; do \
34403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34404 done; \
34405 echo "Doing installcheck in libtermcap" ; \
34406 (cd $(HOST_SUBDIR)/libtermcap && \
34407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34409 "RANLIB=$${RANLIB}" \
34410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34411 installcheck) \
34412 || exit 1
34414 @endif libtermcap
34416 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
34417 maybe-mostlyclean-libtermcap:
34418 @if libtermcap
34419 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
34421 # libtermcap doesn't support mostlyclean.
34422 mostlyclean-libtermcap:
34424 @endif libtermcap
34426 .PHONY: maybe-clean-libtermcap clean-libtermcap
34427 maybe-clean-libtermcap:
34428 @if libtermcap
34429 maybe-clean-libtermcap: clean-libtermcap
34431 # libtermcap doesn't support clean.
34432 clean-libtermcap:
34434 @endif libtermcap
34436 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
34437 maybe-distclean-libtermcap:
34438 @if libtermcap
34439 maybe-distclean-libtermcap: distclean-libtermcap
34441 # libtermcap doesn't support distclean.
34442 distclean-libtermcap:
34444 @endif libtermcap
34446 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
34447 maybe-maintainer-clean-libtermcap:
34448 @if libtermcap
34449 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
34451 # libtermcap doesn't support maintainer-clean.
34452 maintainer-clean-libtermcap:
34454 @endif libtermcap
34458 .PHONY: configure-utils maybe-configure-utils
34459 maybe-configure-utils:
34460 @if gcc-bootstrap
34461 configure-utils: stage_current
34462 @endif gcc-bootstrap
34463 @if utils
34464 maybe-configure-utils: configure-utils
34465 configure-utils:
34466 @: $(MAKE); $(unstage)
34467 @r=`${PWD_COMMAND}`; export r; \
34468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34469 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
34470 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
34471 $(HOST_EXPORTS) \
34472 echo Configuring in $(HOST_SUBDIR)/utils; \
34473 cd "$(HOST_SUBDIR)/utils" || exit 1; \
34474 case $(srcdir) in \
34475 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34476 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
34477 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34478 esac; \
34479 srcdiroption="--srcdir=$${topdir}/utils"; \
34480 libsrcdir="$$s/utils"; \
34481 $(SHELL) $${libsrcdir}/configure \
34482 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34483 --target=${target_alias} $${srcdiroption} \
34484 || exit 1
34485 @endif utils
34491 .PHONY: all-utils maybe-all-utils
34492 maybe-all-utils:
34493 @if gcc-bootstrap
34494 all-utils: stage_current
34495 @endif gcc-bootstrap
34496 @if utils
34497 TARGET-utils=all
34498 maybe-all-utils: all-utils
34499 all-utils: configure-utils
34500 @: $(MAKE); $(unstage)
34501 @r=`${PWD_COMMAND}`; export r; \
34502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34503 $(HOST_EXPORTS) \
34504 (cd $(HOST_SUBDIR)/utils && \
34505 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
34506 @endif utils
34511 .PHONY: check-utils maybe-check-utils
34512 maybe-check-utils:
34513 @if utils
34514 maybe-check-utils: check-utils
34516 check-utils:
34518 @endif utils
34520 .PHONY: install-utils maybe-install-utils
34521 maybe-install-utils:
34522 @if utils
34523 maybe-install-utils: install-utils
34525 install-utils: installdirs
34526 @: $(MAKE); $(unstage)
34527 @r=`${PWD_COMMAND}`; export r; \
34528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34529 $(HOST_EXPORTS) \
34530 (cd $(HOST_SUBDIR)/utils && \
34531 $(MAKE) $(FLAGS_TO_PASS) install)
34533 @endif utils
34535 # Other targets (info, dvi, pdf, etc.)
34537 .PHONY: maybe-info-utils info-utils
34538 maybe-info-utils:
34539 @if utils
34540 maybe-info-utils: info-utils
34542 info-utils: \
34543 configure-utils
34544 @: $(MAKE); $(unstage)
34545 @[ -f ./utils/Makefile ] || exit 0; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(HOST_EXPORTS) \
34549 for flag in $(EXTRA_HOST_FLAGS) ; do \
34550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34551 done; \
34552 echo "Doing info in utils" ; \
34553 (cd $(HOST_SUBDIR)/utils && \
34554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34556 "RANLIB=$${RANLIB}" \
34557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34558 info) \
34559 || exit 1
34561 @endif utils
34563 .PHONY: maybe-dvi-utils dvi-utils
34564 maybe-dvi-utils:
34565 @if utils
34566 maybe-dvi-utils: dvi-utils
34568 dvi-utils: \
34569 configure-utils
34570 @: $(MAKE); $(unstage)
34571 @[ -f ./utils/Makefile ] || exit 0; \
34572 r=`${PWD_COMMAND}`; export r; \
34573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34574 $(HOST_EXPORTS) \
34575 for flag in $(EXTRA_HOST_FLAGS) ; do \
34576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34577 done; \
34578 echo "Doing dvi in utils" ; \
34579 (cd $(HOST_SUBDIR)/utils && \
34580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34582 "RANLIB=$${RANLIB}" \
34583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34584 dvi) \
34585 || exit 1
34587 @endif utils
34589 .PHONY: maybe-pdf-utils pdf-utils
34590 maybe-pdf-utils:
34591 @if utils
34592 maybe-pdf-utils: pdf-utils
34594 pdf-utils: \
34595 configure-utils
34596 @: $(MAKE); $(unstage)
34597 @[ -f ./utils/Makefile ] || exit 0; \
34598 r=`${PWD_COMMAND}`; export r; \
34599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34600 $(HOST_EXPORTS) \
34601 for flag in $(EXTRA_HOST_FLAGS) ; do \
34602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34603 done; \
34604 echo "Doing pdf in utils" ; \
34605 (cd $(HOST_SUBDIR)/utils && \
34606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34608 "RANLIB=$${RANLIB}" \
34609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34610 pdf) \
34611 || exit 1
34613 @endif utils
34615 .PHONY: maybe-html-utils html-utils
34616 maybe-html-utils:
34617 @if utils
34618 maybe-html-utils: html-utils
34620 html-utils: \
34621 configure-utils
34622 @: $(MAKE); $(unstage)
34623 @[ -f ./utils/Makefile ] || exit 0; \
34624 r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(HOST_EXPORTS) \
34627 for flag in $(EXTRA_HOST_FLAGS) ; do \
34628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34629 done; \
34630 echo "Doing html in utils" ; \
34631 (cd $(HOST_SUBDIR)/utils && \
34632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34634 "RANLIB=$${RANLIB}" \
34635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34636 html) \
34637 || exit 1
34639 @endif utils
34641 .PHONY: maybe-TAGS-utils TAGS-utils
34642 maybe-TAGS-utils:
34643 @if utils
34644 maybe-TAGS-utils: TAGS-utils
34646 TAGS-utils: \
34647 configure-utils
34648 @: $(MAKE); $(unstage)
34649 @[ -f ./utils/Makefile ] || exit 0; \
34650 r=`${PWD_COMMAND}`; export r; \
34651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34652 $(HOST_EXPORTS) \
34653 for flag in $(EXTRA_HOST_FLAGS) ; do \
34654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34655 done; \
34656 echo "Doing TAGS in utils" ; \
34657 (cd $(HOST_SUBDIR)/utils && \
34658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34660 "RANLIB=$${RANLIB}" \
34661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34662 TAGS) \
34663 || exit 1
34665 @endif utils
34667 .PHONY: maybe-install-info-utils install-info-utils
34668 maybe-install-info-utils:
34669 @if utils
34670 maybe-install-info-utils: install-info-utils
34672 install-info-utils: \
34673 configure-utils \
34674 info-utils
34675 @: $(MAKE); $(unstage)
34676 @[ -f ./utils/Makefile ] || exit 0; \
34677 r=`${PWD_COMMAND}`; export r; \
34678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34679 $(HOST_EXPORTS) \
34680 for flag in $(EXTRA_HOST_FLAGS) ; do \
34681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34682 done; \
34683 echo "Doing install-info in utils" ; \
34684 (cd $(HOST_SUBDIR)/utils && \
34685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34687 "RANLIB=$${RANLIB}" \
34688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34689 install-info) \
34690 || exit 1
34692 @endif utils
34694 .PHONY: maybe-install-html-utils install-html-utils
34695 maybe-install-html-utils:
34696 @if utils
34697 maybe-install-html-utils: install-html-utils
34699 install-html-utils: \
34700 configure-utils \
34701 html-utils
34702 @: $(MAKE); $(unstage)
34703 @[ -f ./utils/Makefile ] || exit 0; \
34704 r=`${PWD_COMMAND}`; export r; \
34705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34706 $(HOST_EXPORTS) \
34707 for flag in $(EXTRA_HOST_FLAGS) ; do \
34708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34709 done; \
34710 echo "Doing install-html in utils" ; \
34711 (cd $(HOST_SUBDIR)/utils && \
34712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34714 "RANLIB=$${RANLIB}" \
34715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34716 install-html) \
34717 || exit 1
34719 @endif utils
34721 .PHONY: maybe-installcheck-utils installcheck-utils
34722 maybe-installcheck-utils:
34723 @if utils
34724 maybe-installcheck-utils: installcheck-utils
34726 installcheck-utils: \
34727 configure-utils
34728 @: $(MAKE); $(unstage)
34729 @[ -f ./utils/Makefile ] || exit 0; \
34730 r=`${PWD_COMMAND}`; export r; \
34731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34732 $(HOST_EXPORTS) \
34733 for flag in $(EXTRA_HOST_FLAGS) ; do \
34734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34735 done; \
34736 echo "Doing installcheck in utils" ; \
34737 (cd $(HOST_SUBDIR)/utils && \
34738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34740 "RANLIB=$${RANLIB}" \
34741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34742 installcheck) \
34743 || exit 1
34745 @endif utils
34747 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
34748 maybe-mostlyclean-utils:
34749 @if utils
34750 maybe-mostlyclean-utils: mostlyclean-utils
34752 mostlyclean-utils:
34753 @: $(MAKE); $(unstage)
34754 @[ -f ./utils/Makefile ] || exit 0; \
34755 r=`${PWD_COMMAND}`; export r; \
34756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34757 $(HOST_EXPORTS) \
34758 for flag in $(EXTRA_HOST_FLAGS) ; do \
34759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34760 done; \
34761 echo "Doing mostlyclean in utils" ; \
34762 (cd $(HOST_SUBDIR)/utils && \
34763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34765 "RANLIB=$${RANLIB}" \
34766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34767 mostlyclean) \
34768 || exit 1
34770 @endif utils
34772 .PHONY: maybe-clean-utils clean-utils
34773 maybe-clean-utils:
34774 @if utils
34775 maybe-clean-utils: clean-utils
34777 clean-utils:
34778 @: $(MAKE); $(unstage)
34779 @[ -f ./utils/Makefile ] || exit 0; \
34780 r=`${PWD_COMMAND}`; export r; \
34781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34782 $(HOST_EXPORTS) \
34783 for flag in $(EXTRA_HOST_FLAGS) ; do \
34784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34785 done; \
34786 echo "Doing clean in utils" ; \
34787 (cd $(HOST_SUBDIR)/utils && \
34788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34790 "RANLIB=$${RANLIB}" \
34791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34792 clean) \
34793 || exit 1
34795 @endif utils
34797 .PHONY: maybe-distclean-utils distclean-utils
34798 maybe-distclean-utils:
34799 @if utils
34800 maybe-distclean-utils: distclean-utils
34802 distclean-utils:
34803 @: $(MAKE); $(unstage)
34804 @[ -f ./utils/Makefile ] || exit 0; \
34805 r=`${PWD_COMMAND}`; export r; \
34806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34807 $(HOST_EXPORTS) \
34808 for flag in $(EXTRA_HOST_FLAGS) ; do \
34809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34810 done; \
34811 echo "Doing distclean in utils" ; \
34812 (cd $(HOST_SUBDIR)/utils && \
34813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34815 "RANLIB=$${RANLIB}" \
34816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34817 distclean) \
34818 || exit 1
34820 @endif utils
34822 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
34823 maybe-maintainer-clean-utils:
34824 @if utils
34825 maybe-maintainer-clean-utils: maintainer-clean-utils
34827 maintainer-clean-utils:
34828 @: $(MAKE); $(unstage)
34829 @[ -f ./utils/Makefile ] || exit 0; \
34830 r=`${PWD_COMMAND}`; export r; \
34831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34832 $(HOST_EXPORTS) \
34833 for flag in $(EXTRA_HOST_FLAGS) ; do \
34834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34835 done; \
34836 echo "Doing maintainer-clean in utils" ; \
34837 (cd $(HOST_SUBDIR)/utils && \
34838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34840 "RANLIB=$${RANLIB}" \
34841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34842 maintainer-clean) \
34843 || exit 1
34845 @endif utils
34849 .PHONY: configure-gnattools maybe-configure-gnattools
34850 maybe-configure-gnattools:
34851 @if gcc-bootstrap
34852 configure-gnattools: stage_current
34853 @endif gcc-bootstrap
34854 @if gnattools
34855 maybe-configure-gnattools: configure-gnattools
34856 configure-gnattools:
34857 @: $(MAKE); $(unstage)
34858 @r=`${PWD_COMMAND}`; export r; \
34859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34860 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
34861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
34862 $(HOST_EXPORTS) \
34863 echo Configuring in $(HOST_SUBDIR)/gnattools; \
34864 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
34865 case $(srcdir) in \
34866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34867 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
34868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34869 esac; \
34870 srcdiroption="--srcdir=$${topdir}/gnattools"; \
34871 libsrcdir="$$s/gnattools"; \
34872 $(SHELL) $${libsrcdir}/configure \
34873 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
34874 --target=${target_alias} $${srcdiroption} \
34875 || exit 1
34876 @endif gnattools
34882 .PHONY: all-gnattools maybe-all-gnattools
34883 maybe-all-gnattools:
34884 @if gcc-bootstrap
34885 all-gnattools: stage_current
34886 @endif gcc-bootstrap
34887 @if gnattools
34888 TARGET-gnattools=all
34889 maybe-all-gnattools: all-gnattools
34890 all-gnattools: configure-gnattools
34891 @: $(MAKE); $(unstage)
34892 @r=`${PWD_COMMAND}`; export r; \
34893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34894 $(HOST_EXPORTS) \
34895 (cd $(HOST_SUBDIR)/gnattools && \
34896 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
34897 @endif gnattools
34902 .PHONY: check-gnattools maybe-check-gnattools
34903 maybe-check-gnattools:
34904 @if gnattools
34905 maybe-check-gnattools: check-gnattools
34907 check-gnattools:
34908 @: $(MAKE); $(unstage)
34909 @r=`${PWD_COMMAND}`; export r; \
34910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34911 $(HOST_EXPORTS) \
34912 (cd $(HOST_SUBDIR)/gnattools && \
34913 $(MAKE) $(FLAGS_TO_PASS) check)
34915 @endif gnattools
34917 .PHONY: install-gnattools maybe-install-gnattools
34918 maybe-install-gnattools:
34919 @if gnattools
34920 maybe-install-gnattools: install-gnattools
34922 install-gnattools: installdirs
34923 @: $(MAKE); $(unstage)
34924 @r=`${PWD_COMMAND}`; export r; \
34925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34926 $(HOST_EXPORTS) \
34927 (cd $(HOST_SUBDIR)/gnattools && \
34928 $(MAKE) $(FLAGS_TO_PASS) install)
34930 @endif gnattools
34932 # Other targets (info, dvi, pdf, etc.)
34934 .PHONY: maybe-info-gnattools info-gnattools
34935 maybe-info-gnattools:
34936 @if gnattools
34937 maybe-info-gnattools: info-gnattools
34939 info-gnattools: \
34940 configure-gnattools
34941 @: $(MAKE); $(unstage)
34942 @[ -f ./gnattools/Makefile ] || exit 0; \
34943 r=`${PWD_COMMAND}`; export r; \
34944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34945 $(HOST_EXPORTS) \
34946 for flag in $(EXTRA_HOST_FLAGS) ; do \
34947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34948 done; \
34949 echo "Doing info in gnattools" ; \
34950 (cd $(HOST_SUBDIR)/gnattools && \
34951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34953 "RANLIB=$${RANLIB}" \
34954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34955 info) \
34956 || exit 1
34958 @endif gnattools
34960 .PHONY: maybe-dvi-gnattools dvi-gnattools
34961 maybe-dvi-gnattools:
34962 @if gnattools
34963 maybe-dvi-gnattools: dvi-gnattools
34965 dvi-gnattools: \
34966 configure-gnattools
34967 @: $(MAKE); $(unstage)
34968 @[ -f ./gnattools/Makefile ] || exit 0; \
34969 r=`${PWD_COMMAND}`; export r; \
34970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34971 $(HOST_EXPORTS) \
34972 for flag in $(EXTRA_HOST_FLAGS) ; do \
34973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34974 done; \
34975 echo "Doing dvi in gnattools" ; \
34976 (cd $(HOST_SUBDIR)/gnattools && \
34977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34979 "RANLIB=$${RANLIB}" \
34980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34981 dvi) \
34982 || exit 1
34984 @endif gnattools
34986 .PHONY: maybe-pdf-gnattools pdf-gnattools
34987 maybe-pdf-gnattools:
34988 @if gnattools
34989 maybe-pdf-gnattools: pdf-gnattools
34991 pdf-gnattools: \
34992 configure-gnattools
34993 @: $(MAKE); $(unstage)
34994 @[ -f ./gnattools/Makefile ] || exit 0; \
34995 r=`${PWD_COMMAND}`; export r; \
34996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34997 $(HOST_EXPORTS) \
34998 for flag in $(EXTRA_HOST_FLAGS) ; do \
34999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35000 done; \
35001 echo "Doing pdf in gnattools" ; \
35002 (cd $(HOST_SUBDIR)/gnattools && \
35003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35005 "RANLIB=$${RANLIB}" \
35006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35007 pdf) \
35008 || exit 1
35010 @endif gnattools
35012 .PHONY: maybe-html-gnattools html-gnattools
35013 maybe-html-gnattools:
35014 @if gnattools
35015 maybe-html-gnattools: html-gnattools
35017 html-gnattools: \
35018 configure-gnattools
35019 @: $(MAKE); $(unstage)
35020 @[ -f ./gnattools/Makefile ] || exit 0; \
35021 r=`${PWD_COMMAND}`; export r; \
35022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35023 $(HOST_EXPORTS) \
35024 for flag in $(EXTRA_HOST_FLAGS) ; do \
35025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35026 done; \
35027 echo "Doing html in gnattools" ; \
35028 (cd $(HOST_SUBDIR)/gnattools && \
35029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35031 "RANLIB=$${RANLIB}" \
35032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35033 html) \
35034 || exit 1
35036 @endif gnattools
35038 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
35039 maybe-TAGS-gnattools:
35040 @if gnattools
35041 maybe-TAGS-gnattools: TAGS-gnattools
35043 TAGS-gnattools: \
35044 configure-gnattools
35045 @: $(MAKE); $(unstage)
35046 @[ -f ./gnattools/Makefile ] || exit 0; \
35047 r=`${PWD_COMMAND}`; export r; \
35048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35049 $(HOST_EXPORTS) \
35050 for flag in $(EXTRA_HOST_FLAGS) ; do \
35051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35052 done; \
35053 echo "Doing TAGS in gnattools" ; \
35054 (cd $(HOST_SUBDIR)/gnattools && \
35055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35057 "RANLIB=$${RANLIB}" \
35058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35059 TAGS) \
35060 || exit 1
35062 @endif gnattools
35064 .PHONY: maybe-install-info-gnattools install-info-gnattools
35065 maybe-install-info-gnattools:
35066 @if gnattools
35067 maybe-install-info-gnattools: install-info-gnattools
35069 install-info-gnattools: \
35070 configure-gnattools \
35071 info-gnattools
35072 @: $(MAKE); $(unstage)
35073 @[ -f ./gnattools/Makefile ] || exit 0; \
35074 r=`${PWD_COMMAND}`; export r; \
35075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35076 $(HOST_EXPORTS) \
35077 for flag in $(EXTRA_HOST_FLAGS) ; do \
35078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35079 done; \
35080 echo "Doing install-info in gnattools" ; \
35081 (cd $(HOST_SUBDIR)/gnattools && \
35082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35084 "RANLIB=$${RANLIB}" \
35085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35086 install-info) \
35087 || exit 1
35089 @endif gnattools
35091 .PHONY: maybe-install-html-gnattools install-html-gnattools
35092 maybe-install-html-gnattools:
35093 @if gnattools
35094 maybe-install-html-gnattools: install-html-gnattools
35096 install-html-gnattools: \
35097 configure-gnattools \
35098 html-gnattools
35099 @: $(MAKE); $(unstage)
35100 @[ -f ./gnattools/Makefile ] || exit 0; \
35101 r=`${PWD_COMMAND}`; export r; \
35102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35103 $(HOST_EXPORTS) \
35104 for flag in $(EXTRA_HOST_FLAGS) ; do \
35105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35106 done; \
35107 echo "Doing install-html in gnattools" ; \
35108 (cd $(HOST_SUBDIR)/gnattools && \
35109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35111 "RANLIB=$${RANLIB}" \
35112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35113 install-html) \
35114 || exit 1
35116 @endif gnattools
35118 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
35119 maybe-installcheck-gnattools:
35120 @if gnattools
35121 maybe-installcheck-gnattools: installcheck-gnattools
35123 installcheck-gnattools: \
35124 configure-gnattools
35125 @: $(MAKE); $(unstage)
35126 @[ -f ./gnattools/Makefile ] || exit 0; \
35127 r=`${PWD_COMMAND}`; export r; \
35128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35129 $(HOST_EXPORTS) \
35130 for flag in $(EXTRA_HOST_FLAGS) ; do \
35131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35132 done; \
35133 echo "Doing installcheck in gnattools" ; \
35134 (cd $(HOST_SUBDIR)/gnattools && \
35135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35137 "RANLIB=$${RANLIB}" \
35138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35139 installcheck) \
35140 || exit 1
35142 @endif gnattools
35144 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
35145 maybe-mostlyclean-gnattools:
35146 @if gnattools
35147 maybe-mostlyclean-gnattools: mostlyclean-gnattools
35149 mostlyclean-gnattools:
35150 @: $(MAKE); $(unstage)
35151 @[ -f ./gnattools/Makefile ] || exit 0; \
35152 r=`${PWD_COMMAND}`; export r; \
35153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35154 $(HOST_EXPORTS) \
35155 for flag in $(EXTRA_HOST_FLAGS) ; do \
35156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35157 done; \
35158 echo "Doing mostlyclean in gnattools" ; \
35159 (cd $(HOST_SUBDIR)/gnattools && \
35160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35162 "RANLIB=$${RANLIB}" \
35163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35164 mostlyclean) \
35165 || exit 1
35167 @endif gnattools
35169 .PHONY: maybe-clean-gnattools clean-gnattools
35170 maybe-clean-gnattools:
35171 @if gnattools
35172 maybe-clean-gnattools: clean-gnattools
35174 clean-gnattools:
35175 @: $(MAKE); $(unstage)
35176 @[ -f ./gnattools/Makefile ] || exit 0; \
35177 r=`${PWD_COMMAND}`; export r; \
35178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35179 $(HOST_EXPORTS) \
35180 for flag in $(EXTRA_HOST_FLAGS) ; do \
35181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35182 done; \
35183 echo "Doing clean in gnattools" ; \
35184 (cd $(HOST_SUBDIR)/gnattools && \
35185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35187 "RANLIB=$${RANLIB}" \
35188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35189 clean) \
35190 || exit 1
35192 @endif gnattools
35194 .PHONY: maybe-distclean-gnattools distclean-gnattools
35195 maybe-distclean-gnattools:
35196 @if gnattools
35197 maybe-distclean-gnattools: distclean-gnattools
35199 distclean-gnattools:
35200 @: $(MAKE); $(unstage)
35201 @[ -f ./gnattools/Makefile ] || exit 0; \
35202 r=`${PWD_COMMAND}`; export r; \
35203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35204 $(HOST_EXPORTS) \
35205 for flag in $(EXTRA_HOST_FLAGS) ; do \
35206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35207 done; \
35208 echo "Doing distclean in gnattools" ; \
35209 (cd $(HOST_SUBDIR)/gnattools && \
35210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35212 "RANLIB=$${RANLIB}" \
35213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35214 distclean) \
35215 || exit 1
35217 @endif gnattools
35219 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
35220 maybe-maintainer-clean-gnattools:
35221 @if gnattools
35222 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
35224 maintainer-clean-gnattools:
35225 @: $(MAKE); $(unstage)
35226 @[ -f ./gnattools/Makefile ] || exit 0; \
35227 r=`${PWD_COMMAND}`; export r; \
35228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35229 $(HOST_EXPORTS) \
35230 for flag in $(EXTRA_HOST_FLAGS) ; do \
35231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35232 done; \
35233 echo "Doing maintainer-clean in gnattools" ; \
35234 (cd $(HOST_SUBDIR)/gnattools && \
35235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35237 "RANLIB=$${RANLIB}" \
35238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35239 maintainer-clean) \
35240 || exit 1
35242 @endif gnattools
35246 # ---------------------------------------
35247 # Modules which run on the target machine
35248 # ---------------------------------------
35253 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
35254 maybe-configure-target-libstdc++-v3:
35255 @if gcc-bootstrap
35256 configure-target-libstdc++-v3: stage_current
35257 @endif gcc-bootstrap
35258 @if target-libstdc++-v3
35259 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
35260 configure-target-libstdc++-v3:
35261 @: $(MAKE); $(unstage)
35262 @r=`${PWD_COMMAND}`; export r; \
35263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35264 echo "Checking multilib configuration for libstdc++-v3..."; \
35265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
35266 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
35267 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
35268 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
35269 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
35270 else \
35271 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
35272 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
35273 fi; \
35274 else \
35275 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
35276 fi; \
35277 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
35278 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
35279 $(RAW_CXX_TARGET_EXPORTS) \
35280 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
35281 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
35282 case $(srcdir) in \
35283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35284 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
35285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35286 esac; \
35287 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
35288 libsrcdir="$$s/libstdc++-v3"; \
35289 rm -f no-such-file || : ; \
35290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35291 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35292 --target=${target_alias} $${srcdiroption} \
35293 || exit 1
35294 @endif target-libstdc++-v3
35300 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
35301 maybe-all-target-libstdc++-v3:
35302 @if gcc-bootstrap
35303 all-target-libstdc++-v3: stage_current
35304 @endif gcc-bootstrap
35305 @if target-libstdc++-v3
35306 TARGET-target-libstdc++-v3=all
35307 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
35308 all-target-libstdc++-v3: configure-target-libstdc++-v3
35309 @: $(MAKE); $(unstage)
35310 @r=`${PWD_COMMAND}`; export r; \
35311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35312 $(RAW_CXX_TARGET_EXPORTS) \
35313 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35314 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
35315 @endif target-libstdc++-v3
35321 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
35322 maybe-check-target-libstdc++-v3:
35323 @if target-libstdc++-v3
35324 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
35326 check-target-libstdc++-v3:
35327 @: $(MAKE); $(unstage)
35328 @r=`${PWD_COMMAND}`; export r; \
35329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35330 $(RAW_CXX_TARGET_EXPORTS) \
35331 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35332 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
35334 @endif target-libstdc++-v3
35336 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
35337 maybe-install-target-libstdc++-v3:
35338 @if target-libstdc++-v3
35339 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
35341 install-target-libstdc++-v3: installdirs
35342 @: $(MAKE); $(unstage)
35343 @r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 $(RAW_CXX_TARGET_EXPORTS) \
35346 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35347 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35349 @endif target-libstdc++-v3
35351 # Other targets (info, dvi, pdf, etc.)
35353 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
35354 maybe-info-target-libstdc++-v3:
35355 @if target-libstdc++-v3
35356 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
35358 info-target-libstdc++-v3: \
35359 configure-target-libstdc++-v3
35360 @: $(MAKE); $(unstage)
35361 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35362 r=`${PWD_COMMAND}`; export r; \
35363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35364 $(RAW_CXX_TARGET_EXPORTS) \
35365 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35366 for flag in $(EXTRA_TARGET_FLAGS); do \
35367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35368 done; \
35369 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35372 "RANLIB=$${RANLIB}" \
35373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35374 info) \
35375 || exit 1
35377 @endif target-libstdc++-v3
35379 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
35380 maybe-dvi-target-libstdc++-v3:
35381 @if target-libstdc++-v3
35382 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
35384 dvi-target-libstdc++-v3: \
35385 configure-target-libstdc++-v3
35386 @: $(MAKE); $(unstage)
35387 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35388 r=`${PWD_COMMAND}`; export r; \
35389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35390 $(RAW_CXX_TARGET_EXPORTS) \
35391 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35392 for flag in $(EXTRA_TARGET_FLAGS); do \
35393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35394 done; \
35395 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35398 "RANLIB=$${RANLIB}" \
35399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35400 dvi) \
35401 || exit 1
35403 @endif target-libstdc++-v3
35405 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
35406 maybe-pdf-target-libstdc++-v3:
35407 @if target-libstdc++-v3
35408 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
35410 pdf-target-libstdc++-v3: \
35411 configure-target-libstdc++-v3
35412 @: $(MAKE); $(unstage)
35413 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35414 r=`${PWD_COMMAND}`; export r; \
35415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35416 $(RAW_CXX_TARGET_EXPORTS) \
35417 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35418 for flag in $(EXTRA_TARGET_FLAGS); do \
35419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35420 done; \
35421 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35424 "RANLIB=$${RANLIB}" \
35425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35426 pdf) \
35427 || exit 1
35429 @endif target-libstdc++-v3
35431 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
35432 maybe-html-target-libstdc++-v3:
35433 @if target-libstdc++-v3
35434 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
35436 html-target-libstdc++-v3: \
35437 configure-target-libstdc++-v3
35438 @: $(MAKE); $(unstage)
35439 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35440 r=`${PWD_COMMAND}`; export r; \
35441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35442 $(RAW_CXX_TARGET_EXPORTS) \
35443 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35444 for flag in $(EXTRA_TARGET_FLAGS); do \
35445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35446 done; \
35447 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35450 "RANLIB=$${RANLIB}" \
35451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35452 html) \
35453 || exit 1
35455 @endif target-libstdc++-v3
35457 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
35458 maybe-TAGS-target-libstdc++-v3:
35459 @if target-libstdc++-v3
35460 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
35462 TAGS-target-libstdc++-v3: \
35463 configure-target-libstdc++-v3
35464 @: $(MAKE); $(unstage)
35465 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35466 r=`${PWD_COMMAND}`; export r; \
35467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35468 $(RAW_CXX_TARGET_EXPORTS) \
35469 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35470 for flag in $(EXTRA_TARGET_FLAGS); do \
35471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35472 done; \
35473 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35476 "RANLIB=$${RANLIB}" \
35477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35478 TAGS) \
35479 || exit 1
35481 @endif target-libstdc++-v3
35483 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
35484 maybe-install-info-target-libstdc++-v3:
35485 @if target-libstdc++-v3
35486 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
35488 install-info-target-libstdc++-v3: \
35489 configure-target-libstdc++-v3 \
35490 info-target-libstdc++-v3
35491 @: $(MAKE); $(unstage)
35492 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35493 r=`${PWD_COMMAND}`; export r; \
35494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35495 $(RAW_CXX_TARGET_EXPORTS) \
35496 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35497 for flag in $(EXTRA_TARGET_FLAGS); do \
35498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35499 done; \
35500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35503 "RANLIB=$${RANLIB}" \
35504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35505 install-info) \
35506 || exit 1
35508 @endif target-libstdc++-v3
35510 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
35511 maybe-install-html-target-libstdc++-v3:
35512 @if target-libstdc++-v3
35513 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
35515 install-html-target-libstdc++-v3: \
35516 configure-target-libstdc++-v3 \
35517 html-target-libstdc++-v3
35518 @: $(MAKE); $(unstage)
35519 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35520 r=`${PWD_COMMAND}`; export r; \
35521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35522 $(RAW_CXX_TARGET_EXPORTS) \
35523 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35524 for flag in $(EXTRA_TARGET_FLAGS); do \
35525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35526 done; \
35527 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35530 "RANLIB=$${RANLIB}" \
35531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35532 install-html) \
35533 || exit 1
35535 @endif target-libstdc++-v3
35537 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
35538 maybe-installcheck-target-libstdc++-v3:
35539 @if target-libstdc++-v3
35540 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
35542 installcheck-target-libstdc++-v3: \
35543 configure-target-libstdc++-v3
35544 @: $(MAKE); $(unstage)
35545 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35546 r=`${PWD_COMMAND}`; export r; \
35547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35548 $(RAW_CXX_TARGET_EXPORTS) \
35549 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35550 for flag in $(EXTRA_TARGET_FLAGS); do \
35551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35552 done; \
35553 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35556 "RANLIB=$${RANLIB}" \
35557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35558 installcheck) \
35559 || exit 1
35561 @endif target-libstdc++-v3
35563 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
35564 maybe-mostlyclean-target-libstdc++-v3:
35565 @if target-libstdc++-v3
35566 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
35568 mostlyclean-target-libstdc++-v3:
35569 @: $(MAKE); $(unstage)
35570 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35571 r=`${PWD_COMMAND}`; export r; \
35572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35573 $(RAW_CXX_TARGET_EXPORTS) \
35574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35575 for flag in $(EXTRA_TARGET_FLAGS); do \
35576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35577 done; \
35578 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35581 "RANLIB=$${RANLIB}" \
35582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35583 mostlyclean) \
35584 || exit 1
35586 @endif target-libstdc++-v3
35588 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
35589 maybe-clean-target-libstdc++-v3:
35590 @if target-libstdc++-v3
35591 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
35593 clean-target-libstdc++-v3:
35594 @: $(MAKE); $(unstage)
35595 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35596 r=`${PWD_COMMAND}`; export r; \
35597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35598 $(RAW_CXX_TARGET_EXPORTS) \
35599 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35600 for flag in $(EXTRA_TARGET_FLAGS); do \
35601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35602 done; \
35603 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35606 "RANLIB=$${RANLIB}" \
35607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35608 clean) \
35609 || exit 1
35611 @endif target-libstdc++-v3
35613 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
35614 maybe-distclean-target-libstdc++-v3:
35615 @if target-libstdc++-v3
35616 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
35618 distclean-target-libstdc++-v3:
35619 @: $(MAKE); $(unstage)
35620 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35621 r=`${PWD_COMMAND}`; export r; \
35622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35623 $(RAW_CXX_TARGET_EXPORTS) \
35624 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35625 for flag in $(EXTRA_TARGET_FLAGS); do \
35626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35627 done; \
35628 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35631 "RANLIB=$${RANLIB}" \
35632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35633 distclean) \
35634 || exit 1
35636 @endif target-libstdc++-v3
35638 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
35639 maybe-maintainer-clean-target-libstdc++-v3:
35640 @if target-libstdc++-v3
35641 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
35643 maintainer-clean-target-libstdc++-v3:
35644 @: $(MAKE); $(unstage)
35645 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
35646 r=`${PWD_COMMAND}`; export r; \
35647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35648 $(RAW_CXX_TARGET_EXPORTS) \
35649 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
35650 for flag in $(EXTRA_TARGET_FLAGS); do \
35651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35652 done; \
35653 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
35654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35656 "RANLIB=$${RANLIB}" \
35657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35658 maintainer-clean) \
35659 || exit 1
35661 @endif target-libstdc++-v3
35667 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
35668 maybe-configure-target-libmudflap:
35669 @if gcc-bootstrap
35670 configure-target-libmudflap: stage_current
35671 @endif gcc-bootstrap
35672 @if target-libmudflap
35673 maybe-configure-target-libmudflap: configure-target-libmudflap
35674 configure-target-libmudflap:
35675 @: $(MAKE); $(unstage)
35676 @r=`${PWD_COMMAND}`; export r; \
35677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35678 echo "Checking multilib configuration for libmudflap..."; \
35679 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
35680 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmudflap/multilib.tmp 2> /dev/null ; \
35681 if test -r $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
35682 if cmp -s $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; then \
35683 rm -f $(TARGET_SUBDIR)/libmudflap/multilib.tmp; \
35684 else \
35685 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile; \
35686 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
35687 fi; \
35688 else \
35689 mv $(TARGET_SUBDIR)/libmudflap/multilib.tmp $(TARGET_SUBDIR)/libmudflap/multilib.out; \
35690 fi; \
35691 test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
35692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
35693 $(NORMAL_TARGET_EXPORTS) \
35694 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
35695 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
35696 case $(srcdir) in \
35697 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35698 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
35699 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35700 esac; \
35701 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
35702 libsrcdir="$$s/libmudflap"; \
35703 rm -f no-such-file || : ; \
35704 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35705 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35706 --target=${target_alias} $${srcdiroption} \
35707 || exit 1
35708 @endif target-libmudflap
35714 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
35715 maybe-all-target-libmudflap:
35716 @if gcc-bootstrap
35717 all-target-libmudflap: stage_current
35718 @endif gcc-bootstrap
35719 @if target-libmudflap
35720 TARGET-target-libmudflap=all
35721 maybe-all-target-libmudflap: all-target-libmudflap
35722 all-target-libmudflap: configure-target-libmudflap
35723 @: $(MAKE); $(unstage)
35724 @r=`${PWD_COMMAND}`; export r; \
35725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35726 $(NORMAL_TARGET_EXPORTS) \
35727 (cd $(TARGET_SUBDIR)/libmudflap && \
35728 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
35729 @endif target-libmudflap
35735 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
35736 maybe-check-target-libmudflap:
35737 @if target-libmudflap
35738 maybe-check-target-libmudflap: check-target-libmudflap
35740 check-target-libmudflap:
35741 @: $(MAKE); $(unstage)
35742 @r=`${PWD_COMMAND}`; export r; \
35743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35744 $(NORMAL_TARGET_EXPORTS) \
35745 (cd $(TARGET_SUBDIR)/libmudflap && \
35746 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35748 @endif target-libmudflap
35750 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
35751 maybe-install-target-libmudflap:
35752 @if target-libmudflap
35753 maybe-install-target-libmudflap: install-target-libmudflap
35755 install-target-libmudflap: installdirs
35756 @: $(MAKE); $(unstage)
35757 @r=`${PWD_COMMAND}`; export r; \
35758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35759 $(NORMAL_TARGET_EXPORTS) \
35760 (cd $(TARGET_SUBDIR)/libmudflap && \
35761 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35763 @endif target-libmudflap
35765 # Other targets (info, dvi, pdf, etc.)
35767 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
35768 maybe-info-target-libmudflap:
35769 @if target-libmudflap
35770 maybe-info-target-libmudflap: info-target-libmudflap
35772 info-target-libmudflap: \
35773 configure-target-libmudflap
35774 @: $(MAKE); $(unstage)
35775 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35776 r=`${PWD_COMMAND}`; export r; \
35777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35778 $(NORMAL_TARGET_EXPORTS) \
35779 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
35780 for flag in $(EXTRA_TARGET_FLAGS); do \
35781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35782 done; \
35783 (cd $(TARGET_SUBDIR)/libmudflap && \
35784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35786 "RANLIB=$${RANLIB}" \
35787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35788 info) \
35789 || exit 1
35791 @endif target-libmudflap
35793 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
35794 maybe-dvi-target-libmudflap:
35795 @if target-libmudflap
35796 maybe-dvi-target-libmudflap: dvi-target-libmudflap
35798 dvi-target-libmudflap: \
35799 configure-target-libmudflap
35800 @: $(MAKE); $(unstage)
35801 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35802 r=`${PWD_COMMAND}`; export r; \
35803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35804 $(NORMAL_TARGET_EXPORTS) \
35805 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
35806 for flag in $(EXTRA_TARGET_FLAGS); do \
35807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35808 done; \
35809 (cd $(TARGET_SUBDIR)/libmudflap && \
35810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35812 "RANLIB=$${RANLIB}" \
35813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35814 dvi) \
35815 || exit 1
35817 @endif target-libmudflap
35819 .PHONY: maybe-pdf-target-libmudflap pdf-target-libmudflap
35820 maybe-pdf-target-libmudflap:
35821 @if target-libmudflap
35822 maybe-pdf-target-libmudflap: pdf-target-libmudflap
35824 pdf-target-libmudflap: \
35825 configure-target-libmudflap
35826 @: $(MAKE); $(unstage)
35827 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35828 r=`${PWD_COMMAND}`; export r; \
35829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35830 $(NORMAL_TARGET_EXPORTS) \
35831 echo "Doing pdf in $(TARGET_SUBDIR)/libmudflap" ; \
35832 for flag in $(EXTRA_TARGET_FLAGS); do \
35833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35834 done; \
35835 (cd $(TARGET_SUBDIR)/libmudflap && \
35836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35838 "RANLIB=$${RANLIB}" \
35839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35840 pdf) \
35841 || exit 1
35843 @endif target-libmudflap
35845 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
35846 maybe-html-target-libmudflap:
35847 @if target-libmudflap
35848 maybe-html-target-libmudflap: html-target-libmudflap
35850 html-target-libmudflap: \
35851 configure-target-libmudflap
35852 @: $(MAKE); $(unstage)
35853 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35854 r=`${PWD_COMMAND}`; export r; \
35855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35856 $(NORMAL_TARGET_EXPORTS) \
35857 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
35858 for flag in $(EXTRA_TARGET_FLAGS); do \
35859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35860 done; \
35861 (cd $(TARGET_SUBDIR)/libmudflap && \
35862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35864 "RANLIB=$${RANLIB}" \
35865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35866 html) \
35867 || exit 1
35869 @endif target-libmudflap
35871 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
35872 maybe-TAGS-target-libmudflap:
35873 @if target-libmudflap
35874 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
35876 TAGS-target-libmudflap: \
35877 configure-target-libmudflap
35878 @: $(MAKE); $(unstage)
35879 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35880 r=`${PWD_COMMAND}`; export r; \
35881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35882 $(NORMAL_TARGET_EXPORTS) \
35883 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
35884 for flag in $(EXTRA_TARGET_FLAGS); do \
35885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35886 done; \
35887 (cd $(TARGET_SUBDIR)/libmudflap && \
35888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35890 "RANLIB=$${RANLIB}" \
35891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35892 TAGS) \
35893 || exit 1
35895 @endif target-libmudflap
35897 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
35898 maybe-install-info-target-libmudflap:
35899 @if target-libmudflap
35900 maybe-install-info-target-libmudflap: install-info-target-libmudflap
35902 install-info-target-libmudflap: \
35903 configure-target-libmudflap \
35904 info-target-libmudflap
35905 @: $(MAKE); $(unstage)
35906 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35907 r=`${PWD_COMMAND}`; export r; \
35908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35909 $(NORMAL_TARGET_EXPORTS) \
35910 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
35911 for flag in $(EXTRA_TARGET_FLAGS); do \
35912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35913 done; \
35914 (cd $(TARGET_SUBDIR)/libmudflap && \
35915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35917 "RANLIB=$${RANLIB}" \
35918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35919 install-info) \
35920 || exit 1
35922 @endif target-libmudflap
35924 .PHONY: maybe-install-html-target-libmudflap install-html-target-libmudflap
35925 maybe-install-html-target-libmudflap:
35926 @if target-libmudflap
35927 maybe-install-html-target-libmudflap: install-html-target-libmudflap
35929 install-html-target-libmudflap: \
35930 configure-target-libmudflap \
35931 html-target-libmudflap
35932 @: $(MAKE); $(unstage)
35933 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35934 r=`${PWD_COMMAND}`; export r; \
35935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35936 $(NORMAL_TARGET_EXPORTS) \
35937 echo "Doing install-html in $(TARGET_SUBDIR)/libmudflap" ; \
35938 for flag in $(EXTRA_TARGET_FLAGS); do \
35939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35940 done; \
35941 (cd $(TARGET_SUBDIR)/libmudflap && \
35942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35944 "RANLIB=$${RANLIB}" \
35945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35946 install-html) \
35947 || exit 1
35949 @endif target-libmudflap
35951 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
35952 maybe-installcheck-target-libmudflap:
35953 @if target-libmudflap
35954 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
35956 installcheck-target-libmudflap: \
35957 configure-target-libmudflap
35958 @: $(MAKE); $(unstage)
35959 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35960 r=`${PWD_COMMAND}`; export r; \
35961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35962 $(NORMAL_TARGET_EXPORTS) \
35963 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
35964 for flag in $(EXTRA_TARGET_FLAGS); do \
35965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35966 done; \
35967 (cd $(TARGET_SUBDIR)/libmudflap && \
35968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35970 "RANLIB=$${RANLIB}" \
35971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35972 installcheck) \
35973 || exit 1
35975 @endif target-libmudflap
35977 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
35978 maybe-mostlyclean-target-libmudflap:
35979 @if target-libmudflap
35980 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
35982 mostlyclean-target-libmudflap:
35983 @: $(MAKE); $(unstage)
35984 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
35985 r=`${PWD_COMMAND}`; export r; \
35986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35987 $(NORMAL_TARGET_EXPORTS) \
35988 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
35989 for flag in $(EXTRA_TARGET_FLAGS); do \
35990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35991 done; \
35992 (cd $(TARGET_SUBDIR)/libmudflap && \
35993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35995 "RANLIB=$${RANLIB}" \
35996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35997 mostlyclean) \
35998 || exit 1
36000 @endif target-libmudflap
36002 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
36003 maybe-clean-target-libmudflap:
36004 @if target-libmudflap
36005 maybe-clean-target-libmudflap: clean-target-libmudflap
36007 clean-target-libmudflap:
36008 @: $(MAKE); $(unstage)
36009 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
36010 r=`${PWD_COMMAND}`; export r; \
36011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36012 $(NORMAL_TARGET_EXPORTS) \
36013 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
36014 for flag in $(EXTRA_TARGET_FLAGS); do \
36015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36016 done; \
36017 (cd $(TARGET_SUBDIR)/libmudflap && \
36018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36020 "RANLIB=$${RANLIB}" \
36021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36022 clean) \
36023 || exit 1
36025 @endif target-libmudflap
36027 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
36028 maybe-distclean-target-libmudflap:
36029 @if target-libmudflap
36030 maybe-distclean-target-libmudflap: distclean-target-libmudflap
36032 distclean-target-libmudflap:
36033 @: $(MAKE); $(unstage)
36034 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
36035 r=`${PWD_COMMAND}`; export r; \
36036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36037 $(NORMAL_TARGET_EXPORTS) \
36038 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
36039 for flag in $(EXTRA_TARGET_FLAGS); do \
36040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36041 done; \
36042 (cd $(TARGET_SUBDIR)/libmudflap && \
36043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36045 "RANLIB=$${RANLIB}" \
36046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36047 distclean) \
36048 || exit 1
36050 @endif target-libmudflap
36052 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
36053 maybe-maintainer-clean-target-libmudflap:
36054 @if target-libmudflap
36055 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
36057 maintainer-clean-target-libmudflap:
36058 @: $(MAKE); $(unstage)
36059 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
36060 r=`${PWD_COMMAND}`; export r; \
36061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36062 $(NORMAL_TARGET_EXPORTS) \
36063 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
36064 for flag in $(EXTRA_TARGET_FLAGS); do \
36065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36066 done; \
36067 (cd $(TARGET_SUBDIR)/libmudflap && \
36068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36070 "RANLIB=$${RANLIB}" \
36071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36072 maintainer-clean) \
36073 || exit 1
36075 @endif target-libmudflap
36081 .PHONY: configure-target-libssp maybe-configure-target-libssp
36082 maybe-configure-target-libssp:
36083 @if gcc-bootstrap
36084 configure-target-libssp: stage_current
36085 @endif gcc-bootstrap
36086 @if target-libssp
36087 maybe-configure-target-libssp: configure-target-libssp
36088 configure-target-libssp:
36089 @: $(MAKE); $(unstage)
36090 @r=`${PWD_COMMAND}`; export r; \
36091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36092 echo "Checking multilib configuration for libssp..."; \
36093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
36094 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
36095 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
36096 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
36097 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
36098 else \
36099 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
36100 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
36101 fi; \
36102 else \
36103 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
36104 fi; \
36105 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
36106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
36107 $(NORMAL_TARGET_EXPORTS) \
36108 echo Configuring in $(TARGET_SUBDIR)/libssp; \
36109 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
36110 case $(srcdir) in \
36111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36112 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
36113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36114 esac; \
36115 srcdiroption="--srcdir=$${topdir}/libssp"; \
36116 libsrcdir="$$s/libssp"; \
36117 rm -f no-such-file || : ; \
36118 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36119 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36120 --target=${target_alias} $${srcdiroption} \
36121 || exit 1
36122 @endif target-libssp
36128 .PHONY: all-target-libssp maybe-all-target-libssp
36129 maybe-all-target-libssp:
36130 @if gcc-bootstrap
36131 all-target-libssp: stage_current
36132 @endif gcc-bootstrap
36133 @if target-libssp
36134 TARGET-target-libssp=all
36135 maybe-all-target-libssp: all-target-libssp
36136 all-target-libssp: configure-target-libssp
36137 @: $(MAKE); $(unstage)
36138 @r=`${PWD_COMMAND}`; export r; \
36139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36140 $(NORMAL_TARGET_EXPORTS) \
36141 (cd $(TARGET_SUBDIR)/libssp && \
36142 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
36143 @endif target-libssp
36149 .PHONY: check-target-libssp maybe-check-target-libssp
36150 maybe-check-target-libssp:
36151 @if target-libssp
36152 maybe-check-target-libssp: check-target-libssp
36154 check-target-libssp:
36155 @: $(MAKE); $(unstage)
36156 @r=`${PWD_COMMAND}`; export r; \
36157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36158 $(NORMAL_TARGET_EXPORTS) \
36159 (cd $(TARGET_SUBDIR)/libssp && \
36160 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36162 @endif target-libssp
36164 .PHONY: install-target-libssp maybe-install-target-libssp
36165 maybe-install-target-libssp:
36166 @if target-libssp
36167 maybe-install-target-libssp: install-target-libssp
36169 install-target-libssp: installdirs
36170 @: $(MAKE); $(unstage)
36171 @r=`${PWD_COMMAND}`; export r; \
36172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36173 $(NORMAL_TARGET_EXPORTS) \
36174 (cd $(TARGET_SUBDIR)/libssp && \
36175 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36177 @endif target-libssp
36179 # Other targets (info, dvi, pdf, etc.)
36181 .PHONY: maybe-info-target-libssp info-target-libssp
36182 maybe-info-target-libssp:
36183 @if target-libssp
36184 maybe-info-target-libssp: info-target-libssp
36186 info-target-libssp: \
36187 configure-target-libssp
36188 @: $(MAKE); $(unstage)
36189 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36190 r=`${PWD_COMMAND}`; export r; \
36191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36192 $(NORMAL_TARGET_EXPORTS) \
36193 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
36194 for flag in $(EXTRA_TARGET_FLAGS); do \
36195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36196 done; \
36197 (cd $(TARGET_SUBDIR)/libssp && \
36198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36200 "RANLIB=$${RANLIB}" \
36201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36202 info) \
36203 || exit 1
36205 @endif target-libssp
36207 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
36208 maybe-dvi-target-libssp:
36209 @if target-libssp
36210 maybe-dvi-target-libssp: dvi-target-libssp
36212 dvi-target-libssp: \
36213 configure-target-libssp
36214 @: $(MAKE); $(unstage)
36215 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36216 r=`${PWD_COMMAND}`; export r; \
36217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36218 $(NORMAL_TARGET_EXPORTS) \
36219 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
36220 for flag in $(EXTRA_TARGET_FLAGS); do \
36221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36222 done; \
36223 (cd $(TARGET_SUBDIR)/libssp && \
36224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36226 "RANLIB=$${RANLIB}" \
36227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36228 dvi) \
36229 || exit 1
36231 @endif target-libssp
36233 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
36234 maybe-pdf-target-libssp:
36235 @if target-libssp
36236 maybe-pdf-target-libssp: pdf-target-libssp
36238 pdf-target-libssp: \
36239 configure-target-libssp
36240 @: $(MAKE); $(unstage)
36241 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36242 r=`${PWD_COMMAND}`; export r; \
36243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36244 $(NORMAL_TARGET_EXPORTS) \
36245 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
36246 for flag in $(EXTRA_TARGET_FLAGS); do \
36247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36248 done; \
36249 (cd $(TARGET_SUBDIR)/libssp && \
36250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36252 "RANLIB=$${RANLIB}" \
36253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36254 pdf) \
36255 || exit 1
36257 @endif target-libssp
36259 .PHONY: maybe-html-target-libssp html-target-libssp
36260 maybe-html-target-libssp:
36261 @if target-libssp
36262 maybe-html-target-libssp: html-target-libssp
36264 html-target-libssp: \
36265 configure-target-libssp
36266 @: $(MAKE); $(unstage)
36267 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36268 r=`${PWD_COMMAND}`; export r; \
36269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36270 $(NORMAL_TARGET_EXPORTS) \
36271 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
36272 for flag in $(EXTRA_TARGET_FLAGS); do \
36273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36274 done; \
36275 (cd $(TARGET_SUBDIR)/libssp && \
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 html) \
36281 || exit 1
36283 @endif target-libssp
36285 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
36286 maybe-TAGS-target-libssp:
36287 @if target-libssp
36288 maybe-TAGS-target-libssp: TAGS-target-libssp
36290 TAGS-target-libssp: \
36291 configure-target-libssp
36292 @: $(MAKE); $(unstage)
36293 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36294 r=`${PWD_COMMAND}`; export r; \
36295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36296 $(NORMAL_TARGET_EXPORTS) \
36297 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
36298 for flag in $(EXTRA_TARGET_FLAGS); do \
36299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36300 done; \
36301 (cd $(TARGET_SUBDIR)/libssp && \
36302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36304 "RANLIB=$${RANLIB}" \
36305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36306 TAGS) \
36307 || exit 1
36309 @endif target-libssp
36311 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
36312 maybe-install-info-target-libssp:
36313 @if target-libssp
36314 maybe-install-info-target-libssp: install-info-target-libssp
36316 install-info-target-libssp: \
36317 configure-target-libssp \
36318 info-target-libssp
36319 @: $(MAKE); $(unstage)
36320 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36321 r=`${PWD_COMMAND}`; export r; \
36322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36323 $(NORMAL_TARGET_EXPORTS) \
36324 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
36325 for flag in $(EXTRA_TARGET_FLAGS); do \
36326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36327 done; \
36328 (cd $(TARGET_SUBDIR)/libssp && \
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 install-info) \
36334 || exit 1
36336 @endif target-libssp
36338 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
36339 maybe-install-html-target-libssp:
36340 @if target-libssp
36341 maybe-install-html-target-libssp: install-html-target-libssp
36343 install-html-target-libssp: \
36344 configure-target-libssp \
36345 html-target-libssp
36346 @: $(MAKE); $(unstage)
36347 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36348 r=`${PWD_COMMAND}`; export r; \
36349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36350 $(NORMAL_TARGET_EXPORTS) \
36351 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
36352 for flag in $(EXTRA_TARGET_FLAGS); do \
36353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36354 done; \
36355 (cd $(TARGET_SUBDIR)/libssp && \
36356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36358 "RANLIB=$${RANLIB}" \
36359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36360 install-html) \
36361 || exit 1
36363 @endif target-libssp
36365 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
36366 maybe-installcheck-target-libssp:
36367 @if target-libssp
36368 maybe-installcheck-target-libssp: installcheck-target-libssp
36370 installcheck-target-libssp: \
36371 configure-target-libssp
36372 @: $(MAKE); $(unstage)
36373 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36374 r=`${PWD_COMMAND}`; export r; \
36375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36376 $(NORMAL_TARGET_EXPORTS) \
36377 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
36378 for flag in $(EXTRA_TARGET_FLAGS); do \
36379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36380 done; \
36381 (cd $(TARGET_SUBDIR)/libssp && \
36382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36384 "RANLIB=$${RANLIB}" \
36385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36386 installcheck) \
36387 || exit 1
36389 @endif target-libssp
36391 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
36392 maybe-mostlyclean-target-libssp:
36393 @if target-libssp
36394 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
36396 mostlyclean-target-libssp:
36397 @: $(MAKE); $(unstage)
36398 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36399 r=`${PWD_COMMAND}`; export r; \
36400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36401 $(NORMAL_TARGET_EXPORTS) \
36402 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
36403 for flag in $(EXTRA_TARGET_FLAGS); do \
36404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36405 done; \
36406 (cd $(TARGET_SUBDIR)/libssp && \
36407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36409 "RANLIB=$${RANLIB}" \
36410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36411 mostlyclean) \
36412 || exit 1
36414 @endif target-libssp
36416 .PHONY: maybe-clean-target-libssp clean-target-libssp
36417 maybe-clean-target-libssp:
36418 @if target-libssp
36419 maybe-clean-target-libssp: clean-target-libssp
36421 clean-target-libssp:
36422 @: $(MAKE); $(unstage)
36423 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36424 r=`${PWD_COMMAND}`; export r; \
36425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36426 $(NORMAL_TARGET_EXPORTS) \
36427 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
36428 for flag in $(EXTRA_TARGET_FLAGS); do \
36429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36430 done; \
36431 (cd $(TARGET_SUBDIR)/libssp && \
36432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36434 "RANLIB=$${RANLIB}" \
36435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36436 clean) \
36437 || exit 1
36439 @endif target-libssp
36441 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
36442 maybe-distclean-target-libssp:
36443 @if target-libssp
36444 maybe-distclean-target-libssp: distclean-target-libssp
36446 distclean-target-libssp:
36447 @: $(MAKE); $(unstage)
36448 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36449 r=`${PWD_COMMAND}`; export r; \
36450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36451 $(NORMAL_TARGET_EXPORTS) \
36452 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
36453 for flag in $(EXTRA_TARGET_FLAGS); do \
36454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36455 done; \
36456 (cd $(TARGET_SUBDIR)/libssp && \
36457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36459 "RANLIB=$${RANLIB}" \
36460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36461 distclean) \
36462 || exit 1
36464 @endif target-libssp
36466 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36467 maybe-maintainer-clean-target-libssp:
36468 @if target-libssp
36469 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36471 maintainer-clean-target-libssp:
36472 @: $(MAKE); $(unstage)
36473 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36474 r=`${PWD_COMMAND}`; export r; \
36475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36476 $(NORMAL_TARGET_EXPORTS) \
36477 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36478 for flag in $(EXTRA_TARGET_FLAGS); do \
36479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36480 done; \
36481 (cd $(TARGET_SUBDIR)/libssp && \
36482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36484 "RANLIB=$${RANLIB}" \
36485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36486 maintainer-clean) \
36487 || exit 1
36489 @endif target-libssp
36495 .PHONY: configure-target-newlib maybe-configure-target-newlib
36496 maybe-configure-target-newlib:
36497 @if gcc-bootstrap
36498 configure-target-newlib: stage_current
36499 @endif gcc-bootstrap
36500 @if target-newlib
36501 maybe-configure-target-newlib: configure-target-newlib
36502 configure-target-newlib:
36503 @: $(MAKE); $(unstage)
36504 @r=`${PWD_COMMAND}`; export r; \
36505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36506 echo "Checking multilib configuration for newlib..."; \
36507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36508 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36509 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36510 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36511 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36512 else \
36513 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36514 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36515 fi; \
36516 else \
36517 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36518 fi; \
36519 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36521 $(NORMAL_TARGET_EXPORTS) \
36522 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36523 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36524 case $(srcdir) in \
36525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36526 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36528 esac; \
36529 srcdiroption="--srcdir=$${topdir}/newlib"; \
36530 libsrcdir="$$s/newlib"; \
36531 rm -f no-such-file || : ; \
36532 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36533 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36534 --target=${target_alias} $${srcdiroption} \
36535 || exit 1
36536 @endif target-newlib
36542 .PHONY: all-target-newlib maybe-all-target-newlib
36543 maybe-all-target-newlib:
36544 @if gcc-bootstrap
36545 all-target-newlib: stage_current
36546 @endif gcc-bootstrap
36547 @if target-newlib
36548 TARGET-target-newlib=all
36549 maybe-all-target-newlib: all-target-newlib
36550 all-target-newlib: configure-target-newlib
36551 @: $(MAKE); $(unstage)
36552 @r=`${PWD_COMMAND}`; export r; \
36553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36554 $(NORMAL_TARGET_EXPORTS) \
36555 (cd $(TARGET_SUBDIR)/newlib && \
36556 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
36557 @endif target-newlib
36563 .PHONY: check-target-newlib maybe-check-target-newlib
36564 maybe-check-target-newlib:
36565 @if target-newlib
36566 maybe-check-target-newlib: check-target-newlib
36568 check-target-newlib:
36569 @: $(MAKE); $(unstage)
36570 @r=`${PWD_COMMAND}`; export r; \
36571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36572 $(NORMAL_TARGET_EXPORTS) \
36573 (cd $(TARGET_SUBDIR)/newlib && \
36574 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36576 @endif target-newlib
36578 .PHONY: install-target-newlib maybe-install-target-newlib
36579 maybe-install-target-newlib:
36580 @if target-newlib
36581 maybe-install-target-newlib: install-target-newlib
36583 install-target-newlib: installdirs
36584 @: $(MAKE); $(unstage)
36585 @r=`${PWD_COMMAND}`; export r; \
36586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36587 $(NORMAL_TARGET_EXPORTS) \
36588 (cd $(TARGET_SUBDIR)/newlib && \
36589 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36591 @endif target-newlib
36593 # Other targets (info, dvi, pdf, etc.)
36595 .PHONY: maybe-info-target-newlib info-target-newlib
36596 maybe-info-target-newlib:
36597 @if target-newlib
36598 maybe-info-target-newlib: info-target-newlib
36600 info-target-newlib: \
36601 configure-target-newlib
36602 @: $(MAKE); $(unstage)
36603 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36604 r=`${PWD_COMMAND}`; export r; \
36605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36606 $(NORMAL_TARGET_EXPORTS) \
36607 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36608 for flag in $(EXTRA_TARGET_FLAGS); do \
36609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36610 done; \
36611 (cd $(TARGET_SUBDIR)/newlib && \
36612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36614 "RANLIB=$${RANLIB}" \
36615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36616 info) \
36617 || exit 1
36619 @endif target-newlib
36621 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36622 maybe-dvi-target-newlib:
36623 @if target-newlib
36624 maybe-dvi-target-newlib: dvi-target-newlib
36626 dvi-target-newlib: \
36627 configure-target-newlib
36628 @: $(MAKE); $(unstage)
36629 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36630 r=`${PWD_COMMAND}`; export r; \
36631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36632 $(NORMAL_TARGET_EXPORTS) \
36633 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36634 for flag in $(EXTRA_TARGET_FLAGS); do \
36635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36636 done; \
36637 (cd $(TARGET_SUBDIR)/newlib && \
36638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36640 "RANLIB=$${RANLIB}" \
36641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36642 dvi) \
36643 || exit 1
36645 @endif target-newlib
36647 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36648 maybe-pdf-target-newlib:
36649 @if target-newlib
36650 maybe-pdf-target-newlib: pdf-target-newlib
36652 pdf-target-newlib: \
36653 configure-target-newlib
36654 @: $(MAKE); $(unstage)
36655 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36656 r=`${PWD_COMMAND}`; export r; \
36657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36658 $(NORMAL_TARGET_EXPORTS) \
36659 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36660 for flag in $(EXTRA_TARGET_FLAGS); do \
36661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36662 done; \
36663 (cd $(TARGET_SUBDIR)/newlib && \
36664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36666 "RANLIB=$${RANLIB}" \
36667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36668 pdf) \
36669 || exit 1
36671 @endif target-newlib
36673 .PHONY: maybe-html-target-newlib html-target-newlib
36674 maybe-html-target-newlib:
36675 @if target-newlib
36676 maybe-html-target-newlib: html-target-newlib
36678 html-target-newlib: \
36679 configure-target-newlib
36680 @: $(MAKE); $(unstage)
36681 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36682 r=`${PWD_COMMAND}`; export r; \
36683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36684 $(NORMAL_TARGET_EXPORTS) \
36685 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36686 for flag in $(EXTRA_TARGET_FLAGS); do \
36687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36688 done; \
36689 (cd $(TARGET_SUBDIR)/newlib && \
36690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36692 "RANLIB=$${RANLIB}" \
36693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36694 html) \
36695 || exit 1
36697 @endif target-newlib
36699 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36700 maybe-TAGS-target-newlib:
36701 @if target-newlib
36702 maybe-TAGS-target-newlib: TAGS-target-newlib
36704 TAGS-target-newlib: \
36705 configure-target-newlib
36706 @: $(MAKE); $(unstage)
36707 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36708 r=`${PWD_COMMAND}`; export r; \
36709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36710 $(NORMAL_TARGET_EXPORTS) \
36711 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36712 for flag in $(EXTRA_TARGET_FLAGS); do \
36713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36714 done; \
36715 (cd $(TARGET_SUBDIR)/newlib && \
36716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36718 "RANLIB=$${RANLIB}" \
36719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36720 TAGS) \
36721 || exit 1
36723 @endif target-newlib
36725 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36726 maybe-install-info-target-newlib:
36727 @if target-newlib
36728 maybe-install-info-target-newlib: install-info-target-newlib
36730 install-info-target-newlib: \
36731 configure-target-newlib \
36732 info-target-newlib
36733 @: $(MAKE); $(unstage)
36734 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36735 r=`${PWD_COMMAND}`; export r; \
36736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36737 $(NORMAL_TARGET_EXPORTS) \
36738 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36739 for flag in $(EXTRA_TARGET_FLAGS); do \
36740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36741 done; \
36742 (cd $(TARGET_SUBDIR)/newlib && \
36743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36745 "RANLIB=$${RANLIB}" \
36746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36747 install-info) \
36748 || exit 1
36750 @endif target-newlib
36752 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36753 maybe-install-html-target-newlib:
36754 @if target-newlib
36755 maybe-install-html-target-newlib: install-html-target-newlib
36757 install-html-target-newlib: \
36758 configure-target-newlib \
36759 html-target-newlib
36760 @: $(MAKE); $(unstage)
36761 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36762 r=`${PWD_COMMAND}`; export r; \
36763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36764 $(NORMAL_TARGET_EXPORTS) \
36765 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36766 for flag in $(EXTRA_TARGET_FLAGS); do \
36767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36768 done; \
36769 (cd $(TARGET_SUBDIR)/newlib && \
36770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36772 "RANLIB=$${RANLIB}" \
36773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36774 install-html) \
36775 || exit 1
36777 @endif target-newlib
36779 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36780 maybe-installcheck-target-newlib:
36781 @if target-newlib
36782 maybe-installcheck-target-newlib: installcheck-target-newlib
36784 installcheck-target-newlib: \
36785 configure-target-newlib
36786 @: $(MAKE); $(unstage)
36787 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36788 r=`${PWD_COMMAND}`; export r; \
36789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36790 $(NORMAL_TARGET_EXPORTS) \
36791 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36792 for flag in $(EXTRA_TARGET_FLAGS); do \
36793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36794 done; \
36795 (cd $(TARGET_SUBDIR)/newlib && \
36796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36798 "RANLIB=$${RANLIB}" \
36799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36800 installcheck) \
36801 || exit 1
36803 @endif target-newlib
36805 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36806 maybe-mostlyclean-target-newlib:
36807 @if target-newlib
36808 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36810 mostlyclean-target-newlib:
36811 @: $(MAKE); $(unstage)
36812 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36813 r=`${PWD_COMMAND}`; export r; \
36814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36815 $(NORMAL_TARGET_EXPORTS) \
36816 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36817 for flag in $(EXTRA_TARGET_FLAGS); do \
36818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36819 done; \
36820 (cd $(TARGET_SUBDIR)/newlib && \
36821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36823 "RANLIB=$${RANLIB}" \
36824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36825 mostlyclean) \
36826 || exit 1
36828 @endif target-newlib
36830 .PHONY: maybe-clean-target-newlib clean-target-newlib
36831 maybe-clean-target-newlib:
36832 @if target-newlib
36833 maybe-clean-target-newlib: clean-target-newlib
36835 clean-target-newlib:
36836 @: $(MAKE); $(unstage)
36837 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36838 r=`${PWD_COMMAND}`; export r; \
36839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36840 $(NORMAL_TARGET_EXPORTS) \
36841 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36842 for flag in $(EXTRA_TARGET_FLAGS); do \
36843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36844 done; \
36845 (cd $(TARGET_SUBDIR)/newlib && \
36846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36848 "RANLIB=$${RANLIB}" \
36849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36850 clean) \
36851 || exit 1
36853 @endif target-newlib
36855 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36856 maybe-distclean-target-newlib:
36857 @if target-newlib
36858 maybe-distclean-target-newlib: distclean-target-newlib
36860 distclean-target-newlib:
36861 @: $(MAKE); $(unstage)
36862 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36863 r=`${PWD_COMMAND}`; export r; \
36864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36865 $(NORMAL_TARGET_EXPORTS) \
36866 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36867 for flag in $(EXTRA_TARGET_FLAGS); do \
36868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36869 done; \
36870 (cd $(TARGET_SUBDIR)/newlib && \
36871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36873 "RANLIB=$${RANLIB}" \
36874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36875 distclean) \
36876 || exit 1
36878 @endif target-newlib
36880 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36881 maybe-maintainer-clean-target-newlib:
36882 @if target-newlib
36883 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36885 maintainer-clean-target-newlib:
36886 @: $(MAKE); $(unstage)
36887 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36888 r=`${PWD_COMMAND}`; export r; \
36889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36890 $(NORMAL_TARGET_EXPORTS) \
36891 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36892 for flag in $(EXTRA_TARGET_FLAGS); do \
36893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36894 done; \
36895 (cd $(TARGET_SUBDIR)/newlib && \
36896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36898 "RANLIB=$${RANLIB}" \
36899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
36900 maintainer-clean) \
36901 || exit 1
36903 @endif target-newlib
36909 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36910 maybe-configure-target-libgcc:
36911 @if gcc-bootstrap
36912 configure-target-libgcc: stage_current
36913 @endif gcc-bootstrap
36914 @if target-libgcc
36915 maybe-configure-target-libgcc: configure-target-libgcc
36916 configure-target-libgcc:
36917 @r=`${PWD_COMMAND}`; export r; \
36918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36919 echo "Checking multilib configuration for libgcc..."; \
36920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36921 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36922 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36923 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36924 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36925 else \
36926 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36927 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36928 fi; \
36929 else \
36930 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36931 fi; \
36932 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36934 $(NORMAL_TARGET_EXPORTS) \
36935 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36936 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36937 case $(srcdir) in \
36938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36939 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36941 esac; \
36942 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36943 libsrcdir="$$s/libgcc"; \
36944 rm -f no-such-file || : ; \
36945 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36946 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36947 --target=${target_alias} $${srcdiroption} \
36948 || exit 1
36949 @endif target-libgcc
36953 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36954 maybe-configure-stage1-target-libgcc:
36955 @if target-libgcc-bootstrap
36956 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36957 configure-stage1-target-libgcc:
36958 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36959 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36960 @r=`${PWD_COMMAND}`; export r; \
36961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36962 echo "Checking multilib configuration for libgcc..."; \
36963 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36964 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36965 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36966 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36967 else \
36968 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36969 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36970 fi; \
36971 else \
36972 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36973 fi; \
36974 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36975 $(NORMAL_TARGET_EXPORTS) \
36976 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36978 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36979 case $(srcdir) in \
36980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36981 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36983 esac; \
36984 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36985 libsrcdir="$$s/libgcc"; \
36986 $(SHELL) $${libsrcdir}/configure \
36987 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36988 --target=${target_alias} $${srcdiroption} \
36990 --disable-intermodule $(STAGE1_CHECKING) --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
36991 @endif target-libgcc-bootstrap
36993 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36994 maybe-configure-stage2-target-libgcc:
36995 @if target-libgcc-bootstrap
36996 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36997 configure-stage2-target-libgcc:
36998 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36999 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37000 @r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 echo "Checking multilib configuration for libgcc..."; \
37003 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37004 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37005 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37006 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37007 else \
37008 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37009 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37010 fi; \
37011 else \
37012 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37013 fi; \
37014 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37015 $(NORMAL_TARGET_EXPORTS) \
37017 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
37018 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37019 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37020 case $(srcdir) in \
37021 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37022 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37023 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37024 esac; \
37025 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37026 libsrcdir="$$s/libgcc"; \
37027 $(SHELL) $${libsrcdir}/configure \
37028 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37029 --target=${target_alias} $${srcdiroption} \
37030 --with-build-libsubdir=$(HOST_SUBDIR) \
37031 @stage2_werror_flag@
37032 @endif target-libgcc-bootstrap
37034 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
37035 maybe-configure-stage3-target-libgcc:
37036 @if target-libgcc-bootstrap
37037 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
37038 configure-stage3-target-libgcc:
37039 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37040 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37041 @r=`${PWD_COMMAND}`; export r; \
37042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37043 echo "Checking multilib configuration for libgcc..."; \
37044 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37045 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37046 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37047 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37048 else \
37049 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37050 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37051 fi; \
37052 else \
37053 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37054 fi; \
37055 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37056 $(NORMAL_TARGET_EXPORTS) \
37058 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
37059 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37060 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37061 case $(srcdir) in \
37062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37063 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37065 esac; \
37066 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37067 libsrcdir="$$s/libgcc"; \
37068 $(SHELL) $${libsrcdir}/configure \
37069 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37070 --target=${target_alias} $${srcdiroption} \
37071 --with-build-libsubdir=$(HOST_SUBDIR) \
37072 @stage2_werror_flag@
37073 @endif target-libgcc-bootstrap
37075 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
37076 maybe-configure-stage4-target-libgcc:
37077 @if target-libgcc-bootstrap
37078 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
37079 configure-stage4-target-libgcc:
37080 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37081 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37082 @r=`${PWD_COMMAND}`; export r; \
37083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37084 echo "Checking multilib configuration for libgcc..."; \
37085 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37086 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37087 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37088 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37089 else \
37090 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37091 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37092 fi; \
37093 else \
37094 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37095 fi; \
37096 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37097 $(NORMAL_TARGET_EXPORTS) \
37099 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
37100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37101 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37102 case $(srcdir) in \
37103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37104 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37106 esac; \
37107 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37108 libsrcdir="$$s/libgcc"; \
37109 $(SHELL) $${libsrcdir}/configure \
37110 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37111 --target=${target_alias} $${srcdiroption} \
37112 --with-build-libsubdir=$(HOST_SUBDIR) \
37113 @stage2_werror_flag@
37114 @endif target-libgcc-bootstrap
37116 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
37117 maybe-configure-stageprofile-target-libgcc:
37118 @if target-libgcc-bootstrap
37119 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37120 configure-stageprofile-target-libgcc:
37121 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37122 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37123 @r=`${PWD_COMMAND}`; export r; \
37124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37125 echo "Checking multilib configuration for libgcc..."; \
37126 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37127 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37128 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37129 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37130 else \
37131 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37132 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37133 fi; \
37134 else \
37135 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37136 fi; \
37137 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37138 $(NORMAL_TARGET_EXPORTS) \
37140 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
37141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37142 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37143 case $(srcdir) in \
37144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37145 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37147 esac; \
37148 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37149 libsrcdir="$$s/libgcc"; \
37150 $(SHELL) $${libsrcdir}/configure \
37151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37152 --target=${target_alias} $${srcdiroption} \
37153 --with-build-libsubdir=$(HOST_SUBDIR) \
37154 @stage2_werror_flag@
37155 @endif target-libgcc-bootstrap
37157 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
37158 maybe-configure-stagefeedback-target-libgcc:
37159 @if target-libgcc-bootstrap
37160 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37161 configure-stagefeedback-target-libgcc:
37162 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37163 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37164 @r=`${PWD_COMMAND}`; export r; \
37165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37166 echo "Checking multilib configuration for libgcc..."; \
37167 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37168 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37169 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37170 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37171 else \
37172 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37173 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37174 fi; \
37175 else \
37176 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37177 fi; \
37178 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37179 $(NORMAL_TARGET_EXPORTS) \
37181 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
37182 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37183 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37184 case $(srcdir) in \
37185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37186 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37188 esac; \
37189 srcdiroption="--srcdir=$${topdir}/libgcc"; \
37190 libsrcdir="$$s/libgcc"; \
37191 $(SHELL) $${libsrcdir}/configure \
37192 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37193 --target=${target_alias} $${srcdiroption} \
37194 --with-build-libsubdir=$(HOST_SUBDIR) \
37195 @stage2_werror_flag@
37196 @endif target-libgcc-bootstrap
37202 .PHONY: all-target-libgcc maybe-all-target-libgcc
37203 maybe-all-target-libgcc:
37204 @if gcc-bootstrap
37205 all-target-libgcc: stage_current
37206 @endif gcc-bootstrap
37207 @if target-libgcc
37208 TARGET-target-libgcc=all
37209 maybe-all-target-libgcc: all-target-libgcc
37210 all-target-libgcc: configure-target-libgcc
37211 @r=`${PWD_COMMAND}`; export r; \
37212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37213 $(NORMAL_TARGET_EXPORTS) \
37214 (cd $(TARGET_SUBDIR)/libgcc && \
37215 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc))
37216 @endif target-libgcc
37220 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
37221 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
37222 maybe-all-stage1-target-libgcc:
37223 maybe-clean-stage1-target-libgcc:
37224 @if target-libgcc-bootstrap
37225 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
37226 all-stage1: all-stage1-target-libgcc
37227 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
37228 all-stage1-target-libgcc: configure-stage1-target-libgcc
37229 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37230 @r=`${PWD_COMMAND}`; export r; \
37231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37232 $(NORMAL_TARGET_EXPORTS) \
37233 cd $(TARGET_SUBDIR)/libgcc && \
37234 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" \
37235 $(TARGET-stage1-target-libgcc)
37237 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
37238 clean-stage1: clean-stage1-target-libgcc
37239 clean-stage1-target-libgcc:
37240 @if [ $(current_stage) = stage1 ]; then \
37241 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37242 else \
37243 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
37244 $(MAKE) stage1-start; \
37245 fi; \
37246 cd $(TARGET_SUBDIR)/libgcc && \
37247 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37248 CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)" clean
37249 @endif target-libgcc-bootstrap
37252 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
37253 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
37254 maybe-all-stage2-target-libgcc:
37255 maybe-clean-stage2-target-libgcc:
37256 @if target-libgcc-bootstrap
37257 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
37258 all-stage2: all-stage2-target-libgcc
37259 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
37260 all-stage2-target-libgcc: configure-stage2-target-libgcc
37261 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37262 @r=`${PWD_COMMAND}`; export r; \
37263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37264 $(NORMAL_TARGET_EXPORTS) \
37266 cd $(TARGET_SUBDIR)/libgcc && \
37267 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37268 $(TARGET-stage2-target-libgcc)
37270 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
37271 clean-stage2: clean-stage2-target-libgcc
37272 clean-stage2-target-libgcc:
37273 @if [ $(current_stage) = stage2 ]; then \
37274 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37275 else \
37276 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
37277 $(MAKE) stage2-start; \
37278 fi; \
37279 cd $(TARGET_SUBDIR)/libgcc && \
37280 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37282 clean
37283 @endif target-libgcc-bootstrap
37286 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
37287 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
37288 maybe-all-stage3-target-libgcc:
37289 maybe-clean-stage3-target-libgcc:
37290 @if target-libgcc-bootstrap
37291 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
37292 all-stage3: all-stage3-target-libgcc
37293 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
37294 all-stage3-target-libgcc: configure-stage3-target-libgcc
37295 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37296 @r=`${PWD_COMMAND}`; export r; \
37297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37298 $(NORMAL_TARGET_EXPORTS) \
37300 cd $(TARGET_SUBDIR)/libgcc && \
37301 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37302 $(TARGET-stage3-target-libgcc)
37304 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
37305 clean-stage3: clean-stage3-target-libgcc
37306 clean-stage3-target-libgcc:
37307 @if [ $(current_stage) = stage3 ]; then \
37308 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37309 else \
37310 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
37311 $(MAKE) stage3-start; \
37312 fi; \
37313 cd $(TARGET_SUBDIR)/libgcc && \
37314 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37316 clean
37317 @endif target-libgcc-bootstrap
37320 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
37321 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
37322 maybe-all-stage4-target-libgcc:
37323 maybe-clean-stage4-target-libgcc:
37324 @if target-libgcc-bootstrap
37325 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
37326 all-stage4: all-stage4-target-libgcc
37327 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
37328 all-stage4-target-libgcc: configure-stage4-target-libgcc
37329 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37330 @r=`${PWD_COMMAND}`; export r; \
37331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37332 $(NORMAL_TARGET_EXPORTS) \
37334 cd $(TARGET_SUBDIR)/libgcc && \
37335 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37336 $(TARGET-stage4-target-libgcc)
37338 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
37339 clean-stage4: clean-stage4-target-libgcc
37340 clean-stage4-target-libgcc:
37341 @if [ $(current_stage) = stage4 ]; then \
37342 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37343 else \
37344 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
37345 $(MAKE) stage4-start; \
37346 fi; \
37347 cd $(TARGET_SUBDIR)/libgcc && \
37348 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37350 clean
37351 @endif target-libgcc-bootstrap
37354 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
37355 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
37356 maybe-all-stageprofile-target-libgcc:
37357 maybe-clean-stageprofile-target-libgcc:
37358 @if target-libgcc-bootstrap
37359 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
37360 all-stageprofile: all-stageprofile-target-libgcc
37361 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
37362 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37363 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37364 @r=`${PWD_COMMAND}`; export r; \
37365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37366 $(NORMAL_TARGET_EXPORTS) \
37368 cd $(TARGET_SUBDIR)/libgcc && \
37369 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
37370 $(TARGET-stageprofile-target-libgcc)
37372 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37373 clean-stageprofile: clean-stageprofile-target-libgcc
37374 clean-stageprofile-target-libgcc:
37375 @if [ $(current_stage) = stageprofile ]; then \
37376 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37377 else \
37378 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37379 $(MAKE) stageprofile-start; \
37380 fi; \
37381 cd $(TARGET_SUBDIR)/libgcc && \
37382 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37384 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
37385 @endif target-libgcc-bootstrap
37388 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37389 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37390 maybe-all-stagefeedback-target-libgcc:
37391 maybe-clean-stagefeedback-target-libgcc:
37392 @if target-libgcc-bootstrap
37393 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37394 all-stagefeedback: all-stagefeedback-target-libgcc
37395 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37396 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37397 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37398 @r=`${PWD_COMMAND}`; export r; \
37399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37400 $(NORMAL_TARGET_EXPORTS) \
37402 cd $(TARGET_SUBDIR)/libgcc && \
37403 $(MAKE) $(TARGET_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
37404 $(TARGET-stagefeedback-target-libgcc)
37406 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37407 clean-stagefeedback: clean-stagefeedback-target-libgcc
37408 clean-stagefeedback-target-libgcc:
37409 @if [ $(current_stage) = stagefeedback ]; then \
37410 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37411 else \
37412 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37413 $(MAKE) stagefeedback-start; \
37414 fi; \
37415 cd $(TARGET_SUBDIR)/libgcc && \
37416 $(MAKE) $(TARGET_FLAGS_TO_PASS) \
37418 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
37419 @endif target-libgcc-bootstrap
37426 .PHONY: check-target-libgcc maybe-check-target-libgcc
37427 maybe-check-target-libgcc:
37428 @if target-libgcc
37429 maybe-check-target-libgcc: check-target-libgcc
37431 # Dummy target for uncheckable module.
37432 check-target-libgcc:
37434 @endif target-libgcc
37436 .PHONY: install-target-libgcc maybe-install-target-libgcc
37437 maybe-install-target-libgcc:
37438 @if target-libgcc
37439 maybe-install-target-libgcc: install-target-libgcc
37441 install-target-libgcc: installdirs
37442 @: $(MAKE); $(unstage)
37443 @r=`${PWD_COMMAND}`; export r; \
37444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37445 $(NORMAL_TARGET_EXPORTS) \
37446 (cd $(TARGET_SUBDIR)/libgcc && \
37447 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37449 @endif target-libgcc
37451 # Other targets (info, dvi, pdf, etc.)
37453 .PHONY: maybe-info-target-libgcc info-target-libgcc
37454 maybe-info-target-libgcc:
37455 @if target-libgcc
37456 maybe-info-target-libgcc: info-target-libgcc
37458 info-target-libgcc: \
37459 configure-target-libgcc
37460 @: $(MAKE); $(unstage)
37461 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37462 r=`${PWD_COMMAND}`; export r; \
37463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37464 $(NORMAL_TARGET_EXPORTS) \
37465 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37466 for flag in $(EXTRA_TARGET_FLAGS); do \
37467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37468 done; \
37469 (cd $(TARGET_SUBDIR)/libgcc && \
37470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37472 "RANLIB=$${RANLIB}" \
37473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37474 info) \
37475 || exit 1
37477 @endif target-libgcc
37479 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37480 maybe-dvi-target-libgcc:
37481 @if target-libgcc
37482 maybe-dvi-target-libgcc: dvi-target-libgcc
37484 dvi-target-libgcc: \
37485 configure-target-libgcc
37486 @: $(MAKE); $(unstage)
37487 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37488 r=`${PWD_COMMAND}`; export r; \
37489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37490 $(NORMAL_TARGET_EXPORTS) \
37491 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37492 for flag in $(EXTRA_TARGET_FLAGS); do \
37493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37494 done; \
37495 (cd $(TARGET_SUBDIR)/libgcc && \
37496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37498 "RANLIB=$${RANLIB}" \
37499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37500 dvi) \
37501 || exit 1
37503 @endif target-libgcc
37505 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37506 maybe-pdf-target-libgcc:
37507 @if target-libgcc
37508 maybe-pdf-target-libgcc: pdf-target-libgcc
37510 pdf-target-libgcc: \
37511 configure-target-libgcc
37512 @: $(MAKE); $(unstage)
37513 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37514 r=`${PWD_COMMAND}`; export r; \
37515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37516 $(NORMAL_TARGET_EXPORTS) \
37517 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37518 for flag in $(EXTRA_TARGET_FLAGS); do \
37519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37520 done; \
37521 (cd $(TARGET_SUBDIR)/libgcc && \
37522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37524 "RANLIB=$${RANLIB}" \
37525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37526 pdf) \
37527 || exit 1
37529 @endif target-libgcc
37531 .PHONY: maybe-html-target-libgcc html-target-libgcc
37532 maybe-html-target-libgcc:
37533 @if target-libgcc
37534 maybe-html-target-libgcc: html-target-libgcc
37536 html-target-libgcc: \
37537 configure-target-libgcc
37538 @: $(MAKE); $(unstage)
37539 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37540 r=`${PWD_COMMAND}`; export r; \
37541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37542 $(NORMAL_TARGET_EXPORTS) \
37543 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37544 for flag in $(EXTRA_TARGET_FLAGS); do \
37545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37546 done; \
37547 (cd $(TARGET_SUBDIR)/libgcc && \
37548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37550 "RANLIB=$${RANLIB}" \
37551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37552 html) \
37553 || exit 1
37555 @endif target-libgcc
37557 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37558 maybe-TAGS-target-libgcc:
37559 @if target-libgcc
37560 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37562 TAGS-target-libgcc: \
37563 configure-target-libgcc
37564 @: $(MAKE); $(unstage)
37565 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37566 r=`${PWD_COMMAND}`; export r; \
37567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37568 $(NORMAL_TARGET_EXPORTS) \
37569 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37570 for flag in $(EXTRA_TARGET_FLAGS); do \
37571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37572 done; \
37573 (cd $(TARGET_SUBDIR)/libgcc && \
37574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37576 "RANLIB=$${RANLIB}" \
37577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37578 TAGS) \
37579 || exit 1
37581 @endif target-libgcc
37583 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37584 maybe-install-info-target-libgcc:
37585 @if target-libgcc
37586 maybe-install-info-target-libgcc: install-info-target-libgcc
37588 install-info-target-libgcc: \
37589 configure-target-libgcc \
37590 info-target-libgcc
37591 @: $(MAKE); $(unstage)
37592 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37593 r=`${PWD_COMMAND}`; export r; \
37594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37595 $(NORMAL_TARGET_EXPORTS) \
37596 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37597 for flag in $(EXTRA_TARGET_FLAGS); do \
37598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37599 done; \
37600 (cd $(TARGET_SUBDIR)/libgcc && \
37601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37603 "RANLIB=$${RANLIB}" \
37604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37605 install-info) \
37606 || exit 1
37608 @endif target-libgcc
37610 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37611 maybe-install-html-target-libgcc:
37612 @if target-libgcc
37613 maybe-install-html-target-libgcc: install-html-target-libgcc
37615 install-html-target-libgcc: \
37616 configure-target-libgcc \
37617 html-target-libgcc
37618 @: $(MAKE); $(unstage)
37619 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37620 r=`${PWD_COMMAND}`; export r; \
37621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37622 $(NORMAL_TARGET_EXPORTS) \
37623 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37624 for flag in $(EXTRA_TARGET_FLAGS); do \
37625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37626 done; \
37627 (cd $(TARGET_SUBDIR)/libgcc && \
37628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37630 "RANLIB=$${RANLIB}" \
37631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37632 install-html) \
37633 || exit 1
37635 @endif target-libgcc
37637 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37638 maybe-installcheck-target-libgcc:
37639 @if target-libgcc
37640 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37642 installcheck-target-libgcc: \
37643 configure-target-libgcc
37644 @: $(MAKE); $(unstage)
37645 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37646 r=`${PWD_COMMAND}`; export r; \
37647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37648 $(NORMAL_TARGET_EXPORTS) \
37649 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37650 for flag in $(EXTRA_TARGET_FLAGS); do \
37651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37652 done; \
37653 (cd $(TARGET_SUBDIR)/libgcc && \
37654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37656 "RANLIB=$${RANLIB}" \
37657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37658 installcheck) \
37659 || exit 1
37661 @endif target-libgcc
37663 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37664 maybe-mostlyclean-target-libgcc:
37665 @if target-libgcc
37666 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37668 mostlyclean-target-libgcc:
37669 @: $(MAKE); $(unstage)
37670 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37671 r=`${PWD_COMMAND}`; export r; \
37672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37673 $(NORMAL_TARGET_EXPORTS) \
37674 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37675 for flag in $(EXTRA_TARGET_FLAGS); do \
37676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37677 done; \
37678 (cd $(TARGET_SUBDIR)/libgcc && \
37679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37681 "RANLIB=$${RANLIB}" \
37682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37683 mostlyclean) \
37684 || exit 1
37686 @endif target-libgcc
37688 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37689 maybe-clean-target-libgcc:
37690 @if target-libgcc
37691 maybe-clean-target-libgcc: clean-target-libgcc
37693 clean-target-libgcc:
37694 @: $(MAKE); $(unstage)
37695 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37696 r=`${PWD_COMMAND}`; export r; \
37697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37698 $(NORMAL_TARGET_EXPORTS) \
37699 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37700 for flag in $(EXTRA_TARGET_FLAGS); do \
37701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37702 done; \
37703 (cd $(TARGET_SUBDIR)/libgcc && \
37704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37706 "RANLIB=$${RANLIB}" \
37707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37708 clean) \
37709 || exit 1
37711 @endif target-libgcc
37713 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37714 maybe-distclean-target-libgcc:
37715 @if target-libgcc
37716 maybe-distclean-target-libgcc: distclean-target-libgcc
37718 distclean-target-libgcc:
37719 @: $(MAKE); $(unstage)
37720 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37721 r=`${PWD_COMMAND}`; export r; \
37722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37723 $(NORMAL_TARGET_EXPORTS) \
37724 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37725 for flag in $(EXTRA_TARGET_FLAGS); do \
37726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37727 done; \
37728 (cd $(TARGET_SUBDIR)/libgcc && \
37729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37731 "RANLIB=$${RANLIB}" \
37732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37733 distclean) \
37734 || exit 1
37736 @endif target-libgcc
37738 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37739 maybe-maintainer-clean-target-libgcc:
37740 @if target-libgcc
37741 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37743 maintainer-clean-target-libgcc:
37744 @: $(MAKE); $(unstage)
37745 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37746 r=`${PWD_COMMAND}`; export r; \
37747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37748 $(NORMAL_TARGET_EXPORTS) \
37749 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37750 for flag in $(EXTRA_TARGET_FLAGS); do \
37751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37752 done; \
37753 (cd $(TARGET_SUBDIR)/libgcc && \
37754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37756 "RANLIB=$${RANLIB}" \
37757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37758 maintainer-clean) \
37759 || exit 1
37761 @endif target-libgcc
37767 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
37768 maybe-configure-target-libgfortran:
37769 @if gcc-bootstrap
37770 configure-target-libgfortran: stage_current
37771 @endif gcc-bootstrap
37772 @if target-libgfortran
37773 maybe-configure-target-libgfortran: configure-target-libgfortran
37774 configure-target-libgfortran:
37775 @: $(MAKE); $(unstage)
37776 @r=`${PWD_COMMAND}`; export r; \
37777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37778 echo "Checking multilib configuration for libgfortran..."; \
37779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
37780 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
37781 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
37782 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
37783 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
37784 else \
37785 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
37786 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
37787 fi; \
37788 else \
37789 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
37790 fi; \
37791 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
37792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
37793 $(NORMAL_TARGET_EXPORTS) \
37794 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
37795 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
37796 case $(srcdir) in \
37797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37798 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
37799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37800 esac; \
37801 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
37802 libsrcdir="$$s/libgfortran"; \
37803 rm -f no-such-file || : ; \
37804 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37805 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37806 --target=${target_alias} $${srcdiroption} \
37807 || exit 1
37808 @endif target-libgfortran
37814 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
37815 maybe-all-target-libgfortran:
37816 @if gcc-bootstrap
37817 all-target-libgfortran: stage_current
37818 @endif gcc-bootstrap
37819 @if target-libgfortran
37820 TARGET-target-libgfortran=all
37821 maybe-all-target-libgfortran: all-target-libgfortran
37822 all-target-libgfortran: configure-target-libgfortran
37823 @: $(MAKE); $(unstage)
37824 @r=`${PWD_COMMAND}`; export r; \
37825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37826 $(NORMAL_TARGET_EXPORTS) \
37827 (cd $(TARGET_SUBDIR)/libgfortran && \
37828 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
37829 @endif target-libgfortran
37835 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
37836 maybe-check-target-libgfortran:
37837 @if target-libgfortran
37838 maybe-check-target-libgfortran: check-target-libgfortran
37840 check-target-libgfortran:
37841 @: $(MAKE); $(unstage)
37842 @r=`${PWD_COMMAND}`; export r; \
37843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37844 $(NORMAL_TARGET_EXPORTS) \
37845 (cd $(TARGET_SUBDIR)/libgfortran && \
37846 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37848 @endif target-libgfortran
37850 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
37851 maybe-install-target-libgfortran:
37852 @if target-libgfortran
37853 maybe-install-target-libgfortran: install-target-libgfortran
37855 install-target-libgfortran: installdirs
37856 @: $(MAKE); $(unstage)
37857 @r=`${PWD_COMMAND}`; export r; \
37858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37859 $(NORMAL_TARGET_EXPORTS) \
37860 (cd $(TARGET_SUBDIR)/libgfortran && \
37861 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37863 @endif target-libgfortran
37865 # Other targets (info, dvi, pdf, etc.)
37867 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
37868 maybe-info-target-libgfortran:
37869 @if target-libgfortran
37870 maybe-info-target-libgfortran: info-target-libgfortran
37872 info-target-libgfortran: \
37873 configure-target-libgfortran
37874 @: $(MAKE); $(unstage)
37875 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37876 r=`${PWD_COMMAND}`; export r; \
37877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37878 $(NORMAL_TARGET_EXPORTS) \
37879 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
37880 for flag in $(EXTRA_TARGET_FLAGS); do \
37881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37882 done; \
37883 (cd $(TARGET_SUBDIR)/libgfortran && \
37884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37886 "RANLIB=$${RANLIB}" \
37887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37888 info) \
37889 || exit 1
37891 @endif target-libgfortran
37893 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
37894 maybe-dvi-target-libgfortran:
37895 @if target-libgfortran
37896 maybe-dvi-target-libgfortran: dvi-target-libgfortran
37898 dvi-target-libgfortran: \
37899 configure-target-libgfortran
37900 @: $(MAKE); $(unstage)
37901 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37902 r=`${PWD_COMMAND}`; export r; \
37903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37904 $(NORMAL_TARGET_EXPORTS) \
37905 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
37906 for flag in $(EXTRA_TARGET_FLAGS); do \
37907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37908 done; \
37909 (cd $(TARGET_SUBDIR)/libgfortran && \
37910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37912 "RANLIB=$${RANLIB}" \
37913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37914 dvi) \
37915 || exit 1
37917 @endif target-libgfortran
37919 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
37920 maybe-pdf-target-libgfortran:
37921 @if target-libgfortran
37922 maybe-pdf-target-libgfortran: pdf-target-libgfortran
37924 pdf-target-libgfortran: \
37925 configure-target-libgfortran
37926 @: $(MAKE); $(unstage)
37927 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37928 r=`${PWD_COMMAND}`; export r; \
37929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37930 $(NORMAL_TARGET_EXPORTS) \
37931 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
37932 for flag in $(EXTRA_TARGET_FLAGS); do \
37933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37934 done; \
37935 (cd $(TARGET_SUBDIR)/libgfortran && \
37936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37938 "RANLIB=$${RANLIB}" \
37939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37940 pdf) \
37941 || exit 1
37943 @endif target-libgfortran
37945 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
37946 maybe-html-target-libgfortran:
37947 @if target-libgfortran
37948 maybe-html-target-libgfortran: html-target-libgfortran
37950 html-target-libgfortran: \
37951 configure-target-libgfortran
37952 @: $(MAKE); $(unstage)
37953 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37954 r=`${PWD_COMMAND}`; export r; \
37955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37956 $(NORMAL_TARGET_EXPORTS) \
37957 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
37958 for flag in $(EXTRA_TARGET_FLAGS); do \
37959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37960 done; \
37961 (cd $(TARGET_SUBDIR)/libgfortran && \
37962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37964 "RANLIB=$${RANLIB}" \
37965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37966 html) \
37967 || exit 1
37969 @endif target-libgfortran
37971 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
37972 maybe-TAGS-target-libgfortran:
37973 @if target-libgfortran
37974 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
37976 TAGS-target-libgfortran: \
37977 configure-target-libgfortran
37978 @: $(MAKE); $(unstage)
37979 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
37980 r=`${PWD_COMMAND}`; export r; \
37981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37982 $(NORMAL_TARGET_EXPORTS) \
37983 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
37984 for flag in $(EXTRA_TARGET_FLAGS); do \
37985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37986 done; \
37987 (cd $(TARGET_SUBDIR)/libgfortran && \
37988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37990 "RANLIB=$${RANLIB}" \
37991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
37992 TAGS) \
37993 || exit 1
37995 @endif target-libgfortran
37997 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
37998 maybe-install-info-target-libgfortran:
37999 @if target-libgfortran
38000 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38002 install-info-target-libgfortran: \
38003 configure-target-libgfortran \
38004 info-target-libgfortran
38005 @: $(MAKE); $(unstage)
38006 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38007 r=`${PWD_COMMAND}`; export r; \
38008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38009 $(NORMAL_TARGET_EXPORTS) \
38010 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38011 for flag in $(EXTRA_TARGET_FLAGS); do \
38012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38013 done; \
38014 (cd $(TARGET_SUBDIR)/libgfortran && \
38015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38017 "RANLIB=$${RANLIB}" \
38018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38019 install-info) \
38020 || exit 1
38022 @endif target-libgfortran
38024 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38025 maybe-install-html-target-libgfortran:
38026 @if target-libgfortran
38027 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38029 install-html-target-libgfortran: \
38030 configure-target-libgfortran \
38031 html-target-libgfortran
38032 @: $(MAKE); $(unstage)
38033 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38034 r=`${PWD_COMMAND}`; export r; \
38035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38036 $(NORMAL_TARGET_EXPORTS) \
38037 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38038 for flag in $(EXTRA_TARGET_FLAGS); do \
38039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38040 done; \
38041 (cd $(TARGET_SUBDIR)/libgfortran && \
38042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38044 "RANLIB=$${RANLIB}" \
38045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38046 install-html) \
38047 || exit 1
38049 @endif target-libgfortran
38051 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38052 maybe-installcheck-target-libgfortran:
38053 @if target-libgfortran
38054 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38056 installcheck-target-libgfortran: \
38057 configure-target-libgfortran
38058 @: $(MAKE); $(unstage)
38059 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38060 r=`${PWD_COMMAND}`; export r; \
38061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38062 $(NORMAL_TARGET_EXPORTS) \
38063 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38064 for flag in $(EXTRA_TARGET_FLAGS); do \
38065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38066 done; \
38067 (cd $(TARGET_SUBDIR)/libgfortran && \
38068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38070 "RANLIB=$${RANLIB}" \
38071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38072 installcheck) \
38073 || exit 1
38075 @endif target-libgfortran
38077 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38078 maybe-mostlyclean-target-libgfortran:
38079 @if target-libgfortran
38080 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38082 mostlyclean-target-libgfortran:
38083 @: $(MAKE); $(unstage)
38084 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38085 r=`${PWD_COMMAND}`; export r; \
38086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38087 $(NORMAL_TARGET_EXPORTS) \
38088 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38089 for flag in $(EXTRA_TARGET_FLAGS); do \
38090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38091 done; \
38092 (cd $(TARGET_SUBDIR)/libgfortran && \
38093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38095 "RANLIB=$${RANLIB}" \
38096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38097 mostlyclean) \
38098 || exit 1
38100 @endif target-libgfortran
38102 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38103 maybe-clean-target-libgfortran:
38104 @if target-libgfortran
38105 maybe-clean-target-libgfortran: clean-target-libgfortran
38107 clean-target-libgfortran:
38108 @: $(MAKE); $(unstage)
38109 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38110 r=`${PWD_COMMAND}`; export r; \
38111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38112 $(NORMAL_TARGET_EXPORTS) \
38113 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38114 for flag in $(EXTRA_TARGET_FLAGS); do \
38115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38116 done; \
38117 (cd $(TARGET_SUBDIR)/libgfortran && \
38118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38120 "RANLIB=$${RANLIB}" \
38121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38122 clean) \
38123 || exit 1
38125 @endif target-libgfortran
38127 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38128 maybe-distclean-target-libgfortran:
38129 @if target-libgfortran
38130 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38132 distclean-target-libgfortran:
38133 @: $(MAKE); $(unstage)
38134 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38135 r=`${PWD_COMMAND}`; export r; \
38136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38137 $(NORMAL_TARGET_EXPORTS) \
38138 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38139 for flag in $(EXTRA_TARGET_FLAGS); do \
38140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38141 done; \
38142 (cd $(TARGET_SUBDIR)/libgfortran && \
38143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38145 "RANLIB=$${RANLIB}" \
38146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38147 distclean) \
38148 || exit 1
38150 @endif target-libgfortran
38152 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38153 maybe-maintainer-clean-target-libgfortran:
38154 @if target-libgfortran
38155 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38157 maintainer-clean-target-libgfortran:
38158 @: $(MAKE); $(unstage)
38159 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38160 r=`${PWD_COMMAND}`; export r; \
38161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38162 $(NORMAL_TARGET_EXPORTS) \
38163 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38164 for flag in $(EXTRA_TARGET_FLAGS); do \
38165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38166 done; \
38167 (cd $(TARGET_SUBDIR)/libgfortran && \
38168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38170 "RANLIB=$${RANLIB}" \
38171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38172 maintainer-clean) \
38173 || exit 1
38175 @endif target-libgfortran
38181 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38182 maybe-configure-target-libobjc:
38183 @if gcc-bootstrap
38184 configure-target-libobjc: stage_current
38185 @endif gcc-bootstrap
38186 @if target-libobjc
38187 maybe-configure-target-libobjc: configure-target-libobjc
38188 configure-target-libobjc:
38189 @: $(MAKE); $(unstage)
38190 @r=`${PWD_COMMAND}`; export r; \
38191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38192 echo "Checking multilib configuration for libobjc..."; \
38193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38194 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38195 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38196 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38197 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38198 else \
38199 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38200 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38201 fi; \
38202 else \
38203 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38204 fi; \
38205 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38206 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38207 $(NORMAL_TARGET_EXPORTS) \
38208 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38209 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38210 case $(srcdir) in \
38211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38212 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38214 esac; \
38215 srcdiroption="--srcdir=$${topdir}/libobjc"; \
38216 libsrcdir="$$s/libobjc"; \
38217 rm -f no-such-file || : ; \
38218 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38219 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38220 --target=${target_alias} $${srcdiroption} \
38221 || exit 1
38222 @endif target-libobjc
38228 .PHONY: all-target-libobjc maybe-all-target-libobjc
38229 maybe-all-target-libobjc:
38230 @if gcc-bootstrap
38231 all-target-libobjc: stage_current
38232 @endif gcc-bootstrap
38233 @if target-libobjc
38234 TARGET-target-libobjc=all
38235 maybe-all-target-libobjc: all-target-libobjc
38236 all-target-libobjc: configure-target-libobjc
38237 @: $(MAKE); $(unstage)
38238 @r=`${PWD_COMMAND}`; export r; \
38239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38240 $(NORMAL_TARGET_EXPORTS) \
38241 (cd $(TARGET_SUBDIR)/libobjc && \
38242 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
38243 @endif target-libobjc
38249 .PHONY: check-target-libobjc maybe-check-target-libobjc
38250 maybe-check-target-libobjc:
38251 @if target-libobjc
38252 maybe-check-target-libobjc: check-target-libobjc
38254 check-target-libobjc:
38255 @: $(MAKE); $(unstage)
38256 @r=`${PWD_COMMAND}`; export r; \
38257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38258 $(NORMAL_TARGET_EXPORTS) \
38259 (cd $(TARGET_SUBDIR)/libobjc && \
38260 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38262 @endif target-libobjc
38264 .PHONY: install-target-libobjc maybe-install-target-libobjc
38265 maybe-install-target-libobjc:
38266 @if target-libobjc
38267 maybe-install-target-libobjc: install-target-libobjc
38269 install-target-libobjc: installdirs
38270 @: $(MAKE); $(unstage)
38271 @r=`${PWD_COMMAND}`; export r; \
38272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38273 $(NORMAL_TARGET_EXPORTS) \
38274 (cd $(TARGET_SUBDIR)/libobjc && \
38275 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38277 @endif target-libobjc
38279 # Other targets (info, dvi, pdf, etc.)
38281 .PHONY: maybe-info-target-libobjc info-target-libobjc
38282 maybe-info-target-libobjc:
38283 @if target-libobjc
38284 maybe-info-target-libobjc: info-target-libobjc
38286 info-target-libobjc: \
38287 configure-target-libobjc
38288 @: $(MAKE); $(unstage)
38289 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38290 r=`${PWD_COMMAND}`; export r; \
38291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38292 $(NORMAL_TARGET_EXPORTS) \
38293 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
38294 for flag in $(EXTRA_TARGET_FLAGS); do \
38295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38296 done; \
38297 (cd $(TARGET_SUBDIR)/libobjc && \
38298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38300 "RANLIB=$${RANLIB}" \
38301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38302 info) \
38303 || exit 1
38305 @endif target-libobjc
38307 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
38308 maybe-dvi-target-libobjc:
38309 @if target-libobjc
38310 maybe-dvi-target-libobjc: dvi-target-libobjc
38312 dvi-target-libobjc: \
38313 configure-target-libobjc
38314 @: $(MAKE); $(unstage)
38315 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38316 r=`${PWD_COMMAND}`; export r; \
38317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38318 $(NORMAL_TARGET_EXPORTS) \
38319 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
38320 for flag in $(EXTRA_TARGET_FLAGS); do \
38321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38322 done; \
38323 (cd $(TARGET_SUBDIR)/libobjc && \
38324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38326 "RANLIB=$${RANLIB}" \
38327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38328 dvi) \
38329 || exit 1
38331 @endif target-libobjc
38333 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
38334 maybe-pdf-target-libobjc:
38335 @if target-libobjc
38336 maybe-pdf-target-libobjc: pdf-target-libobjc
38338 pdf-target-libobjc: \
38339 configure-target-libobjc
38340 @: $(MAKE); $(unstage)
38341 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38342 r=`${PWD_COMMAND}`; export r; \
38343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38344 $(NORMAL_TARGET_EXPORTS) \
38345 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
38346 for flag in $(EXTRA_TARGET_FLAGS); do \
38347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38348 done; \
38349 (cd $(TARGET_SUBDIR)/libobjc && \
38350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38352 "RANLIB=$${RANLIB}" \
38353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38354 pdf) \
38355 || exit 1
38357 @endif target-libobjc
38359 .PHONY: maybe-html-target-libobjc html-target-libobjc
38360 maybe-html-target-libobjc:
38361 @if target-libobjc
38362 maybe-html-target-libobjc: html-target-libobjc
38364 html-target-libobjc: \
38365 configure-target-libobjc
38366 @: $(MAKE); $(unstage)
38367 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38368 r=`${PWD_COMMAND}`; export r; \
38369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38370 $(NORMAL_TARGET_EXPORTS) \
38371 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
38372 for flag in $(EXTRA_TARGET_FLAGS); do \
38373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38374 done; \
38375 (cd $(TARGET_SUBDIR)/libobjc && \
38376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38378 "RANLIB=$${RANLIB}" \
38379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38380 html) \
38381 || exit 1
38383 @endif target-libobjc
38385 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
38386 maybe-TAGS-target-libobjc:
38387 @if target-libobjc
38388 maybe-TAGS-target-libobjc: TAGS-target-libobjc
38390 TAGS-target-libobjc: \
38391 configure-target-libobjc
38392 @: $(MAKE); $(unstage)
38393 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38394 r=`${PWD_COMMAND}`; export r; \
38395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38396 $(NORMAL_TARGET_EXPORTS) \
38397 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
38398 for flag in $(EXTRA_TARGET_FLAGS); do \
38399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38400 done; \
38401 (cd $(TARGET_SUBDIR)/libobjc && \
38402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38404 "RANLIB=$${RANLIB}" \
38405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38406 TAGS) \
38407 || exit 1
38409 @endif target-libobjc
38411 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
38412 maybe-install-info-target-libobjc:
38413 @if target-libobjc
38414 maybe-install-info-target-libobjc: install-info-target-libobjc
38416 install-info-target-libobjc: \
38417 configure-target-libobjc \
38418 info-target-libobjc
38419 @: $(MAKE); $(unstage)
38420 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38421 r=`${PWD_COMMAND}`; export r; \
38422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38423 $(NORMAL_TARGET_EXPORTS) \
38424 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
38425 for flag in $(EXTRA_TARGET_FLAGS); do \
38426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38427 done; \
38428 (cd $(TARGET_SUBDIR)/libobjc && \
38429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38431 "RANLIB=$${RANLIB}" \
38432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38433 install-info) \
38434 || exit 1
38436 @endif target-libobjc
38438 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
38439 maybe-install-html-target-libobjc:
38440 @if target-libobjc
38441 maybe-install-html-target-libobjc: install-html-target-libobjc
38443 install-html-target-libobjc: \
38444 configure-target-libobjc \
38445 html-target-libobjc
38446 @: $(MAKE); $(unstage)
38447 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38448 r=`${PWD_COMMAND}`; export r; \
38449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38450 $(NORMAL_TARGET_EXPORTS) \
38451 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
38452 for flag in $(EXTRA_TARGET_FLAGS); do \
38453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38454 done; \
38455 (cd $(TARGET_SUBDIR)/libobjc && \
38456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38458 "RANLIB=$${RANLIB}" \
38459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38460 install-html) \
38461 || exit 1
38463 @endif target-libobjc
38465 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
38466 maybe-installcheck-target-libobjc:
38467 @if target-libobjc
38468 maybe-installcheck-target-libobjc: installcheck-target-libobjc
38470 installcheck-target-libobjc: \
38471 configure-target-libobjc
38472 @: $(MAKE); $(unstage)
38473 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38474 r=`${PWD_COMMAND}`; export r; \
38475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38476 $(NORMAL_TARGET_EXPORTS) \
38477 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
38478 for flag in $(EXTRA_TARGET_FLAGS); do \
38479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38480 done; \
38481 (cd $(TARGET_SUBDIR)/libobjc && \
38482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38484 "RANLIB=$${RANLIB}" \
38485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38486 installcheck) \
38487 || exit 1
38489 @endif target-libobjc
38491 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
38492 maybe-mostlyclean-target-libobjc:
38493 @if target-libobjc
38494 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
38496 mostlyclean-target-libobjc:
38497 @: $(MAKE); $(unstage)
38498 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38499 r=`${PWD_COMMAND}`; export r; \
38500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38501 $(NORMAL_TARGET_EXPORTS) \
38502 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
38503 for flag in $(EXTRA_TARGET_FLAGS); do \
38504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38505 done; \
38506 (cd $(TARGET_SUBDIR)/libobjc && \
38507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38509 "RANLIB=$${RANLIB}" \
38510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38511 mostlyclean) \
38512 || exit 1
38514 @endif target-libobjc
38516 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
38517 maybe-clean-target-libobjc:
38518 @if target-libobjc
38519 maybe-clean-target-libobjc: clean-target-libobjc
38521 clean-target-libobjc:
38522 @: $(MAKE); $(unstage)
38523 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38524 r=`${PWD_COMMAND}`; export r; \
38525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38526 $(NORMAL_TARGET_EXPORTS) \
38527 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
38528 for flag in $(EXTRA_TARGET_FLAGS); do \
38529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38530 done; \
38531 (cd $(TARGET_SUBDIR)/libobjc && \
38532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38534 "RANLIB=$${RANLIB}" \
38535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38536 clean) \
38537 || exit 1
38539 @endif target-libobjc
38541 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
38542 maybe-distclean-target-libobjc:
38543 @if target-libobjc
38544 maybe-distclean-target-libobjc: distclean-target-libobjc
38546 distclean-target-libobjc:
38547 @: $(MAKE); $(unstage)
38548 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38549 r=`${PWD_COMMAND}`; export r; \
38550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38551 $(NORMAL_TARGET_EXPORTS) \
38552 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
38553 for flag in $(EXTRA_TARGET_FLAGS); do \
38554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38555 done; \
38556 (cd $(TARGET_SUBDIR)/libobjc && \
38557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38559 "RANLIB=$${RANLIB}" \
38560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38561 distclean) \
38562 || exit 1
38564 @endif target-libobjc
38566 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
38567 maybe-maintainer-clean-target-libobjc:
38568 @if target-libobjc
38569 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
38571 maintainer-clean-target-libobjc:
38572 @: $(MAKE); $(unstage)
38573 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38574 r=`${PWD_COMMAND}`; export r; \
38575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38576 $(NORMAL_TARGET_EXPORTS) \
38577 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
38578 for flag in $(EXTRA_TARGET_FLAGS); do \
38579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38580 done; \
38581 (cd $(TARGET_SUBDIR)/libobjc && \
38582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38584 "RANLIB=$${RANLIB}" \
38585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38586 maintainer-clean) \
38587 || exit 1
38589 @endif target-libobjc
38595 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
38596 maybe-configure-target-libtermcap:
38597 @if gcc-bootstrap
38598 configure-target-libtermcap: stage_current
38599 @endif gcc-bootstrap
38600 @if target-libtermcap
38601 maybe-configure-target-libtermcap: configure-target-libtermcap
38602 configure-target-libtermcap:
38603 @: $(MAKE); $(unstage)
38604 @r=`${PWD_COMMAND}`; export r; \
38605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38606 echo "Checking multilib configuration for libtermcap..."; \
38607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38608 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
38609 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38610 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
38611 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
38612 else \
38613 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
38614 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38615 fi; \
38616 else \
38617 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
38618 fi; \
38619 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
38620 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
38621 $(NORMAL_TARGET_EXPORTS) \
38622 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
38623 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
38624 case $(srcdir) in \
38625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38626 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
38627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38628 esac; \
38629 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
38630 libsrcdir="$$s/libtermcap"; \
38631 rm -f no-such-file || : ; \
38632 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38633 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38634 --target=${target_alias} $${srcdiroption} \
38635 || exit 1
38636 @endif target-libtermcap
38642 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
38643 maybe-all-target-libtermcap:
38644 @if gcc-bootstrap
38645 all-target-libtermcap: stage_current
38646 @endif gcc-bootstrap
38647 @if target-libtermcap
38648 TARGET-target-libtermcap=all
38649 maybe-all-target-libtermcap: all-target-libtermcap
38650 all-target-libtermcap: configure-target-libtermcap
38651 @: $(MAKE); $(unstage)
38652 @r=`${PWD_COMMAND}`; export r; \
38653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38654 $(NORMAL_TARGET_EXPORTS) \
38655 (cd $(TARGET_SUBDIR)/libtermcap && \
38656 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
38657 @endif target-libtermcap
38663 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
38664 maybe-check-target-libtermcap:
38665 @if target-libtermcap
38666 maybe-check-target-libtermcap: check-target-libtermcap
38668 # Dummy target for uncheckable module.
38669 check-target-libtermcap:
38671 @endif target-libtermcap
38673 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
38674 maybe-install-target-libtermcap:
38675 @if target-libtermcap
38676 maybe-install-target-libtermcap: install-target-libtermcap
38678 install-target-libtermcap: installdirs
38679 @: $(MAKE); $(unstage)
38680 @r=`${PWD_COMMAND}`; export r; \
38681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38682 $(NORMAL_TARGET_EXPORTS) \
38683 (cd $(TARGET_SUBDIR)/libtermcap && \
38684 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38686 @endif target-libtermcap
38688 # Other targets (info, dvi, pdf, etc.)
38690 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
38691 maybe-info-target-libtermcap:
38692 @if target-libtermcap
38693 maybe-info-target-libtermcap: info-target-libtermcap
38695 info-target-libtermcap: \
38696 configure-target-libtermcap
38697 @: $(MAKE); $(unstage)
38698 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38699 r=`${PWD_COMMAND}`; export r; \
38700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38701 $(NORMAL_TARGET_EXPORTS) \
38702 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
38703 for flag in $(EXTRA_TARGET_FLAGS); do \
38704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38705 done; \
38706 (cd $(TARGET_SUBDIR)/libtermcap && \
38707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38709 "RANLIB=$${RANLIB}" \
38710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38711 info) \
38712 || exit 1
38714 @endif target-libtermcap
38716 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
38717 maybe-dvi-target-libtermcap:
38718 @if target-libtermcap
38719 maybe-dvi-target-libtermcap: dvi-target-libtermcap
38721 dvi-target-libtermcap: \
38722 configure-target-libtermcap
38723 @: $(MAKE); $(unstage)
38724 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38725 r=`${PWD_COMMAND}`; export r; \
38726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38727 $(NORMAL_TARGET_EXPORTS) \
38728 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
38729 for flag in $(EXTRA_TARGET_FLAGS); do \
38730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38731 done; \
38732 (cd $(TARGET_SUBDIR)/libtermcap && \
38733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38735 "RANLIB=$${RANLIB}" \
38736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38737 dvi) \
38738 || exit 1
38740 @endif target-libtermcap
38742 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
38743 maybe-pdf-target-libtermcap:
38744 @if target-libtermcap
38745 maybe-pdf-target-libtermcap: pdf-target-libtermcap
38747 pdf-target-libtermcap: \
38748 configure-target-libtermcap
38749 @: $(MAKE); $(unstage)
38750 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38751 r=`${PWD_COMMAND}`; export r; \
38752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38753 $(NORMAL_TARGET_EXPORTS) \
38754 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
38755 for flag in $(EXTRA_TARGET_FLAGS); do \
38756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38757 done; \
38758 (cd $(TARGET_SUBDIR)/libtermcap && \
38759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38761 "RANLIB=$${RANLIB}" \
38762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38763 pdf) \
38764 || exit 1
38766 @endif target-libtermcap
38768 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
38769 maybe-html-target-libtermcap:
38770 @if target-libtermcap
38771 maybe-html-target-libtermcap: html-target-libtermcap
38773 html-target-libtermcap: \
38774 configure-target-libtermcap
38775 @: $(MAKE); $(unstage)
38776 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38777 r=`${PWD_COMMAND}`; export r; \
38778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38779 $(NORMAL_TARGET_EXPORTS) \
38780 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
38781 for flag in $(EXTRA_TARGET_FLAGS); do \
38782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38783 done; \
38784 (cd $(TARGET_SUBDIR)/libtermcap && \
38785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38787 "RANLIB=$${RANLIB}" \
38788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38789 html) \
38790 || exit 1
38792 @endif target-libtermcap
38794 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
38795 maybe-TAGS-target-libtermcap:
38796 @if target-libtermcap
38797 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
38799 TAGS-target-libtermcap: \
38800 configure-target-libtermcap
38801 @: $(MAKE); $(unstage)
38802 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38803 r=`${PWD_COMMAND}`; export r; \
38804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38805 $(NORMAL_TARGET_EXPORTS) \
38806 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
38807 for flag in $(EXTRA_TARGET_FLAGS); do \
38808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38809 done; \
38810 (cd $(TARGET_SUBDIR)/libtermcap && \
38811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38813 "RANLIB=$${RANLIB}" \
38814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38815 TAGS) \
38816 || exit 1
38818 @endif target-libtermcap
38820 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
38821 maybe-install-info-target-libtermcap:
38822 @if target-libtermcap
38823 maybe-install-info-target-libtermcap: install-info-target-libtermcap
38825 install-info-target-libtermcap: \
38826 configure-target-libtermcap \
38827 info-target-libtermcap
38828 @: $(MAKE); $(unstage)
38829 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38830 r=`${PWD_COMMAND}`; export r; \
38831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38832 $(NORMAL_TARGET_EXPORTS) \
38833 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
38834 for flag in $(EXTRA_TARGET_FLAGS); do \
38835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38836 done; \
38837 (cd $(TARGET_SUBDIR)/libtermcap && \
38838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38840 "RANLIB=$${RANLIB}" \
38841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38842 install-info) \
38843 || exit 1
38845 @endif target-libtermcap
38847 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
38848 maybe-install-html-target-libtermcap:
38849 @if target-libtermcap
38850 maybe-install-html-target-libtermcap: install-html-target-libtermcap
38852 install-html-target-libtermcap: \
38853 configure-target-libtermcap \
38854 html-target-libtermcap
38855 @: $(MAKE); $(unstage)
38856 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38857 r=`${PWD_COMMAND}`; export r; \
38858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38859 $(NORMAL_TARGET_EXPORTS) \
38860 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
38861 for flag in $(EXTRA_TARGET_FLAGS); do \
38862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38863 done; \
38864 (cd $(TARGET_SUBDIR)/libtermcap && \
38865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38867 "RANLIB=$${RANLIB}" \
38868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38869 install-html) \
38870 || exit 1
38872 @endif target-libtermcap
38874 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
38875 maybe-installcheck-target-libtermcap:
38876 @if target-libtermcap
38877 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
38879 installcheck-target-libtermcap: \
38880 configure-target-libtermcap
38881 @: $(MAKE); $(unstage)
38882 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
38883 r=`${PWD_COMMAND}`; export r; \
38884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38885 $(NORMAL_TARGET_EXPORTS) \
38886 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
38887 for flag in $(EXTRA_TARGET_FLAGS); do \
38888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38889 done; \
38890 (cd $(TARGET_SUBDIR)/libtermcap && \
38891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38893 "RANLIB=$${RANLIB}" \
38894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
38895 installcheck) \
38896 || exit 1
38898 @endif target-libtermcap
38900 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
38901 maybe-mostlyclean-target-libtermcap:
38902 @if target-libtermcap
38903 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
38905 # libtermcap doesn't support mostlyclean.
38906 mostlyclean-target-libtermcap:
38908 @endif target-libtermcap
38910 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
38911 maybe-clean-target-libtermcap:
38912 @if target-libtermcap
38913 maybe-clean-target-libtermcap: clean-target-libtermcap
38915 # libtermcap doesn't support clean.
38916 clean-target-libtermcap:
38918 @endif target-libtermcap
38920 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
38921 maybe-distclean-target-libtermcap:
38922 @if target-libtermcap
38923 maybe-distclean-target-libtermcap: distclean-target-libtermcap
38925 # libtermcap doesn't support distclean.
38926 distclean-target-libtermcap:
38928 @endif target-libtermcap
38930 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
38931 maybe-maintainer-clean-target-libtermcap:
38932 @if target-libtermcap
38933 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
38935 # libtermcap doesn't support maintainer-clean.
38936 maintainer-clean-target-libtermcap:
38938 @endif target-libtermcap
38944 .PHONY: configure-target-winsup maybe-configure-target-winsup
38945 maybe-configure-target-winsup:
38946 @if gcc-bootstrap
38947 configure-target-winsup: stage_current
38948 @endif gcc-bootstrap
38949 @if target-winsup
38950 maybe-configure-target-winsup: configure-target-winsup
38951 configure-target-winsup:
38952 @: $(MAKE); $(unstage)
38953 @r=`${PWD_COMMAND}`; export r; \
38954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38955 echo "Checking multilib configuration for winsup..."; \
38956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38957 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
38958 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
38959 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
38960 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
38961 else \
38962 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
38963 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38964 fi; \
38965 else \
38966 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
38967 fi; \
38968 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
38969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
38970 $(NORMAL_TARGET_EXPORTS) \
38971 echo Configuring in $(TARGET_SUBDIR)/winsup; \
38972 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
38973 case $(srcdir) in \
38974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38975 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
38976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38977 esac; \
38978 srcdiroption="--srcdir=$${topdir}/winsup"; \
38979 libsrcdir="$$s/winsup"; \
38980 rm -f no-such-file || : ; \
38981 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38982 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38983 --target=${target_alias} $${srcdiroption} \
38984 || exit 1
38985 @endif target-winsup
38991 .PHONY: all-target-winsup maybe-all-target-winsup
38992 maybe-all-target-winsup:
38993 @if gcc-bootstrap
38994 all-target-winsup: stage_current
38995 @endif gcc-bootstrap
38996 @if target-winsup
38997 TARGET-target-winsup=all
38998 maybe-all-target-winsup: all-target-winsup
38999 all-target-winsup: configure-target-winsup
39000 @: $(MAKE); $(unstage)
39001 @r=`${PWD_COMMAND}`; export r; \
39002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39003 $(NORMAL_TARGET_EXPORTS) \
39004 (cd $(TARGET_SUBDIR)/winsup && \
39005 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
39006 @endif target-winsup
39012 .PHONY: check-target-winsup maybe-check-target-winsup
39013 maybe-check-target-winsup:
39014 @if target-winsup
39015 maybe-check-target-winsup: check-target-winsup
39017 check-target-winsup:
39018 @: $(MAKE); $(unstage)
39019 @r=`${PWD_COMMAND}`; export r; \
39020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39021 $(NORMAL_TARGET_EXPORTS) \
39022 (cd $(TARGET_SUBDIR)/winsup && \
39023 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39025 @endif target-winsup
39027 .PHONY: install-target-winsup maybe-install-target-winsup
39028 maybe-install-target-winsup:
39029 @if target-winsup
39030 maybe-install-target-winsup: install-target-winsup
39032 install-target-winsup: installdirs
39033 @: $(MAKE); $(unstage)
39034 @r=`${PWD_COMMAND}`; export r; \
39035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39036 $(NORMAL_TARGET_EXPORTS) \
39037 (cd $(TARGET_SUBDIR)/winsup && \
39038 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39040 @endif target-winsup
39042 # Other targets (info, dvi, pdf, etc.)
39044 .PHONY: maybe-info-target-winsup info-target-winsup
39045 maybe-info-target-winsup:
39046 @if target-winsup
39047 maybe-info-target-winsup: info-target-winsup
39049 info-target-winsup: \
39050 configure-target-winsup
39051 @: $(MAKE); $(unstage)
39052 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39053 r=`${PWD_COMMAND}`; export r; \
39054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39055 $(NORMAL_TARGET_EXPORTS) \
39056 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
39057 for flag in $(EXTRA_TARGET_FLAGS); do \
39058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39059 done; \
39060 (cd $(TARGET_SUBDIR)/winsup && \
39061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39063 "RANLIB=$${RANLIB}" \
39064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39065 info) \
39066 || exit 1
39068 @endif target-winsup
39070 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
39071 maybe-dvi-target-winsup:
39072 @if target-winsup
39073 maybe-dvi-target-winsup: dvi-target-winsup
39075 dvi-target-winsup: \
39076 configure-target-winsup
39077 @: $(MAKE); $(unstage)
39078 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39079 r=`${PWD_COMMAND}`; export r; \
39080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39081 $(NORMAL_TARGET_EXPORTS) \
39082 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
39083 for flag in $(EXTRA_TARGET_FLAGS); do \
39084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39085 done; \
39086 (cd $(TARGET_SUBDIR)/winsup && \
39087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39089 "RANLIB=$${RANLIB}" \
39090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39091 dvi) \
39092 || exit 1
39094 @endif target-winsup
39096 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
39097 maybe-pdf-target-winsup:
39098 @if target-winsup
39099 maybe-pdf-target-winsup: pdf-target-winsup
39101 pdf-target-winsup: \
39102 configure-target-winsup
39103 @: $(MAKE); $(unstage)
39104 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39105 r=`${PWD_COMMAND}`; export r; \
39106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39107 $(NORMAL_TARGET_EXPORTS) \
39108 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
39109 for flag in $(EXTRA_TARGET_FLAGS); do \
39110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39111 done; \
39112 (cd $(TARGET_SUBDIR)/winsup && \
39113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39115 "RANLIB=$${RANLIB}" \
39116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39117 pdf) \
39118 || exit 1
39120 @endif target-winsup
39122 .PHONY: maybe-html-target-winsup html-target-winsup
39123 maybe-html-target-winsup:
39124 @if target-winsup
39125 maybe-html-target-winsup: html-target-winsup
39127 html-target-winsup: \
39128 configure-target-winsup
39129 @: $(MAKE); $(unstage)
39130 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39131 r=`${PWD_COMMAND}`; export r; \
39132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39133 $(NORMAL_TARGET_EXPORTS) \
39134 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
39135 for flag in $(EXTRA_TARGET_FLAGS); do \
39136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39137 done; \
39138 (cd $(TARGET_SUBDIR)/winsup && \
39139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39141 "RANLIB=$${RANLIB}" \
39142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39143 html) \
39144 || exit 1
39146 @endif target-winsup
39148 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
39149 maybe-TAGS-target-winsup:
39150 @if target-winsup
39151 maybe-TAGS-target-winsup: TAGS-target-winsup
39153 TAGS-target-winsup: \
39154 configure-target-winsup
39155 @: $(MAKE); $(unstage)
39156 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39157 r=`${PWD_COMMAND}`; export r; \
39158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39159 $(NORMAL_TARGET_EXPORTS) \
39160 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
39161 for flag in $(EXTRA_TARGET_FLAGS); do \
39162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39163 done; \
39164 (cd $(TARGET_SUBDIR)/winsup && \
39165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39167 "RANLIB=$${RANLIB}" \
39168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39169 TAGS) \
39170 || exit 1
39172 @endif target-winsup
39174 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
39175 maybe-install-info-target-winsup:
39176 @if target-winsup
39177 maybe-install-info-target-winsup: install-info-target-winsup
39179 install-info-target-winsup: \
39180 configure-target-winsup \
39181 info-target-winsup
39182 @: $(MAKE); $(unstage)
39183 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39184 r=`${PWD_COMMAND}`; export r; \
39185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39186 $(NORMAL_TARGET_EXPORTS) \
39187 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
39188 for flag in $(EXTRA_TARGET_FLAGS); do \
39189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39190 done; \
39191 (cd $(TARGET_SUBDIR)/winsup && \
39192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39194 "RANLIB=$${RANLIB}" \
39195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39196 install-info) \
39197 || exit 1
39199 @endif target-winsup
39201 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
39202 maybe-install-html-target-winsup:
39203 @if target-winsup
39204 maybe-install-html-target-winsup: install-html-target-winsup
39206 install-html-target-winsup: \
39207 configure-target-winsup \
39208 html-target-winsup
39209 @: $(MAKE); $(unstage)
39210 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39211 r=`${PWD_COMMAND}`; export r; \
39212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39213 $(NORMAL_TARGET_EXPORTS) \
39214 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
39215 for flag in $(EXTRA_TARGET_FLAGS); do \
39216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39217 done; \
39218 (cd $(TARGET_SUBDIR)/winsup && \
39219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39221 "RANLIB=$${RANLIB}" \
39222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39223 install-html) \
39224 || exit 1
39226 @endif target-winsup
39228 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
39229 maybe-installcheck-target-winsup:
39230 @if target-winsup
39231 maybe-installcheck-target-winsup: installcheck-target-winsup
39233 installcheck-target-winsup: \
39234 configure-target-winsup
39235 @: $(MAKE); $(unstage)
39236 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39237 r=`${PWD_COMMAND}`; export r; \
39238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39239 $(NORMAL_TARGET_EXPORTS) \
39240 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
39241 for flag in $(EXTRA_TARGET_FLAGS); do \
39242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39243 done; \
39244 (cd $(TARGET_SUBDIR)/winsup && \
39245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39247 "RANLIB=$${RANLIB}" \
39248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39249 installcheck) \
39250 || exit 1
39252 @endif target-winsup
39254 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
39255 maybe-mostlyclean-target-winsup:
39256 @if target-winsup
39257 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
39259 mostlyclean-target-winsup:
39260 @: $(MAKE); $(unstage)
39261 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39262 r=`${PWD_COMMAND}`; export r; \
39263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39264 $(NORMAL_TARGET_EXPORTS) \
39265 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
39266 for flag in $(EXTRA_TARGET_FLAGS); do \
39267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39268 done; \
39269 (cd $(TARGET_SUBDIR)/winsup && \
39270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39272 "RANLIB=$${RANLIB}" \
39273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39274 mostlyclean) \
39275 || exit 1
39277 @endif target-winsup
39279 .PHONY: maybe-clean-target-winsup clean-target-winsup
39280 maybe-clean-target-winsup:
39281 @if target-winsup
39282 maybe-clean-target-winsup: clean-target-winsup
39284 clean-target-winsup:
39285 @: $(MAKE); $(unstage)
39286 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39287 r=`${PWD_COMMAND}`; export r; \
39288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39289 $(NORMAL_TARGET_EXPORTS) \
39290 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
39291 for flag in $(EXTRA_TARGET_FLAGS); do \
39292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39293 done; \
39294 (cd $(TARGET_SUBDIR)/winsup && \
39295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39297 "RANLIB=$${RANLIB}" \
39298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39299 clean) \
39300 || exit 1
39302 @endif target-winsup
39304 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
39305 maybe-distclean-target-winsup:
39306 @if target-winsup
39307 maybe-distclean-target-winsup: distclean-target-winsup
39309 distclean-target-winsup:
39310 @: $(MAKE); $(unstage)
39311 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39312 r=`${PWD_COMMAND}`; export r; \
39313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39314 $(NORMAL_TARGET_EXPORTS) \
39315 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
39316 for flag in $(EXTRA_TARGET_FLAGS); do \
39317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39318 done; \
39319 (cd $(TARGET_SUBDIR)/winsup && \
39320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39322 "RANLIB=$${RANLIB}" \
39323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39324 distclean) \
39325 || exit 1
39327 @endif target-winsup
39329 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
39330 maybe-maintainer-clean-target-winsup:
39331 @if target-winsup
39332 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
39334 maintainer-clean-target-winsup:
39335 @: $(MAKE); $(unstage)
39336 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
39337 r=`${PWD_COMMAND}`; export r; \
39338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39339 $(NORMAL_TARGET_EXPORTS) \
39340 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
39341 for flag in $(EXTRA_TARGET_FLAGS); do \
39342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39343 done; \
39344 (cd $(TARGET_SUBDIR)/winsup && \
39345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39347 "RANLIB=$${RANLIB}" \
39348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39349 maintainer-clean) \
39350 || exit 1
39352 @endif target-winsup
39358 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
39359 maybe-configure-target-libgloss:
39360 @if gcc-bootstrap
39361 configure-target-libgloss: stage_current
39362 @endif gcc-bootstrap
39363 @if target-libgloss
39364 maybe-configure-target-libgloss: configure-target-libgloss
39365 configure-target-libgloss:
39366 @: $(MAKE); $(unstage)
39367 @r=`${PWD_COMMAND}`; export r; \
39368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39369 echo "Checking multilib configuration for libgloss..."; \
39370 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39371 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
39372 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39373 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
39374 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
39375 else \
39376 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
39377 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39378 fi; \
39379 else \
39380 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
39381 fi; \
39382 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
39383 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
39384 $(NORMAL_TARGET_EXPORTS) \
39385 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
39386 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
39387 case $(srcdir) in \
39388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39389 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
39390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39391 esac; \
39392 srcdiroption="--srcdir=$${topdir}/libgloss"; \
39393 libsrcdir="$$s/libgloss"; \
39394 rm -f no-such-file || : ; \
39395 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39396 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39397 --target=${target_alias} $${srcdiroption} \
39398 || exit 1
39399 @endif target-libgloss
39405 .PHONY: all-target-libgloss maybe-all-target-libgloss
39406 maybe-all-target-libgloss:
39407 @if gcc-bootstrap
39408 all-target-libgloss: stage_current
39409 @endif gcc-bootstrap
39410 @if target-libgloss
39411 TARGET-target-libgloss=all
39412 maybe-all-target-libgloss: all-target-libgloss
39413 all-target-libgloss: configure-target-libgloss
39414 @: $(MAKE); $(unstage)
39415 @r=`${PWD_COMMAND}`; export r; \
39416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39417 $(NORMAL_TARGET_EXPORTS) \
39418 (cd $(TARGET_SUBDIR)/libgloss && \
39419 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
39420 @endif target-libgloss
39426 .PHONY: check-target-libgloss maybe-check-target-libgloss
39427 maybe-check-target-libgloss:
39428 @if target-libgloss
39429 maybe-check-target-libgloss: check-target-libgloss
39431 # Dummy target for uncheckable module.
39432 check-target-libgloss:
39434 @endif target-libgloss
39436 .PHONY: install-target-libgloss maybe-install-target-libgloss
39437 maybe-install-target-libgloss:
39438 @if target-libgloss
39439 maybe-install-target-libgloss: install-target-libgloss
39441 install-target-libgloss: installdirs
39442 @: $(MAKE); $(unstage)
39443 @r=`${PWD_COMMAND}`; export r; \
39444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39445 $(NORMAL_TARGET_EXPORTS) \
39446 (cd $(TARGET_SUBDIR)/libgloss && \
39447 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39449 @endif target-libgloss
39451 # Other targets (info, dvi, pdf, etc.)
39453 .PHONY: maybe-info-target-libgloss info-target-libgloss
39454 maybe-info-target-libgloss:
39455 @if target-libgloss
39456 maybe-info-target-libgloss: info-target-libgloss
39458 info-target-libgloss: \
39459 configure-target-libgloss
39460 @: $(MAKE); $(unstage)
39461 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39462 r=`${PWD_COMMAND}`; export r; \
39463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39464 $(NORMAL_TARGET_EXPORTS) \
39465 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
39466 for flag in $(EXTRA_TARGET_FLAGS); do \
39467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39468 done; \
39469 (cd $(TARGET_SUBDIR)/libgloss && \
39470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39472 "RANLIB=$${RANLIB}" \
39473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39474 info) \
39475 || exit 1
39477 @endif target-libgloss
39479 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
39480 maybe-dvi-target-libgloss:
39481 @if target-libgloss
39482 maybe-dvi-target-libgloss: dvi-target-libgloss
39484 dvi-target-libgloss: \
39485 configure-target-libgloss
39486 @: $(MAKE); $(unstage)
39487 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39488 r=`${PWD_COMMAND}`; export r; \
39489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39490 $(NORMAL_TARGET_EXPORTS) \
39491 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
39492 for flag in $(EXTRA_TARGET_FLAGS); do \
39493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39494 done; \
39495 (cd $(TARGET_SUBDIR)/libgloss && \
39496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39498 "RANLIB=$${RANLIB}" \
39499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39500 dvi) \
39501 || exit 1
39503 @endif target-libgloss
39505 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
39506 maybe-pdf-target-libgloss:
39507 @if target-libgloss
39508 maybe-pdf-target-libgloss: pdf-target-libgloss
39510 pdf-target-libgloss: \
39511 configure-target-libgloss
39512 @: $(MAKE); $(unstage)
39513 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39514 r=`${PWD_COMMAND}`; export r; \
39515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39516 $(NORMAL_TARGET_EXPORTS) \
39517 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
39518 for flag in $(EXTRA_TARGET_FLAGS); do \
39519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39520 done; \
39521 (cd $(TARGET_SUBDIR)/libgloss && \
39522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39524 "RANLIB=$${RANLIB}" \
39525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39526 pdf) \
39527 || exit 1
39529 @endif target-libgloss
39531 .PHONY: maybe-html-target-libgloss html-target-libgloss
39532 maybe-html-target-libgloss:
39533 @if target-libgloss
39534 maybe-html-target-libgloss: html-target-libgloss
39536 html-target-libgloss: \
39537 configure-target-libgloss
39538 @: $(MAKE); $(unstage)
39539 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39540 r=`${PWD_COMMAND}`; export r; \
39541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39542 $(NORMAL_TARGET_EXPORTS) \
39543 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
39544 for flag in $(EXTRA_TARGET_FLAGS); do \
39545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39546 done; \
39547 (cd $(TARGET_SUBDIR)/libgloss && \
39548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39550 "RANLIB=$${RANLIB}" \
39551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39552 html) \
39553 || exit 1
39555 @endif target-libgloss
39557 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
39558 maybe-TAGS-target-libgloss:
39559 @if target-libgloss
39560 maybe-TAGS-target-libgloss: TAGS-target-libgloss
39562 TAGS-target-libgloss: \
39563 configure-target-libgloss
39564 @: $(MAKE); $(unstage)
39565 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39566 r=`${PWD_COMMAND}`; export r; \
39567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39568 $(NORMAL_TARGET_EXPORTS) \
39569 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
39570 for flag in $(EXTRA_TARGET_FLAGS); do \
39571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39572 done; \
39573 (cd $(TARGET_SUBDIR)/libgloss && \
39574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39576 "RANLIB=$${RANLIB}" \
39577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39578 TAGS) \
39579 || exit 1
39581 @endif target-libgloss
39583 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
39584 maybe-install-info-target-libgloss:
39585 @if target-libgloss
39586 maybe-install-info-target-libgloss: install-info-target-libgloss
39588 install-info-target-libgloss: \
39589 configure-target-libgloss \
39590 info-target-libgloss
39591 @: $(MAKE); $(unstage)
39592 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39593 r=`${PWD_COMMAND}`; export r; \
39594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39595 $(NORMAL_TARGET_EXPORTS) \
39596 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
39597 for flag in $(EXTRA_TARGET_FLAGS); do \
39598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39599 done; \
39600 (cd $(TARGET_SUBDIR)/libgloss && \
39601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39603 "RANLIB=$${RANLIB}" \
39604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39605 install-info) \
39606 || exit 1
39608 @endif target-libgloss
39610 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
39611 maybe-install-html-target-libgloss:
39612 @if target-libgloss
39613 maybe-install-html-target-libgloss: install-html-target-libgloss
39615 install-html-target-libgloss: \
39616 configure-target-libgloss \
39617 html-target-libgloss
39618 @: $(MAKE); $(unstage)
39619 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39620 r=`${PWD_COMMAND}`; export r; \
39621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39622 $(NORMAL_TARGET_EXPORTS) \
39623 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
39624 for flag in $(EXTRA_TARGET_FLAGS); do \
39625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39626 done; \
39627 (cd $(TARGET_SUBDIR)/libgloss && \
39628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39630 "RANLIB=$${RANLIB}" \
39631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39632 install-html) \
39633 || exit 1
39635 @endif target-libgloss
39637 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
39638 maybe-installcheck-target-libgloss:
39639 @if target-libgloss
39640 maybe-installcheck-target-libgloss: installcheck-target-libgloss
39642 installcheck-target-libgloss: \
39643 configure-target-libgloss
39644 @: $(MAKE); $(unstage)
39645 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39646 r=`${PWD_COMMAND}`; export r; \
39647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39648 $(NORMAL_TARGET_EXPORTS) \
39649 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
39650 for flag in $(EXTRA_TARGET_FLAGS); do \
39651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39652 done; \
39653 (cd $(TARGET_SUBDIR)/libgloss && \
39654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39656 "RANLIB=$${RANLIB}" \
39657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39658 installcheck) \
39659 || exit 1
39661 @endif target-libgloss
39663 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
39664 maybe-mostlyclean-target-libgloss:
39665 @if target-libgloss
39666 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
39668 mostlyclean-target-libgloss:
39669 @: $(MAKE); $(unstage)
39670 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39671 r=`${PWD_COMMAND}`; export r; \
39672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39673 $(NORMAL_TARGET_EXPORTS) \
39674 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
39675 for flag in $(EXTRA_TARGET_FLAGS); do \
39676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39677 done; \
39678 (cd $(TARGET_SUBDIR)/libgloss && \
39679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39681 "RANLIB=$${RANLIB}" \
39682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39683 mostlyclean) \
39684 || exit 1
39686 @endif target-libgloss
39688 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
39689 maybe-clean-target-libgloss:
39690 @if target-libgloss
39691 maybe-clean-target-libgloss: clean-target-libgloss
39693 clean-target-libgloss:
39694 @: $(MAKE); $(unstage)
39695 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39696 r=`${PWD_COMMAND}`; export r; \
39697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39698 $(NORMAL_TARGET_EXPORTS) \
39699 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
39700 for flag in $(EXTRA_TARGET_FLAGS); do \
39701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39702 done; \
39703 (cd $(TARGET_SUBDIR)/libgloss && \
39704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39706 "RANLIB=$${RANLIB}" \
39707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39708 clean) \
39709 || exit 1
39711 @endif target-libgloss
39713 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
39714 maybe-distclean-target-libgloss:
39715 @if target-libgloss
39716 maybe-distclean-target-libgloss: distclean-target-libgloss
39718 distclean-target-libgloss:
39719 @: $(MAKE); $(unstage)
39720 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39721 r=`${PWD_COMMAND}`; export r; \
39722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39723 $(NORMAL_TARGET_EXPORTS) \
39724 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
39725 for flag in $(EXTRA_TARGET_FLAGS); do \
39726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39727 done; \
39728 (cd $(TARGET_SUBDIR)/libgloss && \
39729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39731 "RANLIB=$${RANLIB}" \
39732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39733 distclean) \
39734 || exit 1
39736 @endif target-libgloss
39738 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
39739 maybe-maintainer-clean-target-libgloss:
39740 @if target-libgloss
39741 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
39743 maintainer-clean-target-libgloss:
39744 @: $(MAKE); $(unstage)
39745 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
39746 r=`${PWD_COMMAND}`; export r; \
39747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39748 $(NORMAL_TARGET_EXPORTS) \
39749 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
39750 for flag in $(EXTRA_TARGET_FLAGS); do \
39751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39752 done; \
39753 (cd $(TARGET_SUBDIR)/libgloss && \
39754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39756 "RANLIB=$${RANLIB}" \
39757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39758 maintainer-clean) \
39759 || exit 1
39761 @endif target-libgloss
39767 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
39768 maybe-configure-target-libiberty:
39769 @if gcc-bootstrap
39770 configure-target-libiberty: stage_current
39771 @endif gcc-bootstrap
39772 @if target-libiberty
39773 maybe-configure-target-libiberty: configure-target-libiberty
39774 configure-target-libiberty:
39775 @: $(MAKE); $(unstage)
39776 @r=`${PWD_COMMAND}`; export r; \
39777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39778 echo "Checking multilib configuration for libiberty..."; \
39779 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
39780 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
39781 if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
39782 if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
39783 rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
39784 else \
39785 rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
39786 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
39787 fi; \
39788 else \
39789 mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
39790 fi; \
39791 test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
39792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
39793 $(NORMAL_TARGET_EXPORTS) \
39794 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
39795 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
39796 case $(srcdir) in \
39797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39798 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
39799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39800 esac; \
39801 srcdiroption="--srcdir=$${topdir}/libiberty"; \
39802 libsrcdir="$$s/libiberty"; \
39803 rm -f no-such-file || : ; \
39804 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39805 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39806 --target=${target_alias} $${srcdiroption} \
39807 || exit 1
39808 @endif target-libiberty
39814 .PHONY: all-target-libiberty maybe-all-target-libiberty
39815 maybe-all-target-libiberty:
39816 @if gcc-bootstrap
39817 all-target-libiberty: stage_current
39818 @endif gcc-bootstrap
39819 @if target-libiberty
39820 TARGET-target-libiberty=all
39821 maybe-all-target-libiberty: all-target-libiberty
39822 all-target-libiberty: configure-target-libiberty
39823 @: $(MAKE); $(unstage)
39824 @r=`${PWD_COMMAND}`; export r; \
39825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39826 $(NORMAL_TARGET_EXPORTS) \
39827 (cd $(TARGET_SUBDIR)/libiberty && \
39828 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
39829 @endif target-libiberty
39835 .PHONY: check-target-libiberty maybe-check-target-libiberty
39836 maybe-check-target-libiberty:
39837 @if target-libiberty
39838 maybe-check-target-libiberty: check-target-libiberty
39840 check-target-libiberty:
39841 @: $(MAKE); $(unstage)
39842 @r=`${PWD_COMMAND}`; export r; \
39843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39844 $(NORMAL_TARGET_EXPORTS) \
39845 (cd $(TARGET_SUBDIR)/libiberty && \
39846 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39848 @endif target-libiberty
39850 .PHONY: install-target-libiberty maybe-install-target-libiberty
39851 maybe-install-target-libiberty:
39852 @if target-libiberty
39853 maybe-install-target-libiberty: install-target-libiberty
39855 install-target-libiberty: installdirs
39856 @: $(MAKE); $(unstage)
39857 @r=`${PWD_COMMAND}`; export r; \
39858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39859 $(NORMAL_TARGET_EXPORTS) \
39860 (cd $(TARGET_SUBDIR)/libiberty && \
39861 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39863 @endif target-libiberty
39865 # Other targets (info, dvi, pdf, etc.)
39867 .PHONY: maybe-info-target-libiberty info-target-libiberty
39868 maybe-info-target-libiberty:
39869 @if target-libiberty
39870 maybe-info-target-libiberty: info-target-libiberty
39872 info-target-libiberty: \
39873 configure-target-libiberty
39874 @: $(MAKE); $(unstage)
39875 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39876 r=`${PWD_COMMAND}`; export r; \
39877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39878 $(NORMAL_TARGET_EXPORTS) \
39879 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
39880 for flag in $(EXTRA_TARGET_FLAGS); do \
39881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39882 done; \
39883 (cd $(TARGET_SUBDIR)/libiberty && \
39884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39886 "RANLIB=$${RANLIB}" \
39887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39888 info) \
39889 || exit 1
39891 @endif target-libiberty
39893 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
39894 maybe-dvi-target-libiberty:
39895 @if target-libiberty
39896 maybe-dvi-target-libiberty: dvi-target-libiberty
39898 dvi-target-libiberty: \
39899 configure-target-libiberty
39900 @: $(MAKE); $(unstage)
39901 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39902 r=`${PWD_COMMAND}`; export r; \
39903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39904 $(NORMAL_TARGET_EXPORTS) \
39905 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
39906 for flag in $(EXTRA_TARGET_FLAGS); do \
39907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39908 done; \
39909 (cd $(TARGET_SUBDIR)/libiberty && \
39910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39912 "RANLIB=$${RANLIB}" \
39913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39914 dvi) \
39915 || exit 1
39917 @endif target-libiberty
39919 .PHONY: maybe-pdf-target-libiberty pdf-target-libiberty
39920 maybe-pdf-target-libiberty:
39921 @if target-libiberty
39922 maybe-pdf-target-libiberty: pdf-target-libiberty
39924 pdf-target-libiberty: \
39925 configure-target-libiberty
39926 @: $(MAKE); $(unstage)
39927 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39928 r=`${PWD_COMMAND}`; export r; \
39929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39930 $(NORMAL_TARGET_EXPORTS) \
39931 echo "Doing pdf in $(TARGET_SUBDIR)/libiberty" ; \
39932 for flag in $(EXTRA_TARGET_FLAGS); do \
39933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39934 done; \
39935 (cd $(TARGET_SUBDIR)/libiberty && \
39936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39938 "RANLIB=$${RANLIB}" \
39939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39940 pdf) \
39941 || exit 1
39943 @endif target-libiberty
39945 .PHONY: maybe-html-target-libiberty html-target-libiberty
39946 maybe-html-target-libiberty:
39947 @if target-libiberty
39948 maybe-html-target-libiberty: html-target-libiberty
39950 html-target-libiberty: \
39951 configure-target-libiberty
39952 @: $(MAKE); $(unstage)
39953 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39954 r=`${PWD_COMMAND}`; export r; \
39955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39956 $(NORMAL_TARGET_EXPORTS) \
39957 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
39958 for flag in $(EXTRA_TARGET_FLAGS); do \
39959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39960 done; \
39961 (cd $(TARGET_SUBDIR)/libiberty && \
39962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39964 "RANLIB=$${RANLIB}" \
39965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39966 html) \
39967 || exit 1
39969 @endif target-libiberty
39971 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
39972 maybe-TAGS-target-libiberty:
39973 @if target-libiberty
39974 maybe-TAGS-target-libiberty: TAGS-target-libiberty
39976 TAGS-target-libiberty: \
39977 configure-target-libiberty
39978 @: $(MAKE); $(unstage)
39979 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
39980 r=`${PWD_COMMAND}`; export r; \
39981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39982 $(NORMAL_TARGET_EXPORTS) \
39983 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
39984 for flag in $(EXTRA_TARGET_FLAGS); do \
39985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39986 done; \
39987 (cd $(TARGET_SUBDIR)/libiberty && \
39988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39990 "RANLIB=$${RANLIB}" \
39991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
39992 TAGS) \
39993 || exit 1
39995 @endif target-libiberty
39997 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
39998 maybe-install-info-target-libiberty:
39999 @if target-libiberty
40000 maybe-install-info-target-libiberty: install-info-target-libiberty
40002 install-info-target-libiberty: \
40003 configure-target-libiberty \
40004 info-target-libiberty
40005 @: $(MAKE); $(unstage)
40006 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40007 r=`${PWD_COMMAND}`; export r; \
40008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40009 $(NORMAL_TARGET_EXPORTS) \
40010 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
40011 for flag in $(EXTRA_TARGET_FLAGS); do \
40012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40013 done; \
40014 (cd $(TARGET_SUBDIR)/libiberty && \
40015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40017 "RANLIB=$${RANLIB}" \
40018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40019 install-info) \
40020 || exit 1
40022 @endif target-libiberty
40024 .PHONY: maybe-install-html-target-libiberty install-html-target-libiberty
40025 maybe-install-html-target-libiberty:
40026 @if target-libiberty
40027 maybe-install-html-target-libiberty: install-html-target-libiberty
40029 install-html-target-libiberty: \
40030 configure-target-libiberty \
40031 html-target-libiberty
40032 @: $(MAKE); $(unstage)
40033 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40034 r=`${PWD_COMMAND}`; export r; \
40035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40036 $(NORMAL_TARGET_EXPORTS) \
40037 echo "Doing install-html in $(TARGET_SUBDIR)/libiberty" ; \
40038 for flag in $(EXTRA_TARGET_FLAGS); do \
40039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40040 done; \
40041 (cd $(TARGET_SUBDIR)/libiberty && \
40042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40044 "RANLIB=$${RANLIB}" \
40045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40046 install-html) \
40047 || exit 1
40049 @endif target-libiberty
40051 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
40052 maybe-installcheck-target-libiberty:
40053 @if target-libiberty
40054 maybe-installcheck-target-libiberty: installcheck-target-libiberty
40056 installcheck-target-libiberty: \
40057 configure-target-libiberty
40058 @: $(MAKE); $(unstage)
40059 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40060 r=`${PWD_COMMAND}`; export r; \
40061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40062 $(NORMAL_TARGET_EXPORTS) \
40063 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
40064 for flag in $(EXTRA_TARGET_FLAGS); do \
40065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40066 done; \
40067 (cd $(TARGET_SUBDIR)/libiberty && \
40068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40070 "RANLIB=$${RANLIB}" \
40071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40072 installcheck) \
40073 || exit 1
40075 @endif target-libiberty
40077 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
40078 maybe-mostlyclean-target-libiberty:
40079 @if target-libiberty
40080 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
40082 mostlyclean-target-libiberty:
40083 @: $(MAKE); $(unstage)
40084 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40085 r=`${PWD_COMMAND}`; export r; \
40086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40087 $(NORMAL_TARGET_EXPORTS) \
40088 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
40089 for flag in $(EXTRA_TARGET_FLAGS); do \
40090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40091 done; \
40092 (cd $(TARGET_SUBDIR)/libiberty && \
40093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40095 "RANLIB=$${RANLIB}" \
40096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40097 mostlyclean) \
40098 || exit 1
40100 @endif target-libiberty
40102 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
40103 maybe-clean-target-libiberty:
40104 @if target-libiberty
40105 maybe-clean-target-libiberty: clean-target-libiberty
40107 clean-target-libiberty:
40108 @: $(MAKE); $(unstage)
40109 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40110 r=`${PWD_COMMAND}`; export r; \
40111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40112 $(NORMAL_TARGET_EXPORTS) \
40113 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
40114 for flag in $(EXTRA_TARGET_FLAGS); do \
40115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40116 done; \
40117 (cd $(TARGET_SUBDIR)/libiberty && \
40118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40120 "RANLIB=$${RANLIB}" \
40121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40122 clean) \
40123 || exit 1
40125 @endif target-libiberty
40127 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
40128 maybe-distclean-target-libiberty:
40129 @if target-libiberty
40130 maybe-distclean-target-libiberty: distclean-target-libiberty
40132 distclean-target-libiberty:
40133 @: $(MAKE); $(unstage)
40134 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40135 r=`${PWD_COMMAND}`; export r; \
40136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40137 $(NORMAL_TARGET_EXPORTS) \
40138 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
40139 for flag in $(EXTRA_TARGET_FLAGS); do \
40140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40141 done; \
40142 (cd $(TARGET_SUBDIR)/libiberty && \
40143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40145 "RANLIB=$${RANLIB}" \
40146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40147 distclean) \
40148 || exit 1
40150 @endif target-libiberty
40152 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
40153 maybe-maintainer-clean-target-libiberty:
40154 @if target-libiberty
40155 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
40157 maintainer-clean-target-libiberty:
40158 @: $(MAKE); $(unstage)
40159 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
40160 r=`${PWD_COMMAND}`; export r; \
40161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40162 $(NORMAL_TARGET_EXPORTS) \
40163 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
40164 for flag in $(EXTRA_TARGET_FLAGS); do \
40165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40166 done; \
40167 (cd $(TARGET_SUBDIR)/libiberty && \
40168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40170 "RANLIB=$${RANLIB}" \
40171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40172 maintainer-clean) \
40173 || exit 1
40175 @endif target-libiberty
40181 .PHONY: configure-target-gperf maybe-configure-target-gperf
40182 maybe-configure-target-gperf:
40183 @if gcc-bootstrap
40184 configure-target-gperf: stage_current
40185 @endif gcc-bootstrap
40186 @if target-gperf
40187 maybe-configure-target-gperf: configure-target-gperf
40188 configure-target-gperf:
40189 @: $(MAKE); $(unstage)
40190 @r=`${PWD_COMMAND}`; export r; \
40191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40192 echo "Checking multilib configuration for gperf..."; \
40193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
40194 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.tmp 2> /dev/null ; \
40195 if test -r $(TARGET_SUBDIR)/gperf/multilib.out; then \
40196 if cmp -s $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; then \
40197 rm -f $(TARGET_SUBDIR)/gperf/multilib.tmp; \
40198 else \
40199 rm -f $(TARGET_SUBDIR)/gperf/Makefile; \
40200 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
40201 fi; \
40202 else \
40203 mv $(TARGET_SUBDIR)/gperf/multilib.tmp $(TARGET_SUBDIR)/gperf/multilib.out; \
40204 fi; \
40205 test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
40206 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
40207 $(NORMAL_TARGET_EXPORTS) \
40208 echo Configuring in $(TARGET_SUBDIR)/gperf; \
40209 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
40210 case $(srcdir) in \
40211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40212 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
40213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40214 esac; \
40215 srcdiroption="--srcdir=$${topdir}/gperf"; \
40216 libsrcdir="$$s/gperf"; \
40217 rm -f no-such-file || : ; \
40218 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40219 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40220 --target=${target_alias} $${srcdiroption} \
40221 || exit 1
40222 @endif target-gperf
40228 .PHONY: all-target-gperf maybe-all-target-gperf
40229 maybe-all-target-gperf:
40230 @if gcc-bootstrap
40231 all-target-gperf: stage_current
40232 @endif gcc-bootstrap
40233 @if target-gperf
40234 TARGET-target-gperf=all
40235 maybe-all-target-gperf: all-target-gperf
40236 all-target-gperf: configure-target-gperf
40237 @: $(MAKE); $(unstage)
40238 @r=`${PWD_COMMAND}`; export r; \
40239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40240 $(NORMAL_TARGET_EXPORTS) \
40241 (cd $(TARGET_SUBDIR)/gperf && \
40242 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
40243 @endif target-gperf
40249 .PHONY: check-target-gperf maybe-check-target-gperf
40250 maybe-check-target-gperf:
40251 @if target-gperf
40252 maybe-check-target-gperf: check-target-gperf
40254 check-target-gperf:
40255 @: $(MAKE); $(unstage)
40256 @r=`${PWD_COMMAND}`; export r; \
40257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40258 $(NORMAL_TARGET_EXPORTS) \
40259 (cd $(TARGET_SUBDIR)/gperf && \
40260 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40262 @endif target-gperf
40264 .PHONY: install-target-gperf maybe-install-target-gperf
40265 maybe-install-target-gperf:
40266 @if target-gperf
40267 maybe-install-target-gperf: install-target-gperf
40269 install-target-gperf: installdirs
40270 @: $(MAKE); $(unstage)
40271 @r=`${PWD_COMMAND}`; export r; \
40272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40273 $(NORMAL_TARGET_EXPORTS) \
40274 (cd $(TARGET_SUBDIR)/gperf && \
40275 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40277 @endif target-gperf
40279 # Other targets (info, dvi, pdf, etc.)
40281 .PHONY: maybe-info-target-gperf info-target-gperf
40282 maybe-info-target-gperf:
40283 @if target-gperf
40284 maybe-info-target-gperf: info-target-gperf
40286 info-target-gperf: \
40287 configure-target-gperf
40288 @: $(MAKE); $(unstage)
40289 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40290 r=`${PWD_COMMAND}`; export r; \
40291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40292 $(NORMAL_TARGET_EXPORTS) \
40293 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
40294 for flag in $(EXTRA_TARGET_FLAGS); do \
40295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40296 done; \
40297 (cd $(TARGET_SUBDIR)/gperf && \
40298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40300 "RANLIB=$${RANLIB}" \
40301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40302 info) \
40303 || exit 1
40305 @endif target-gperf
40307 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
40308 maybe-dvi-target-gperf:
40309 @if target-gperf
40310 maybe-dvi-target-gperf: dvi-target-gperf
40312 dvi-target-gperf: \
40313 configure-target-gperf
40314 @: $(MAKE); $(unstage)
40315 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40316 r=`${PWD_COMMAND}`; export r; \
40317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40318 $(NORMAL_TARGET_EXPORTS) \
40319 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
40320 for flag in $(EXTRA_TARGET_FLAGS); do \
40321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40322 done; \
40323 (cd $(TARGET_SUBDIR)/gperf && \
40324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40326 "RANLIB=$${RANLIB}" \
40327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40328 dvi) \
40329 || exit 1
40331 @endif target-gperf
40333 .PHONY: maybe-pdf-target-gperf pdf-target-gperf
40334 maybe-pdf-target-gperf:
40335 @if target-gperf
40336 maybe-pdf-target-gperf: pdf-target-gperf
40338 pdf-target-gperf: \
40339 configure-target-gperf
40340 @: $(MAKE); $(unstage)
40341 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40342 r=`${PWD_COMMAND}`; export r; \
40343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40344 $(NORMAL_TARGET_EXPORTS) \
40345 echo "Doing pdf in $(TARGET_SUBDIR)/gperf" ; \
40346 for flag in $(EXTRA_TARGET_FLAGS); do \
40347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40348 done; \
40349 (cd $(TARGET_SUBDIR)/gperf && \
40350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40352 "RANLIB=$${RANLIB}" \
40353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40354 pdf) \
40355 || exit 1
40357 @endif target-gperf
40359 .PHONY: maybe-html-target-gperf html-target-gperf
40360 maybe-html-target-gperf:
40361 @if target-gperf
40362 maybe-html-target-gperf: html-target-gperf
40364 html-target-gperf: \
40365 configure-target-gperf
40366 @: $(MAKE); $(unstage)
40367 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40368 r=`${PWD_COMMAND}`; export r; \
40369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40370 $(NORMAL_TARGET_EXPORTS) \
40371 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
40372 for flag in $(EXTRA_TARGET_FLAGS); do \
40373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40374 done; \
40375 (cd $(TARGET_SUBDIR)/gperf && \
40376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40378 "RANLIB=$${RANLIB}" \
40379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40380 html) \
40381 || exit 1
40383 @endif target-gperf
40385 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
40386 maybe-TAGS-target-gperf:
40387 @if target-gperf
40388 maybe-TAGS-target-gperf: TAGS-target-gperf
40390 TAGS-target-gperf: \
40391 configure-target-gperf
40392 @: $(MAKE); $(unstage)
40393 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40394 r=`${PWD_COMMAND}`; export r; \
40395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40396 $(NORMAL_TARGET_EXPORTS) \
40397 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
40398 for flag in $(EXTRA_TARGET_FLAGS); do \
40399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40400 done; \
40401 (cd $(TARGET_SUBDIR)/gperf && \
40402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40404 "RANLIB=$${RANLIB}" \
40405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40406 TAGS) \
40407 || exit 1
40409 @endif target-gperf
40411 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
40412 maybe-install-info-target-gperf:
40413 @if target-gperf
40414 maybe-install-info-target-gperf: install-info-target-gperf
40416 install-info-target-gperf: \
40417 configure-target-gperf \
40418 info-target-gperf
40419 @: $(MAKE); $(unstage)
40420 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40421 r=`${PWD_COMMAND}`; export r; \
40422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40423 $(NORMAL_TARGET_EXPORTS) \
40424 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
40425 for flag in $(EXTRA_TARGET_FLAGS); do \
40426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40427 done; \
40428 (cd $(TARGET_SUBDIR)/gperf && \
40429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40431 "RANLIB=$${RANLIB}" \
40432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40433 install-info) \
40434 || exit 1
40436 @endif target-gperf
40438 .PHONY: maybe-install-html-target-gperf install-html-target-gperf
40439 maybe-install-html-target-gperf:
40440 @if target-gperf
40441 maybe-install-html-target-gperf: install-html-target-gperf
40443 install-html-target-gperf: \
40444 configure-target-gperf \
40445 html-target-gperf
40446 @: $(MAKE); $(unstage)
40447 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40448 r=`${PWD_COMMAND}`; export r; \
40449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40450 $(NORMAL_TARGET_EXPORTS) \
40451 echo "Doing install-html in $(TARGET_SUBDIR)/gperf" ; \
40452 for flag in $(EXTRA_TARGET_FLAGS); do \
40453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40454 done; \
40455 (cd $(TARGET_SUBDIR)/gperf && \
40456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40458 "RANLIB=$${RANLIB}" \
40459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40460 install-html) \
40461 || exit 1
40463 @endif target-gperf
40465 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
40466 maybe-installcheck-target-gperf:
40467 @if target-gperf
40468 maybe-installcheck-target-gperf: installcheck-target-gperf
40470 installcheck-target-gperf: \
40471 configure-target-gperf
40472 @: $(MAKE); $(unstage)
40473 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40474 r=`${PWD_COMMAND}`; export r; \
40475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40476 $(NORMAL_TARGET_EXPORTS) \
40477 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
40478 for flag in $(EXTRA_TARGET_FLAGS); do \
40479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40480 done; \
40481 (cd $(TARGET_SUBDIR)/gperf && \
40482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40484 "RANLIB=$${RANLIB}" \
40485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40486 installcheck) \
40487 || exit 1
40489 @endif target-gperf
40491 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
40492 maybe-mostlyclean-target-gperf:
40493 @if target-gperf
40494 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
40496 mostlyclean-target-gperf:
40497 @: $(MAKE); $(unstage)
40498 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40499 r=`${PWD_COMMAND}`; export r; \
40500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40501 $(NORMAL_TARGET_EXPORTS) \
40502 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
40503 for flag in $(EXTRA_TARGET_FLAGS); do \
40504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40505 done; \
40506 (cd $(TARGET_SUBDIR)/gperf && \
40507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40509 "RANLIB=$${RANLIB}" \
40510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40511 mostlyclean) \
40512 || exit 1
40514 @endif target-gperf
40516 .PHONY: maybe-clean-target-gperf clean-target-gperf
40517 maybe-clean-target-gperf:
40518 @if target-gperf
40519 maybe-clean-target-gperf: clean-target-gperf
40521 clean-target-gperf:
40522 @: $(MAKE); $(unstage)
40523 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40524 r=`${PWD_COMMAND}`; export r; \
40525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40526 $(NORMAL_TARGET_EXPORTS) \
40527 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
40528 for flag in $(EXTRA_TARGET_FLAGS); do \
40529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40530 done; \
40531 (cd $(TARGET_SUBDIR)/gperf && \
40532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40534 "RANLIB=$${RANLIB}" \
40535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40536 clean) \
40537 || exit 1
40539 @endif target-gperf
40541 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
40542 maybe-distclean-target-gperf:
40543 @if target-gperf
40544 maybe-distclean-target-gperf: distclean-target-gperf
40546 distclean-target-gperf:
40547 @: $(MAKE); $(unstage)
40548 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40549 r=`${PWD_COMMAND}`; export r; \
40550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40551 $(NORMAL_TARGET_EXPORTS) \
40552 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
40553 for flag in $(EXTRA_TARGET_FLAGS); do \
40554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40555 done; \
40556 (cd $(TARGET_SUBDIR)/gperf && \
40557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40559 "RANLIB=$${RANLIB}" \
40560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40561 distclean) \
40562 || exit 1
40564 @endif target-gperf
40566 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
40567 maybe-maintainer-clean-target-gperf:
40568 @if target-gperf
40569 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
40571 maintainer-clean-target-gperf:
40572 @: $(MAKE); $(unstage)
40573 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
40574 r=`${PWD_COMMAND}`; export r; \
40575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40576 $(NORMAL_TARGET_EXPORTS) \
40577 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
40578 for flag in $(EXTRA_TARGET_FLAGS); do \
40579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40580 done; \
40581 (cd $(TARGET_SUBDIR)/gperf && \
40582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40584 "RANLIB=$${RANLIB}" \
40585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40586 maintainer-clean) \
40587 || exit 1
40589 @endif target-gperf
40595 .PHONY: configure-target-examples maybe-configure-target-examples
40596 maybe-configure-target-examples:
40597 @if gcc-bootstrap
40598 configure-target-examples: stage_current
40599 @endif gcc-bootstrap
40600 @if target-examples
40601 maybe-configure-target-examples: configure-target-examples
40602 configure-target-examples:
40603 @: $(MAKE); $(unstage)
40604 @r=`${PWD_COMMAND}`; export r; \
40605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40606 echo "Checking multilib configuration for examples..."; \
40607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
40608 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.tmp 2> /dev/null ; \
40609 if test -r $(TARGET_SUBDIR)/examples/multilib.out; then \
40610 if cmp -s $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; then \
40611 rm -f $(TARGET_SUBDIR)/examples/multilib.tmp; \
40612 else \
40613 rm -f $(TARGET_SUBDIR)/examples/Makefile; \
40614 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
40615 fi; \
40616 else \
40617 mv $(TARGET_SUBDIR)/examples/multilib.tmp $(TARGET_SUBDIR)/examples/multilib.out; \
40618 fi; \
40619 test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
40620 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
40621 $(NORMAL_TARGET_EXPORTS) \
40622 echo Configuring in $(TARGET_SUBDIR)/examples; \
40623 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
40624 case $(srcdir) in \
40625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40626 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
40627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40628 esac; \
40629 srcdiroption="--srcdir=$${topdir}/examples"; \
40630 libsrcdir="$$s/examples"; \
40631 rm -f no-such-file || : ; \
40632 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40633 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40634 --target=${target_alias} $${srcdiroption} \
40635 || exit 1
40636 @endif target-examples
40642 .PHONY: all-target-examples maybe-all-target-examples
40643 maybe-all-target-examples:
40644 @if gcc-bootstrap
40645 all-target-examples: stage_current
40646 @endif gcc-bootstrap
40647 @if target-examples
40648 TARGET-target-examples=all
40649 maybe-all-target-examples: all-target-examples
40650 all-target-examples: configure-target-examples
40651 @: $(MAKE); $(unstage)
40652 @r=`${PWD_COMMAND}`; export r; \
40653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40654 $(NORMAL_TARGET_EXPORTS) \
40655 (cd $(TARGET_SUBDIR)/examples && \
40656 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
40657 @endif target-examples
40663 .PHONY: check-target-examples maybe-check-target-examples
40664 maybe-check-target-examples:
40665 @if target-examples
40666 maybe-check-target-examples: check-target-examples
40668 # Dummy target for uncheckable module.
40669 check-target-examples:
40671 @endif target-examples
40673 .PHONY: install-target-examples maybe-install-target-examples
40674 maybe-install-target-examples:
40675 @if target-examples
40676 maybe-install-target-examples: install-target-examples
40678 # Dummy target for uninstallable.
40679 install-target-examples:
40681 @endif target-examples
40683 # Other targets (info, dvi, pdf, etc.)
40685 .PHONY: maybe-info-target-examples info-target-examples
40686 maybe-info-target-examples:
40687 @if target-examples
40688 maybe-info-target-examples: info-target-examples
40690 info-target-examples: \
40691 configure-target-examples
40692 @: $(MAKE); $(unstage)
40693 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40694 r=`${PWD_COMMAND}`; export r; \
40695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40696 $(NORMAL_TARGET_EXPORTS) \
40697 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
40698 for flag in $(EXTRA_TARGET_FLAGS); do \
40699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40700 done; \
40701 (cd $(TARGET_SUBDIR)/examples && \
40702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40704 "RANLIB=$${RANLIB}" \
40705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40706 info) \
40707 || exit 1
40709 @endif target-examples
40711 .PHONY: maybe-dvi-target-examples dvi-target-examples
40712 maybe-dvi-target-examples:
40713 @if target-examples
40714 maybe-dvi-target-examples: dvi-target-examples
40716 dvi-target-examples: \
40717 configure-target-examples
40718 @: $(MAKE); $(unstage)
40719 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40720 r=`${PWD_COMMAND}`; export r; \
40721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40722 $(NORMAL_TARGET_EXPORTS) \
40723 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
40724 for flag in $(EXTRA_TARGET_FLAGS); do \
40725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40726 done; \
40727 (cd $(TARGET_SUBDIR)/examples && \
40728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40730 "RANLIB=$${RANLIB}" \
40731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40732 dvi) \
40733 || exit 1
40735 @endif target-examples
40737 .PHONY: maybe-pdf-target-examples pdf-target-examples
40738 maybe-pdf-target-examples:
40739 @if target-examples
40740 maybe-pdf-target-examples: pdf-target-examples
40742 pdf-target-examples: \
40743 configure-target-examples
40744 @: $(MAKE); $(unstage)
40745 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40746 r=`${PWD_COMMAND}`; export r; \
40747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40748 $(NORMAL_TARGET_EXPORTS) \
40749 echo "Doing pdf in $(TARGET_SUBDIR)/examples" ; \
40750 for flag in $(EXTRA_TARGET_FLAGS); do \
40751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40752 done; \
40753 (cd $(TARGET_SUBDIR)/examples && \
40754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40756 "RANLIB=$${RANLIB}" \
40757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40758 pdf) \
40759 || exit 1
40761 @endif target-examples
40763 .PHONY: maybe-html-target-examples html-target-examples
40764 maybe-html-target-examples:
40765 @if target-examples
40766 maybe-html-target-examples: html-target-examples
40768 html-target-examples: \
40769 configure-target-examples
40770 @: $(MAKE); $(unstage)
40771 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40772 r=`${PWD_COMMAND}`; export r; \
40773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40774 $(NORMAL_TARGET_EXPORTS) \
40775 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
40776 for flag in $(EXTRA_TARGET_FLAGS); do \
40777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40778 done; \
40779 (cd $(TARGET_SUBDIR)/examples && \
40780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40782 "RANLIB=$${RANLIB}" \
40783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40784 html) \
40785 || exit 1
40787 @endif target-examples
40789 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
40790 maybe-TAGS-target-examples:
40791 @if target-examples
40792 maybe-TAGS-target-examples: TAGS-target-examples
40794 TAGS-target-examples: \
40795 configure-target-examples
40796 @: $(MAKE); $(unstage)
40797 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40798 r=`${PWD_COMMAND}`; export r; \
40799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40800 $(NORMAL_TARGET_EXPORTS) \
40801 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
40802 for flag in $(EXTRA_TARGET_FLAGS); do \
40803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40804 done; \
40805 (cd $(TARGET_SUBDIR)/examples && \
40806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40808 "RANLIB=$${RANLIB}" \
40809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40810 TAGS) \
40811 || exit 1
40813 @endif target-examples
40815 .PHONY: maybe-install-info-target-examples install-info-target-examples
40816 maybe-install-info-target-examples:
40817 @if target-examples
40818 maybe-install-info-target-examples: install-info-target-examples
40820 install-info-target-examples: \
40821 configure-target-examples \
40822 info-target-examples
40823 @: $(MAKE); $(unstage)
40824 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40825 r=`${PWD_COMMAND}`; export r; \
40826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40827 $(NORMAL_TARGET_EXPORTS) \
40828 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
40829 for flag in $(EXTRA_TARGET_FLAGS); do \
40830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40831 done; \
40832 (cd $(TARGET_SUBDIR)/examples && \
40833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40835 "RANLIB=$${RANLIB}" \
40836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40837 install-info) \
40838 || exit 1
40840 @endif target-examples
40842 .PHONY: maybe-install-html-target-examples install-html-target-examples
40843 maybe-install-html-target-examples:
40844 @if target-examples
40845 maybe-install-html-target-examples: install-html-target-examples
40847 install-html-target-examples: \
40848 configure-target-examples \
40849 html-target-examples
40850 @: $(MAKE); $(unstage)
40851 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40852 r=`${PWD_COMMAND}`; export r; \
40853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40854 $(NORMAL_TARGET_EXPORTS) \
40855 echo "Doing install-html in $(TARGET_SUBDIR)/examples" ; \
40856 for flag in $(EXTRA_TARGET_FLAGS); do \
40857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40858 done; \
40859 (cd $(TARGET_SUBDIR)/examples && \
40860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40862 "RANLIB=$${RANLIB}" \
40863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40864 install-html) \
40865 || exit 1
40867 @endif target-examples
40869 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
40870 maybe-installcheck-target-examples:
40871 @if target-examples
40872 maybe-installcheck-target-examples: installcheck-target-examples
40874 installcheck-target-examples: \
40875 configure-target-examples
40876 @: $(MAKE); $(unstage)
40877 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40878 r=`${PWD_COMMAND}`; export r; \
40879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40880 $(NORMAL_TARGET_EXPORTS) \
40881 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
40882 for flag in $(EXTRA_TARGET_FLAGS); do \
40883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40884 done; \
40885 (cd $(TARGET_SUBDIR)/examples && \
40886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40888 "RANLIB=$${RANLIB}" \
40889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40890 installcheck) \
40891 || exit 1
40893 @endif target-examples
40895 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
40896 maybe-mostlyclean-target-examples:
40897 @if target-examples
40898 maybe-mostlyclean-target-examples: mostlyclean-target-examples
40900 mostlyclean-target-examples:
40901 @: $(MAKE); $(unstage)
40902 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40903 r=`${PWD_COMMAND}`; export r; \
40904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40905 $(NORMAL_TARGET_EXPORTS) \
40906 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
40907 for flag in $(EXTRA_TARGET_FLAGS); do \
40908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40909 done; \
40910 (cd $(TARGET_SUBDIR)/examples && \
40911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40913 "RANLIB=$${RANLIB}" \
40914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40915 mostlyclean) \
40916 || exit 1
40918 @endif target-examples
40920 .PHONY: maybe-clean-target-examples clean-target-examples
40921 maybe-clean-target-examples:
40922 @if target-examples
40923 maybe-clean-target-examples: clean-target-examples
40925 clean-target-examples:
40926 @: $(MAKE); $(unstage)
40927 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40928 r=`${PWD_COMMAND}`; export r; \
40929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40930 $(NORMAL_TARGET_EXPORTS) \
40931 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
40932 for flag in $(EXTRA_TARGET_FLAGS); do \
40933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40934 done; \
40935 (cd $(TARGET_SUBDIR)/examples && \
40936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40938 "RANLIB=$${RANLIB}" \
40939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40940 clean) \
40941 || exit 1
40943 @endif target-examples
40945 .PHONY: maybe-distclean-target-examples distclean-target-examples
40946 maybe-distclean-target-examples:
40947 @if target-examples
40948 maybe-distclean-target-examples: distclean-target-examples
40950 distclean-target-examples:
40951 @: $(MAKE); $(unstage)
40952 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40953 r=`${PWD_COMMAND}`; export r; \
40954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40955 $(NORMAL_TARGET_EXPORTS) \
40956 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
40957 for flag in $(EXTRA_TARGET_FLAGS); do \
40958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40959 done; \
40960 (cd $(TARGET_SUBDIR)/examples && \
40961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40963 "RANLIB=$${RANLIB}" \
40964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40965 distclean) \
40966 || exit 1
40968 @endif target-examples
40970 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
40971 maybe-maintainer-clean-target-examples:
40972 @if target-examples
40973 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
40975 maintainer-clean-target-examples:
40976 @: $(MAKE); $(unstage)
40977 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
40978 r=`${PWD_COMMAND}`; export r; \
40979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40980 $(NORMAL_TARGET_EXPORTS) \
40981 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
40982 for flag in $(EXTRA_TARGET_FLAGS); do \
40983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40984 done; \
40985 (cd $(TARGET_SUBDIR)/examples && \
40986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40988 "RANLIB=$${RANLIB}" \
40989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
40990 maintainer-clean) \
40991 || exit 1
40993 @endif target-examples
40999 .PHONY: configure-target-libffi maybe-configure-target-libffi
41000 maybe-configure-target-libffi:
41001 @if gcc-bootstrap
41002 configure-target-libffi: stage_current
41003 @endif gcc-bootstrap
41004 @if target-libffi
41005 maybe-configure-target-libffi: configure-target-libffi
41006 configure-target-libffi:
41007 @: $(MAKE); $(unstage)
41008 @r=`${PWD_COMMAND}`; export r; \
41009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41010 echo "Checking multilib configuration for libffi..."; \
41011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41012 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41013 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41014 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41015 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41016 else \
41017 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41018 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41019 fi; \
41020 else \
41021 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41022 fi; \
41023 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41024 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41025 $(NORMAL_TARGET_EXPORTS) \
41026 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41027 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41028 case $(srcdir) in \
41029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41030 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41032 esac; \
41033 srcdiroption="--srcdir=$${topdir}/libffi"; \
41034 libsrcdir="$$s/libffi"; \
41035 rm -f no-such-file || : ; \
41036 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41037 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41038 --target=${target_alias} $${srcdiroption} \
41039 || exit 1
41040 @endif target-libffi
41046 .PHONY: all-target-libffi maybe-all-target-libffi
41047 maybe-all-target-libffi:
41048 @if gcc-bootstrap
41049 all-target-libffi: stage_current
41050 @endif gcc-bootstrap
41051 @if target-libffi
41052 TARGET-target-libffi=all
41053 maybe-all-target-libffi: all-target-libffi
41054 all-target-libffi: configure-target-libffi
41055 @: $(MAKE); $(unstage)
41056 @r=`${PWD_COMMAND}`; export r; \
41057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41058 $(NORMAL_TARGET_EXPORTS) \
41059 (cd $(TARGET_SUBDIR)/libffi && \
41060 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
41061 @endif target-libffi
41067 .PHONY: check-target-libffi maybe-check-target-libffi
41068 maybe-check-target-libffi:
41069 @if target-libffi
41070 maybe-check-target-libffi: check-target-libffi
41072 check-target-libffi:
41073 @: $(MAKE); $(unstage)
41074 @r=`${PWD_COMMAND}`; export r; \
41075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41076 $(NORMAL_TARGET_EXPORTS) \
41077 (cd $(TARGET_SUBDIR)/libffi && \
41078 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41080 @endif target-libffi
41082 .PHONY: install-target-libffi maybe-install-target-libffi
41083 maybe-install-target-libffi:
41084 @if target-libffi
41085 maybe-install-target-libffi: install-target-libffi
41087 install-target-libffi: installdirs
41088 @: $(MAKE); $(unstage)
41089 @r=`${PWD_COMMAND}`; export r; \
41090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41091 $(NORMAL_TARGET_EXPORTS) \
41092 (cd $(TARGET_SUBDIR)/libffi && \
41093 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41095 @endif target-libffi
41097 # Other targets (info, dvi, pdf, etc.)
41099 .PHONY: maybe-info-target-libffi info-target-libffi
41100 maybe-info-target-libffi:
41101 @if target-libffi
41102 maybe-info-target-libffi: info-target-libffi
41104 info-target-libffi: \
41105 configure-target-libffi
41106 @: $(MAKE); $(unstage)
41107 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41108 r=`${PWD_COMMAND}`; export r; \
41109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41110 $(NORMAL_TARGET_EXPORTS) \
41111 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41112 for flag in $(EXTRA_TARGET_FLAGS); do \
41113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41114 done; \
41115 (cd $(TARGET_SUBDIR)/libffi && \
41116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41118 "RANLIB=$${RANLIB}" \
41119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41120 info) \
41121 || exit 1
41123 @endif target-libffi
41125 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41126 maybe-dvi-target-libffi:
41127 @if target-libffi
41128 maybe-dvi-target-libffi: dvi-target-libffi
41130 dvi-target-libffi: \
41131 configure-target-libffi
41132 @: $(MAKE); $(unstage)
41133 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41134 r=`${PWD_COMMAND}`; export r; \
41135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41136 $(NORMAL_TARGET_EXPORTS) \
41137 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41138 for flag in $(EXTRA_TARGET_FLAGS); do \
41139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41140 done; \
41141 (cd $(TARGET_SUBDIR)/libffi && \
41142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41144 "RANLIB=$${RANLIB}" \
41145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41146 dvi) \
41147 || exit 1
41149 @endif target-libffi
41151 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41152 maybe-pdf-target-libffi:
41153 @if target-libffi
41154 maybe-pdf-target-libffi: pdf-target-libffi
41156 pdf-target-libffi: \
41157 configure-target-libffi
41158 @: $(MAKE); $(unstage)
41159 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41160 r=`${PWD_COMMAND}`; export r; \
41161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41162 $(NORMAL_TARGET_EXPORTS) \
41163 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41164 for flag in $(EXTRA_TARGET_FLAGS); do \
41165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41166 done; \
41167 (cd $(TARGET_SUBDIR)/libffi && \
41168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41170 "RANLIB=$${RANLIB}" \
41171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41172 pdf) \
41173 || exit 1
41175 @endif target-libffi
41177 .PHONY: maybe-html-target-libffi html-target-libffi
41178 maybe-html-target-libffi:
41179 @if target-libffi
41180 maybe-html-target-libffi: html-target-libffi
41182 html-target-libffi: \
41183 configure-target-libffi
41184 @: $(MAKE); $(unstage)
41185 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41186 r=`${PWD_COMMAND}`; export r; \
41187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41188 $(NORMAL_TARGET_EXPORTS) \
41189 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41190 for flag in $(EXTRA_TARGET_FLAGS); do \
41191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41192 done; \
41193 (cd $(TARGET_SUBDIR)/libffi && \
41194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41196 "RANLIB=$${RANLIB}" \
41197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41198 html) \
41199 || exit 1
41201 @endif target-libffi
41203 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41204 maybe-TAGS-target-libffi:
41205 @if target-libffi
41206 maybe-TAGS-target-libffi: TAGS-target-libffi
41208 TAGS-target-libffi: \
41209 configure-target-libffi
41210 @: $(MAKE); $(unstage)
41211 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41212 r=`${PWD_COMMAND}`; export r; \
41213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41214 $(NORMAL_TARGET_EXPORTS) \
41215 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41216 for flag in $(EXTRA_TARGET_FLAGS); do \
41217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41218 done; \
41219 (cd $(TARGET_SUBDIR)/libffi && \
41220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41222 "RANLIB=$${RANLIB}" \
41223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41224 TAGS) \
41225 || exit 1
41227 @endif target-libffi
41229 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41230 maybe-install-info-target-libffi:
41231 @if target-libffi
41232 maybe-install-info-target-libffi: install-info-target-libffi
41234 install-info-target-libffi: \
41235 configure-target-libffi \
41236 info-target-libffi
41237 @: $(MAKE); $(unstage)
41238 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41239 r=`${PWD_COMMAND}`; export r; \
41240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41241 $(NORMAL_TARGET_EXPORTS) \
41242 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41243 for flag in $(EXTRA_TARGET_FLAGS); do \
41244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41245 done; \
41246 (cd $(TARGET_SUBDIR)/libffi && \
41247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41249 "RANLIB=$${RANLIB}" \
41250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41251 install-info) \
41252 || exit 1
41254 @endif target-libffi
41256 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41257 maybe-install-html-target-libffi:
41258 @if target-libffi
41259 maybe-install-html-target-libffi: install-html-target-libffi
41261 install-html-target-libffi: \
41262 configure-target-libffi \
41263 html-target-libffi
41264 @: $(MAKE); $(unstage)
41265 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41266 r=`${PWD_COMMAND}`; export r; \
41267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41268 $(NORMAL_TARGET_EXPORTS) \
41269 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41270 for flag in $(EXTRA_TARGET_FLAGS); do \
41271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41272 done; \
41273 (cd $(TARGET_SUBDIR)/libffi && \
41274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41276 "RANLIB=$${RANLIB}" \
41277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41278 install-html) \
41279 || exit 1
41281 @endif target-libffi
41283 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41284 maybe-installcheck-target-libffi:
41285 @if target-libffi
41286 maybe-installcheck-target-libffi: installcheck-target-libffi
41288 installcheck-target-libffi: \
41289 configure-target-libffi
41290 @: $(MAKE); $(unstage)
41291 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41292 r=`${PWD_COMMAND}`; export r; \
41293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41294 $(NORMAL_TARGET_EXPORTS) \
41295 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41296 for flag in $(EXTRA_TARGET_FLAGS); do \
41297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41298 done; \
41299 (cd $(TARGET_SUBDIR)/libffi && \
41300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41302 "RANLIB=$${RANLIB}" \
41303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41304 installcheck) \
41305 || exit 1
41307 @endif target-libffi
41309 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41310 maybe-mostlyclean-target-libffi:
41311 @if target-libffi
41312 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41314 mostlyclean-target-libffi:
41315 @: $(MAKE); $(unstage)
41316 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41317 r=`${PWD_COMMAND}`; export r; \
41318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41319 $(NORMAL_TARGET_EXPORTS) \
41320 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41321 for flag in $(EXTRA_TARGET_FLAGS); do \
41322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41323 done; \
41324 (cd $(TARGET_SUBDIR)/libffi && \
41325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41327 "RANLIB=$${RANLIB}" \
41328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41329 mostlyclean) \
41330 || exit 1
41332 @endif target-libffi
41334 .PHONY: maybe-clean-target-libffi clean-target-libffi
41335 maybe-clean-target-libffi:
41336 @if target-libffi
41337 maybe-clean-target-libffi: clean-target-libffi
41339 clean-target-libffi:
41340 @: $(MAKE); $(unstage)
41341 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41342 r=`${PWD_COMMAND}`; export r; \
41343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41344 $(NORMAL_TARGET_EXPORTS) \
41345 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41346 for flag in $(EXTRA_TARGET_FLAGS); do \
41347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41348 done; \
41349 (cd $(TARGET_SUBDIR)/libffi && \
41350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41352 "RANLIB=$${RANLIB}" \
41353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41354 clean) \
41355 || exit 1
41357 @endif target-libffi
41359 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41360 maybe-distclean-target-libffi:
41361 @if target-libffi
41362 maybe-distclean-target-libffi: distclean-target-libffi
41364 distclean-target-libffi:
41365 @: $(MAKE); $(unstage)
41366 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41367 r=`${PWD_COMMAND}`; export r; \
41368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41369 $(NORMAL_TARGET_EXPORTS) \
41370 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41371 for flag in $(EXTRA_TARGET_FLAGS); do \
41372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41373 done; \
41374 (cd $(TARGET_SUBDIR)/libffi && \
41375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41377 "RANLIB=$${RANLIB}" \
41378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41379 distclean) \
41380 || exit 1
41382 @endif target-libffi
41384 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41385 maybe-maintainer-clean-target-libffi:
41386 @if target-libffi
41387 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41389 maintainer-clean-target-libffi:
41390 @: $(MAKE); $(unstage)
41391 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41392 r=`${PWD_COMMAND}`; export r; \
41393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41394 $(NORMAL_TARGET_EXPORTS) \
41395 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41396 for flag in $(EXTRA_TARGET_FLAGS); do \
41397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41398 done; \
41399 (cd $(TARGET_SUBDIR)/libffi && \
41400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41402 "RANLIB=$${RANLIB}" \
41403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41404 maintainer-clean) \
41405 || exit 1
41407 @endif target-libffi
41413 .PHONY: configure-target-libjava maybe-configure-target-libjava
41414 maybe-configure-target-libjava:
41415 @if gcc-bootstrap
41416 configure-target-libjava: stage_current
41417 @endif gcc-bootstrap
41418 @if target-libjava
41419 maybe-configure-target-libjava: configure-target-libjava
41420 configure-target-libjava:
41421 @: $(MAKE); $(unstage)
41422 @r=`${PWD_COMMAND}`; export r; \
41423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41424 echo "Checking multilib configuration for libjava..."; \
41425 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41426 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41427 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41428 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41429 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41430 else \
41431 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41432 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41433 fi; \
41434 else \
41435 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41436 fi; \
41437 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41439 $(RAW_CXX_TARGET_EXPORTS) \
41440 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41441 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41442 case $(srcdir) in \
41443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41444 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41446 esac; \
41447 srcdiroption="--srcdir=$${topdir}/libjava"; \
41448 libsrcdir="$$s/libjava"; \
41449 rm -f no-such-file || : ; \
41450 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41451 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41452 --target=${target_alias} $${srcdiroption} \
41453 || exit 1
41454 @endif target-libjava
41460 .PHONY: all-target-libjava maybe-all-target-libjava
41461 maybe-all-target-libjava:
41462 @if gcc-bootstrap
41463 all-target-libjava: stage_current
41464 @endif gcc-bootstrap
41465 @if target-libjava
41466 TARGET-target-libjava=all
41467 maybe-all-target-libjava: all-target-libjava
41468 all-target-libjava: configure-target-libjava
41469 @: $(MAKE); $(unstage)
41470 @r=`${PWD_COMMAND}`; export r; \
41471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41472 $(RAW_CXX_TARGET_EXPORTS) \
41473 (cd $(TARGET_SUBDIR)/libjava && \
41474 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
41475 @endif target-libjava
41481 .PHONY: check-target-libjava maybe-check-target-libjava
41482 maybe-check-target-libjava:
41483 @if target-libjava
41484 maybe-check-target-libjava: check-target-libjava
41486 check-target-libjava:
41487 @: $(MAKE); $(unstage)
41488 @r=`${PWD_COMMAND}`; export r; \
41489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41490 $(RAW_CXX_TARGET_EXPORTS) \
41491 (cd $(TARGET_SUBDIR)/libjava && \
41492 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41494 @endif target-libjava
41496 .PHONY: install-target-libjava maybe-install-target-libjava
41497 maybe-install-target-libjava:
41498 @if target-libjava
41499 maybe-install-target-libjava: install-target-libjava
41501 install-target-libjava: installdirs
41502 @: $(MAKE); $(unstage)
41503 @r=`${PWD_COMMAND}`; export r; \
41504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41505 $(RAW_CXX_TARGET_EXPORTS) \
41506 (cd $(TARGET_SUBDIR)/libjava && \
41507 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41509 @endif target-libjava
41511 # Other targets (info, dvi, pdf, etc.)
41513 .PHONY: maybe-info-target-libjava info-target-libjava
41514 maybe-info-target-libjava:
41515 @if target-libjava
41516 maybe-info-target-libjava: info-target-libjava
41518 info-target-libjava: \
41519 configure-target-libjava
41520 @: $(MAKE); $(unstage)
41521 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41522 r=`${PWD_COMMAND}`; export r; \
41523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41524 $(RAW_CXX_TARGET_EXPORTS) \
41525 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41526 for flag in $(EXTRA_TARGET_FLAGS); do \
41527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41528 done; \
41529 (cd $(TARGET_SUBDIR)/libjava && \
41530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41532 "RANLIB=$${RANLIB}" \
41533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41534 info) \
41535 || exit 1
41537 @endif target-libjava
41539 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41540 maybe-dvi-target-libjava:
41541 @if target-libjava
41542 maybe-dvi-target-libjava: dvi-target-libjava
41544 dvi-target-libjava: \
41545 configure-target-libjava
41546 @: $(MAKE); $(unstage)
41547 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41548 r=`${PWD_COMMAND}`; export r; \
41549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41550 $(RAW_CXX_TARGET_EXPORTS) \
41551 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41552 for flag in $(EXTRA_TARGET_FLAGS); do \
41553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41554 done; \
41555 (cd $(TARGET_SUBDIR)/libjava && \
41556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41558 "RANLIB=$${RANLIB}" \
41559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41560 dvi) \
41561 || exit 1
41563 @endif target-libjava
41565 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41566 maybe-pdf-target-libjava:
41567 @if target-libjava
41568 maybe-pdf-target-libjava: pdf-target-libjava
41570 pdf-target-libjava: \
41571 configure-target-libjava
41572 @: $(MAKE); $(unstage)
41573 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41574 r=`${PWD_COMMAND}`; export r; \
41575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41576 $(RAW_CXX_TARGET_EXPORTS) \
41577 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41578 for flag in $(EXTRA_TARGET_FLAGS); do \
41579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41580 done; \
41581 (cd $(TARGET_SUBDIR)/libjava && \
41582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41584 "RANLIB=$${RANLIB}" \
41585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41586 pdf) \
41587 || exit 1
41589 @endif target-libjava
41591 .PHONY: maybe-html-target-libjava html-target-libjava
41592 maybe-html-target-libjava:
41593 @if target-libjava
41594 maybe-html-target-libjava: html-target-libjava
41596 html-target-libjava: \
41597 configure-target-libjava
41598 @: $(MAKE); $(unstage)
41599 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41600 r=`${PWD_COMMAND}`; export r; \
41601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41602 $(RAW_CXX_TARGET_EXPORTS) \
41603 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41604 for flag in $(EXTRA_TARGET_FLAGS); do \
41605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41606 done; \
41607 (cd $(TARGET_SUBDIR)/libjava && \
41608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41610 "RANLIB=$${RANLIB}" \
41611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41612 html) \
41613 || exit 1
41615 @endif target-libjava
41617 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41618 maybe-TAGS-target-libjava:
41619 @if target-libjava
41620 maybe-TAGS-target-libjava: TAGS-target-libjava
41622 TAGS-target-libjava: \
41623 configure-target-libjava
41624 @: $(MAKE); $(unstage)
41625 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41626 r=`${PWD_COMMAND}`; export r; \
41627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41628 $(RAW_CXX_TARGET_EXPORTS) \
41629 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41630 for flag in $(EXTRA_TARGET_FLAGS); do \
41631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41632 done; \
41633 (cd $(TARGET_SUBDIR)/libjava && \
41634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41636 "RANLIB=$${RANLIB}" \
41637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41638 TAGS) \
41639 || exit 1
41641 @endif target-libjava
41643 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41644 maybe-install-info-target-libjava:
41645 @if target-libjava
41646 maybe-install-info-target-libjava: install-info-target-libjava
41648 install-info-target-libjava: \
41649 configure-target-libjava \
41650 info-target-libjava
41651 @: $(MAKE); $(unstage)
41652 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41653 r=`${PWD_COMMAND}`; export r; \
41654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41655 $(RAW_CXX_TARGET_EXPORTS) \
41656 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41657 for flag in $(EXTRA_TARGET_FLAGS); do \
41658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41659 done; \
41660 (cd $(TARGET_SUBDIR)/libjava && \
41661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41663 "RANLIB=$${RANLIB}" \
41664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41665 install-info) \
41666 || exit 1
41668 @endif target-libjava
41670 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41671 maybe-install-html-target-libjava:
41672 @if target-libjava
41673 maybe-install-html-target-libjava: install-html-target-libjava
41675 install-html-target-libjava: \
41676 configure-target-libjava \
41677 html-target-libjava
41678 @: $(MAKE); $(unstage)
41679 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41680 r=`${PWD_COMMAND}`; export r; \
41681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41682 $(RAW_CXX_TARGET_EXPORTS) \
41683 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41684 for flag in $(EXTRA_TARGET_FLAGS); do \
41685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41686 done; \
41687 (cd $(TARGET_SUBDIR)/libjava && \
41688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41690 "RANLIB=$${RANLIB}" \
41691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41692 install-html) \
41693 || exit 1
41695 @endif target-libjava
41697 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41698 maybe-installcheck-target-libjava:
41699 @if target-libjava
41700 maybe-installcheck-target-libjava: installcheck-target-libjava
41702 installcheck-target-libjava: \
41703 configure-target-libjava
41704 @: $(MAKE); $(unstage)
41705 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41706 r=`${PWD_COMMAND}`; export r; \
41707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41708 $(RAW_CXX_TARGET_EXPORTS) \
41709 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41710 for flag in $(EXTRA_TARGET_FLAGS); do \
41711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41712 done; \
41713 (cd $(TARGET_SUBDIR)/libjava && \
41714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41716 "RANLIB=$${RANLIB}" \
41717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41718 installcheck) \
41719 || exit 1
41721 @endif target-libjava
41723 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41724 maybe-mostlyclean-target-libjava:
41725 @if target-libjava
41726 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41728 mostlyclean-target-libjava:
41729 @: $(MAKE); $(unstage)
41730 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41731 r=`${PWD_COMMAND}`; export r; \
41732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41733 $(RAW_CXX_TARGET_EXPORTS) \
41734 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41735 for flag in $(EXTRA_TARGET_FLAGS); do \
41736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41737 done; \
41738 (cd $(TARGET_SUBDIR)/libjava && \
41739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41741 "RANLIB=$${RANLIB}" \
41742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41743 mostlyclean) \
41744 || exit 1
41746 @endif target-libjava
41748 .PHONY: maybe-clean-target-libjava clean-target-libjava
41749 maybe-clean-target-libjava:
41750 @if target-libjava
41751 maybe-clean-target-libjava: clean-target-libjava
41753 clean-target-libjava:
41754 @: $(MAKE); $(unstage)
41755 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41756 r=`${PWD_COMMAND}`; export r; \
41757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41758 $(RAW_CXX_TARGET_EXPORTS) \
41759 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41760 for flag in $(EXTRA_TARGET_FLAGS); do \
41761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41762 done; \
41763 (cd $(TARGET_SUBDIR)/libjava && \
41764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41766 "RANLIB=$${RANLIB}" \
41767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41768 clean) \
41769 || exit 1
41771 @endif target-libjava
41773 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
41774 maybe-distclean-target-libjava:
41775 @if target-libjava
41776 maybe-distclean-target-libjava: distclean-target-libjava
41778 distclean-target-libjava:
41779 @: $(MAKE); $(unstage)
41780 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41781 r=`${PWD_COMMAND}`; export r; \
41782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41783 $(RAW_CXX_TARGET_EXPORTS) \
41784 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
41785 for flag in $(EXTRA_TARGET_FLAGS); do \
41786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41787 done; \
41788 (cd $(TARGET_SUBDIR)/libjava && \
41789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41791 "RANLIB=$${RANLIB}" \
41792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41793 distclean) \
41794 || exit 1
41796 @endif target-libjava
41798 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
41799 maybe-maintainer-clean-target-libjava:
41800 @if target-libjava
41801 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
41803 maintainer-clean-target-libjava:
41804 @: $(MAKE); $(unstage)
41805 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41806 r=`${PWD_COMMAND}`; export r; \
41807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41808 $(RAW_CXX_TARGET_EXPORTS) \
41809 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
41810 for flag in $(EXTRA_TARGET_FLAGS); do \
41811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41812 done; \
41813 (cd $(TARGET_SUBDIR)/libjava && \
41814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41816 "RANLIB=$${RANLIB}" \
41817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41818 maintainer-clean) \
41819 || exit 1
41821 @endif target-libjava
41827 .PHONY: configure-target-zlib maybe-configure-target-zlib
41828 maybe-configure-target-zlib:
41829 @if gcc-bootstrap
41830 configure-target-zlib: stage_current
41831 @endif gcc-bootstrap
41832 @if target-zlib
41833 maybe-configure-target-zlib: configure-target-zlib
41834 configure-target-zlib:
41835 @: $(MAKE); $(unstage)
41836 @r=`${PWD_COMMAND}`; export r; \
41837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41838 echo "Checking multilib configuration for zlib..."; \
41839 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41840 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
41841 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
41842 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
41843 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
41844 else \
41845 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
41846 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41847 fi; \
41848 else \
41849 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41850 fi; \
41851 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
41852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41853 $(NORMAL_TARGET_EXPORTS) \
41854 echo Configuring in $(TARGET_SUBDIR)/zlib; \
41855 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
41856 case $(srcdir) in \
41857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41858 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
41859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41860 esac; \
41861 srcdiroption="--srcdir=$${topdir}/zlib"; \
41862 libsrcdir="$$s/zlib"; \
41863 rm -f no-such-file || : ; \
41864 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41865 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41866 --target=${target_alias} $${srcdiroption} \
41867 || exit 1
41868 @endif target-zlib
41874 .PHONY: all-target-zlib maybe-all-target-zlib
41875 maybe-all-target-zlib:
41876 @if gcc-bootstrap
41877 all-target-zlib: stage_current
41878 @endif gcc-bootstrap
41879 @if target-zlib
41880 TARGET-target-zlib=all
41881 maybe-all-target-zlib: all-target-zlib
41882 all-target-zlib: configure-target-zlib
41883 @: $(MAKE); $(unstage)
41884 @r=`${PWD_COMMAND}`; export r; \
41885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41886 $(NORMAL_TARGET_EXPORTS) \
41887 (cd $(TARGET_SUBDIR)/zlib && \
41888 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
41889 @endif target-zlib
41895 .PHONY: check-target-zlib maybe-check-target-zlib
41896 maybe-check-target-zlib:
41897 @if target-zlib
41898 maybe-check-target-zlib: check-target-zlib
41900 check-target-zlib:
41901 @: $(MAKE); $(unstage)
41902 @r=`${PWD_COMMAND}`; export r; \
41903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41904 $(NORMAL_TARGET_EXPORTS) \
41905 (cd $(TARGET_SUBDIR)/zlib && \
41906 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41908 @endif target-zlib
41910 .PHONY: install-target-zlib maybe-install-target-zlib
41911 maybe-install-target-zlib:
41912 @if target-zlib
41913 maybe-install-target-zlib: install-target-zlib
41915 install-target-zlib: installdirs
41916 @: $(MAKE); $(unstage)
41917 @r=`${PWD_COMMAND}`; export r; \
41918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41919 $(NORMAL_TARGET_EXPORTS) \
41920 (cd $(TARGET_SUBDIR)/zlib && \
41921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41923 @endif target-zlib
41925 # Other targets (info, dvi, pdf, etc.)
41927 .PHONY: maybe-info-target-zlib info-target-zlib
41928 maybe-info-target-zlib:
41929 @if target-zlib
41930 maybe-info-target-zlib: info-target-zlib
41932 info-target-zlib: \
41933 configure-target-zlib
41934 @: $(MAKE); $(unstage)
41935 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41936 r=`${PWD_COMMAND}`; export r; \
41937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41938 $(NORMAL_TARGET_EXPORTS) \
41939 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
41940 for flag in $(EXTRA_TARGET_FLAGS); do \
41941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41942 done; \
41943 (cd $(TARGET_SUBDIR)/zlib && \
41944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41946 "RANLIB=$${RANLIB}" \
41947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41948 info) \
41949 || exit 1
41951 @endif target-zlib
41953 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
41954 maybe-dvi-target-zlib:
41955 @if target-zlib
41956 maybe-dvi-target-zlib: dvi-target-zlib
41958 dvi-target-zlib: \
41959 configure-target-zlib
41960 @: $(MAKE); $(unstage)
41961 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41962 r=`${PWD_COMMAND}`; export r; \
41963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41964 $(NORMAL_TARGET_EXPORTS) \
41965 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
41966 for flag in $(EXTRA_TARGET_FLAGS); do \
41967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41968 done; \
41969 (cd $(TARGET_SUBDIR)/zlib && \
41970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41972 "RANLIB=$${RANLIB}" \
41973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
41974 dvi) \
41975 || exit 1
41977 @endif target-zlib
41979 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
41980 maybe-pdf-target-zlib:
41981 @if target-zlib
41982 maybe-pdf-target-zlib: pdf-target-zlib
41984 pdf-target-zlib: \
41985 configure-target-zlib
41986 @: $(MAKE); $(unstage)
41987 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41988 r=`${PWD_COMMAND}`; export r; \
41989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41990 $(NORMAL_TARGET_EXPORTS) \
41991 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
41992 for flag in $(EXTRA_TARGET_FLAGS); do \
41993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41994 done; \
41995 (cd $(TARGET_SUBDIR)/zlib && \
41996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41998 "RANLIB=$${RANLIB}" \
41999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42000 pdf) \
42001 || exit 1
42003 @endif target-zlib
42005 .PHONY: maybe-html-target-zlib html-target-zlib
42006 maybe-html-target-zlib:
42007 @if target-zlib
42008 maybe-html-target-zlib: html-target-zlib
42010 html-target-zlib: \
42011 configure-target-zlib
42012 @: $(MAKE); $(unstage)
42013 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42014 r=`${PWD_COMMAND}`; export r; \
42015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42016 $(NORMAL_TARGET_EXPORTS) \
42017 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42018 for flag in $(EXTRA_TARGET_FLAGS); do \
42019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42020 done; \
42021 (cd $(TARGET_SUBDIR)/zlib && \
42022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42024 "RANLIB=$${RANLIB}" \
42025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42026 html) \
42027 || exit 1
42029 @endif target-zlib
42031 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42032 maybe-TAGS-target-zlib:
42033 @if target-zlib
42034 maybe-TAGS-target-zlib: TAGS-target-zlib
42036 TAGS-target-zlib: \
42037 configure-target-zlib
42038 @: $(MAKE); $(unstage)
42039 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42040 r=`${PWD_COMMAND}`; export r; \
42041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42042 $(NORMAL_TARGET_EXPORTS) \
42043 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42044 for flag in $(EXTRA_TARGET_FLAGS); do \
42045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42046 done; \
42047 (cd $(TARGET_SUBDIR)/zlib && \
42048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42050 "RANLIB=$${RANLIB}" \
42051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42052 TAGS) \
42053 || exit 1
42055 @endif target-zlib
42057 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42058 maybe-install-info-target-zlib:
42059 @if target-zlib
42060 maybe-install-info-target-zlib: install-info-target-zlib
42062 install-info-target-zlib: \
42063 configure-target-zlib \
42064 info-target-zlib
42065 @: $(MAKE); $(unstage)
42066 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42067 r=`${PWD_COMMAND}`; export r; \
42068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42069 $(NORMAL_TARGET_EXPORTS) \
42070 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42071 for flag in $(EXTRA_TARGET_FLAGS); do \
42072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42073 done; \
42074 (cd $(TARGET_SUBDIR)/zlib && \
42075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42077 "RANLIB=$${RANLIB}" \
42078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42079 install-info) \
42080 || exit 1
42082 @endif target-zlib
42084 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42085 maybe-install-html-target-zlib:
42086 @if target-zlib
42087 maybe-install-html-target-zlib: install-html-target-zlib
42089 install-html-target-zlib: \
42090 configure-target-zlib \
42091 html-target-zlib
42092 @: $(MAKE); $(unstage)
42093 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42094 r=`${PWD_COMMAND}`; export r; \
42095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42096 $(NORMAL_TARGET_EXPORTS) \
42097 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42098 for flag in $(EXTRA_TARGET_FLAGS); do \
42099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42100 done; \
42101 (cd $(TARGET_SUBDIR)/zlib && \
42102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42104 "RANLIB=$${RANLIB}" \
42105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42106 install-html) \
42107 || exit 1
42109 @endif target-zlib
42111 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42112 maybe-installcheck-target-zlib:
42113 @if target-zlib
42114 maybe-installcheck-target-zlib: installcheck-target-zlib
42116 installcheck-target-zlib: \
42117 configure-target-zlib
42118 @: $(MAKE); $(unstage)
42119 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42120 r=`${PWD_COMMAND}`; export r; \
42121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42122 $(NORMAL_TARGET_EXPORTS) \
42123 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42124 for flag in $(EXTRA_TARGET_FLAGS); do \
42125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42126 done; \
42127 (cd $(TARGET_SUBDIR)/zlib && \
42128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42130 "RANLIB=$${RANLIB}" \
42131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42132 installcheck) \
42133 || exit 1
42135 @endif target-zlib
42137 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42138 maybe-mostlyclean-target-zlib:
42139 @if target-zlib
42140 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42142 mostlyclean-target-zlib:
42143 @: $(MAKE); $(unstage)
42144 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42145 r=`${PWD_COMMAND}`; export r; \
42146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42147 $(NORMAL_TARGET_EXPORTS) \
42148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42149 for flag in $(EXTRA_TARGET_FLAGS); do \
42150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42151 done; \
42152 (cd $(TARGET_SUBDIR)/zlib && \
42153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42155 "RANLIB=$${RANLIB}" \
42156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42157 mostlyclean) \
42158 || exit 1
42160 @endif target-zlib
42162 .PHONY: maybe-clean-target-zlib clean-target-zlib
42163 maybe-clean-target-zlib:
42164 @if target-zlib
42165 maybe-clean-target-zlib: clean-target-zlib
42167 clean-target-zlib:
42168 @: $(MAKE); $(unstage)
42169 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42170 r=`${PWD_COMMAND}`; export r; \
42171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42172 $(NORMAL_TARGET_EXPORTS) \
42173 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42174 for flag in $(EXTRA_TARGET_FLAGS); do \
42175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42176 done; \
42177 (cd $(TARGET_SUBDIR)/zlib && \
42178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42180 "RANLIB=$${RANLIB}" \
42181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42182 clean) \
42183 || exit 1
42185 @endif target-zlib
42187 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42188 maybe-distclean-target-zlib:
42189 @if target-zlib
42190 maybe-distclean-target-zlib: distclean-target-zlib
42192 distclean-target-zlib:
42193 @: $(MAKE); $(unstage)
42194 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42195 r=`${PWD_COMMAND}`; export r; \
42196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42197 $(NORMAL_TARGET_EXPORTS) \
42198 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42199 for flag in $(EXTRA_TARGET_FLAGS); do \
42200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42201 done; \
42202 (cd $(TARGET_SUBDIR)/zlib && \
42203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42205 "RANLIB=$${RANLIB}" \
42206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42207 distclean) \
42208 || exit 1
42210 @endif target-zlib
42212 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42213 maybe-maintainer-clean-target-zlib:
42214 @if target-zlib
42215 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42217 maintainer-clean-target-zlib:
42218 @: $(MAKE); $(unstage)
42219 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42220 r=`${PWD_COMMAND}`; export r; \
42221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42222 $(NORMAL_TARGET_EXPORTS) \
42223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42224 for flag in $(EXTRA_TARGET_FLAGS); do \
42225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42226 done; \
42227 (cd $(TARGET_SUBDIR)/zlib && \
42228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42230 "RANLIB=$${RANLIB}" \
42231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42232 maintainer-clean) \
42233 || exit 1
42235 @endif target-zlib
42241 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42242 maybe-configure-target-boehm-gc:
42243 @if gcc-bootstrap
42244 configure-target-boehm-gc: stage_current
42245 @endif gcc-bootstrap
42246 @if target-boehm-gc
42247 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42248 configure-target-boehm-gc:
42249 @: $(MAKE); $(unstage)
42250 @r=`${PWD_COMMAND}`; export r; \
42251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42252 echo "Checking multilib configuration for boehm-gc..."; \
42253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42254 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42255 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42256 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42257 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42258 else \
42259 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42260 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42261 fi; \
42262 else \
42263 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42264 fi; \
42265 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42267 $(NORMAL_TARGET_EXPORTS) \
42268 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42269 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42270 case $(srcdir) in \
42271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42272 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42274 esac; \
42275 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
42276 libsrcdir="$$s/boehm-gc"; \
42277 rm -f no-such-file || : ; \
42278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42279 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42280 --target=${target_alias} $${srcdiroption} \
42281 || exit 1
42282 @endif target-boehm-gc
42288 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42289 maybe-all-target-boehm-gc:
42290 @if gcc-bootstrap
42291 all-target-boehm-gc: stage_current
42292 @endif gcc-bootstrap
42293 @if target-boehm-gc
42294 TARGET-target-boehm-gc=all
42295 maybe-all-target-boehm-gc: all-target-boehm-gc
42296 all-target-boehm-gc: configure-target-boehm-gc
42297 @: $(MAKE); $(unstage)
42298 @r=`${PWD_COMMAND}`; export r; \
42299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42300 $(NORMAL_TARGET_EXPORTS) \
42301 (cd $(TARGET_SUBDIR)/boehm-gc && \
42302 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
42303 @endif target-boehm-gc
42309 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42310 maybe-check-target-boehm-gc:
42311 @if target-boehm-gc
42312 maybe-check-target-boehm-gc: check-target-boehm-gc
42314 check-target-boehm-gc:
42315 @: $(MAKE); $(unstage)
42316 @r=`${PWD_COMMAND}`; export r; \
42317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42318 $(NORMAL_TARGET_EXPORTS) \
42319 (cd $(TARGET_SUBDIR)/boehm-gc && \
42320 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42322 @endif target-boehm-gc
42324 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42325 maybe-install-target-boehm-gc:
42326 @if target-boehm-gc
42327 maybe-install-target-boehm-gc: install-target-boehm-gc
42329 install-target-boehm-gc: installdirs
42330 @: $(MAKE); $(unstage)
42331 @r=`${PWD_COMMAND}`; export r; \
42332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42333 $(NORMAL_TARGET_EXPORTS) \
42334 (cd $(TARGET_SUBDIR)/boehm-gc && \
42335 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42337 @endif target-boehm-gc
42339 # Other targets (info, dvi, pdf, etc.)
42341 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42342 maybe-info-target-boehm-gc:
42343 @if target-boehm-gc
42344 maybe-info-target-boehm-gc: info-target-boehm-gc
42346 info-target-boehm-gc: \
42347 configure-target-boehm-gc
42348 @: $(MAKE); $(unstage)
42349 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42350 r=`${PWD_COMMAND}`; export r; \
42351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42352 $(NORMAL_TARGET_EXPORTS) \
42353 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42354 for flag in $(EXTRA_TARGET_FLAGS); do \
42355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42356 done; \
42357 (cd $(TARGET_SUBDIR)/boehm-gc && \
42358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42360 "RANLIB=$${RANLIB}" \
42361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42362 info) \
42363 || exit 1
42365 @endif target-boehm-gc
42367 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42368 maybe-dvi-target-boehm-gc:
42369 @if target-boehm-gc
42370 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42372 dvi-target-boehm-gc: \
42373 configure-target-boehm-gc
42374 @: $(MAKE); $(unstage)
42375 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42376 r=`${PWD_COMMAND}`; export r; \
42377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42378 $(NORMAL_TARGET_EXPORTS) \
42379 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42380 for flag in $(EXTRA_TARGET_FLAGS); do \
42381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42382 done; \
42383 (cd $(TARGET_SUBDIR)/boehm-gc && \
42384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42386 "RANLIB=$${RANLIB}" \
42387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42388 dvi) \
42389 || exit 1
42391 @endif target-boehm-gc
42393 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42394 maybe-pdf-target-boehm-gc:
42395 @if target-boehm-gc
42396 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42398 pdf-target-boehm-gc: \
42399 configure-target-boehm-gc
42400 @: $(MAKE); $(unstage)
42401 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42402 r=`${PWD_COMMAND}`; export r; \
42403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42404 $(NORMAL_TARGET_EXPORTS) \
42405 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42406 for flag in $(EXTRA_TARGET_FLAGS); do \
42407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42408 done; \
42409 (cd $(TARGET_SUBDIR)/boehm-gc && \
42410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42412 "RANLIB=$${RANLIB}" \
42413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42414 pdf) \
42415 || exit 1
42417 @endif target-boehm-gc
42419 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42420 maybe-html-target-boehm-gc:
42421 @if target-boehm-gc
42422 maybe-html-target-boehm-gc: html-target-boehm-gc
42424 html-target-boehm-gc: \
42425 configure-target-boehm-gc
42426 @: $(MAKE); $(unstage)
42427 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42428 r=`${PWD_COMMAND}`; export r; \
42429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42430 $(NORMAL_TARGET_EXPORTS) \
42431 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42432 for flag in $(EXTRA_TARGET_FLAGS); do \
42433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42434 done; \
42435 (cd $(TARGET_SUBDIR)/boehm-gc && \
42436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42438 "RANLIB=$${RANLIB}" \
42439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42440 html) \
42441 || exit 1
42443 @endif target-boehm-gc
42445 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42446 maybe-TAGS-target-boehm-gc:
42447 @if target-boehm-gc
42448 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42450 TAGS-target-boehm-gc: \
42451 configure-target-boehm-gc
42452 @: $(MAKE); $(unstage)
42453 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42454 r=`${PWD_COMMAND}`; export r; \
42455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42456 $(NORMAL_TARGET_EXPORTS) \
42457 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42458 for flag in $(EXTRA_TARGET_FLAGS); do \
42459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42460 done; \
42461 (cd $(TARGET_SUBDIR)/boehm-gc && \
42462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42464 "RANLIB=$${RANLIB}" \
42465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42466 TAGS) \
42467 || exit 1
42469 @endif target-boehm-gc
42471 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42472 maybe-install-info-target-boehm-gc:
42473 @if target-boehm-gc
42474 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42476 install-info-target-boehm-gc: \
42477 configure-target-boehm-gc \
42478 info-target-boehm-gc
42479 @: $(MAKE); $(unstage)
42480 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42481 r=`${PWD_COMMAND}`; export r; \
42482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42483 $(NORMAL_TARGET_EXPORTS) \
42484 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42485 for flag in $(EXTRA_TARGET_FLAGS); do \
42486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42487 done; \
42488 (cd $(TARGET_SUBDIR)/boehm-gc && \
42489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42491 "RANLIB=$${RANLIB}" \
42492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42493 install-info) \
42494 || exit 1
42496 @endif target-boehm-gc
42498 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42499 maybe-install-html-target-boehm-gc:
42500 @if target-boehm-gc
42501 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42503 install-html-target-boehm-gc: \
42504 configure-target-boehm-gc \
42505 html-target-boehm-gc
42506 @: $(MAKE); $(unstage)
42507 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42508 r=`${PWD_COMMAND}`; export r; \
42509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42510 $(NORMAL_TARGET_EXPORTS) \
42511 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42512 for flag in $(EXTRA_TARGET_FLAGS); do \
42513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42514 done; \
42515 (cd $(TARGET_SUBDIR)/boehm-gc && \
42516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42518 "RANLIB=$${RANLIB}" \
42519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42520 install-html) \
42521 || exit 1
42523 @endif target-boehm-gc
42525 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42526 maybe-installcheck-target-boehm-gc:
42527 @if target-boehm-gc
42528 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42530 installcheck-target-boehm-gc: \
42531 configure-target-boehm-gc
42532 @: $(MAKE); $(unstage)
42533 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42534 r=`${PWD_COMMAND}`; export r; \
42535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42536 $(NORMAL_TARGET_EXPORTS) \
42537 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42538 for flag in $(EXTRA_TARGET_FLAGS); do \
42539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42540 done; \
42541 (cd $(TARGET_SUBDIR)/boehm-gc && \
42542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42544 "RANLIB=$${RANLIB}" \
42545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42546 installcheck) \
42547 || exit 1
42549 @endif target-boehm-gc
42551 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42552 maybe-mostlyclean-target-boehm-gc:
42553 @if target-boehm-gc
42554 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42556 mostlyclean-target-boehm-gc:
42557 @: $(MAKE); $(unstage)
42558 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42559 r=`${PWD_COMMAND}`; export r; \
42560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42561 $(NORMAL_TARGET_EXPORTS) \
42562 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42563 for flag in $(EXTRA_TARGET_FLAGS); do \
42564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42565 done; \
42566 (cd $(TARGET_SUBDIR)/boehm-gc && \
42567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42569 "RANLIB=$${RANLIB}" \
42570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42571 mostlyclean) \
42572 || exit 1
42574 @endif target-boehm-gc
42576 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42577 maybe-clean-target-boehm-gc:
42578 @if target-boehm-gc
42579 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42581 clean-target-boehm-gc:
42582 @: $(MAKE); $(unstage)
42583 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42584 r=`${PWD_COMMAND}`; export r; \
42585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42586 $(NORMAL_TARGET_EXPORTS) \
42587 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42588 for flag in $(EXTRA_TARGET_FLAGS); do \
42589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42590 done; \
42591 (cd $(TARGET_SUBDIR)/boehm-gc && \
42592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42594 "RANLIB=$${RANLIB}" \
42595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42596 clean) \
42597 || exit 1
42599 @endif target-boehm-gc
42601 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42602 maybe-distclean-target-boehm-gc:
42603 @if target-boehm-gc
42604 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42606 distclean-target-boehm-gc:
42607 @: $(MAKE); $(unstage)
42608 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42609 r=`${PWD_COMMAND}`; export r; \
42610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42611 $(NORMAL_TARGET_EXPORTS) \
42612 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42613 for flag in $(EXTRA_TARGET_FLAGS); do \
42614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42615 done; \
42616 (cd $(TARGET_SUBDIR)/boehm-gc && \
42617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42619 "RANLIB=$${RANLIB}" \
42620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42621 distclean) \
42622 || exit 1
42624 @endif target-boehm-gc
42626 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42627 maybe-maintainer-clean-target-boehm-gc:
42628 @if target-boehm-gc
42629 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42631 maintainer-clean-target-boehm-gc:
42632 @: $(MAKE); $(unstage)
42633 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42634 r=`${PWD_COMMAND}`; export r; \
42635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42636 $(NORMAL_TARGET_EXPORTS) \
42637 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42638 for flag in $(EXTRA_TARGET_FLAGS); do \
42639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42640 done; \
42641 (cd $(TARGET_SUBDIR)/boehm-gc && \
42642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42644 "RANLIB=$${RANLIB}" \
42645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42646 maintainer-clean) \
42647 || exit 1
42649 @endif target-boehm-gc
42655 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
42656 maybe-configure-target-qthreads:
42657 @if gcc-bootstrap
42658 configure-target-qthreads: stage_current
42659 @endif gcc-bootstrap
42660 @if target-qthreads
42661 maybe-configure-target-qthreads: configure-target-qthreads
42662 configure-target-qthreads:
42663 @: $(MAKE); $(unstage)
42664 @r=`${PWD_COMMAND}`; export r; \
42665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42666 echo "Checking multilib configuration for qthreads..."; \
42667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
42668 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.tmp 2> /dev/null ; \
42669 if test -r $(TARGET_SUBDIR)/qthreads/multilib.out; then \
42670 if cmp -s $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; then \
42671 rm -f $(TARGET_SUBDIR)/qthreads/multilib.tmp; \
42672 else \
42673 rm -f $(TARGET_SUBDIR)/qthreads/Makefile; \
42674 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
42675 fi; \
42676 else \
42677 mv $(TARGET_SUBDIR)/qthreads/multilib.tmp $(TARGET_SUBDIR)/qthreads/multilib.out; \
42678 fi; \
42679 test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
42680 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
42681 $(NORMAL_TARGET_EXPORTS) \
42682 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
42683 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
42684 case $(srcdir) in \
42685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42686 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
42687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42688 esac; \
42689 srcdiroption="--srcdir=$${topdir}/qthreads"; \
42690 libsrcdir="$$s/qthreads"; \
42691 rm -f no-such-file || : ; \
42692 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42693 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42694 --target=${target_alias} $${srcdiroption} \
42695 || exit 1
42696 @endif target-qthreads
42702 .PHONY: all-target-qthreads maybe-all-target-qthreads
42703 maybe-all-target-qthreads:
42704 @if gcc-bootstrap
42705 all-target-qthreads: stage_current
42706 @endif gcc-bootstrap
42707 @if target-qthreads
42708 TARGET-target-qthreads=all
42709 maybe-all-target-qthreads: all-target-qthreads
42710 all-target-qthreads: configure-target-qthreads
42711 @: $(MAKE); $(unstage)
42712 @r=`${PWD_COMMAND}`; export r; \
42713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42714 $(NORMAL_TARGET_EXPORTS) \
42715 (cd $(TARGET_SUBDIR)/qthreads && \
42716 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
42717 @endif target-qthreads
42723 .PHONY: check-target-qthreads maybe-check-target-qthreads
42724 maybe-check-target-qthreads:
42725 @if target-qthreads
42726 maybe-check-target-qthreads: check-target-qthreads
42728 check-target-qthreads:
42729 @: $(MAKE); $(unstage)
42730 @r=`${PWD_COMMAND}`; export r; \
42731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42732 $(NORMAL_TARGET_EXPORTS) \
42733 (cd $(TARGET_SUBDIR)/qthreads && \
42734 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42736 @endif target-qthreads
42738 .PHONY: install-target-qthreads maybe-install-target-qthreads
42739 maybe-install-target-qthreads:
42740 @if target-qthreads
42741 maybe-install-target-qthreads: install-target-qthreads
42743 install-target-qthreads: installdirs
42744 @: $(MAKE); $(unstage)
42745 @r=`${PWD_COMMAND}`; export r; \
42746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42747 $(NORMAL_TARGET_EXPORTS) \
42748 (cd $(TARGET_SUBDIR)/qthreads && \
42749 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42751 @endif target-qthreads
42753 # Other targets (info, dvi, pdf, etc.)
42755 .PHONY: maybe-info-target-qthreads info-target-qthreads
42756 maybe-info-target-qthreads:
42757 @if target-qthreads
42758 maybe-info-target-qthreads: info-target-qthreads
42760 info-target-qthreads: \
42761 configure-target-qthreads
42762 @: $(MAKE); $(unstage)
42763 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42764 r=`${PWD_COMMAND}`; export r; \
42765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42766 $(NORMAL_TARGET_EXPORTS) \
42767 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
42768 for flag in $(EXTRA_TARGET_FLAGS); do \
42769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42770 done; \
42771 (cd $(TARGET_SUBDIR)/qthreads && \
42772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42774 "RANLIB=$${RANLIB}" \
42775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42776 info) \
42777 || exit 1
42779 @endif target-qthreads
42781 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
42782 maybe-dvi-target-qthreads:
42783 @if target-qthreads
42784 maybe-dvi-target-qthreads: dvi-target-qthreads
42786 dvi-target-qthreads: \
42787 configure-target-qthreads
42788 @: $(MAKE); $(unstage)
42789 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42790 r=`${PWD_COMMAND}`; export r; \
42791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42792 $(NORMAL_TARGET_EXPORTS) \
42793 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
42794 for flag in $(EXTRA_TARGET_FLAGS); do \
42795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42796 done; \
42797 (cd $(TARGET_SUBDIR)/qthreads && \
42798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42800 "RANLIB=$${RANLIB}" \
42801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42802 dvi) \
42803 || exit 1
42805 @endif target-qthreads
42807 .PHONY: maybe-pdf-target-qthreads pdf-target-qthreads
42808 maybe-pdf-target-qthreads:
42809 @if target-qthreads
42810 maybe-pdf-target-qthreads: pdf-target-qthreads
42812 pdf-target-qthreads: \
42813 configure-target-qthreads
42814 @: $(MAKE); $(unstage)
42815 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42816 r=`${PWD_COMMAND}`; export r; \
42817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42818 $(NORMAL_TARGET_EXPORTS) \
42819 echo "Doing pdf in $(TARGET_SUBDIR)/qthreads" ; \
42820 for flag in $(EXTRA_TARGET_FLAGS); do \
42821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42822 done; \
42823 (cd $(TARGET_SUBDIR)/qthreads && \
42824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42826 "RANLIB=$${RANLIB}" \
42827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42828 pdf) \
42829 || exit 1
42831 @endif target-qthreads
42833 .PHONY: maybe-html-target-qthreads html-target-qthreads
42834 maybe-html-target-qthreads:
42835 @if target-qthreads
42836 maybe-html-target-qthreads: html-target-qthreads
42838 html-target-qthreads: \
42839 configure-target-qthreads
42840 @: $(MAKE); $(unstage)
42841 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42842 r=`${PWD_COMMAND}`; export r; \
42843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42844 $(NORMAL_TARGET_EXPORTS) \
42845 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
42846 for flag in $(EXTRA_TARGET_FLAGS); do \
42847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42848 done; \
42849 (cd $(TARGET_SUBDIR)/qthreads && \
42850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42852 "RANLIB=$${RANLIB}" \
42853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42854 html) \
42855 || exit 1
42857 @endif target-qthreads
42859 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
42860 maybe-TAGS-target-qthreads:
42861 @if target-qthreads
42862 maybe-TAGS-target-qthreads: TAGS-target-qthreads
42864 TAGS-target-qthreads: \
42865 configure-target-qthreads
42866 @: $(MAKE); $(unstage)
42867 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42868 r=`${PWD_COMMAND}`; export r; \
42869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42870 $(NORMAL_TARGET_EXPORTS) \
42871 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
42872 for flag in $(EXTRA_TARGET_FLAGS); do \
42873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42874 done; \
42875 (cd $(TARGET_SUBDIR)/qthreads && \
42876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42878 "RANLIB=$${RANLIB}" \
42879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42880 TAGS) \
42881 || exit 1
42883 @endif target-qthreads
42885 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
42886 maybe-install-info-target-qthreads:
42887 @if target-qthreads
42888 maybe-install-info-target-qthreads: install-info-target-qthreads
42890 install-info-target-qthreads: \
42891 configure-target-qthreads \
42892 info-target-qthreads
42893 @: $(MAKE); $(unstage)
42894 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42895 r=`${PWD_COMMAND}`; export r; \
42896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42897 $(NORMAL_TARGET_EXPORTS) \
42898 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
42899 for flag in $(EXTRA_TARGET_FLAGS); do \
42900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42901 done; \
42902 (cd $(TARGET_SUBDIR)/qthreads && \
42903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42905 "RANLIB=$${RANLIB}" \
42906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42907 install-info) \
42908 || exit 1
42910 @endif target-qthreads
42912 .PHONY: maybe-install-html-target-qthreads install-html-target-qthreads
42913 maybe-install-html-target-qthreads:
42914 @if target-qthreads
42915 maybe-install-html-target-qthreads: install-html-target-qthreads
42917 install-html-target-qthreads: \
42918 configure-target-qthreads \
42919 html-target-qthreads
42920 @: $(MAKE); $(unstage)
42921 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42922 r=`${PWD_COMMAND}`; export r; \
42923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42924 $(NORMAL_TARGET_EXPORTS) \
42925 echo "Doing install-html in $(TARGET_SUBDIR)/qthreads" ; \
42926 for flag in $(EXTRA_TARGET_FLAGS); do \
42927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42928 done; \
42929 (cd $(TARGET_SUBDIR)/qthreads && \
42930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42932 "RANLIB=$${RANLIB}" \
42933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42934 install-html) \
42935 || exit 1
42937 @endif target-qthreads
42939 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
42940 maybe-installcheck-target-qthreads:
42941 @if target-qthreads
42942 maybe-installcheck-target-qthreads: installcheck-target-qthreads
42944 installcheck-target-qthreads: \
42945 configure-target-qthreads
42946 @: $(MAKE); $(unstage)
42947 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42948 r=`${PWD_COMMAND}`; export r; \
42949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42950 $(NORMAL_TARGET_EXPORTS) \
42951 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
42952 for flag in $(EXTRA_TARGET_FLAGS); do \
42953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42954 done; \
42955 (cd $(TARGET_SUBDIR)/qthreads && \
42956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42958 "RANLIB=$${RANLIB}" \
42959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42960 installcheck) \
42961 || exit 1
42963 @endif target-qthreads
42965 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
42966 maybe-mostlyclean-target-qthreads:
42967 @if target-qthreads
42968 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
42970 mostlyclean-target-qthreads:
42971 @: $(MAKE); $(unstage)
42972 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42973 r=`${PWD_COMMAND}`; export r; \
42974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42975 $(NORMAL_TARGET_EXPORTS) \
42976 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
42977 for flag in $(EXTRA_TARGET_FLAGS); do \
42978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42979 done; \
42980 (cd $(TARGET_SUBDIR)/qthreads && \
42981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42983 "RANLIB=$${RANLIB}" \
42984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
42985 mostlyclean) \
42986 || exit 1
42988 @endif target-qthreads
42990 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
42991 maybe-clean-target-qthreads:
42992 @if target-qthreads
42993 maybe-clean-target-qthreads: clean-target-qthreads
42995 clean-target-qthreads:
42996 @: $(MAKE); $(unstage)
42997 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
42998 r=`${PWD_COMMAND}`; export r; \
42999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43000 $(NORMAL_TARGET_EXPORTS) \
43001 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
43002 for flag in $(EXTRA_TARGET_FLAGS); do \
43003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43004 done; \
43005 (cd $(TARGET_SUBDIR)/qthreads && \
43006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43008 "RANLIB=$${RANLIB}" \
43009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43010 clean) \
43011 || exit 1
43013 @endif target-qthreads
43015 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
43016 maybe-distclean-target-qthreads:
43017 @if target-qthreads
43018 maybe-distclean-target-qthreads: distclean-target-qthreads
43020 distclean-target-qthreads:
43021 @: $(MAKE); $(unstage)
43022 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
43023 r=`${PWD_COMMAND}`; export r; \
43024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43025 $(NORMAL_TARGET_EXPORTS) \
43026 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
43027 for flag in $(EXTRA_TARGET_FLAGS); do \
43028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43029 done; \
43030 (cd $(TARGET_SUBDIR)/qthreads && \
43031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43033 "RANLIB=$${RANLIB}" \
43034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43035 distclean) \
43036 || exit 1
43038 @endif target-qthreads
43040 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
43041 maybe-maintainer-clean-target-qthreads:
43042 @if target-qthreads
43043 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
43045 maintainer-clean-target-qthreads:
43046 @: $(MAKE); $(unstage)
43047 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
43048 r=`${PWD_COMMAND}`; export r; \
43049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43050 $(NORMAL_TARGET_EXPORTS) \
43051 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
43052 for flag in $(EXTRA_TARGET_FLAGS); do \
43053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43054 done; \
43055 (cd $(TARGET_SUBDIR)/qthreads && \
43056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43058 "RANLIB=$${RANLIB}" \
43059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43060 maintainer-clean) \
43061 || exit 1
43063 @endif target-qthreads
43069 .PHONY: configure-target-rda maybe-configure-target-rda
43070 maybe-configure-target-rda:
43071 @if gcc-bootstrap
43072 configure-target-rda: stage_current
43073 @endif gcc-bootstrap
43074 @if target-rda
43075 maybe-configure-target-rda: configure-target-rda
43076 configure-target-rda:
43077 @: $(MAKE); $(unstage)
43078 @r=`${PWD_COMMAND}`; export r; \
43079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43080 echo "Checking multilib configuration for rda..."; \
43081 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43082 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
43083 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
43084 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
43085 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
43086 else \
43087 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
43088 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43089 fi; \
43090 else \
43091 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43092 fi; \
43093 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
43094 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43095 $(NORMAL_TARGET_EXPORTS) \
43096 echo Configuring in $(TARGET_SUBDIR)/rda; \
43097 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
43098 case $(srcdir) in \
43099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43100 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
43101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43102 esac; \
43103 srcdiroption="--srcdir=$${topdir}/rda"; \
43104 libsrcdir="$$s/rda"; \
43105 rm -f no-such-file || : ; \
43106 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43107 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43108 --target=${target_alias} $${srcdiroption} \
43109 || exit 1
43110 @endif target-rda
43116 .PHONY: all-target-rda maybe-all-target-rda
43117 maybe-all-target-rda:
43118 @if gcc-bootstrap
43119 all-target-rda: stage_current
43120 @endif gcc-bootstrap
43121 @if target-rda
43122 TARGET-target-rda=all
43123 maybe-all-target-rda: all-target-rda
43124 all-target-rda: configure-target-rda
43125 @: $(MAKE); $(unstage)
43126 @r=`${PWD_COMMAND}`; export r; \
43127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43128 $(NORMAL_TARGET_EXPORTS) \
43129 (cd $(TARGET_SUBDIR)/rda && \
43130 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
43131 @endif target-rda
43137 .PHONY: check-target-rda maybe-check-target-rda
43138 maybe-check-target-rda:
43139 @if target-rda
43140 maybe-check-target-rda: check-target-rda
43142 check-target-rda:
43143 @: $(MAKE); $(unstage)
43144 @r=`${PWD_COMMAND}`; export r; \
43145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43146 $(NORMAL_TARGET_EXPORTS) \
43147 (cd $(TARGET_SUBDIR)/rda && \
43148 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43150 @endif target-rda
43152 .PHONY: install-target-rda maybe-install-target-rda
43153 maybe-install-target-rda:
43154 @if target-rda
43155 maybe-install-target-rda: install-target-rda
43157 install-target-rda: installdirs
43158 @: $(MAKE); $(unstage)
43159 @r=`${PWD_COMMAND}`; export r; \
43160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43161 $(NORMAL_TARGET_EXPORTS) \
43162 (cd $(TARGET_SUBDIR)/rda && \
43163 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43165 @endif target-rda
43167 # Other targets (info, dvi, pdf, etc.)
43169 .PHONY: maybe-info-target-rda info-target-rda
43170 maybe-info-target-rda:
43171 @if target-rda
43172 maybe-info-target-rda: info-target-rda
43174 info-target-rda: \
43175 configure-target-rda
43176 @: $(MAKE); $(unstage)
43177 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43178 r=`${PWD_COMMAND}`; export r; \
43179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43180 $(NORMAL_TARGET_EXPORTS) \
43181 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43182 for flag in $(EXTRA_TARGET_FLAGS); do \
43183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43184 done; \
43185 (cd $(TARGET_SUBDIR)/rda && \
43186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43188 "RANLIB=$${RANLIB}" \
43189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43190 info) \
43191 || exit 1
43193 @endif target-rda
43195 .PHONY: maybe-dvi-target-rda dvi-target-rda
43196 maybe-dvi-target-rda:
43197 @if target-rda
43198 maybe-dvi-target-rda: dvi-target-rda
43200 dvi-target-rda: \
43201 configure-target-rda
43202 @: $(MAKE); $(unstage)
43203 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43204 r=`${PWD_COMMAND}`; export r; \
43205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43206 $(NORMAL_TARGET_EXPORTS) \
43207 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43208 for flag in $(EXTRA_TARGET_FLAGS); do \
43209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43210 done; \
43211 (cd $(TARGET_SUBDIR)/rda && \
43212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43214 "RANLIB=$${RANLIB}" \
43215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43216 dvi) \
43217 || exit 1
43219 @endif target-rda
43221 .PHONY: maybe-pdf-target-rda pdf-target-rda
43222 maybe-pdf-target-rda:
43223 @if target-rda
43224 maybe-pdf-target-rda: pdf-target-rda
43226 pdf-target-rda: \
43227 configure-target-rda
43228 @: $(MAKE); $(unstage)
43229 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43230 r=`${PWD_COMMAND}`; export r; \
43231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43232 $(NORMAL_TARGET_EXPORTS) \
43233 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 pdf) \
43243 || exit 1
43245 @endif target-rda
43247 .PHONY: maybe-html-target-rda html-target-rda
43248 maybe-html-target-rda:
43249 @if target-rda
43250 maybe-html-target-rda: html-target-rda
43252 html-target-rda: \
43253 configure-target-rda
43254 @: $(MAKE); $(unstage)
43255 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43256 r=`${PWD_COMMAND}`; export r; \
43257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43258 $(NORMAL_TARGET_EXPORTS) \
43259 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43260 for flag in $(EXTRA_TARGET_FLAGS); do \
43261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43262 done; \
43263 (cd $(TARGET_SUBDIR)/rda && \
43264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43266 "RANLIB=$${RANLIB}" \
43267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43268 html) \
43269 || exit 1
43271 @endif target-rda
43273 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43274 maybe-TAGS-target-rda:
43275 @if target-rda
43276 maybe-TAGS-target-rda: TAGS-target-rda
43278 TAGS-target-rda: \
43279 configure-target-rda
43280 @: $(MAKE); $(unstage)
43281 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43282 r=`${PWD_COMMAND}`; export r; \
43283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43284 $(NORMAL_TARGET_EXPORTS) \
43285 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43286 for flag in $(EXTRA_TARGET_FLAGS); do \
43287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43288 done; \
43289 (cd $(TARGET_SUBDIR)/rda && \
43290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43292 "RANLIB=$${RANLIB}" \
43293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43294 TAGS) \
43295 || exit 1
43297 @endif target-rda
43299 .PHONY: maybe-install-info-target-rda install-info-target-rda
43300 maybe-install-info-target-rda:
43301 @if target-rda
43302 maybe-install-info-target-rda: install-info-target-rda
43304 install-info-target-rda: \
43305 configure-target-rda \
43306 info-target-rda
43307 @: $(MAKE); $(unstage)
43308 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43309 r=`${PWD_COMMAND}`; export r; \
43310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43311 $(NORMAL_TARGET_EXPORTS) \
43312 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43313 for flag in $(EXTRA_TARGET_FLAGS); do \
43314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43315 done; \
43316 (cd $(TARGET_SUBDIR)/rda && \
43317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43319 "RANLIB=$${RANLIB}" \
43320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43321 install-info) \
43322 || exit 1
43324 @endif target-rda
43326 .PHONY: maybe-install-html-target-rda install-html-target-rda
43327 maybe-install-html-target-rda:
43328 @if target-rda
43329 maybe-install-html-target-rda: install-html-target-rda
43331 install-html-target-rda: \
43332 configure-target-rda \
43333 html-target-rda
43334 @: $(MAKE); $(unstage)
43335 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43336 r=`${PWD_COMMAND}`; export r; \
43337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43338 $(NORMAL_TARGET_EXPORTS) \
43339 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43340 for flag in $(EXTRA_TARGET_FLAGS); do \
43341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43342 done; \
43343 (cd $(TARGET_SUBDIR)/rda && \
43344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43346 "RANLIB=$${RANLIB}" \
43347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43348 install-html) \
43349 || exit 1
43351 @endif target-rda
43353 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43354 maybe-installcheck-target-rda:
43355 @if target-rda
43356 maybe-installcheck-target-rda: installcheck-target-rda
43358 installcheck-target-rda: \
43359 configure-target-rda
43360 @: $(MAKE); $(unstage)
43361 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43362 r=`${PWD_COMMAND}`; export r; \
43363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43364 $(NORMAL_TARGET_EXPORTS) \
43365 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43366 for flag in $(EXTRA_TARGET_FLAGS); do \
43367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43368 done; \
43369 (cd $(TARGET_SUBDIR)/rda && \
43370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43372 "RANLIB=$${RANLIB}" \
43373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43374 installcheck) \
43375 || exit 1
43377 @endif target-rda
43379 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43380 maybe-mostlyclean-target-rda:
43381 @if target-rda
43382 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43384 mostlyclean-target-rda:
43385 @: $(MAKE); $(unstage)
43386 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43387 r=`${PWD_COMMAND}`; export r; \
43388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43389 $(NORMAL_TARGET_EXPORTS) \
43390 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43391 for flag in $(EXTRA_TARGET_FLAGS); do \
43392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43393 done; \
43394 (cd $(TARGET_SUBDIR)/rda && \
43395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43397 "RANLIB=$${RANLIB}" \
43398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43399 mostlyclean) \
43400 || exit 1
43402 @endif target-rda
43404 .PHONY: maybe-clean-target-rda clean-target-rda
43405 maybe-clean-target-rda:
43406 @if target-rda
43407 maybe-clean-target-rda: clean-target-rda
43409 clean-target-rda:
43410 @: $(MAKE); $(unstage)
43411 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43412 r=`${PWD_COMMAND}`; export r; \
43413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43414 $(NORMAL_TARGET_EXPORTS) \
43415 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43416 for flag in $(EXTRA_TARGET_FLAGS); do \
43417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43418 done; \
43419 (cd $(TARGET_SUBDIR)/rda && \
43420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43422 "RANLIB=$${RANLIB}" \
43423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43424 clean) \
43425 || exit 1
43427 @endif target-rda
43429 .PHONY: maybe-distclean-target-rda distclean-target-rda
43430 maybe-distclean-target-rda:
43431 @if target-rda
43432 maybe-distclean-target-rda: distclean-target-rda
43434 distclean-target-rda:
43435 @: $(MAKE); $(unstage)
43436 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43437 r=`${PWD_COMMAND}`; export r; \
43438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43439 $(NORMAL_TARGET_EXPORTS) \
43440 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43441 for flag in $(EXTRA_TARGET_FLAGS); do \
43442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43443 done; \
43444 (cd $(TARGET_SUBDIR)/rda && \
43445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43447 "RANLIB=$${RANLIB}" \
43448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43449 distclean) \
43450 || exit 1
43452 @endif target-rda
43454 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43455 maybe-maintainer-clean-target-rda:
43456 @if target-rda
43457 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43459 maintainer-clean-target-rda:
43460 @: $(MAKE); $(unstage)
43461 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43462 r=`${PWD_COMMAND}`; export r; \
43463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43464 $(NORMAL_TARGET_EXPORTS) \
43465 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43466 for flag in $(EXTRA_TARGET_FLAGS); do \
43467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43468 done; \
43469 (cd $(TARGET_SUBDIR)/rda && \
43470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43472 "RANLIB=$${RANLIB}" \
43473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43474 maintainer-clean) \
43475 || exit 1
43477 @endif target-rda
43483 .PHONY: configure-target-libada maybe-configure-target-libada
43484 maybe-configure-target-libada:
43485 @if gcc-bootstrap
43486 configure-target-libada: stage_current
43487 @endif gcc-bootstrap
43488 @if target-libada
43489 maybe-configure-target-libada: configure-target-libada
43490 configure-target-libada:
43491 @: $(MAKE); $(unstage)
43492 @r=`${PWD_COMMAND}`; export r; \
43493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43494 echo "Checking multilib configuration for libada..."; \
43495 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43496 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43497 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43498 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43499 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43500 else \
43501 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43502 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43503 fi; \
43504 else \
43505 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43506 fi; \
43507 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43508 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43509 $(NORMAL_TARGET_EXPORTS) \
43510 echo Configuring in $(TARGET_SUBDIR)/libada; \
43511 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43512 case $(srcdir) in \
43513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43514 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43516 esac; \
43517 srcdiroption="--srcdir=$${topdir}/libada"; \
43518 libsrcdir="$$s/libada"; \
43519 rm -f no-such-file || : ; \
43520 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43521 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43522 --target=${target_alias} $${srcdiroption} \
43523 || exit 1
43524 @endif target-libada
43530 .PHONY: all-target-libada maybe-all-target-libada
43531 maybe-all-target-libada:
43532 @if gcc-bootstrap
43533 all-target-libada: stage_current
43534 @endif gcc-bootstrap
43535 @if target-libada
43536 TARGET-target-libada=all
43537 maybe-all-target-libada: all-target-libada
43538 all-target-libada: configure-target-libada
43539 @: $(MAKE); $(unstage)
43540 @r=`${PWD_COMMAND}`; export r; \
43541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43542 $(NORMAL_TARGET_EXPORTS) \
43543 (cd $(TARGET_SUBDIR)/libada && \
43544 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
43545 @endif target-libada
43551 .PHONY: check-target-libada maybe-check-target-libada
43552 maybe-check-target-libada:
43553 @if target-libada
43554 maybe-check-target-libada: check-target-libada
43556 check-target-libada:
43557 @: $(MAKE); $(unstage)
43558 @r=`${PWD_COMMAND}`; export r; \
43559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43560 $(NORMAL_TARGET_EXPORTS) \
43561 (cd $(TARGET_SUBDIR)/libada && \
43562 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43564 @endif target-libada
43566 .PHONY: install-target-libada maybe-install-target-libada
43567 maybe-install-target-libada:
43568 @if target-libada
43569 maybe-install-target-libada: install-target-libada
43571 install-target-libada: installdirs
43572 @: $(MAKE); $(unstage)
43573 @r=`${PWD_COMMAND}`; export r; \
43574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43575 $(NORMAL_TARGET_EXPORTS) \
43576 (cd $(TARGET_SUBDIR)/libada && \
43577 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43579 @endif target-libada
43581 # Other targets (info, dvi, pdf, etc.)
43583 .PHONY: maybe-info-target-libada info-target-libada
43584 maybe-info-target-libada:
43585 @if target-libada
43586 maybe-info-target-libada: info-target-libada
43588 info-target-libada: \
43589 configure-target-libada
43590 @: $(MAKE); $(unstage)
43591 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43592 r=`${PWD_COMMAND}`; export r; \
43593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43594 $(NORMAL_TARGET_EXPORTS) \
43595 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43596 for flag in $(EXTRA_TARGET_FLAGS); do \
43597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43598 done; \
43599 (cd $(TARGET_SUBDIR)/libada && \
43600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43602 "RANLIB=$${RANLIB}" \
43603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43604 info) \
43605 || exit 1
43607 @endif target-libada
43609 .PHONY: maybe-dvi-target-libada dvi-target-libada
43610 maybe-dvi-target-libada:
43611 @if target-libada
43612 maybe-dvi-target-libada: dvi-target-libada
43614 dvi-target-libada: \
43615 configure-target-libada
43616 @: $(MAKE); $(unstage)
43617 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43618 r=`${PWD_COMMAND}`; export r; \
43619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43620 $(NORMAL_TARGET_EXPORTS) \
43621 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43622 for flag in $(EXTRA_TARGET_FLAGS); do \
43623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43624 done; \
43625 (cd $(TARGET_SUBDIR)/libada && \
43626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43628 "RANLIB=$${RANLIB}" \
43629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43630 dvi) \
43631 || exit 1
43633 @endif target-libada
43635 .PHONY: maybe-pdf-target-libada pdf-target-libada
43636 maybe-pdf-target-libada:
43637 @if target-libada
43638 maybe-pdf-target-libada: pdf-target-libada
43640 pdf-target-libada: \
43641 configure-target-libada
43642 @: $(MAKE); $(unstage)
43643 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43644 r=`${PWD_COMMAND}`; export r; \
43645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43646 $(NORMAL_TARGET_EXPORTS) \
43647 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43648 for flag in $(EXTRA_TARGET_FLAGS); do \
43649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43650 done; \
43651 (cd $(TARGET_SUBDIR)/libada && \
43652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43654 "RANLIB=$${RANLIB}" \
43655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43656 pdf) \
43657 || exit 1
43659 @endif target-libada
43661 .PHONY: maybe-html-target-libada html-target-libada
43662 maybe-html-target-libada:
43663 @if target-libada
43664 maybe-html-target-libada: html-target-libada
43666 html-target-libada: \
43667 configure-target-libada
43668 @: $(MAKE); $(unstage)
43669 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43670 r=`${PWD_COMMAND}`; export r; \
43671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43672 $(NORMAL_TARGET_EXPORTS) \
43673 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43674 for flag in $(EXTRA_TARGET_FLAGS); do \
43675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43676 done; \
43677 (cd $(TARGET_SUBDIR)/libada && \
43678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43680 "RANLIB=$${RANLIB}" \
43681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43682 html) \
43683 || exit 1
43685 @endif target-libada
43687 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43688 maybe-TAGS-target-libada:
43689 @if target-libada
43690 maybe-TAGS-target-libada: TAGS-target-libada
43692 TAGS-target-libada: \
43693 configure-target-libada
43694 @: $(MAKE); $(unstage)
43695 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43696 r=`${PWD_COMMAND}`; export r; \
43697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43698 $(NORMAL_TARGET_EXPORTS) \
43699 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 TAGS) \
43709 || exit 1
43711 @endif target-libada
43713 .PHONY: maybe-install-info-target-libada install-info-target-libada
43714 maybe-install-info-target-libada:
43715 @if target-libada
43716 maybe-install-info-target-libada: install-info-target-libada
43718 install-info-target-libada: \
43719 configure-target-libada \
43720 info-target-libada
43721 @: $(MAKE); $(unstage)
43722 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43723 r=`${PWD_COMMAND}`; export r; \
43724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43725 $(NORMAL_TARGET_EXPORTS) \
43726 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43727 for flag in $(EXTRA_TARGET_FLAGS); do \
43728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43729 done; \
43730 (cd $(TARGET_SUBDIR)/libada && \
43731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43733 "RANLIB=$${RANLIB}" \
43734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43735 install-info) \
43736 || exit 1
43738 @endif target-libada
43740 .PHONY: maybe-install-html-target-libada install-html-target-libada
43741 maybe-install-html-target-libada:
43742 @if target-libada
43743 maybe-install-html-target-libada: install-html-target-libada
43745 install-html-target-libada: \
43746 configure-target-libada \
43747 html-target-libada
43748 @: $(MAKE); $(unstage)
43749 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43750 r=`${PWD_COMMAND}`; export r; \
43751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43752 $(NORMAL_TARGET_EXPORTS) \
43753 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43754 for flag in $(EXTRA_TARGET_FLAGS); do \
43755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43756 done; \
43757 (cd $(TARGET_SUBDIR)/libada && \
43758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43760 "RANLIB=$${RANLIB}" \
43761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43762 install-html) \
43763 || exit 1
43765 @endif target-libada
43767 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43768 maybe-installcheck-target-libada:
43769 @if target-libada
43770 maybe-installcheck-target-libada: installcheck-target-libada
43772 installcheck-target-libada: \
43773 configure-target-libada
43774 @: $(MAKE); $(unstage)
43775 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43776 r=`${PWD_COMMAND}`; export r; \
43777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43778 $(NORMAL_TARGET_EXPORTS) \
43779 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43780 for flag in $(EXTRA_TARGET_FLAGS); do \
43781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43782 done; \
43783 (cd $(TARGET_SUBDIR)/libada && \
43784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43786 "RANLIB=$${RANLIB}" \
43787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43788 installcheck) \
43789 || exit 1
43791 @endif target-libada
43793 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43794 maybe-mostlyclean-target-libada:
43795 @if target-libada
43796 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43798 mostlyclean-target-libada:
43799 @: $(MAKE); $(unstage)
43800 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43801 r=`${PWD_COMMAND}`; export r; \
43802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43803 $(NORMAL_TARGET_EXPORTS) \
43804 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43805 for flag in $(EXTRA_TARGET_FLAGS); do \
43806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43807 done; \
43808 (cd $(TARGET_SUBDIR)/libada && \
43809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43811 "RANLIB=$${RANLIB}" \
43812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43813 mostlyclean) \
43814 || exit 1
43816 @endif target-libada
43818 .PHONY: maybe-clean-target-libada clean-target-libada
43819 maybe-clean-target-libada:
43820 @if target-libada
43821 maybe-clean-target-libada: clean-target-libada
43823 clean-target-libada:
43824 @: $(MAKE); $(unstage)
43825 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43826 r=`${PWD_COMMAND}`; export r; \
43827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43828 $(NORMAL_TARGET_EXPORTS) \
43829 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43830 for flag in $(EXTRA_TARGET_FLAGS); do \
43831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43832 done; \
43833 (cd $(TARGET_SUBDIR)/libada && \
43834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43836 "RANLIB=$${RANLIB}" \
43837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43838 clean) \
43839 || exit 1
43841 @endif target-libada
43843 .PHONY: maybe-distclean-target-libada distclean-target-libada
43844 maybe-distclean-target-libada:
43845 @if target-libada
43846 maybe-distclean-target-libada: distclean-target-libada
43848 distclean-target-libada:
43849 @: $(MAKE); $(unstage)
43850 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43851 r=`${PWD_COMMAND}`; export r; \
43852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43853 $(NORMAL_TARGET_EXPORTS) \
43854 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43855 for flag in $(EXTRA_TARGET_FLAGS); do \
43856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43857 done; \
43858 (cd $(TARGET_SUBDIR)/libada && \
43859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43861 "RANLIB=$${RANLIB}" \
43862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
43863 distclean) \
43864 || exit 1
43866 @endif target-libada
43868 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43869 maybe-maintainer-clean-target-libada:
43870 @if target-libada
43871 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43873 maintainer-clean-target-libada:
43874 @: $(MAKE); $(unstage)
43875 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43876 r=`${PWD_COMMAND}`; export r; \
43877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43878 $(NORMAL_TARGET_EXPORTS) \
43879 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
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)/libada && \
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 maintainer-clean) \
43889 || exit 1
43891 @endif target-libada
43897 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43898 maybe-configure-target-libgomp:
43899 @if gcc-bootstrap
43900 configure-target-libgomp: stage_current
43901 @endif gcc-bootstrap
43902 @if target-libgomp
43903 maybe-configure-target-libgomp: configure-target-libgomp
43904 configure-target-libgomp:
43905 @: $(MAKE); $(unstage)
43906 @r=`${PWD_COMMAND}`; export r; \
43907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43908 echo "Checking multilib configuration for libgomp..."; \
43909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43910 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43911 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43912 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43913 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43914 else \
43915 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43916 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43917 fi; \
43918 else \
43919 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43920 fi; \
43921 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43923 $(NORMAL_TARGET_EXPORTS) \
43924 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43925 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43926 case $(srcdir) in \
43927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43928 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43930 esac; \
43931 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43932 libsrcdir="$$s/libgomp"; \
43933 rm -f no-such-file || : ; \
43934 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43935 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43936 --target=${target_alias} $${srcdiroption} \
43937 || exit 1
43938 @endif target-libgomp
43944 .PHONY: all-target-libgomp maybe-all-target-libgomp
43945 maybe-all-target-libgomp:
43946 @if gcc-bootstrap
43947 all-target-libgomp: stage_current
43948 @endif gcc-bootstrap
43949 @if target-libgomp
43950 TARGET-target-libgomp=all
43951 maybe-all-target-libgomp: all-target-libgomp
43952 all-target-libgomp: configure-target-libgomp
43953 @: $(MAKE); $(unstage)
43954 @r=`${PWD_COMMAND}`; export r; \
43955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43956 $(NORMAL_TARGET_EXPORTS) \
43957 (cd $(TARGET_SUBDIR)/libgomp && \
43958 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
43959 @endif target-libgomp
43965 .PHONY: check-target-libgomp maybe-check-target-libgomp
43966 maybe-check-target-libgomp:
43967 @if target-libgomp
43968 maybe-check-target-libgomp: check-target-libgomp
43970 check-target-libgomp:
43971 @: $(MAKE); $(unstage)
43972 @r=`${PWD_COMMAND}`; export r; \
43973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43974 $(NORMAL_TARGET_EXPORTS) \
43975 (cd $(TARGET_SUBDIR)/libgomp && \
43976 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43978 @endif target-libgomp
43980 .PHONY: install-target-libgomp maybe-install-target-libgomp
43981 maybe-install-target-libgomp:
43982 @if target-libgomp
43983 maybe-install-target-libgomp: install-target-libgomp
43985 install-target-libgomp: installdirs
43986 @: $(MAKE); $(unstage)
43987 @r=`${PWD_COMMAND}`; export r; \
43988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43989 $(NORMAL_TARGET_EXPORTS) \
43990 (cd $(TARGET_SUBDIR)/libgomp && \
43991 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43993 @endif target-libgomp
43995 # Other targets (info, dvi, pdf, etc.)
43997 .PHONY: maybe-info-target-libgomp info-target-libgomp
43998 maybe-info-target-libgomp:
43999 @if target-libgomp
44000 maybe-info-target-libgomp: info-target-libgomp
44002 info-target-libgomp: \
44003 configure-target-libgomp
44004 @: $(MAKE); $(unstage)
44005 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44006 r=`${PWD_COMMAND}`; export r; \
44007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44008 $(NORMAL_TARGET_EXPORTS) \
44009 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44010 for flag in $(EXTRA_TARGET_FLAGS); do \
44011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44012 done; \
44013 (cd $(TARGET_SUBDIR)/libgomp && \
44014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44016 "RANLIB=$${RANLIB}" \
44017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44018 info) \
44019 || exit 1
44021 @endif target-libgomp
44023 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44024 maybe-dvi-target-libgomp:
44025 @if target-libgomp
44026 maybe-dvi-target-libgomp: dvi-target-libgomp
44028 dvi-target-libgomp: \
44029 configure-target-libgomp
44030 @: $(MAKE); $(unstage)
44031 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44032 r=`${PWD_COMMAND}`; export r; \
44033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44034 $(NORMAL_TARGET_EXPORTS) \
44035 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44036 for flag in $(EXTRA_TARGET_FLAGS); do \
44037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44038 done; \
44039 (cd $(TARGET_SUBDIR)/libgomp && \
44040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44042 "RANLIB=$${RANLIB}" \
44043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44044 dvi) \
44045 || exit 1
44047 @endif target-libgomp
44049 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44050 maybe-pdf-target-libgomp:
44051 @if target-libgomp
44052 maybe-pdf-target-libgomp: pdf-target-libgomp
44054 pdf-target-libgomp: \
44055 configure-target-libgomp
44056 @: $(MAKE); $(unstage)
44057 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44058 r=`${PWD_COMMAND}`; export r; \
44059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44060 $(NORMAL_TARGET_EXPORTS) \
44061 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44062 for flag in $(EXTRA_TARGET_FLAGS); do \
44063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44064 done; \
44065 (cd $(TARGET_SUBDIR)/libgomp && \
44066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44068 "RANLIB=$${RANLIB}" \
44069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44070 pdf) \
44071 || exit 1
44073 @endif target-libgomp
44075 .PHONY: maybe-html-target-libgomp html-target-libgomp
44076 maybe-html-target-libgomp:
44077 @if target-libgomp
44078 maybe-html-target-libgomp: html-target-libgomp
44080 html-target-libgomp: \
44081 configure-target-libgomp
44082 @: $(MAKE); $(unstage)
44083 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44084 r=`${PWD_COMMAND}`; export r; \
44085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44086 $(NORMAL_TARGET_EXPORTS) \
44087 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44088 for flag in $(EXTRA_TARGET_FLAGS); do \
44089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44090 done; \
44091 (cd $(TARGET_SUBDIR)/libgomp && \
44092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44094 "RANLIB=$${RANLIB}" \
44095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44096 html) \
44097 || exit 1
44099 @endif target-libgomp
44101 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44102 maybe-TAGS-target-libgomp:
44103 @if target-libgomp
44104 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44106 TAGS-target-libgomp: \
44107 configure-target-libgomp
44108 @: $(MAKE); $(unstage)
44109 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44110 r=`${PWD_COMMAND}`; export r; \
44111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44112 $(NORMAL_TARGET_EXPORTS) \
44113 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44114 for flag in $(EXTRA_TARGET_FLAGS); do \
44115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44116 done; \
44117 (cd $(TARGET_SUBDIR)/libgomp && \
44118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44120 "RANLIB=$${RANLIB}" \
44121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44122 TAGS) \
44123 || exit 1
44125 @endif target-libgomp
44127 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44128 maybe-install-info-target-libgomp:
44129 @if target-libgomp
44130 maybe-install-info-target-libgomp: install-info-target-libgomp
44132 install-info-target-libgomp: \
44133 configure-target-libgomp \
44134 info-target-libgomp
44135 @: $(MAKE); $(unstage)
44136 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44137 r=`${PWD_COMMAND}`; export r; \
44138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44139 $(NORMAL_TARGET_EXPORTS) \
44140 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
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)/libgomp && \
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 install-info) \
44150 || exit 1
44152 @endif target-libgomp
44154 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44155 maybe-install-html-target-libgomp:
44156 @if target-libgomp
44157 maybe-install-html-target-libgomp: install-html-target-libgomp
44159 install-html-target-libgomp: \
44160 configure-target-libgomp \
44161 html-target-libgomp
44162 @: $(MAKE); $(unstage)
44163 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44164 r=`${PWD_COMMAND}`; export r; \
44165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44166 $(NORMAL_TARGET_EXPORTS) \
44167 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44168 for flag in $(EXTRA_TARGET_FLAGS); do \
44169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44170 done; \
44171 (cd $(TARGET_SUBDIR)/libgomp && \
44172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44174 "RANLIB=$${RANLIB}" \
44175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44176 install-html) \
44177 || exit 1
44179 @endif target-libgomp
44181 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44182 maybe-installcheck-target-libgomp:
44183 @if target-libgomp
44184 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44186 installcheck-target-libgomp: \
44187 configure-target-libgomp
44188 @: $(MAKE); $(unstage)
44189 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44190 r=`${PWD_COMMAND}`; export r; \
44191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44192 $(NORMAL_TARGET_EXPORTS) \
44193 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44194 for flag in $(EXTRA_TARGET_FLAGS); do \
44195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44196 done; \
44197 (cd $(TARGET_SUBDIR)/libgomp && \
44198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44200 "RANLIB=$${RANLIB}" \
44201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44202 installcheck) \
44203 || exit 1
44205 @endif target-libgomp
44207 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44208 maybe-mostlyclean-target-libgomp:
44209 @if target-libgomp
44210 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44212 mostlyclean-target-libgomp:
44213 @: $(MAKE); $(unstage)
44214 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44215 r=`${PWD_COMMAND}`; export r; \
44216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44217 $(NORMAL_TARGET_EXPORTS) \
44218 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44219 for flag in $(EXTRA_TARGET_FLAGS); do \
44220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44221 done; \
44222 (cd $(TARGET_SUBDIR)/libgomp && \
44223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44225 "RANLIB=$${RANLIB}" \
44226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44227 mostlyclean) \
44228 || exit 1
44230 @endif target-libgomp
44232 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44233 maybe-clean-target-libgomp:
44234 @if target-libgomp
44235 maybe-clean-target-libgomp: clean-target-libgomp
44237 clean-target-libgomp:
44238 @: $(MAKE); $(unstage)
44239 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44240 r=`${PWD_COMMAND}`; export r; \
44241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44242 $(NORMAL_TARGET_EXPORTS) \
44243 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44244 for flag in $(EXTRA_TARGET_FLAGS); do \
44245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44246 done; \
44247 (cd $(TARGET_SUBDIR)/libgomp && \
44248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44250 "RANLIB=$${RANLIB}" \
44251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44252 clean) \
44253 || exit 1
44255 @endif target-libgomp
44257 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44258 maybe-distclean-target-libgomp:
44259 @if target-libgomp
44260 maybe-distclean-target-libgomp: distclean-target-libgomp
44262 distclean-target-libgomp:
44263 @: $(MAKE); $(unstage)
44264 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44265 r=`${PWD_COMMAND}`; export r; \
44266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44267 $(NORMAL_TARGET_EXPORTS) \
44268 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44269 for flag in $(EXTRA_TARGET_FLAGS); do \
44270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44271 done; \
44272 (cd $(TARGET_SUBDIR)/libgomp && \
44273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44275 "RANLIB=$${RANLIB}" \
44276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44277 distclean) \
44278 || exit 1
44280 @endif target-libgomp
44282 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44283 maybe-maintainer-clean-target-libgomp:
44284 @if target-libgomp
44285 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44287 maintainer-clean-target-libgomp:
44288 @: $(MAKE); $(unstage)
44289 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44290 r=`${PWD_COMMAND}`; export r; \
44291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44292 $(NORMAL_TARGET_EXPORTS) \
44293 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44294 for flag in $(EXTRA_TARGET_FLAGS); do \
44295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44296 done; \
44297 (cd $(TARGET_SUBDIR)/libgomp && \
44298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44300 "RANLIB=$${RANLIB}" \
44301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
44302 maintainer-clean) \
44303 || exit 1
44305 @endif target-libgomp
44309 # ----------
44310 # GCC module
44311 # ----------
44313 @if gcc-no-bootstrap
44314 .PHONY: cross
44315 cross: all-build all-gas all-ld
44316 @r=`${PWD_COMMAND}`; export r; \
44317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44318 $(HOST_EXPORTS) \
44319 echo "Building the C and C++ compiler"; \
44320 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
44321 @r=`${PWD_COMMAND}`; export r; \
44322 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44323 echo "Building runtime libraries"; \
44324 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
44325 @endif gcc-no-bootstrap
44327 @if gcc
44328 .PHONY: check-gcc-c++
44329 check-gcc-c++:
44330 @if [ -f ./gcc/Makefile ] ; then \
44331 r=`${PWD_COMMAND}`; export r; \
44332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44333 $(HOST_EXPORTS) \
44334 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
44335 else \
44336 true; \
44339 .PHONY: check-c++
44340 check-c++: check-target-libstdc++-v3 check-gcc-c++
44342 # Install the gcc headers files, but not the fixed include files,
44343 # which Cygnus is not allowed to distribute. This rule is very
44344 # dependent on the workings of the gcc Makefile.in.
44345 .PHONY: gcc-no-fixedincludes
44346 gcc-no-fixedincludes:
44347 @if [ -f ./gcc/Makefile ]; then \
44348 rm -rf gcc/tmp-include; \
44349 mv gcc/include gcc/tmp-include 2>/dev/null; \
44350 mkdir gcc/include; \
44351 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
44352 touch gcc/stmp-fixinc gcc/include/fixed; \
44353 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
44354 r=`${PWD_COMMAND}`; export r; \
44355 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
44356 $(HOST_EXPORTS) \
44357 (cd ./gcc && \
44358 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
44359 rm -rf gcc/include; \
44360 mv gcc/tmp-include gcc/include 2>/dev/null; \
44361 else true; fi
44362 @endif gcc
44364 # ---------------------
44365 # GCC bootstrap support
44366 # ---------------------
44368 # We track the current stage (the one in 'gcc') in the stage_current file.
44369 # stage_last instead tracks the stage that was built last. These targets
44370 # are dummy when toplevel bootstrap is not active.
44372 # While making host and target tools, symlinks to the final stage must be
44373 # there, so $(unstage) should be run at various points. To avoid excessive
44374 # recursive invocations of make, we "inline" them using a variable. These
44375 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
44376 # to avoid warnings from the GNU Make job server.
44378 unstage = :
44379 stage = :
44380 current_stage = ""
44382 @if gcc-bootstrap
44383 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
44384 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
44385 current_stage = "`cat stage_current 2> /dev/null`"
44386 @endif gcc-bootstrap
44388 .PHONY: unstage stage
44389 unstage:
44390 @: $(MAKE); $(unstage)
44391 stage:
44392 @: $(MAKE); $(stage)
44394 # Disable commands for lean bootstrap.
44395 LEAN = false
44397 # We name the build directories for the various stages "stage1-gcc",
44398 # "stage2-gcc","stage3-gcc", etc.
44400 # Since the 'compare' process will fail (on debugging information) if any
44401 # directory names are different, we need to link the gcc directory for
44402 # the previous stage to a constant name ('prev-gcc'), and to make the name of
44403 # the build directories constant as well. For the latter, we use naked names
44404 # like 'gcc', because the scripts in that directory assume it. We use
44405 # mv on platforms where symlinks to directories do not work or are not
44406 # reliable.
44408 # 'touch' doesn't work right on some platforms.
44409 STAMP = echo timestamp >
44411 # We only want to compare .o files, so set this!
44412 objext = .o
44415 .PHONY: stage1-start stage1-end
44417 stage1-start::
44418 @: $(MAKE); $(stage); \
44419 echo stage1 > stage_current ; \
44420 echo stage1 > stage_last; \
44421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44422 @if bfd
44423 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
44424 mkdir stage1-bfd; \
44425 mv stage1-bfd bfd
44426 @endif bfd
44427 @if opcodes
44428 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
44429 mkdir stage1-opcodes; \
44430 mv stage1-opcodes opcodes
44431 @endif opcodes
44432 @if binutils
44433 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
44434 mkdir stage1-binutils; \
44435 mv stage1-binutils binutils
44436 @endif binutils
44437 @if gas
44438 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
44439 mkdir stage1-gas; \
44440 mv stage1-gas gas
44441 @endif gas
44442 @if gcc
44443 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
44444 mkdir stage1-gcc; \
44445 mv stage1-gcc gcc
44446 @endif gcc
44447 @if gmp
44448 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
44449 mkdir stage1-gmp; \
44450 mv stage1-gmp gmp
44451 @endif gmp
44452 @if mpfr
44453 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
44454 mkdir stage1-mpfr; \
44455 mv stage1-mpfr mpfr
44456 @endif mpfr
44457 @if intl
44458 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
44459 mkdir stage1-intl; \
44460 mv stage1-intl intl
44461 @endif intl
44462 @if ld
44463 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
44464 mkdir stage1-ld; \
44465 mv stage1-ld ld
44466 @endif ld
44467 @if libcpp
44468 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
44469 mkdir stage1-libcpp; \
44470 mv stage1-libcpp libcpp
44471 @endif libcpp
44472 @if libdecnumber
44473 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
44474 mkdir stage1-libdecnumber; \
44475 mv stage1-libdecnumber libdecnumber
44476 @endif libdecnumber
44477 @if libiberty
44478 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
44479 mkdir stage1-libiberty; \
44480 mv stage1-libiberty libiberty
44481 @endif libiberty
44482 @if zlib
44483 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
44484 mkdir stage1-zlib; \
44485 mv stage1-zlib zlib
44486 @endif zlib
44487 @[ -d stage1-$(TARGET_SUBDIR) ] || \
44488 mkdir stage1-$(TARGET_SUBDIR); \
44489 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
44491 stage1-end::
44492 @if bfd
44493 @if test -d $(HOST_SUBDIR)/bfd ; then \
44494 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
44496 @endif bfd
44497 @if opcodes
44498 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44499 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
44501 @endif opcodes
44502 @if binutils
44503 @if test -d $(HOST_SUBDIR)/binutils ; then \
44504 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
44506 @endif binutils
44507 @if gas
44508 @if test -d $(HOST_SUBDIR)/gas ; then \
44509 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
44511 @endif gas
44512 @if gcc
44513 @if test -d $(HOST_SUBDIR)/gcc ; then \
44514 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
44516 @endif gcc
44517 @if gmp
44518 @if test -d $(HOST_SUBDIR)/gmp ; then \
44519 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
44521 @endif gmp
44522 @if mpfr
44523 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44524 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
44526 @endif mpfr
44527 @if intl
44528 @if test -d $(HOST_SUBDIR)/intl ; then \
44529 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
44531 @endif intl
44532 @if ld
44533 @if test -d $(HOST_SUBDIR)/ld ; then \
44534 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
44536 @endif ld
44537 @if libcpp
44538 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44539 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
44541 @endif libcpp
44542 @if libdecnumber
44543 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44544 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
44546 @endif libdecnumber
44547 @if libiberty
44548 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44549 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
44551 @endif libiberty
44552 @if zlib
44553 @if test -d $(HOST_SUBDIR)/zlib ; then \
44554 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
44556 @endif zlib
44557 @if test -d $(TARGET_SUBDIR) ; then \
44558 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
44560 rm -f stage_current
44562 # Bubble a bugfix through all the stages up to stage 1. They are
44563 # remade, but not reconfigured. The next stage (if any) will not be
44564 # reconfigured as well.
44565 .PHONY: stage1-bubble
44566 stage1-bubble::
44567 @r=`${PWD_COMMAND}`; export r; \
44568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44569 if test -f stage1-lean ; then \
44570 echo Skipping rebuild of stage1 ; \
44571 else \
44572 $(MAKE) stage1-start; \
44573 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
44576 .PHONY: all-stage1 clean-stage1
44577 do-clean: clean-stage1
44579 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44580 # only possibility, but now it conflicts with no-bootstrap rules
44581 @if gcc-bootstrap
44586 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44588 .PHONY: distclean-stage1
44589 distclean-stage1::
44590 @: $(MAKE); $(stage)
44591 rm -rf stage1-*
44594 @endif gcc-bootstrap
44597 .PHONY: stage2-start stage2-end
44599 stage2-start::
44600 @: $(MAKE); $(stage); \
44601 echo stage2 > stage_current ; \
44602 echo stage2 > stage_last; \
44603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44604 @if bfd
44605 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
44606 mkdir stage2-bfd; \
44607 mv stage2-bfd bfd ; \
44608 mv stage1-bfd prev-bfd || test -f stage1-lean
44609 @endif bfd
44610 @if opcodes
44611 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
44612 mkdir stage2-opcodes; \
44613 mv stage2-opcodes opcodes ; \
44614 mv stage1-opcodes prev-opcodes || test -f stage1-lean
44615 @endif opcodes
44616 @if binutils
44617 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
44618 mkdir stage2-binutils; \
44619 mv stage2-binutils binutils ; \
44620 mv stage1-binutils prev-binutils || test -f stage1-lean
44621 @endif binutils
44622 @if gas
44623 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
44624 mkdir stage2-gas; \
44625 mv stage2-gas gas ; \
44626 mv stage1-gas prev-gas || test -f stage1-lean
44627 @endif gas
44628 @if gcc
44629 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
44630 mkdir stage2-gcc; \
44631 mv stage2-gcc gcc ; \
44632 mv stage1-gcc prev-gcc || test -f stage1-lean
44633 @endif gcc
44634 @if gmp
44635 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
44636 mkdir stage2-gmp; \
44637 mv stage2-gmp gmp ; \
44638 mv stage1-gmp prev-gmp || test -f stage1-lean
44639 @endif gmp
44640 @if mpfr
44641 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
44642 mkdir stage2-mpfr; \
44643 mv stage2-mpfr mpfr ; \
44644 mv stage1-mpfr prev-mpfr || test -f stage1-lean
44645 @endif mpfr
44646 @if intl
44647 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
44648 mkdir stage2-intl; \
44649 mv stage2-intl intl ; \
44650 mv stage1-intl prev-intl || test -f stage1-lean
44651 @endif intl
44652 @if ld
44653 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
44654 mkdir stage2-ld; \
44655 mv stage2-ld ld ; \
44656 mv stage1-ld prev-ld || test -f stage1-lean
44657 @endif ld
44658 @if libcpp
44659 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
44660 mkdir stage2-libcpp; \
44661 mv stage2-libcpp libcpp ; \
44662 mv stage1-libcpp prev-libcpp || test -f stage1-lean
44663 @endif libcpp
44664 @if libdecnumber
44665 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
44666 mkdir stage2-libdecnumber; \
44667 mv stage2-libdecnumber libdecnumber ; \
44668 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
44669 @endif libdecnumber
44670 @if libiberty
44671 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
44672 mkdir stage2-libiberty; \
44673 mv stage2-libiberty libiberty ; \
44674 mv stage1-libiberty prev-libiberty || test -f stage1-lean
44675 @endif libiberty
44676 @if zlib
44677 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
44678 mkdir stage2-zlib; \
44679 mv stage2-zlib zlib ; \
44680 mv stage1-zlib prev-zlib || test -f stage1-lean
44681 @endif zlib
44682 @[ -d stage2-$(TARGET_SUBDIR) ] || \
44683 mkdir stage2-$(TARGET_SUBDIR); \
44684 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44685 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
44687 stage2-end::
44688 @if bfd
44689 @if test -d $(HOST_SUBDIR)/bfd ; then \
44690 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
44691 mv prev-bfd stage1-bfd ; : ; \
44693 @endif bfd
44694 @if opcodes
44695 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44696 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
44697 mv prev-opcodes stage1-opcodes ; : ; \
44699 @endif opcodes
44700 @if binutils
44701 @if test -d $(HOST_SUBDIR)/binutils ; then \
44702 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
44703 mv prev-binutils stage1-binutils ; : ; \
44705 @endif binutils
44706 @if gas
44707 @if test -d $(HOST_SUBDIR)/gas ; then \
44708 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
44709 mv prev-gas stage1-gas ; : ; \
44711 @endif gas
44712 @if gcc
44713 @if test -d $(HOST_SUBDIR)/gcc ; then \
44714 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
44715 mv prev-gcc stage1-gcc ; : ; \
44717 @endif gcc
44718 @if gmp
44719 @if test -d $(HOST_SUBDIR)/gmp ; then \
44720 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
44721 mv prev-gmp stage1-gmp ; : ; \
44723 @endif gmp
44724 @if mpfr
44725 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44726 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
44727 mv prev-mpfr stage1-mpfr ; : ; \
44729 @endif mpfr
44730 @if intl
44731 @if test -d $(HOST_SUBDIR)/intl ; then \
44732 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
44733 mv prev-intl stage1-intl ; : ; \
44735 @endif intl
44736 @if ld
44737 @if test -d $(HOST_SUBDIR)/ld ; then \
44738 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
44739 mv prev-ld stage1-ld ; : ; \
44741 @endif ld
44742 @if libcpp
44743 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44744 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
44745 mv prev-libcpp stage1-libcpp ; : ; \
44747 @endif libcpp
44748 @if libdecnumber
44749 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44750 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
44751 mv prev-libdecnumber stage1-libdecnumber ; : ; \
44753 @endif libdecnumber
44754 @if libiberty
44755 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44756 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
44757 mv prev-libiberty stage1-libiberty ; : ; \
44759 @endif libiberty
44760 @if zlib
44761 @if test -d $(HOST_SUBDIR)/zlib ; then \
44762 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
44763 mv prev-zlib stage1-zlib ; : ; \
44765 @endif zlib
44766 @if test -d $(TARGET_SUBDIR) ; then \
44767 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
44768 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
44770 rm -f stage_current
44772 # Bubble a bugfix through all the stages up to stage 2. They are
44773 # remade, but not reconfigured. The next stage (if any) will not be
44774 # reconfigured as well.
44775 .PHONY: stage2-bubble
44776 stage2-bubble:: stage1-bubble
44777 @r=`${PWD_COMMAND}`; export r; \
44778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44779 if test -f stage2-lean || test -f stage1-lean ; then \
44780 echo Skipping rebuild of stage2 ; \
44781 else \
44782 $(MAKE) stage2-start; \
44783 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
44786 .PHONY: all-stage2 clean-stage2
44787 do-clean: clean-stage2
44789 # FIXME: Will not need to be conditional when toplevel bootstrap is the
44790 # only possibility, but now it conflicts with no-bootstrap rules
44791 @if gcc-bootstrap
44795 .PHONY: bootstrap2 bootstrap2-lean
44796 bootstrap2:
44797 echo stage2 > stage_final
44798 @r=`${PWD_COMMAND}`; export r; \
44799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44800 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
44801 @: $(MAKE); $(unstage)
44802 @r=`${PWD_COMMAND}`; export r; \
44803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44804 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44806 bootstrap2-lean:
44807 echo stage2 > stage_final
44808 @r=`${PWD_COMMAND}`; export r; \
44809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44810 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
44811 @: $(MAKE); $(unstage)
44812 @r=`${PWD_COMMAND}`; export r; \
44813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44814 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
44817 # Rules to wipe a stage and all the following ones, also used for cleanstrap
44818 distclean-stage1:: distclean-stage2
44819 .PHONY: distclean-stage2
44820 distclean-stage2::
44821 @: $(MAKE); $(stage)
44822 rm -rf stage2-*
44825 @endif gcc-bootstrap
44828 .PHONY: stage3-start stage3-end
44830 stage3-start::
44831 @: $(MAKE); $(stage); \
44832 echo stage3 > stage_current ; \
44833 echo stage3 > stage_last; \
44834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
44835 @if bfd
44836 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
44837 mkdir stage3-bfd; \
44838 mv stage3-bfd bfd ; \
44839 mv stage2-bfd prev-bfd || test -f stage2-lean
44840 @endif bfd
44841 @if opcodes
44842 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
44843 mkdir stage3-opcodes; \
44844 mv stage3-opcodes opcodes ; \
44845 mv stage2-opcodes prev-opcodes || test -f stage2-lean
44846 @endif opcodes
44847 @if binutils
44848 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
44849 mkdir stage3-binutils; \
44850 mv stage3-binutils binutils ; \
44851 mv stage2-binutils prev-binutils || test -f stage2-lean
44852 @endif binutils
44853 @if gas
44854 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
44855 mkdir stage3-gas; \
44856 mv stage3-gas gas ; \
44857 mv stage2-gas prev-gas || test -f stage2-lean
44858 @endif gas
44859 @if gcc
44860 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
44861 mkdir stage3-gcc; \
44862 mv stage3-gcc gcc ; \
44863 mv stage2-gcc prev-gcc || test -f stage2-lean
44864 @endif gcc
44865 @if gmp
44866 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
44867 mkdir stage3-gmp; \
44868 mv stage3-gmp gmp ; \
44869 mv stage2-gmp prev-gmp || test -f stage2-lean
44870 @endif gmp
44871 @if mpfr
44872 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
44873 mkdir stage3-mpfr; \
44874 mv stage3-mpfr mpfr ; \
44875 mv stage2-mpfr prev-mpfr || test -f stage2-lean
44876 @endif mpfr
44877 @if intl
44878 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
44879 mkdir stage3-intl; \
44880 mv stage3-intl intl ; \
44881 mv stage2-intl prev-intl || test -f stage2-lean
44882 @endif intl
44883 @if ld
44884 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
44885 mkdir stage3-ld; \
44886 mv stage3-ld ld ; \
44887 mv stage2-ld prev-ld || test -f stage2-lean
44888 @endif ld
44889 @if libcpp
44890 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
44891 mkdir stage3-libcpp; \
44892 mv stage3-libcpp libcpp ; \
44893 mv stage2-libcpp prev-libcpp || test -f stage2-lean
44894 @endif libcpp
44895 @if libdecnumber
44896 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
44897 mkdir stage3-libdecnumber; \
44898 mv stage3-libdecnumber libdecnumber ; \
44899 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
44900 @endif libdecnumber
44901 @if libiberty
44902 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
44903 mkdir stage3-libiberty; \
44904 mv stage3-libiberty libiberty ; \
44905 mv stage2-libiberty prev-libiberty || test -f stage2-lean
44906 @endif libiberty
44907 @if zlib
44908 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
44909 mkdir stage3-zlib; \
44910 mv stage3-zlib zlib ; \
44911 mv stage2-zlib prev-zlib || test -f stage2-lean
44912 @endif zlib
44913 @[ -d stage3-$(TARGET_SUBDIR) ] || \
44914 mkdir stage3-$(TARGET_SUBDIR); \
44915 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
44916 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
44918 stage3-end::
44919 @if bfd
44920 @if test -d $(HOST_SUBDIR)/bfd ; then \
44921 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
44922 mv prev-bfd stage2-bfd ; : ; \
44924 @endif bfd
44925 @if opcodes
44926 @if test -d $(HOST_SUBDIR)/opcodes ; then \
44927 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
44928 mv prev-opcodes stage2-opcodes ; : ; \
44930 @endif opcodes
44931 @if binutils
44932 @if test -d $(HOST_SUBDIR)/binutils ; then \
44933 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
44934 mv prev-binutils stage2-binutils ; : ; \
44936 @endif binutils
44937 @if gas
44938 @if test -d $(HOST_SUBDIR)/gas ; then \
44939 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
44940 mv prev-gas stage2-gas ; : ; \
44942 @endif gas
44943 @if gcc
44944 @if test -d $(HOST_SUBDIR)/gcc ; then \
44945 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
44946 mv prev-gcc stage2-gcc ; : ; \
44948 @endif gcc
44949 @if gmp
44950 @if test -d $(HOST_SUBDIR)/gmp ; then \
44951 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
44952 mv prev-gmp stage2-gmp ; : ; \
44954 @endif gmp
44955 @if mpfr
44956 @if test -d $(HOST_SUBDIR)/mpfr ; then \
44957 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
44958 mv prev-mpfr stage2-mpfr ; : ; \
44960 @endif mpfr
44961 @if intl
44962 @if test -d $(HOST_SUBDIR)/intl ; then \
44963 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
44964 mv prev-intl stage2-intl ; : ; \
44966 @endif intl
44967 @if ld
44968 @if test -d $(HOST_SUBDIR)/ld ; then \
44969 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
44970 mv prev-ld stage2-ld ; : ; \
44972 @endif ld
44973 @if libcpp
44974 @if test -d $(HOST_SUBDIR)/libcpp ; then \
44975 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
44976 mv prev-libcpp stage2-libcpp ; : ; \
44978 @endif libcpp
44979 @if libdecnumber
44980 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
44981 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
44982 mv prev-libdecnumber stage2-libdecnumber ; : ; \
44984 @endif libdecnumber
44985 @if libiberty
44986 @if test -d $(HOST_SUBDIR)/libiberty ; then \
44987 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
44988 mv prev-libiberty stage2-libiberty ; : ; \
44990 @endif libiberty
44991 @if zlib
44992 @if test -d $(HOST_SUBDIR)/zlib ; then \
44993 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
44994 mv prev-zlib stage2-zlib ; : ; \
44996 @endif zlib
44997 @if test -d $(TARGET_SUBDIR) ; then \
44998 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
44999 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
45001 rm -f stage_current
45003 # Bubble a bugfix through all the stages up to stage 3. They are
45004 # remade, but not reconfigured. The next stage (if any) will not be
45005 # reconfigured as well.
45006 .PHONY: stage3-bubble
45007 stage3-bubble:: stage2-bubble
45008 @r=`${PWD_COMMAND}`; export r; \
45009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45010 if test -f stage3-lean || test -f stage2-lean ; then \
45011 echo Skipping rebuild of stage3 ; \
45012 else \
45013 $(MAKE) stage3-start; \
45014 if $(LEAN); then \
45015 rm -rf stage1-* ; \
45016 $(STAMP) stage1-lean ; \
45017 fi; \
45018 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
45020 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
45022 .PHONY: all-stage3 clean-stage3
45023 do-clean: clean-stage3
45025 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45026 # only possibility, but now it conflicts with no-bootstrap rules
45027 @if gcc-bootstrap
45029 compare:
45030 @r=`${PWD_COMMAND}`; export r; \
45031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45032 if test -f stage2-lean; then \
45033 echo Cannot compare object files as stage 2 was deleted. ; \
45034 exit 0 ; \
45035 fi; \
45036 : $(MAKE); $(stage); \
45037 rm -f .bad_compare ; \
45038 echo Comparing stages 2 and 3 ; \
45039 cd stage3-gcc; \
45040 files=`find . -name "*$(objext)" -print` ; \
45041 cd .. ; \
45042 for file in $${files} ; do \
45043 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
45044 @do_compare@ > /dev/null 2>&1; \
45045 if test $$? -eq 1; then \
45046 case $$file in \
45047 ./cc*-checksum$(objext) | ./libgcc/* ) \
45048 echo warning: $$file differs ;; \
45049 *) \
45050 echo $$file differs >> .bad_compare ;; \
45051 esac ; \
45052 fi ; \
45053 done ; \
45054 if [ -f .bad_compare ]; then \
45055 echo "Bootstrap comparison failure!"; \
45056 cat .bad_compare; \
45057 exit 1; \
45058 else \
45059 echo Comparison successful.; \
45060 fi ; \
45061 $(STAMP) compare
45062 if $(LEAN); then \
45063 rm -rf stage2-*; \
45064 $(STAMP) stage2-lean; \
45069 .PHONY: bootstrap bootstrap-lean
45070 bootstrap:
45071 echo stage3 > stage_final
45072 @r=`${PWD_COMMAND}`; export r; \
45073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45074 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
45075 @: $(MAKE); $(unstage)
45076 @r=`${PWD_COMMAND}`; export r; \
45077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45078 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45080 bootstrap-lean:
45081 echo stage3 > stage_final
45082 @r=`${PWD_COMMAND}`; export r; \
45083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45084 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
45085 @: $(MAKE); $(unstage)
45086 @r=`${PWD_COMMAND}`; export r; \
45087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45088 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45091 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45092 distclean-stage2:: distclean-stage3
45093 .PHONY: distclean-stage3
45094 distclean-stage3::
45095 @: $(MAKE); $(stage)
45096 rm -rf stage3-* compare
45099 .PHONY: cleanstrap
45100 cleanstrap: distclean bootstrap
45102 @endif gcc-bootstrap
45105 .PHONY: stage4-start stage4-end
45107 stage4-start::
45108 @: $(MAKE); $(stage); \
45109 echo stage4 > stage_current ; \
45110 echo stage4 > stage_last; \
45111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45112 @if bfd
45113 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
45114 mkdir stage4-bfd; \
45115 mv stage4-bfd bfd ; \
45116 mv stage3-bfd prev-bfd || test -f stage3-lean
45117 @endif bfd
45118 @if opcodes
45119 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
45120 mkdir stage4-opcodes; \
45121 mv stage4-opcodes opcodes ; \
45122 mv stage3-opcodes prev-opcodes || test -f stage3-lean
45123 @endif opcodes
45124 @if binutils
45125 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
45126 mkdir stage4-binutils; \
45127 mv stage4-binutils binutils ; \
45128 mv stage3-binutils prev-binutils || test -f stage3-lean
45129 @endif binutils
45130 @if gas
45131 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
45132 mkdir stage4-gas; \
45133 mv stage4-gas gas ; \
45134 mv stage3-gas prev-gas || test -f stage3-lean
45135 @endif gas
45136 @if gcc
45137 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
45138 mkdir stage4-gcc; \
45139 mv stage4-gcc gcc ; \
45140 mv stage3-gcc prev-gcc || test -f stage3-lean
45141 @endif gcc
45142 @if gmp
45143 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
45144 mkdir stage4-gmp; \
45145 mv stage4-gmp gmp ; \
45146 mv stage3-gmp prev-gmp || test -f stage3-lean
45147 @endif gmp
45148 @if mpfr
45149 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
45150 mkdir stage4-mpfr; \
45151 mv stage4-mpfr mpfr ; \
45152 mv stage3-mpfr prev-mpfr || test -f stage3-lean
45153 @endif mpfr
45154 @if intl
45155 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
45156 mkdir stage4-intl; \
45157 mv stage4-intl intl ; \
45158 mv stage3-intl prev-intl || test -f stage3-lean
45159 @endif intl
45160 @if ld
45161 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
45162 mkdir stage4-ld; \
45163 mv stage4-ld ld ; \
45164 mv stage3-ld prev-ld || test -f stage3-lean
45165 @endif ld
45166 @if libcpp
45167 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
45168 mkdir stage4-libcpp; \
45169 mv stage4-libcpp libcpp ; \
45170 mv stage3-libcpp prev-libcpp || test -f stage3-lean
45171 @endif libcpp
45172 @if libdecnumber
45173 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
45174 mkdir stage4-libdecnumber; \
45175 mv stage4-libdecnumber libdecnumber ; \
45176 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
45177 @endif libdecnumber
45178 @if libiberty
45179 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
45180 mkdir stage4-libiberty; \
45181 mv stage4-libiberty libiberty ; \
45182 mv stage3-libiberty prev-libiberty || test -f stage3-lean
45183 @endif libiberty
45184 @if zlib
45185 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
45186 mkdir stage4-zlib; \
45187 mv stage4-zlib zlib ; \
45188 mv stage3-zlib prev-zlib || test -f stage3-lean
45189 @endif zlib
45190 @[ -d stage4-$(TARGET_SUBDIR) ] || \
45191 mkdir stage4-$(TARGET_SUBDIR); \
45192 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45193 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
45195 stage4-end::
45196 @if bfd
45197 @if test -d $(HOST_SUBDIR)/bfd ; then \
45198 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
45199 mv prev-bfd stage3-bfd ; : ; \
45201 @endif bfd
45202 @if opcodes
45203 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45204 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
45205 mv prev-opcodes stage3-opcodes ; : ; \
45207 @endif opcodes
45208 @if binutils
45209 @if test -d $(HOST_SUBDIR)/binutils ; then \
45210 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
45211 mv prev-binutils stage3-binutils ; : ; \
45213 @endif binutils
45214 @if gas
45215 @if test -d $(HOST_SUBDIR)/gas ; then \
45216 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
45217 mv prev-gas stage3-gas ; : ; \
45219 @endif gas
45220 @if gcc
45221 @if test -d $(HOST_SUBDIR)/gcc ; then \
45222 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
45223 mv prev-gcc stage3-gcc ; : ; \
45225 @endif gcc
45226 @if gmp
45227 @if test -d $(HOST_SUBDIR)/gmp ; then \
45228 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
45229 mv prev-gmp stage3-gmp ; : ; \
45231 @endif gmp
45232 @if mpfr
45233 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45234 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
45235 mv prev-mpfr stage3-mpfr ; : ; \
45237 @endif mpfr
45238 @if intl
45239 @if test -d $(HOST_SUBDIR)/intl ; then \
45240 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
45241 mv prev-intl stage3-intl ; : ; \
45243 @endif intl
45244 @if ld
45245 @if test -d $(HOST_SUBDIR)/ld ; then \
45246 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
45247 mv prev-ld stage3-ld ; : ; \
45249 @endif ld
45250 @if libcpp
45251 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45252 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
45253 mv prev-libcpp stage3-libcpp ; : ; \
45255 @endif libcpp
45256 @if libdecnumber
45257 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45258 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
45259 mv prev-libdecnumber stage3-libdecnumber ; : ; \
45261 @endif libdecnumber
45262 @if libiberty
45263 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45264 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
45265 mv prev-libiberty stage3-libiberty ; : ; \
45267 @endif libiberty
45268 @if zlib
45269 @if test -d $(HOST_SUBDIR)/zlib ; then \
45270 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
45271 mv prev-zlib stage3-zlib ; : ; \
45273 @endif zlib
45274 @if test -d $(TARGET_SUBDIR) ; then \
45275 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
45276 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
45278 rm -f stage_current
45280 # Bubble a bugfix through all the stages up to stage 4. They are
45281 # remade, but not reconfigured. The next stage (if any) will not be
45282 # reconfigured as well.
45283 .PHONY: stage4-bubble
45284 stage4-bubble:: stage3-bubble
45285 @r=`${PWD_COMMAND}`; export r; \
45286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45287 if test -f stage4-lean || test -f stage3-lean ; then \
45288 echo Skipping rebuild of stage4 ; \
45289 else \
45290 $(MAKE) stage4-start; \
45291 if $(LEAN); then \
45292 rm -rf stage2-* ; \
45293 $(STAMP) stage2-lean ; \
45294 fi; \
45295 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
45297 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
45299 .PHONY: all-stage4 clean-stage4
45300 do-clean: clean-stage4
45302 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45303 # only possibility, but now it conflicts with no-bootstrap rules
45304 @if gcc-bootstrap
45306 compare3:
45307 @r=`${PWD_COMMAND}`; export r; \
45308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45309 if test -f stage3-lean; then \
45310 echo Cannot compare object files as stage 3 was deleted. ; \
45311 exit 0 ; \
45312 fi; \
45313 : $(MAKE); $(stage); \
45314 rm -f .bad_compare ; \
45315 echo Comparing stages 3 and 4 ; \
45316 cd stage4-gcc; \
45317 files=`find . -name "*$(objext)" -print` ; \
45318 cd .. ; \
45319 for file in $${files} ; do \
45320 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
45321 @do_compare@ > /dev/null 2>&1; \
45322 if test $$? -eq 1; then \
45323 case $$file in \
45324 ./cc*-checksum$(objext) | ./libgcc/* ) \
45325 echo warning: $$file differs ;; \
45326 *) \
45327 echo $$file differs >> .bad_compare ;; \
45328 esac ; \
45329 fi ; \
45330 done ; \
45331 if [ -f .bad_compare ]; then \
45332 echo "Bootstrap comparison failure!"; \
45333 cat .bad_compare; \
45334 exit 1; \
45335 else \
45336 echo Comparison successful.; \
45337 fi ; \
45338 $(STAMP) compare3
45339 if $(LEAN); then \
45340 rm -rf stage3-*; \
45341 $(STAMP) stage3-lean; \
45346 .PHONY: bootstrap4 bootstrap4-lean
45347 bootstrap4:
45348 echo stage4 > stage_final
45349 @r=`${PWD_COMMAND}`; export r; \
45350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45351 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
45352 @: $(MAKE); $(unstage)
45353 @r=`${PWD_COMMAND}`; export r; \
45354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45355 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45357 bootstrap4-lean:
45358 echo stage4 > stage_final
45359 @r=`${PWD_COMMAND}`; export r; \
45360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45361 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
45362 @: $(MAKE); $(unstage)
45363 @r=`${PWD_COMMAND}`; export r; \
45364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45365 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45368 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45369 distclean-stage3:: distclean-stage4
45370 .PHONY: distclean-stage4
45371 distclean-stage4::
45372 @: $(MAKE); $(stage)
45373 rm -rf stage4-* compare3
45376 @endif gcc-bootstrap
45379 .PHONY: stageprofile-start stageprofile-end
45381 stageprofile-start::
45382 @: $(MAKE); $(stage); \
45383 echo stageprofile > stage_current ; \
45384 echo stageprofile > stage_last; \
45385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45386 @if bfd
45387 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
45388 mkdir stageprofile-bfd; \
45389 mv stageprofile-bfd bfd ; \
45390 mv stage1-bfd prev-bfd || test -f stage1-lean
45391 @endif bfd
45392 @if opcodes
45393 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
45394 mkdir stageprofile-opcodes; \
45395 mv stageprofile-opcodes opcodes ; \
45396 mv stage1-opcodes prev-opcodes || test -f stage1-lean
45397 @endif opcodes
45398 @if binutils
45399 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
45400 mkdir stageprofile-binutils; \
45401 mv stageprofile-binutils binutils ; \
45402 mv stage1-binutils prev-binutils || test -f stage1-lean
45403 @endif binutils
45404 @if gas
45405 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
45406 mkdir stageprofile-gas; \
45407 mv stageprofile-gas gas ; \
45408 mv stage1-gas prev-gas || test -f stage1-lean
45409 @endif gas
45410 @if gcc
45411 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
45412 mkdir stageprofile-gcc; \
45413 mv stageprofile-gcc gcc ; \
45414 mv stage1-gcc prev-gcc || test -f stage1-lean
45415 @endif gcc
45416 @if gmp
45417 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
45418 mkdir stageprofile-gmp; \
45419 mv stageprofile-gmp gmp ; \
45420 mv stage1-gmp prev-gmp || test -f stage1-lean
45421 @endif gmp
45422 @if mpfr
45423 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
45424 mkdir stageprofile-mpfr; \
45425 mv stageprofile-mpfr mpfr ; \
45426 mv stage1-mpfr prev-mpfr || test -f stage1-lean
45427 @endif mpfr
45428 @if intl
45429 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
45430 mkdir stageprofile-intl; \
45431 mv stageprofile-intl intl ; \
45432 mv stage1-intl prev-intl || test -f stage1-lean
45433 @endif intl
45434 @if ld
45435 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
45436 mkdir stageprofile-ld; \
45437 mv stageprofile-ld ld ; \
45438 mv stage1-ld prev-ld || test -f stage1-lean
45439 @endif ld
45440 @if libcpp
45441 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
45442 mkdir stageprofile-libcpp; \
45443 mv stageprofile-libcpp libcpp ; \
45444 mv stage1-libcpp prev-libcpp || test -f stage1-lean
45445 @endif libcpp
45446 @if libdecnumber
45447 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
45448 mkdir stageprofile-libdecnumber; \
45449 mv stageprofile-libdecnumber libdecnumber ; \
45450 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
45451 @endif libdecnumber
45452 @if libiberty
45453 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
45454 mkdir stageprofile-libiberty; \
45455 mv stageprofile-libiberty libiberty ; \
45456 mv stage1-libiberty prev-libiberty || test -f stage1-lean
45457 @endif libiberty
45458 @if zlib
45459 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
45460 mkdir stageprofile-zlib; \
45461 mv stageprofile-zlib zlib ; \
45462 mv stage1-zlib prev-zlib || test -f stage1-lean
45463 @endif zlib
45464 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
45465 mkdir stageprofile-$(TARGET_SUBDIR); \
45466 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45467 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
45469 stageprofile-end::
45470 @if bfd
45471 @if test -d $(HOST_SUBDIR)/bfd ; then \
45472 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
45473 mv prev-bfd stage1-bfd ; : ; \
45475 @endif bfd
45476 @if opcodes
45477 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45478 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
45479 mv prev-opcodes stage1-opcodes ; : ; \
45481 @endif opcodes
45482 @if binutils
45483 @if test -d $(HOST_SUBDIR)/binutils ; then \
45484 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
45485 mv prev-binutils stage1-binutils ; : ; \
45487 @endif binutils
45488 @if gas
45489 @if test -d $(HOST_SUBDIR)/gas ; then \
45490 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
45491 mv prev-gas stage1-gas ; : ; \
45493 @endif gas
45494 @if gcc
45495 @if test -d $(HOST_SUBDIR)/gcc ; then \
45496 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
45497 mv prev-gcc stage1-gcc ; : ; \
45499 @endif gcc
45500 @if gmp
45501 @if test -d $(HOST_SUBDIR)/gmp ; then \
45502 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
45503 mv prev-gmp stage1-gmp ; : ; \
45505 @endif gmp
45506 @if mpfr
45507 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45508 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
45509 mv prev-mpfr stage1-mpfr ; : ; \
45511 @endif mpfr
45512 @if intl
45513 @if test -d $(HOST_SUBDIR)/intl ; then \
45514 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
45515 mv prev-intl stage1-intl ; : ; \
45517 @endif intl
45518 @if ld
45519 @if test -d $(HOST_SUBDIR)/ld ; then \
45520 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
45521 mv prev-ld stage1-ld ; : ; \
45523 @endif ld
45524 @if libcpp
45525 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45526 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
45527 mv prev-libcpp stage1-libcpp ; : ; \
45529 @endif libcpp
45530 @if libdecnumber
45531 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45532 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
45533 mv prev-libdecnumber stage1-libdecnumber ; : ; \
45535 @endif libdecnumber
45536 @if libiberty
45537 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45538 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
45539 mv prev-libiberty stage1-libiberty ; : ; \
45541 @endif libiberty
45542 @if zlib
45543 @if test -d $(HOST_SUBDIR)/zlib ; then \
45544 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
45545 mv prev-zlib stage1-zlib ; : ; \
45547 @endif zlib
45548 @if test -d $(TARGET_SUBDIR) ; then \
45549 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
45550 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
45552 rm -f stage_current
45554 # Bubble a bugfix through all the stages up to stage profile. They are
45555 # remade, but not reconfigured. The next stage (if any) will not be
45556 # reconfigured as well.
45557 .PHONY: stageprofile-bubble
45558 stageprofile-bubble:: stage1-bubble
45559 @r=`${PWD_COMMAND}`; export r; \
45560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45561 if test -f stageprofile-lean || test -f stage1-lean ; then \
45562 echo Skipping rebuild of stageprofile ; \
45563 else \
45564 $(MAKE) stageprofile-start; \
45565 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
45568 .PHONY: all-stageprofile clean-stageprofile
45569 do-clean: clean-stageprofile
45571 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45572 # only possibility, but now it conflicts with no-bootstrap rules
45573 @if gcc-bootstrap
45578 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45579 distclean-stage1:: distclean-stageprofile
45580 .PHONY: distclean-stageprofile
45581 distclean-stageprofile::
45582 @: $(MAKE); $(stage)
45583 rm -rf stageprofile-*
45586 @endif gcc-bootstrap
45589 .PHONY: stagefeedback-start stagefeedback-end
45591 stagefeedback-start::
45592 @: $(MAKE); $(stage); \
45593 echo stagefeedback > stage_current ; \
45594 echo stagefeedback > stage_last; \
45595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45596 @if bfd
45597 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
45598 mkdir stagefeedback-bfd; \
45599 mv stagefeedback-bfd bfd ; \
45600 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
45601 @endif bfd
45602 @if opcodes
45603 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
45604 mkdir stagefeedback-opcodes; \
45605 mv stagefeedback-opcodes opcodes ; \
45606 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
45607 @endif opcodes
45608 @if binutils
45609 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
45610 mkdir stagefeedback-binutils; \
45611 mv stagefeedback-binutils binutils ; \
45612 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
45613 @endif binutils
45614 @if gas
45615 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
45616 mkdir stagefeedback-gas; \
45617 mv stagefeedback-gas gas ; \
45618 mv stageprofile-gas prev-gas || test -f stageprofile-lean
45619 @endif gas
45620 @if gcc
45621 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
45622 mkdir stagefeedback-gcc; \
45623 mv stagefeedback-gcc gcc ; \
45624 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
45625 @endif gcc
45626 @if gmp
45627 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
45628 mkdir stagefeedback-gmp; \
45629 mv stagefeedback-gmp gmp ; \
45630 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
45631 @endif gmp
45632 @if mpfr
45633 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
45634 mkdir stagefeedback-mpfr; \
45635 mv stagefeedback-mpfr mpfr ; \
45636 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
45637 @endif mpfr
45638 @if intl
45639 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
45640 mkdir stagefeedback-intl; \
45641 mv stagefeedback-intl intl ; \
45642 mv stageprofile-intl prev-intl || test -f stageprofile-lean
45643 @endif intl
45644 @if ld
45645 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
45646 mkdir stagefeedback-ld; \
45647 mv stagefeedback-ld ld ; \
45648 mv stageprofile-ld prev-ld || test -f stageprofile-lean
45649 @endif ld
45650 @if libcpp
45651 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
45652 mkdir stagefeedback-libcpp; \
45653 mv stagefeedback-libcpp libcpp ; \
45654 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
45655 @endif libcpp
45656 @if libdecnumber
45657 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
45658 mkdir stagefeedback-libdecnumber; \
45659 mv stagefeedback-libdecnumber libdecnumber ; \
45660 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
45661 @endif libdecnumber
45662 @if libiberty
45663 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
45664 mkdir stagefeedback-libiberty; \
45665 mv stagefeedback-libiberty libiberty ; \
45666 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
45667 @endif libiberty
45668 @if zlib
45669 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
45670 mkdir stagefeedback-zlib; \
45671 mv stagefeedback-zlib zlib ; \
45672 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
45673 @endif zlib
45674 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
45675 mkdir stagefeedback-$(TARGET_SUBDIR); \
45676 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
45677 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
45679 stagefeedback-end::
45680 @if bfd
45681 @if test -d $(HOST_SUBDIR)/bfd ; then \
45682 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
45683 mv prev-bfd stageprofile-bfd ; : ; \
45685 @endif bfd
45686 @if opcodes
45687 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45688 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
45689 mv prev-opcodes stageprofile-opcodes ; : ; \
45691 @endif opcodes
45692 @if binutils
45693 @if test -d $(HOST_SUBDIR)/binutils ; then \
45694 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
45695 mv prev-binutils stageprofile-binutils ; : ; \
45697 @endif binutils
45698 @if gas
45699 @if test -d $(HOST_SUBDIR)/gas ; then \
45700 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
45701 mv prev-gas stageprofile-gas ; : ; \
45703 @endif gas
45704 @if gcc
45705 @if test -d $(HOST_SUBDIR)/gcc ; then \
45706 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
45707 mv prev-gcc stageprofile-gcc ; : ; \
45709 @endif gcc
45710 @if gmp
45711 @if test -d $(HOST_SUBDIR)/gmp ; then \
45712 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
45713 mv prev-gmp stageprofile-gmp ; : ; \
45715 @endif gmp
45716 @if mpfr
45717 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45718 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
45719 mv prev-mpfr stageprofile-mpfr ; : ; \
45721 @endif mpfr
45722 @if intl
45723 @if test -d $(HOST_SUBDIR)/intl ; then \
45724 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
45725 mv prev-intl stageprofile-intl ; : ; \
45727 @endif intl
45728 @if ld
45729 @if test -d $(HOST_SUBDIR)/ld ; then \
45730 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
45731 mv prev-ld stageprofile-ld ; : ; \
45733 @endif ld
45734 @if libcpp
45735 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45736 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
45737 mv prev-libcpp stageprofile-libcpp ; : ; \
45739 @endif libcpp
45740 @if libdecnumber
45741 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45742 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
45743 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
45745 @endif libdecnumber
45746 @if libiberty
45747 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45748 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
45749 mv prev-libiberty stageprofile-libiberty ; : ; \
45751 @endif libiberty
45752 @if zlib
45753 @if test -d $(HOST_SUBDIR)/zlib ; then \
45754 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
45755 mv prev-zlib stageprofile-zlib ; : ; \
45757 @endif zlib
45758 @if test -d $(TARGET_SUBDIR) ; then \
45759 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
45760 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
45762 rm -f stage_current
45764 # Bubble a bugfix through all the stages up to stage feedback. They are
45765 # remade, but not reconfigured. The next stage (if any) will not be
45766 # reconfigured as well.
45767 .PHONY: stagefeedback-bubble
45768 stagefeedback-bubble:: stageprofile-bubble
45769 @r=`${PWD_COMMAND}`; export r; \
45770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45771 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
45772 echo Skipping rebuild of stagefeedback ; \
45773 else \
45774 $(MAKE) stagefeedback-start; \
45775 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
45778 .PHONY: all-stagefeedback clean-stagefeedback
45779 do-clean: clean-stagefeedback
45781 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45782 # only possibility, but now it conflicts with no-bootstrap rules
45783 @if gcc-bootstrap
45787 .PHONY: profiledbootstrap profiledbootstrap-lean
45788 profiledbootstrap:
45789 echo stagefeedback > stage_final
45790 @r=`${PWD_COMMAND}`; export r; \
45791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45792 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
45793 @: $(MAKE); $(unstage)
45794 @r=`${PWD_COMMAND}`; export r; \
45795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45796 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45798 profiledbootstrap-lean:
45799 echo stagefeedback > stage_final
45800 @r=`${PWD_COMMAND}`; export r; \
45801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45802 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
45803 @: $(MAKE); $(unstage)
45804 @r=`${PWD_COMMAND}`; export r; \
45805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45806 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
45809 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45810 distclean-stageprofile:: distclean-stagefeedback
45811 .PHONY: distclean-stagefeedback
45812 distclean-stagefeedback::
45813 @: $(MAKE); $(stage)
45814 rm -rf stagefeedback-*
45817 @endif gcc-bootstrap
45821 stageprofile-end::
45822 $(MAKE) distclean-stagefeedback
45824 stagefeedback-start::
45825 @r=`${PWD_COMMAND}`; export r; \
45826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45827 for i in prev-*; do \
45828 j=`echo $$i | sed s/^prev-//` ; \
45829 cd $$r/$$i && \
45830 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
45831 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
45832 done
45834 @if gcc-bootstrap
45835 do-distclean: distclean-stage1
45837 # Provide a GCC build when we're building target libraries. This does
45838 # not work as a dependency, just as the minimum necessary to avoid errors.
45839 stage_last:
45840 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
45842 # Same as unstage, but not phony and defaulting to stage1-start. We place
45843 # it in the dependency so that for example `make -j3 all-gcc' works.
45844 stage_current:
45845 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
45847 .PHONY: restrap
45848 restrap:
45849 @: $(MAKE); $(stage)
45850 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
45851 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
45852 @endif gcc-bootstrap
45854 # --------------------------------------
45855 # Dependencies between different modules
45856 # --------------------------------------
45858 # Generic dependencies for target modules on host stuff, especially gcc
45859 @if gcc-bootstrap
45860 configure-target-libstdc++-v3: stage_last
45861 configure-target-libmudflap: stage_last
45862 configure-target-libssp: stage_last
45863 configure-target-newlib: stage_last
45864 configure-stage1-target-libgcc: maybe-all-stage1-gcc
45865 configure-stage2-target-libgcc: maybe-all-stage2-gcc
45866 configure-stage3-target-libgcc: maybe-all-stage3-gcc
45867 configure-stage4-target-libgcc: maybe-all-stage4-gcc
45868 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
45869 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
45870 configure-target-libgfortran: stage_last
45871 configure-target-libobjc: stage_last
45872 configure-target-libtermcap: stage_last
45873 configure-target-winsup: stage_last
45874 configure-target-libgloss: stage_last
45875 configure-target-libiberty: stage_last
45876 configure-target-gperf: stage_last
45877 configure-target-examples: stage_last
45878 configure-target-libffi: stage_last
45879 configure-target-libjava: stage_last
45880 configure-target-zlib: stage_last
45881 configure-target-boehm-gc: stage_last
45882 configure-target-qthreads: stage_last
45883 configure-target-rda: stage_last
45884 configure-target-libada: stage_last
45885 configure-target-libgomp: stage_last
45886 @endif gcc-bootstrap
45888 @if gcc-no-bootstrap
45889 configure-target-libstdc++-v3: maybe-all-gcc
45890 configure-target-libmudflap: maybe-all-gcc
45891 configure-target-libssp: maybe-all-gcc
45892 configure-target-newlib: maybe-all-gcc
45893 configure-target-libgcc: maybe-all-gcc
45894 configure-target-libgfortran: maybe-all-gcc
45895 configure-target-libobjc: maybe-all-gcc
45896 configure-target-libtermcap: maybe-all-gcc
45897 configure-target-winsup: maybe-all-gcc
45898 configure-target-libgloss: maybe-all-gcc
45899 configure-target-libiberty: maybe-all-gcc
45900 configure-target-gperf: maybe-all-gcc
45901 configure-target-examples: maybe-all-gcc
45902 configure-target-libffi: maybe-all-gcc
45903 configure-target-libjava: maybe-all-gcc
45904 configure-target-zlib: maybe-all-gcc
45905 configure-target-boehm-gc: maybe-all-gcc
45906 configure-target-qthreads: maybe-all-gcc
45907 configure-target-rda: maybe-all-gcc
45908 configure-target-libada: maybe-all-gcc
45909 configure-target-libgomp: maybe-all-gcc
45910 @endif gcc-no-bootstrap
45913 # There are two types of dependencies here: 'hard' dependencies, where one
45914 # module simply won't build without the other; and 'soft' dependencies, where
45915 # if the depended-on module is missing, the depending module will do without
45916 # or find a substitute somewhere (perhaps installed). Soft dependencies
45917 # are made here to depend on a 'maybe-' target. If you're not sure,
45918 # it's safer to use a soft dependency.
45925 # With all the machinery above in place, it is pretty easy to generate
45926 # dependencies. Host dependencies are a bit more complex because we have
45927 # to check for bootstrap/prebootstrap dependencies. To resolve
45928 # prebootstrap dependencies, prebootstrap modules are gathered in
45929 # a hash table.
45930 all-build-bison: maybe-all-build-texinfo
45931 all-build-byacc: maybe-all-build-texinfo
45932 all-build-flex: maybe-all-build-texinfo
45933 all-build-flex: maybe-all-build-bison
45934 all-build-flex: maybe-all-build-byacc
45935 all-build-flex: maybe-all-build-m4
45936 all-build-libiberty: maybe-all-build-texinfo
45937 all-build-m4: maybe-all-build-texinfo
45938 all-build-fixincludes: maybe-all-build-libiberty
45939 configure-gcc: maybe-configure-intl
45941 configure-stage1-gcc: maybe-configure-stage1-intl
45942 configure-stage2-gcc: maybe-configure-stage2-intl
45943 configure-stage3-gcc: maybe-configure-stage3-intl
45944 configure-stage4-gcc: maybe-configure-stage4-intl
45945 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
45946 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
45947 configure-gcc: maybe-all-binutils
45949 configure-stage1-gcc: maybe-all-stage1-binutils
45950 configure-stage2-gcc: maybe-all-stage2-binutils
45951 configure-stage3-gcc: maybe-all-stage3-binutils
45952 configure-stage4-gcc: maybe-all-stage4-binutils
45953 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
45954 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
45955 configure-gcc: maybe-all-gas
45957 configure-stage1-gcc: maybe-all-stage1-gas
45958 configure-stage2-gcc: maybe-all-stage2-gas
45959 configure-stage3-gcc: maybe-all-stage3-gas
45960 configure-stage4-gcc: maybe-all-stage4-gas
45961 configure-stageprofile-gcc: maybe-all-stageprofile-gas
45962 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
45963 configure-gcc: maybe-all-ld
45965 configure-stage1-gcc: maybe-all-stage1-ld
45966 configure-stage2-gcc: maybe-all-stage2-ld
45967 configure-stage3-gcc: maybe-all-stage3-ld
45968 configure-stage4-gcc: maybe-all-stage4-ld
45969 configure-stageprofile-gcc: maybe-all-stageprofile-ld
45970 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
45971 all-gcc: all-libiberty
45973 all-stage1-gcc: all-stage1-libiberty
45974 all-stage2-gcc: all-stage2-libiberty
45975 all-stage3-gcc: all-stage3-libiberty
45976 all-stage4-gcc: all-stage4-libiberty
45977 all-stageprofile-gcc: all-stageprofile-libiberty
45978 all-stagefeedback-gcc: all-stagefeedback-libiberty
45979 all-gcc: maybe-all-gmp
45981 all-stage1-gcc: maybe-all-stage1-gmp
45982 all-stage2-gcc: maybe-all-stage2-gmp
45983 all-stage3-gcc: maybe-all-stage3-gmp
45984 all-stage4-gcc: maybe-all-stage4-gmp
45985 all-stageprofile-gcc: maybe-all-stageprofile-gmp
45986 all-stagefeedback-gcc: maybe-all-stagefeedback-gmp
45987 all-gcc: maybe-all-intl
45989 all-stage1-gcc: maybe-all-stage1-intl
45990 all-stage2-gcc: maybe-all-stage2-intl
45991 all-stage3-gcc: maybe-all-stage3-intl
45992 all-stage4-gcc: maybe-all-stage4-intl
45993 all-stageprofile-gcc: maybe-all-stageprofile-intl
45994 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
45995 all-gcc: maybe-all-mpfr
45997 all-stage1-gcc: maybe-all-stage1-mpfr
45998 all-stage2-gcc: maybe-all-stage2-mpfr
45999 all-stage3-gcc: maybe-all-stage3-mpfr
46000 all-stage4-gcc: maybe-all-stage4-mpfr
46001 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
46002 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
46003 all-gcc: maybe-all-build-texinfo
46005 all-stage1-gcc: maybe-all-build-texinfo
46006 all-stage2-gcc: maybe-all-build-texinfo
46007 all-stage3-gcc: maybe-all-build-texinfo
46008 all-stage4-gcc: maybe-all-build-texinfo
46009 all-stageprofile-gcc: maybe-all-build-texinfo
46010 all-stagefeedback-gcc: maybe-all-build-texinfo
46011 all-gcc: maybe-all-build-bison
46013 all-stage1-gcc: maybe-all-build-bison
46014 all-stage2-gcc: maybe-all-build-bison
46015 all-stage3-gcc: maybe-all-build-bison
46016 all-stage4-gcc: maybe-all-build-bison
46017 all-stageprofile-gcc: maybe-all-build-bison
46018 all-stagefeedback-gcc: maybe-all-build-bison
46019 all-gcc: maybe-all-build-byacc
46021 all-stage1-gcc: maybe-all-build-byacc
46022 all-stage2-gcc: maybe-all-build-byacc
46023 all-stage3-gcc: maybe-all-build-byacc
46024 all-stage4-gcc: maybe-all-build-byacc
46025 all-stageprofile-gcc: maybe-all-build-byacc
46026 all-stagefeedback-gcc: maybe-all-build-byacc
46027 all-gcc: maybe-all-build-flex
46029 all-stage1-gcc: maybe-all-build-flex
46030 all-stage2-gcc: maybe-all-build-flex
46031 all-stage3-gcc: maybe-all-build-flex
46032 all-stage4-gcc: maybe-all-build-flex
46033 all-stageprofile-gcc: maybe-all-build-flex
46034 all-stagefeedback-gcc: maybe-all-build-flex
46035 all-gcc: maybe-all-build-libiberty
46037 all-stage1-gcc: maybe-all-build-libiberty
46038 all-stage2-gcc: maybe-all-build-libiberty
46039 all-stage3-gcc: maybe-all-build-libiberty
46040 all-stage4-gcc: maybe-all-build-libiberty
46041 all-stageprofile-gcc: maybe-all-build-libiberty
46042 all-stagefeedback-gcc: maybe-all-build-libiberty
46043 all-gcc: maybe-all-build-fixincludes
46045 all-stage1-gcc: maybe-all-build-fixincludes
46046 all-stage2-gcc: maybe-all-build-fixincludes
46047 all-stage3-gcc: maybe-all-build-fixincludes
46048 all-stage4-gcc: maybe-all-build-fixincludes
46049 all-stageprofile-gcc: maybe-all-build-fixincludes
46050 all-stagefeedback-gcc: maybe-all-build-fixincludes
46051 all-gcc: maybe-all-zlib
46053 all-stage1-gcc: maybe-all-stage1-zlib
46054 all-stage2-gcc: maybe-all-stage2-zlib
46055 all-stage3-gcc: maybe-all-stage3-zlib
46056 all-stage4-gcc: maybe-all-stage4-zlib
46057 all-stageprofile-gcc: maybe-all-stageprofile-zlib
46058 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
46059 all-gcc: all-libcpp
46061 all-stage1-gcc: all-stage1-libcpp
46062 all-stage2-gcc: all-stage2-libcpp
46063 all-stage3-gcc: all-stage3-libcpp
46064 all-stage4-gcc: all-stage4-libcpp
46065 all-stageprofile-gcc: all-stageprofile-libcpp
46066 all-stagefeedback-gcc: all-stagefeedback-libcpp
46067 all-gcc: all-libdecnumber
46069 all-stage1-gcc: all-stage1-libdecnumber
46070 all-stage2-gcc: all-stage2-libdecnumber
46071 all-stage3-gcc: all-stage3-libdecnumber
46072 all-stage4-gcc: all-stage4-libdecnumber
46073 all-stageprofile-gcc: all-stageprofile-libdecnumber
46074 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
46075 all-gcc: maybe-all-libiberty
46077 all-stage1-gcc: maybe-all-stage1-libiberty
46078 all-stage2-gcc: maybe-all-stage2-libiberty
46079 all-stage3-gcc: maybe-all-stage3-libiberty
46080 all-stage4-gcc: maybe-all-stage4-libiberty
46081 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
46082 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
46083 all-gcc: maybe-all-fixincludes
46084 install-gcc: maybe-install-fixincludes
46085 configure-libcpp: configure-libiberty
46087 configure-stage1-libcpp: configure-stage1-libiberty
46088 configure-stage2-libcpp: configure-stage2-libiberty
46089 configure-stage3-libcpp: configure-stage3-libiberty
46090 configure-stage4-libcpp: configure-stage4-libiberty
46091 configure-stageprofile-libcpp: configure-stageprofile-libiberty
46092 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
46093 configure-libcpp: maybe-configure-intl
46095 configure-stage1-libcpp: maybe-configure-stage1-intl
46096 configure-stage2-libcpp: maybe-configure-stage2-intl
46097 configure-stage3-libcpp: maybe-configure-stage3-intl
46098 configure-stage4-libcpp: maybe-configure-stage4-intl
46099 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
46100 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
46101 all-libcpp: all-libiberty
46103 all-stage1-libcpp: all-stage1-libiberty
46104 all-stage2-libcpp: all-stage2-libiberty
46105 all-stage3-libcpp: all-stage3-libiberty
46106 all-stage4-libcpp: all-stage4-libiberty
46107 all-stageprofile-libcpp: all-stageprofile-libiberty
46108 all-stagefeedback-libcpp: all-stagefeedback-libiberty
46109 all-libcpp: maybe-all-intl
46111 all-stage1-libcpp: maybe-all-stage1-intl
46112 all-stage2-libcpp: maybe-all-stage2-intl
46113 all-stage3-libcpp: maybe-all-stage3-intl
46114 all-stage4-libcpp: maybe-all-stage4-intl
46115 all-stageprofile-libcpp: maybe-all-stageprofile-intl
46116 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
46117 all-fixincludes: maybe-all-libiberty
46118 all-gnattools: maybe-all-target-libada
46119 configure-mpfr: maybe-all-gmp
46121 configure-stage1-mpfr: maybe-all-stage1-gmp
46122 configure-stage2-mpfr: maybe-all-stage2-gmp
46123 configure-stage3-mpfr: maybe-all-stage3-gmp
46124 configure-stage4-mpfr: maybe-all-stage4-gmp
46125 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
46126 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
46127 configure-gdb: maybe-configure-intl
46128 configure-gdb: maybe-configure-sim
46129 all-gdb: maybe-all-intl
46130 all-gdb: maybe-all-libiberty
46131 all-gdb: maybe-all-opcodes
46132 all-gdb: maybe-all-bfd
46133 all-gdb: maybe-all-readline
46134 all-gdb: maybe-all-build-bison
46135 all-gdb: maybe-all-build-byacc
46136 all-gdb: maybe-all-sim
46137 configure-libgui: maybe-configure-tcl
46138 configure-libgui: maybe-configure-tk
46139 all-libgui: maybe-all-tcl
46140 all-libgui: maybe-all-tk
46141 all-libgui: maybe-all-itcl
46142 configure-bfd: configure-libiberty
46144 configure-stage1-bfd: configure-stage1-libiberty
46145 configure-stage2-bfd: configure-stage2-libiberty
46146 configure-stage3-bfd: configure-stage3-libiberty
46147 configure-stage4-bfd: configure-stage4-libiberty
46148 configure-stageprofile-bfd: configure-stageprofile-libiberty
46149 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
46150 configure-bfd: maybe-configure-intl
46152 configure-stage1-bfd: maybe-configure-stage1-intl
46153 configure-stage2-bfd: maybe-configure-stage2-intl
46154 configure-stage3-bfd: maybe-configure-stage3-intl
46155 configure-stage4-bfd: maybe-configure-stage4-intl
46156 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
46157 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
46158 all-bfd: maybe-all-libiberty
46160 all-stage1-bfd: maybe-all-stage1-libiberty
46161 all-stage2-bfd: maybe-all-stage2-libiberty
46162 all-stage3-bfd: maybe-all-stage3-libiberty
46163 all-stage4-bfd: maybe-all-stage4-libiberty
46164 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
46165 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
46166 all-bfd: maybe-all-intl
46168 all-stage1-bfd: maybe-all-stage1-intl
46169 all-stage2-bfd: maybe-all-stage2-intl
46170 all-stage3-bfd: maybe-all-stage3-intl
46171 all-stage4-bfd: maybe-all-stage4-intl
46172 all-stageprofile-bfd: maybe-all-stageprofile-intl
46173 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
46174 configure-binutils: maybe-configure-intl
46176 configure-stage1-binutils: maybe-configure-stage1-intl
46177 configure-stage2-binutils: maybe-configure-stage2-intl
46178 configure-stage3-binutils: maybe-configure-stage3-intl
46179 configure-stage4-binutils: maybe-configure-stage4-intl
46180 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
46181 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
46182 all-binutils: maybe-all-libiberty
46184 all-stage1-binutils: maybe-all-stage1-libiberty
46185 all-stage2-binutils: maybe-all-stage2-libiberty
46186 all-stage3-binutils: maybe-all-stage3-libiberty
46187 all-stage4-binutils: maybe-all-stage4-libiberty
46188 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
46189 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
46190 all-binutils: maybe-all-opcodes
46192 all-stage1-binutils: maybe-all-stage1-opcodes
46193 all-stage2-binutils: maybe-all-stage2-opcodes
46194 all-stage3-binutils: maybe-all-stage3-opcodes
46195 all-stage4-binutils: maybe-all-stage4-opcodes
46196 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
46197 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
46198 all-binutils: maybe-all-bfd
46200 all-stage1-binutils: maybe-all-stage1-bfd
46201 all-stage2-binutils: maybe-all-stage2-bfd
46202 all-stage3-binutils: maybe-all-stage3-bfd
46203 all-stage4-binutils: maybe-all-stage4-bfd
46204 all-stageprofile-binutils: maybe-all-stageprofile-bfd
46205 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
46206 all-binutils: maybe-all-build-flex
46208 all-stage1-binutils: maybe-all-build-flex
46209 all-stage2-binutils: maybe-all-build-flex
46210 all-stage3-binutils: maybe-all-build-flex
46211 all-stage4-binutils: maybe-all-build-flex
46212 all-stageprofile-binutils: maybe-all-build-flex
46213 all-stagefeedback-binutils: maybe-all-build-flex
46214 all-binutils: maybe-all-build-bison
46216 all-stage1-binutils: maybe-all-build-bison
46217 all-stage2-binutils: maybe-all-build-bison
46218 all-stage3-binutils: maybe-all-build-bison
46219 all-stage4-binutils: maybe-all-build-bison
46220 all-stageprofile-binutils: maybe-all-build-bison
46221 all-stagefeedback-binutils: maybe-all-build-bison
46222 all-binutils: maybe-all-build-byacc
46224 all-stage1-binutils: maybe-all-build-byacc
46225 all-stage2-binutils: maybe-all-build-byacc
46226 all-stage3-binutils: maybe-all-build-byacc
46227 all-stage4-binutils: maybe-all-build-byacc
46228 all-stageprofile-binutils: maybe-all-build-byacc
46229 all-stagefeedback-binutils: maybe-all-build-byacc
46230 all-binutils: maybe-all-intl
46232 all-stage1-binutils: maybe-all-stage1-intl
46233 all-stage2-binutils: maybe-all-stage2-intl
46234 all-stage3-binutils: maybe-all-stage3-intl
46235 all-stage4-binutils: maybe-all-stage4-intl
46236 all-stageprofile-binutils: maybe-all-stageprofile-intl
46237 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
46238 install-binutils: maybe-install-opcodes
46239 install-opcodes: maybe-install-bfd
46240 configure-gas: maybe-configure-intl
46242 configure-stage1-gas: maybe-configure-stage1-intl
46243 configure-stage2-gas: maybe-configure-stage2-intl
46244 configure-stage3-gas: maybe-configure-stage3-intl
46245 configure-stage4-gas: maybe-configure-stage4-intl
46246 configure-stageprofile-gas: maybe-configure-stageprofile-intl
46247 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
46248 all-gas: maybe-all-libiberty
46250 all-stage1-gas: maybe-all-stage1-libiberty
46251 all-stage2-gas: maybe-all-stage2-libiberty
46252 all-stage3-gas: maybe-all-stage3-libiberty
46253 all-stage4-gas: maybe-all-stage4-libiberty
46254 all-stageprofile-gas: maybe-all-stageprofile-libiberty
46255 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
46256 all-gas: maybe-all-opcodes
46258 all-stage1-gas: maybe-all-stage1-opcodes
46259 all-stage2-gas: maybe-all-stage2-opcodes
46260 all-stage3-gas: maybe-all-stage3-opcodes
46261 all-stage4-gas: maybe-all-stage4-opcodes
46262 all-stageprofile-gas: maybe-all-stageprofile-opcodes
46263 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
46264 all-gas: maybe-all-bfd
46266 all-stage1-gas: maybe-all-stage1-bfd
46267 all-stage2-gas: maybe-all-stage2-bfd
46268 all-stage3-gas: maybe-all-stage3-bfd
46269 all-stage4-gas: maybe-all-stage4-bfd
46270 all-stageprofile-gas: maybe-all-stageprofile-bfd
46271 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
46272 all-gas: maybe-all-intl
46274 all-stage1-gas: maybe-all-stage1-intl
46275 all-stage2-gas: maybe-all-stage2-intl
46276 all-stage3-gas: maybe-all-stage3-intl
46277 all-stage4-gas: maybe-all-stage4-intl
46278 all-stageprofile-gas: maybe-all-stageprofile-intl
46279 all-stagefeedback-gas: maybe-all-stagefeedback-intl
46280 configure-gprof: maybe-configure-intl
46281 all-gprof: maybe-all-libiberty
46282 all-gprof: maybe-all-bfd
46283 all-gprof: maybe-all-opcodes
46284 all-gprof: maybe-all-intl
46285 configure-ld: maybe-configure-intl
46287 configure-stage1-ld: maybe-configure-stage1-intl
46288 configure-stage2-ld: maybe-configure-stage2-intl
46289 configure-stage3-ld: maybe-configure-stage3-intl
46290 configure-stage4-ld: maybe-configure-stage4-intl
46291 configure-stageprofile-ld: maybe-configure-stageprofile-intl
46292 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
46293 all-ld: maybe-all-libiberty
46295 all-stage1-ld: maybe-all-stage1-libiberty
46296 all-stage2-ld: maybe-all-stage2-libiberty
46297 all-stage3-ld: maybe-all-stage3-libiberty
46298 all-stage4-ld: maybe-all-stage4-libiberty
46299 all-stageprofile-ld: maybe-all-stageprofile-libiberty
46300 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
46301 all-ld: maybe-all-bfd
46303 all-stage1-ld: maybe-all-stage1-bfd
46304 all-stage2-ld: maybe-all-stage2-bfd
46305 all-stage3-ld: maybe-all-stage3-bfd
46306 all-stage4-ld: maybe-all-stage4-bfd
46307 all-stageprofile-ld: maybe-all-stageprofile-bfd
46308 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
46309 all-ld: maybe-all-opcodes
46311 all-stage1-ld: maybe-all-stage1-opcodes
46312 all-stage2-ld: maybe-all-stage2-opcodes
46313 all-stage3-ld: maybe-all-stage3-opcodes
46314 all-stage4-ld: maybe-all-stage4-opcodes
46315 all-stageprofile-ld: maybe-all-stageprofile-opcodes
46316 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
46317 all-ld: maybe-all-build-bison
46319 all-stage1-ld: maybe-all-build-bison
46320 all-stage2-ld: maybe-all-build-bison
46321 all-stage3-ld: maybe-all-build-bison
46322 all-stage4-ld: maybe-all-build-bison
46323 all-stageprofile-ld: maybe-all-build-bison
46324 all-stagefeedback-ld: maybe-all-build-bison
46325 all-ld: maybe-all-build-byacc
46327 all-stage1-ld: maybe-all-build-byacc
46328 all-stage2-ld: maybe-all-build-byacc
46329 all-stage3-ld: maybe-all-build-byacc
46330 all-stage4-ld: maybe-all-build-byacc
46331 all-stageprofile-ld: maybe-all-build-byacc
46332 all-stagefeedback-ld: maybe-all-build-byacc
46333 all-ld: maybe-all-build-flex
46335 all-stage1-ld: maybe-all-build-flex
46336 all-stage2-ld: maybe-all-build-flex
46337 all-stage3-ld: maybe-all-build-flex
46338 all-stage4-ld: maybe-all-build-flex
46339 all-stageprofile-ld: maybe-all-build-flex
46340 all-stagefeedback-ld: maybe-all-build-flex
46341 all-ld: maybe-all-intl
46343 all-stage1-ld: maybe-all-stage1-intl
46344 all-stage2-ld: maybe-all-stage2-intl
46345 all-stage3-ld: maybe-all-stage3-intl
46346 all-stage4-ld: maybe-all-stage4-intl
46347 all-stageprofile-ld: maybe-all-stageprofile-intl
46348 all-stagefeedback-ld: maybe-all-stagefeedback-intl
46349 configure-opcodes: maybe-configure-intl
46351 configure-stage1-opcodes: maybe-configure-stage1-intl
46352 configure-stage2-opcodes: maybe-configure-stage2-intl
46353 configure-stage3-opcodes: maybe-configure-stage3-intl
46354 configure-stage4-opcodes: maybe-configure-stage4-intl
46355 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
46356 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
46357 all-opcodes: maybe-all-bfd
46359 all-stage1-opcodes: maybe-all-stage1-bfd
46360 all-stage2-opcodes: maybe-all-stage2-bfd
46361 all-stage3-opcodes: maybe-all-stage3-bfd
46362 all-stage4-opcodes: maybe-all-stage4-bfd
46363 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
46364 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
46365 all-opcodes: maybe-all-libiberty
46367 all-stage1-opcodes: maybe-all-stage1-libiberty
46368 all-stage2-opcodes: maybe-all-stage2-libiberty
46369 all-stage3-opcodes: maybe-all-stage3-libiberty
46370 all-stage4-opcodes: maybe-all-stage4-libiberty
46371 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
46372 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
46373 all-opcodes: maybe-all-intl
46375 all-stage1-opcodes: maybe-all-stage1-intl
46376 all-stage2-opcodes: maybe-all-stage2-intl
46377 all-stage3-opcodes: maybe-all-stage3-intl
46378 all-stage4-opcodes: maybe-all-stage4-intl
46379 all-stageprofile-opcodes: maybe-all-stageprofile-intl
46380 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
46381 all-dejagnu: maybe-all-tcl
46382 all-dejagnu: maybe-all-expect
46383 all-dejagnu: maybe-all-tk
46384 configure-expect: maybe-configure-tcl
46385 configure-expect: maybe-configure-tk
46386 all-expect: maybe-all-tcl
46387 all-expect: maybe-all-tk
46388 configure-itcl: maybe-configure-tcl
46389 configure-itcl: maybe-configure-tk
46390 all-itcl: maybe-all-tcl
46391 all-itcl: maybe-all-tk
46392 install-itcl: maybe-install-tcl
46393 configure-tk: maybe-configure-tcl
46394 all-tk: maybe-all-tcl
46395 all-sid: maybe-all-libiberty
46396 all-sid: maybe-all-bfd
46397 all-sid: maybe-all-opcodes
46398 all-sid: maybe-all-tcl
46399 all-sid: maybe-all-tk
46400 install-sid: maybe-install-tcl
46401 install-sid: maybe-install-tk
46402 configure-sim: maybe-configure-intl
46403 all-sim: maybe-all-intl
46404 all-sim: maybe-all-libiberty
46405 all-sim: maybe-all-bfd
46406 all-sim: maybe-all-opcodes
46407 all-sim: maybe-all-readline
46408 all-sim: maybe-configure-gdb
46409 all-fastjar: maybe-all-zlib
46410 all-fastjar: maybe-all-build-texinfo
46411 all-fastjar: maybe-all-libiberty
46412 all-autoconf: maybe-all-m4
46413 all-autoconf: maybe-all-build-texinfo
46414 all-automake: maybe-all-m4
46415 all-automake: maybe-all-build-texinfo
46416 all-automake: maybe-all-autoconf
46417 all-bison: maybe-all-intl
46418 all-bison: maybe-all-build-texinfo
46419 all-diff: maybe-all-intl
46420 all-diff: maybe-all-build-texinfo
46421 all-fileutils: maybe-all-intl
46422 all-fileutils: maybe-all-build-texinfo
46423 all-flex: maybe-all-build-bison
46424 all-flex: maybe-all-build-byacc
46425 all-flex: maybe-all-intl
46426 all-flex: maybe-all-m4
46427 all-flex: maybe-all-build-texinfo
46428 all-gzip: maybe-all-intl
46429 all-gzip: maybe-all-zlib
46430 all-gzip: maybe-all-build-texinfo
46431 all-hello: maybe-all-intl
46432 all-hello: maybe-all-build-texinfo
46433 all-m4: maybe-all-intl
46434 all-m4: maybe-all-build-texinfo
46435 all-make: maybe-all-intl
46436 all-make: maybe-all-build-texinfo
46437 all-patch: maybe-all-build-texinfo
46438 all-make: maybe-all-build-texinfo
46439 all-prms: maybe-all-libiberty
46440 all-recode: maybe-all-build-texinfo
46441 all-sed: maybe-all-build-texinfo
46442 all-send-pr: maybe-all-prms
46443 all-tar: maybe-all-build-texinfo
46444 all-uudecode: maybe-all-build-texinfo
46445 configure-target-boehm-gc: maybe-configure-target-qthreads
46446 configure-target-fastjar: maybe-configure-target-zlib
46447 all-target-fastjar: maybe-all-target-zlib
46448 all-target-fastjar: maybe-all-target-libiberty
46449 configure-target-libjava: maybe-configure-target-zlib
46450 configure-target-libjava: maybe-configure-target-boehm-gc
46451 configure-target-libjava: maybe-configure-target-qthreads
46452 configure-target-libjava: maybe-configure-target-libffi
46453 all-target-libjava: maybe-all-fastjar
46454 all-target-libjava: maybe-all-target-zlib
46455 all-target-libjava: maybe-all-target-boehm-gc
46456 all-target-libjava: maybe-all-target-qthreads
46457 all-target-libjava: maybe-all-target-libffi
46458 configure-target-libobjc: maybe-configure-target-boehm-gc
46459 all-target-libobjc: maybe-all-target-libiberty
46460 all-target-libobjc: maybe-all-target-boehm-gc
46461 all-target-libstdc++-v3: maybe-all-target-libiberty
46462 install-target-libssp: maybe-install-gcc
46463 install-target-libgomp: maybe-install-gcc
46464 all-target-libgloss: maybe-configure-target-newlib
46465 all-target-winsup: maybe-all-target-libiberty
46466 all-target-winsup: maybe-all-target-libtermcap
46469 # Dependencies for target modules on other target modules are
46470 # described by lang_env_dependencies; the defaults apply to anything
46471 # not mentioned there.
46474 @if gcc-bootstrap
46475 @endif gcc-bootstrap
46477 @if gcc-no-bootstrap
46478 configure-target-libstdc++-v3: maybe-all-target-libgcc
46479 configure-target-libmudflap: maybe-all-target-libgcc
46480 configure-target-libssp: maybe-all-target-libgcc
46481 configure-target-newlib: maybe-all-target-libgcc
46482 configure-target-libgfortran: maybe-all-target-libgcc
46483 configure-target-libobjc: maybe-all-target-libgcc
46484 configure-target-libtermcap: maybe-all-target-libgcc
46485 configure-target-winsup: maybe-all-target-libgcc
46486 configure-target-libgloss: maybe-all-target-libgcc
46487 configure-target-libiberty: maybe-all-target-libgcc
46488 configure-target-gperf: maybe-all-target-libgcc
46489 configure-target-examples: maybe-all-target-libgcc
46490 configure-target-libffi: maybe-all-target-libgcc
46491 configure-target-libjava: maybe-all-target-libgcc
46492 configure-target-zlib: maybe-all-target-libgcc
46493 configure-target-boehm-gc: maybe-all-target-libgcc
46494 configure-target-qthreads: maybe-all-target-libgcc
46495 configure-target-rda: maybe-all-target-libgcc
46496 configure-target-libada: maybe-all-target-libgcc
46497 configure-target-libgomp: maybe-all-target-libgcc
46498 @endif gcc-no-bootstrap
46501 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
46503 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
46505 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
46509 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
46511 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
46513 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
46515 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
46519 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
46520 configure-target-gperf: maybe-all-target-libstdc++-v3
46522 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
46524 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
46526 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
46527 configure-target-libjava: maybe-all-target-libstdc++-v3
46529 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
46531 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
46533 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
46535 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
46537 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
46539 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
46542 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
46543 GDB_TK = @GDB_TK@
46544 INSTALL_GDB_TK = @INSTALL_GDB_TK@
46545 configure-gdb: $(CONFIGURE_GDB_TK)
46546 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
46547 install-gdb: $(INSTALL_GDB_TK)
46549 # Serialization dependencies. Host configures don't work well in parallel to
46550 # each other, due to contention over config.cache. Target configures and
46551 # build configures are similar.
46552 @serialization_dependencies@
46554 # --------------------------------
46555 # Regenerating top level configury
46556 # --------------------------------
46558 # Rebuilding Makefile.in, using autogen.
46559 AUTOGEN = autogen
46560 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
46561 cd $(srcdir) && $(AUTOGEN) Makefile.def
46563 # Rebuilding Makefile.
46564 Makefile: $(srcdir)/Makefile.in config.status
46565 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
46567 config.status: configure
46568 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
46570 # Rebuilding configure.
46571 AUTOCONF = autoconf
46572 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
46573 cd $(srcdir) && $(AUTOCONF)
46575 # ------------------------------
46576 # Special directives to GNU Make
46577 # ------------------------------
46579 # Don't pass command-line variables to submakes.
46580 .NOEXPORT:
46581 MAKEOVERRIDES=
46583 # end of Makefile.in